AFDProfilesOperations Class

AFDProfilesOperations operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
AFDProfilesOperations

Constructor

AFDProfilesOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

check_host_name_availability

Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.

list_resource_usage

Checks the quota and actual usage of endpoints under the given CDN profile.

check_host_name_availability

Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.

check_host_name_availability(resource_group_name: str, profile_name: str, check_host_name_availability_input: azure.mgmt.cdn.models._models_py3.CheckHostNameAvailabilityInput, **kwargs: Any) -> azure.mgmt.cdn.models._models_py3.CheckNameAvailabilityOutput

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.

check_host_name_availability_input
CheckHostNameAvailabilityInput
Required

Custom domain to be validated.

cls
callable

A custom type or function that will be passed the direct response

Returns

CheckNameAvailabilityOutput, or the result of cls(response)

Return type

Exceptions

list_resource_usage

Checks the quota and actual usage of endpoints under the given CDN profile.

list_resource_usage(resource_group_name: str, profile_name: str, **kwargs: Any) -> Iterable[azure.mgmt.cdn.models._models_py3.UsagesListResult]

Parameters

resource_group_name
str
Required

Name of the Resource group within the Azure subscription.

profile_name
str
Required

Name of the Azure Front Door Standard or Azure Front Door Premium or CDN profile which is unique within the resource group.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either UsagesListResult or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.cdn.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\cdn\\models\\__init__.py'>