Source code for microsoft.opentelemetry.a365.core.models.service_endpoint

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

from dataclasses import dataclass


[docs] @dataclass class ServiceEndpoint: """Represents a service endpoint with hostname and optional port.""" hostname: str """The hostname of the service endpoint.""" port: int | None = None """The port of the service endpoint."""