pyaz/cdn/endpoint/__init__.py
def create(name, origin, profile_name, resource_group, content_types_to_compress=None, enable_compression=None, location=None, no_http=None, no_https=None, no_wait=None, origin_host_header=None, origin_path=None, query_string_caching_behavior=None, tags=None):
    '''
    Create a named endpoint to connect to a CDN.

    Required Parameters:
    - name -- Name of the CDN endpoint.
    - origin -- Endpoint origin specified by the following space-delimited 6 tuple: `www.example.com http_port https_port private_link_resource_id private_link_location private_link_approval_message`. The HTTP and HTTPS ports and the private link resource ID and location are optional. The HTTP and HTTPS ports default to 80 and 443, respectively. Private link fields are only valid for the sku Standard_Microsoft, and private_link_location is required if private_link_resource_id is set.
    - profile_name -- Name of the CDN profile which is unique within the resource group.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - content_types_to_compress -- List of content types on which compression applies. The value should be a valid MIME type.
    - enable_compression -- If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - no_http -- Indicates whether HTTP traffic is not allowed on the endpoint. Default is to allow HTTP traffic.
    - no_https -- Indicates whether HTTPS traffic is not allowed on the endpoint. Default is to allow HTTPS traffic.
    - no_wait -- Do not wait for the long-running operation to finish.
    - origin_host_header -- The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
    - origin_path -- A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
    - query_string_caching_behavior -- Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: "IgnoreQueryString", "BypassCaching", "UseQueryString", "NotSet".
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    '''
    return _call_az("az cdn endpoint create", locals())

    Create a named endpoint to connect to a CDN.

    Required Parameters:
    - name -- Name of the CDN endpoint.
    - origin -- Endpoint origin specified by the following space-delimited 6 tuple: `www.example.com http_port https_port private_link_resource_id private_link_location private_link_approval_message`. The HTTP and HTTPS ports and the private link resource ID and location are optional. The HTTP and HTTPS ports default to 80 and 443, respectively. Private link fields are only valid for the sku Standard_Microsoft, and private_link_location is required if private_link_resource_id is set.
    - profile_name -- Name of the CDN profile which is unique within the resource group.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - content_types_to_compress -- List of content types on which compression applies. The value should be a valid MIME type.
    - enable_compression -- If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - no_http -- Indicates whether HTTP traffic is not allowed on the endpoint. Default is to allow HTTP traffic.
    - no_https -- Indicates whether HTTPS traffic is not allowed on the endpoint. Default is to allow HTTPS traffic.
    - no_wait -- Do not wait for the long-running operation to finish.
    - origin_host_header -- The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
    - origin_path -- A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
    - query_string_caching_behavior -- Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: "IgnoreQueryString", "BypassCaching", "UseQueryString", "NotSet".
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    
Create a named endpoint to connect to a CDN.
Required Parameters:
name -- Name of the CDN endpoint.

Optional Parameters:
content_types_to_compress -- List of content types on which compression applies. The value should be a valid MIME type.
enable_compression -- If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`.
no_http -- Indicates whether HTTP traffic is not allowed on the endpoint. Default is to allow HTTP traffic.
no_https -- Indicates whether HTTPS traffic is not allowed on the endpoint. Default is to allow HTTPS traffic.
no_wait -- Do not wait for the long-running operation to finish.
origin_host_header -- The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
origin_path -- A directory path on the origin that CDN can use to retrieve content from, e.g.
Create a named endpoint to connect to a CDN . Required Parameters : name -- Name of the CDN endpoint . Optional Parameters : content_types_to_compress -- List of content types on which compression applies . The value should be a valid MIME type . enable_compression -- If compression is enabled content will be served as compressed if user requests for a compressed version . Content won ' t be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB . location -- Location . Values from : ` az account list - locations ` . You can configure the default location using ` az configure -- defaults location = ` . no_http -- Indicates whether HTTP traffic is not allowed on the endpoint . Default is to allow HTTP traffic . no_https -- Indicates whether HTTPS traffic is not allowed on the endpoint . Default is to allow HTTPS traffic . no_wait -- Do not wait for the long - running operation to finish . origin_host_header -- The host header value sent to the origin with each request . This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin . If you leave this blank the request hostname determines this value . Azure CDN origins such as Web Apps Blob Storage and Cloud Services require this host header value to match the origin hostname by default . origin_path -- A directory path on the origin that CDN can use to retrieve content from e . g .
def create(name, origin, profile_name, resource_group, content_types_to_compress=None, enable_compression=None, location=None, no_http=None, no_https=None, no_wait=None, origin_host_header=None, origin_path=None, query_string_caching_behavior=None, tags=None):
    return _call_az("az cdn endpoint create", locals())
def create ( name , origin , profile_name , resource_group , content_types_to_compress = None , enable_compression = None , location = None , no_http = None , no_https = None , no_wait = None , origin_host_header = None , origin_path = None , query_string_caching_behavior = None , tags = None ) : return _call_az ( "az cdn endpoint create" , locals ( ) )
Create a named endpoint to connect to a CDN.
Create a named endpoint to connect to a CDN .
'''
    Create a named endpoint to connect to a CDN.

    Required Parameters:
    - name -- Name of the CDN endpoint.
    - origin -- Endpoint origin specified by the following space-delimited 6 tuple: `www.example.com http_port https_port private_link_resource_id private_link_location private_link_approval_message`. The HTTP and HTTPS ports and the private link resource ID and location are optional. The HTTP and HTTPS ports default to 80 and 443, respectively. Private link fields are only valid for the sku Standard_Microsoft, and private_link_location is required if private_link_resource_id is set.
    - profile_name -- Name of the CDN profile which is unique within the resource group.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`

    Optional Parameters:
    - content_types_to_compress -- List of content types on which compression applies. The value should be a valid MIME type.
    - enable_compression -- If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on CDN when requested content is smaller than 1 byte or larger than 1 MB.
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - no_http -- Indicates whether HTTP traffic is not allowed on the endpoint. Default is to allow HTTP traffic.
    - no_https -- Indicates whether HTTPS traffic is not allowed on the endpoint. Default is to allow HTTPS traffic.
    - no_wait -- Do not wait for the long-running operation to finish.
    - origin_host_header -- The host header value sent to the origin with each request. This property at Endpoint is only allowed when endpoint uses single origin and can be overridden by the same property specified at origin.If you leave this blank, the request hostname determines this value. Azure CDN origins, such as Web Apps, Blob Storage, and Cloud Services require this host header value to match the origin hostname by default.
    - origin_path -- A directory path on the origin that CDN can use to retrieve content from, e.g. contoso.cloudapp.net/originpath.
    - query_string_caching_behavior -- Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL. Possible values include: "IgnoreQueryString", "BypassCaching", "UseQueryString", "NotSet".
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    '''
name
origin
profile_name
resource_group
content_types_to_compress
enable_compression
location
no_http
no_https
no_wait
origin_host_header
origin_path
query_string_caching_behavior
tags