azure.mgmt.trafficmanager.operations.EndpointsOperations(*args, **kwargs)[source]¶Bases: object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through TrafficManagerManagementClient’s endpoints attribute.
create_or_update(resource_group_name: str, profile_name: str, endpoint_type: Union[str, _models.EndpointType], endpoint_name: str, parameters: _models.Endpoint, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Endpoint[source]¶ create_or_update(resource_group_name: str, profile_name: str, endpoint_type: Union[str, _models.EndpointType], endpoint_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.EndpointCreate or update a Traffic Manager endpoint.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile. Required.
endpoint_type (str or EndpointType) – The type of the Traffic Manager endpoint to be created or updated. Known values are: “AzureEndpoints”, “ExternalEndpoints”, and “NestedEndpoints”. Required.
endpoint_name (str) – The name of the Traffic Manager endpoint to be created or updated. Required.
parameters (Endpoint or IO) – The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation. Is either a model type or a IO type. Required.
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
Endpoint or the result of cls(response)
Return typeRaisesdelete(resource_group_name: str, profile_name: str, endpoint_type: Union[str, azure.mgmt.trafficmanager.models._traffic_manager_management_client_enums.EndpointType], endpoint_name: str, **kwargs: Any) → Optional[azure.mgmt.trafficmanager.models._models_py3.DeleteOperationResult][source]¶Deletes a Traffic Manager endpoint.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile. Required.
endpoint_type (str or EndpointType) – The type of the Traffic Manager endpoint to be deleted. Known values are: “AzureEndpoints”, “ExternalEndpoints”, and “NestedEndpoints”. Required.
endpoint_name (str) – The name of the Traffic Manager endpoint to be deleted. Required.
cls (callable) – A custom type or function that will be passed the direct response
ReturnsDeleteOperationResult or None or the result of cls(response)
Return typeRaisesget(resource_group_name: str, profile_name: str, endpoint_type: Union[str, azure.mgmt.trafficmanager.models._traffic_manager_management_client_enums.EndpointType], endpoint_name: str, **kwargs: Any) → azure.mgmt.trafficmanager.models._models_py3.Endpoint[source]¶Gets a Traffic Manager endpoint.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile. Required.
endpoint_type (str or EndpointType) – The type of the Traffic Manager endpoint. Known values are: “AzureEndpoints”, “ExternalEndpoints”, and “NestedEndpoints”. Required.
endpoint_name (str) – The name of the Traffic Manager endpoint. Required.
cls (callable) – A custom type or function that will be passed the direct response
ReturnsEndpoint or the result of cls(response)
Return typeRaisesupdate(resource_group_name: str, profile_name: str, endpoint_type: Union[str, _models.EndpointType], endpoint_name: str, parameters: _models.Endpoint, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Endpoint[source]¶ update(resource_group_name: str, profile_name: str, endpoint_type: Union[str, _models.EndpointType], endpoint_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.EndpointUpdate a Traffic Manager endpoint.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile. Required.
endpoint_type (str or EndpointType) – The type of the Traffic Manager endpoint to be updated. Known values are: “AzureEndpoints”, “ExternalEndpoints”, and “NestedEndpoints”. Required.
endpoint_name (str) – The name of the Traffic Manager endpoint to be updated. Required.
parameters (Endpoint or IO) – The Traffic Manager endpoint parameters supplied to the Update operation. Is either a model type or a IO type. Required.
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
Endpoint or the result of cls(response)
Return typeRaisesmodels = <module 'azure.mgmt.trafficmanager.models' from '/mnt/vss/_work/1/s/sdk/trafficmanager/azure-mgmt-trafficmanager/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/trafficmanager/models/__init__.py'>¶ class azure.mgmt.trafficmanager.operations.GeographicHierarchiesOperations(*args, **kwargs)[source]¶Bases: object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through TrafficManagerManagementClient’s geographic_hierarchies attribute.
get_default(**kwargs: Any) → azure.mgmt.trafficmanager.models._models_py3.TrafficManagerGeographicHierarchy[source]¶Gets the default Geographic Hierarchy used by the Geographic traffic routing method.
Keyword Argumentscls (callable) – A custom type or function that will be passed the direct response
ReturnsTrafficManagerGeographicHierarchy or the result of cls(response)
Return typeTrafficManagerGeographicHierarchy
Raisesmodels = <module 'azure.mgmt.trafficmanager.models' from '/mnt/vss/_work/1/s/sdk/trafficmanager/azure-mgmt-trafficmanager/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/trafficmanager/models/__init__.py'>¶ class azure.mgmt.trafficmanager.operations.HeatMapOperations(*args, **kwargs)[source]¶Bases: object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through TrafficManagerManagementClient’s heat_map attribute.
get(resource_group_name: str, profile_name: str, top_left: Optional[List[float]] = None, bot_right: Optional[List[float]] = None, **kwargs: Any) → azure.mgmt.trafficmanager.models._models_py3.HeatMapModel[source]¶Gets latest heatmap for Traffic Manager profile.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile. Required.
top_left (list[float]) – The top left latitude,longitude pair of the rectangular viewport to query for. Default value is None.
bot_right (list[float]) – The bottom right latitude,longitude pair of the rectangular viewport to query for. Default value is None.
heat_map_type (str) – The type of HeatMap for the Traffic Manager profile. Default value is “default”. Note that overriding this default value may result in unsupported behavior.
cls (callable) – A custom type or function that will be passed the direct response
HeatMapModel or the result of cls(response)
Return typeRaisesmodels = <module 'azure.mgmt.trafficmanager.models' from '/mnt/vss/_work/1/s/sdk/trafficmanager/azure-mgmt-trafficmanager/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/trafficmanager/models/__init__.py'>¶ class azure.mgmt.trafficmanager.operations.ProfilesOperations(*args, **kwargs)[source]¶Bases: object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through TrafficManagerManagementClient’s profiles attribute.
check_traffic_manager_relative_dns_name_availability(parameters: _models.CheckTrafficManagerRelativeDnsNameAvailabilityParameters, *, content_type: str = "'application/json'", **kwargs: Any) → _models.TrafficManagerNameAvailability[source]¶ check_traffic_manager_relative_dns_name_availability(parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.TrafficManagerNameAvailabilityChecks the availability of a Traffic Manager Relative DNS name.
Parametersparameters (CheckTrafficManagerRelativeDnsNameAvailabilityParameters or IO) – The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation. Is either a model type or a IO type. Required.
Keyword Argumentscontent_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
TrafficManagerNameAvailability or the result of cls(response)
Return typeTrafficManagerNameAvailability
Raisescreate_or_update(resource_group_name: str, profile_name: str, parameters: _models.Profile, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Profile[source]¶ create_or_update(resource_group_name: str, profile_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.ProfileCreate or update a Traffic Manager profile.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile. Required.
parameters (Profile or IO) – The Traffic Manager profile parameters supplied to the CreateOrUpdate operation. Is either a model type or a IO type. Required.
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
Profile or the result of cls(response)
Return typeRaisesdelete(resource_group_name: str, profile_name: str, **kwargs: Any) → Optional[azure.mgmt.trafficmanager.models._models_py3.DeleteOperationResult][source]¶Deletes a Traffic Manager profile.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile to be deleted. Required.
cls (callable) – A custom type or function that will be passed the direct response
ReturnsDeleteOperationResult or None or the result of cls(response)
Return typeRaisesget(resource_group_name: str, profile_name: str, **kwargs: Any) → azure.mgmt.trafficmanager.models._models_py3.Profile[source]¶Gets a Traffic Manager profile.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile. Required.
cls (callable) – A custom type or function that will be passed the direct response
ReturnsProfile or the result of cls(response)
Return typeRaiseslist_by_resource_group(resource_group_name: str, **kwargs: Any) → Iterable[azure.mgmt.trafficmanager.models._models_py3.Profile][source]¶Lists all Traffic Manager profiles within a resource group.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
Keyword Argumentscls (callable) – A custom type or function that will be passed the direct response
ReturnsAn iterator like instance of either Profile or the result of cls(response)
Return typeRaiseslist_by_subscription(**kwargs: Any) → Iterable[azure.mgmt.trafficmanager.models._models_py3.Profile][source]¶Lists all Traffic Manager profiles within a subscription.
Keyword Argumentscls (callable) – A custom type or function that will be passed the direct response
ReturnsAn iterator like instance of either Profile or the result of cls(response)
Return typeRaisesupdate(resource_group_name: str, profile_name: str, parameters: _models.Profile, *, content_type: str = "'application/json'", **kwargs: Any) → _models.Profile[source]¶ update(resource_group_name: str, profile_name: str, parameters: IO, *, content_type: str = "'application/json'", **kwargs: Any) → _models.ProfileUpdate a Traffic Manager profile.
Parametersresource_group_name (str) – The name of the resource group. The name is case insensitive. Required.
profile_name (str) – The name of the Traffic Manager profile. Required.
parameters (Profile or IO) – The Traffic Manager profile parameters supplied to the Update operation. Is either a model type or a IO type. Required.
content_type (str) – Body Parameter content-type. Known values are: ‘application/json’. Default value is None.
cls (callable) – A custom type or function that will be passed the direct response
Profile or the result of cls(response)
Return typeRaisesmodels = <module 'azure.mgmt.trafficmanager.models' from '/mnt/vss/_work/1/s/sdk/trafficmanager/azure-mgmt-trafficmanager/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/trafficmanager/models/__init__.py'>¶ class azure.mgmt.trafficmanager.operations.TrafficManagerUserMetricsKeysOperations(*args, **kwargs)[source]¶Bases: object
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through TrafficManagerManagementClient’s traffic_manager_user_metrics_keys attribute.
create_or_update(**kwargs: Any) → azure.mgmt.trafficmanager.models._models_py3.UserMetricsModel[source]¶Create or update a subscription-level key used for Real User Metrics collection.
Keyword Argumentscls (callable) – A custom type or function that will be passed the direct response
ReturnsUserMetricsModel or the result of cls(response)
Return typeRaisesdelete(**kwargs: Any) → azure.mgmt.trafficmanager.models._models_py3.DeleteOperationResult[source]¶Delete a subscription-level key used for Real User Metrics collection.
Keyword Argumentscls (callable) – A custom type or function that will be passed the direct response
ReturnsDeleteOperationResult or the result of cls(response)
Return typeRaisesget(**kwargs: Any) → azure.mgmt.trafficmanager.models._models_py3.UserMetricsModel[source]¶Get the subscription-level key used for Real User Metrics collection.
Keyword Argumentscls (callable) – A custom type or function that will be passed the direct response
ReturnsUserMetricsModel or the result of cls(response)
Return typeRaisesmodels = <module 'azure.mgmt.trafficmanager.models' from '/mnt/vss/_work/1/s/sdk/trafficmanager/azure-mgmt-trafficmanager/.tox/sphinx/lib/python3.9/site-packages/azure/mgmt/trafficmanager/models/__init__.py'>¶ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnploqKmptbC6jpqxrqqVYrqoudNmq6uZlpu2pLnAp5ignaJkfm99jWmZameRr8KzsY2mnqasXqm%2ForLFopqmmZ6WtKa%2BjainnqqRqbawutJnn62lnA%3D%3D