azure.mgmt.cdn.operations module¶
-
class
azure.mgmt.cdn.operations.
ProfilesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ProfilesOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Current version is 2017-04-02. Constant value: “2017-10-12”.
-
create
(resource_group_name, profile_name, profile, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates a new CDN profile with a profile name under the specified subscription and resource group.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
profile (Profile) – Profile properties needed to create a new profile.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Profile or ClientRawResponse<Profile> if raw==True
- Return type
AzureOperationPoller[Profile] or AzureOperationPoller[ClientRawResponse[Profile]]
- Raises
-
delete
(resource_group_name, profile_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
-
generate_sso_uri
(resource_group_name, profile_name, custom_headers=None, raw=False, **operation_config)[source]¶ Generates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemnetal portal is used to configure advanced feature capabilities that are not yet available in the Azure portal, such as core reports in a standard profile; rules engine, advanced HTTP reports, and real-time stats and alerts in a premium profile. The SSO URI changes approximately every 10 minutes.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SsoUri or ClientRawResponse if raw=true
- Return type
SsoUri or ClientRawResponse
- Raises
-
get
(resource_group_name, profile_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets a CDN profile with the specified profile name under the specified subscription and resource group.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Profile or ClientRawResponse if raw=true
- Return type
Profile or ClientRawResponse
- Raises
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the CDN profiles within an Azure subscription.
- Parameters
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Profile
- Return type
- Raises
-
list_by_resource_group
(resource_group_name, custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the CDN profiles within a resource group.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Profile
- Return type
- Raises
-
list_resource_usage
(resource_group_name, profile_name, custom_headers=None, raw=False, **operation_config)[source]¶ Checks the quota and actual usage of endpoints under the given CDN profile.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of ResourceUsage
- Return type
- Raises
-
list_supported_optimization_types
(resource_group_name, profile_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
SupportedOptimizationTypesListResult or ClientRawResponse if raw=true
- Return type
SupportedOptimizationTypesListResult or ClientRawResponse
- Raises
-
models
= <module 'azure.mgmt.cdn.models' from '/usr/lib/python3.7/site-packages/azure/mgmt/cdn/models/__init__.py'>¶
-
update
(resource_group_name, profile_name, tags=None, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Updates an existing CDN profile with the specified profile name under the specified subscription and resource group.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
tags (dict[str, str]) – Profile tags
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Profile or ClientRawResponse<Profile> if raw==True
- Return type
AzureOperationPoller[Profile] or AzureOperationPoller[ClientRawResponse[Profile]]
- Raises
-
class
azure.mgmt.cdn.operations.
EndpointsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
EndpointsOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Current version is 2017-04-02. Constant value: “2017-10-12”.
-
create
(resource_group_name, profile_name, endpoint_name, endpoint, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
endpoint (Endpoint) – Endpoint properties
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Endpoint or ClientRawResponse<Endpoint> if raw==True
- Return type
AzureOperationPoller[Endpoint] or AzureOperationPoller[ClientRawResponse[Endpoint]]
- Raises
-
delete
(resource_group_name, profile_name, endpoint_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
-
get
(resource_group_name, profile_name, endpoint_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Endpoint or ClientRawResponse if raw=true
- Return type
Endpoint or ClientRawResponse
- Raises
-
list_by_profile
(resource_group_name, profile_name, custom_headers=None, raw=False, **operation_config)[source]¶ Lists existing CDN endpoints.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Endpoint
- Return type
- Raises
-
list_resource_usage
(resource_group_name, profile_name, endpoint_name, custom_headers=None, raw=False, **operation_config)[source]¶ Checks the quota and usage of geo filters and custom domains under the given endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of ResourceUsage
- Return type
- Raises
-
load_content
(resource_group_name, profile_name, endpoint_name, content_paths, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Pre-loads a content to CDN. Available for Verizon Profiles.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
content_paths (list[str]) – The path to the content to be loaded. Path should be a relative file URL of the origin.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
-
models
= <module 'azure.mgmt.cdn.models' from '/usr/lib/python3.7/site-packages/azure/mgmt/cdn/models/__init__.py'>¶
-
purge_content
(resource_group_name, profile_name, endpoint_name, content_paths, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Removes a content from CDN.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
content_paths (list[str]) – The path to the content to be purged. Can describe a file path or a wild card directory.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns None or ClientRawResponse<None> if raw==True
- Return type
AzureOperationPoller[None] or AzureOperationPoller[ClientRawResponse[None]]
- Raises
-
start
(resource_group_name, profile_name, endpoint_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Starts an existing CDN endpoint that is on a stopped state.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Endpoint or ClientRawResponse<Endpoint> if raw==True
- Return type
AzureOperationPoller[Endpoint] or AzureOperationPoller[ClientRawResponse[Endpoint]]
- Raises
-
stop
(resource_group_name, profile_name, endpoint_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Stops an existing running CDN endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Endpoint or ClientRawResponse<Endpoint> if raw==True
- Return type
AzureOperationPoller[Endpoint] or AzureOperationPoller[ClientRawResponse[Endpoint]]
- Raises
-
update
(resource_group_name, profile_name, endpoint_name, endpoint_update_properties, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Updates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags and Origin HostHeader can be updated after creating an endpoint. To update origins, use the Update Origin operation. To update custom domains, use the Update Custom Domain operation.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
endpoint_update_properties (EndpointUpdateParameters) – Endpoint update properties
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Endpoint or ClientRawResponse<Endpoint> if raw==True
- Return type
AzureOperationPoller[Endpoint] or AzureOperationPoller[ClientRawResponse[Endpoint]]
- Raises
-
validate_custom_domain
(resource_group_name, profile_name, endpoint_name, host_name, custom_headers=None, raw=False, **operation_config)[source]¶ Validates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
host_name (str) – The host name of the custom domain. Must be a domain name.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
ValidateCustomDomainOutput or ClientRawResponse if raw=true
- Return type
ValidateCustomDomainOutput or ClientRawResponse
- Raises
-
class
azure.mgmt.cdn.operations.
OriginsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
OriginsOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Current version is 2017-04-02. Constant value: “2017-10-12”.
-
get
(resource_group_name, profile_name, endpoint_name, origin_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets an existing origin within an endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
origin_name (str) – Name of the origin which is unique within the endpoint.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
Origin or ClientRawResponse if raw=true
- Return type
Origin or ClientRawResponse
- Raises
-
list_by_endpoint
(resource_group_name, profile_name, endpoint_name, custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the existing origins within an endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Origin
- Return type
- Raises
-
models
= <module 'azure.mgmt.cdn.models' from '/usr/lib/python3.7/site-packages/azure/mgmt/cdn/models/__init__.py'>¶
-
update
(resource_group_name, profile_name, endpoint_name, origin_name, origin_update_properties, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Updates an existing origin within an endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
origin_name (str) – Name of the origin which is unique within the endpoint.
origin_update_properties (OriginUpdateParameters) – Origin properties
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns Origin or ClientRawResponse<Origin> if raw==True
- Return type
AzureOperationPoller[Origin] or AzureOperationPoller[ClientRawResponse[Origin]]
- Raises
-
class
azure.mgmt.cdn.operations.
CustomDomainsOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
CustomDomainsOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Current version is 2017-04-02. Constant value: “2017-10-12”.
-
create
(resource_group_name, profile_name, endpoint_name, custom_domain_name, host_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Creates a new custom domain within an endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_domain_name (str) – Name of the custom domain within an endpoint.
host_name (str) – The host name of the custom domain. Must be a domain name.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns CustomDomain or ClientRawResponse<CustomDomain> if raw==True
- Return type
AzureOperationPoller[CustomDomain] or AzureOperationPoller[ClientRawResponse[CustomDomain]]
- Raises
-
delete
(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers=None, raw=False, polling=True, **operation_config)[source]¶ Deletes an existing custom domain within an endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_domain_name (str) – Name of the custom domain within an endpoint.
custom_headers (dict) – headers that will be added to the request
raw (bool) – The poller return type is ClientRawResponse, the direct response alongside the deserialized response
polling – True for ARMPolling, False for no polling, or a polling object for personal polling strategy
- Returns
An instance of LROPoller that returns CustomDomain or ClientRawResponse<CustomDomain> if raw==True
- Return type
AzureOperationPoller[CustomDomain] or AzureOperationPoller[ClientRawResponse[CustomDomain]]
- Raises
-
disable_custom_https
(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers=None, raw=False, **operation_config)[source]¶ Disable https delivery of the custom domain.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_domain_name (str) – Name of the custom domain within an endpoint.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
CustomDomain or ClientRawResponse if raw=true
- Return type
CustomDomain or ClientRawResponse
- Raises
-
enable_custom_https
(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers=None, raw=False, **operation_config)[source]¶ Enable https delivery of the custom domain.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_domain_name (str) – Name of the custom domain within an endpoint.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
CustomDomain or ClientRawResponse if raw=true
- Return type
CustomDomain or ClientRawResponse
- Raises
-
get
(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers=None, raw=False, **operation_config)[source]¶ Gets an exisitng custom domain within an endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_domain_name (str) – Name of the custom domain within an endpoint.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
CustomDomain or ClientRawResponse if raw=true
- Return type
CustomDomain or ClientRawResponse
- Raises
-
list_by_endpoint
(resource_group_name, profile_name, endpoint_name, custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the existing custom domains within an endpoint.
- Parameters
resource_group_name (str) – Name of the Resource group within the Azure subscription.
profile_name (str) – Name of the CDN profile which is unique within the resource group.
endpoint_name (str) – Name of the endpoint under the profile which is unique globally.
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of CustomDomain
- Return type
- Raises
-
models
= <module 'azure.mgmt.cdn.models' from '/usr/lib/python3.7/site-packages/azure/mgmt/cdn/models/__init__.py'>¶
-
class
azure.mgmt.cdn.operations.
ResourceUsageOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
ResourceUsageOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Current version is 2017-04-02. Constant value: “2017-10-12”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Check the quota and actual usage of the CDN profiles under the given subscription.
- Parameters
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of ResourceUsage
- Return type
- Raises
-
models
= <module 'azure.mgmt.cdn.models' from '/usr/lib/python3.7/site-packages/azure/mgmt/cdn/models/__init__.py'>¶
-
class
azure.mgmt.cdn.operations.
Operations
(client, config, serializer, deserializer)[source]¶ Bases:
object
Operations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Current version is 2017-04-02. Constant value: “2017-10-12”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Lists all of the available CDN REST API operations.
- Parameters
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of Operation
- Return type
- Raises
-
models
= <module 'azure.mgmt.cdn.models' from '/usr/lib/python3.7/site-packages/azure/mgmt/cdn/models/__init__.py'>¶
-
class
azure.mgmt.cdn.operations.
EdgeNodesOperations
(client, config, serializer, deserializer)[source]¶ Bases:
object
EdgeNodesOperations operations.
- Parameters
client – Client for service requests.
config – Configuration of service client.
serializer – An object model serializer.
deserializer – An object model deserializer.
- Variables
api_version – Version of the API to be used with the client request. Current version is 2017-04-02. Constant value: “2017-10-12”.
-
list
(custom_headers=None, raw=False, **operation_config)[source]¶ Edgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users.
- Parameters
custom_headers (dict) – headers that will be added to the request
raw (bool) – returns the direct response alongside the deserialized response
operation_config – Operation configuration overrides.
- Returns
An iterator like instance of EdgeNode
- Return type
- Raises
-
models
= <module 'azure.mgmt.cdn.models' from '/usr/lib/python3.7/site-packages/azure/mgmt/cdn/models/__init__.py'>¶