azure.mgmt.cdn package

Module contents

class azure.mgmt.cdn.CdnManagementClient(credentials, subscription_id, base_url=None)[source]

Bases: object

Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.

Variables:
Parameters:
check_name_availability(name, custom_headers=None, raw=False, **operation_config)[source]

Check the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

Parameters:
  • name (str) – The resource name to validate.
  • custom_headers (dict) – headers that will be added to the request
  • raw (bool) – returns the direct response alongside the deserialized response
  • operation_configOperation configuration overrides.
Return type:

CheckNameAvailabilityOutput

Return type:

ClientRawResponse if raw=true

Raises:

ErrorResponseException

list_operations(custom_headers=None, raw=False, **operation_config)[source]

Lists all of the available CDN REST API operations.

Parameters:
Return type:

OperationPaged

Raises:

ErrorResponseException

list_resource_usage(custom_headers=None, raw=False, **operation_config)[source]

Check the quota and actual usage of the CDN profiles under the given subscription.

Parameters:
Return type:

ResourceUsagePaged

Raises:

ErrorResponseException