Hello community,

here is the log from the commit of package azure-cli-cdn for openSUSE:Factory 
checked in at 2019-10-31 18:15:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-cdn (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-cdn.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-cdn"

Thu Oct 31 18:15:22 2019 rev:7 rq:742677 version:0.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-cdn/azure-cli-cdn.changes      
2019-06-05 11:42:12.259055088 +0200
+++ /work/SRC/openSUSE:Factory/.azure-cli-cdn.new.2990/azure-cli-cdn.changes    
2019-10-31 18:15:26.742022341 +0100
@@ -1,0 +2,9 @@
+Thu Oct 24 12:09:00 UTC 2019 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 0.2.4
+  + For detailed information about changes see the
+    HISTORY.txt file provided with this package
+- Update Requires from setup.py
+
+-------------------------------------------------------------------

Old:
----
  azure-cli-cdn-0.2.0.tar.gz

New:
----
  azure-cli-cdn-0.2.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ azure-cli-cdn.spec ++++++
--- /var/tmp/diff_new_pack.nLYuMY/_old  2019-10-31 18:15:28.850024523 +0100
+++ /var/tmp/diff_new_pack.nLYuMY/_new  2019-10-31 18:15:28.854024527 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           azure-cli-cdn
-Version:        0.2.0
+Version:        0.2.4
 Release:        0
 Summary:        Microsoft Azure CLI 'Content Delivery Network (CDN)' Command 
Module
 License:        MIT
@@ -33,7 +33,7 @@
 Requires:       azure-cli-command-modules-nspkg
 Requires:       azure-cli-core
 Requires:       azure-cli-nspkg
-Requires:       python3-azure-mgmt-cdn >= 3.0.0
+Requires:       python3-azure-mgmt-cdn >= 3.1.0
 Requires:       python3-azure-nspkg >= 3.0.0
 Conflicts:      azure-cli < 2.0.0
 

++++++ azure-cli-cdn-0.2.0.tar.gz -> azure-cli-cdn-0.2.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-cdn-0.2.0/HISTORY.rst 
new/azure-cli-cdn-0.2.4/HISTORY.rst
--- old/azure-cli-cdn-0.2.0/HISTORY.rst 2018-10-18 21:46:28.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/HISTORY.rst 2019-06-13 23:17:46.000000000 +0200
@@ -2,6 +2,23 @@
 
 Release History
 ===============
+
+0.2.4
++++++
+* Minor fixes.
+
+0.2.3
++++++
+* Minor fixes.
+
+0.2.2
++++++
+* Add support for Microsoft_Standard and Standard_ChinaCdn
+
+0.2.1
++++++
+* `cdn endpoint create/update/start/stop/delete/load/purge`: Added support for 
`--no-wait`.
+
 0.2.0
 +++++
 * BREAKING CHANGE: `cdn endpoint create`'s default query string caching 
behaviour no longer defaults to "IgnoreQueryString". It is now set by the 
service.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-cdn-0.2.0/PKG-INFO 
new/azure-cli-cdn-0.2.4/PKG-INFO
--- old/azure-cli-cdn-0.2.0/PKG-INFO    2018-10-18 21:46:57.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/PKG-INFO    2019-06-13 23:18:08.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-cdn
-Version: 0.2.0
+Version: 0.2.4
 Summary: Microsoft Azure Command-Line Tools Content Delivery Network (CDN) 
Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -17,6 +17,23 @@
         
         Release History
         ===============
+        
+        0.2.4
+        +++++
+        * Minor fixes.
+        
+        0.2.3
+        +++++
+        * Minor fixes.
+        
+        0.2.2
+        +++++
+        * Add support for Microsoft_Standard and Standard_ChinaCdn
+        
+        0.2.1
+        +++++
+        * `cdn endpoint create/update/start/stop/delete/load/purge`: Added 
support for `--no-wait`.
+        
         0.2.0
         +++++
         * BREAKING CHANGE: `cdn endpoint create`'s default query string 
caching behaviour no longer defaults to "IgnoreQueryString". It is now set by 
the service.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/__init__.py 
new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/__init__.py
--- old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/__init__.py   
2018-10-18 21:46:28.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/__init__.py   
2019-06-13 23:17:46.000000000 +0200
@@ -12,9 +12,10 @@
 
     def __init__(self, cli_ctx=None):
         from azure.cli.core.commands import CliCommandType
+        from azure.cli.core.profiles import ResourceType
         cdn_custom = 
CliCommandType(operations_tmpl='azure.cli.command_modules.cdn.custom#{}')
         super(CdnCommandsLoader, self).__init__(cli_ctx=cli_ctx,
-                                                
min_profile='2017-03-10-profile',
+                                                
resource_type=ResourceType.MGMT_CDN,
                                                 custom_command_type=cdn_custom)
 
     def load_command_table(self, args):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/_help.py 
new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/_help.py
--- old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/_help.py      
2018-10-18 21:46:28.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/_help.py      
2019-06-13 23:17:46.000000000 +0200
@@ -5,205 +5,207 @@
 # 
--------------------------------------------------------------------------------------------
 
 from knack.help_files import helps
-
+# pylint: disable=line-too-long, too-many-lines
 
 helps['cdn'] = """
-    type: group
-    short-summary: Manage Azure Content Delivery Networks (CDNs).
+type: group
+short-summary: Manage Azure Content Delivery Networks (CDNs).
 """
 
-helps['cdn profile'] = """
-    type: group
-    short-summary: Manage CDN profiles to define an edge network.
+helps['cdn custom-domain'] = """
+type: group
+short-summary: Manage Azure CDN Custom Domains to provide custom host names 
for endpoints.
 """
 
-helps['cdn profile create'] = """
-    type: command
-    short-summary: Create a new CDN profile.
-    parameters:
-        - name: --sku
-          type: string
-          short-summary: >
-            The pricing tier (defines a CDN provider, feature list and rate) 
of the CDN profile.
-            Defaults to Standard_Akamai.
-    examples:
-        - name: Create a CDN profile using Verizon premium CDN.
-          text: >
-            az cdn profile create -g group -n profile --sku Premium_Verizon
+helps['cdn custom-domain create'] = """
+type: command
+short-summary: Create a new custom domain to provide a hostname for a CDN 
endpoint.
+long-summary: >
+    Creates a new custom domain which must point to the hostname of the 
endpoint.
+    For example, the custom domain hostname cdn.contoso.com would need to have 
a
+    CNAME record pointing to the hostname of the endpoint related to this 
custom
+    domain.
+parameters:
+  - name: --profile-name
+    type: string
+    short-summary: Name of the CDN profile which is unique within the resource 
group.
+  - name: --endpoint-name
+    type: string
+    short-summary: Name of the endpoint under the profile which is unique 
globally.
+  - name: --hostname
+    type: string
+    short-summary: The host name of the custom domain. Must be a domain name.
+examples:
+  - name: Create a custom domain within an endpoint and profile.
+    text: >
+        az cdn custom-domain create -g group --endpoint-name endpoint 
--profile-name profile \\
+            -n domain-name --hostname www.example.com
 """
 
-helps['cdn profile update'] = """
-    type: command
-    short-summary: Update a CDN profile.
+helps['cdn custom-domain delete'] = """
+type: command
+short-summary: Delete the custom domain of a CDN.
+examples:
+  - name: Delete a custom domain.
+    text: >
+        az cdn custom-domain delete -g group --endpoint-name endpoint 
--profile-name profile \\
+            -n domain-name
 """
 
-helps['cdn profile delete'] = """
-    type: command
-    short-summary: Delete a CDN profile.
-    examples:
-        - name: Delete a CDN profile.
-          text: >
-            az cdn profile delete -g group -n profile
+helps['cdn custom-domain show'] = """
+type: command
+short-summary: Show details for the custom domain of a CDN.
+examples:
+  - name: Get the details of a custom domain.
+    text: >
+        az cdn custom-domain show -g group --endpoint-name endpoint 
--profile-name profile \\
+            -n domain-name
 """
 
-helps['cdn profile list'] = """
-    type: command
-    short-summary: List CDN profiles.
-    examples:
-        - name: List CDN profiles in a resource group.
-          text: >
-            az cdn profile list -g group
+helps['cdn edge-node'] = """
+type: group
+short-summary: View all available CDN edge nodes.
 """
 
 helps['cdn endpoint'] = """
-    type: group
-    short-summary: Manage CDN endpoints.
+type: group
+short-summary: Manage CDN endpoints.
 """
 
 helps['cdn endpoint create'] = """
-    type: command
-    short-summary: Create a named endpoint to connect to a CDN.
-    examples:
-        - name: Create an endpoint to service content for hostname over HTTP 
or HTTPS.
-          text: >
-            az cdn endpoint create -g group -n endpoint --profile-name profile 
\\
-                --origin www.example.com
-        - name: Create an endpoint with a custom domain origin with HTTP and 
HTTPS ports.
-          text: >
-            az cdn endpoint create -g group -n endpoint --profile-name profile 
\\
-                --origin www.example.com 88 4444
-        - name: Create an endpoint with a custom domain with compression and 
only HTTPS.
-          text: >
-            az cdn endpoint create -g group -n endpoint --profile-name profile 
\\
-                --origin www.example.com --no-http --enable-compression
+type: command
+short-summary: Create a named endpoint to connect to a CDN.
+examples:
+  - name: Create an endpoint to service content for hostname over HTTP or 
HTTPS.
+    text: >
+        az cdn endpoint create -g group -n endpoint --profile-name profile \\
+            --origin www.example.com
+  - name: Create an endpoint with a custom domain origin with HTTP and HTTPS 
ports.
+    text: >
+        az cdn endpoint create -g group -n endpoint --profile-name profile \\
+            --origin www.example.com 88 4444
+  - name: Create an endpoint with a custom domain with compression and only 
HTTPS.
+    text: >
+        az cdn endpoint create -g group -n endpoint --profile-name profile \\
+            --origin www.example.com --no-http --enable-compression
 """
 
-helps['cdn endpoint update'] = """
-    type: command
-    short-summary: Update a CDN endpoint to manage how content is delivered.
-    examples:
-        - name: Turn off HTTP traffic for an endpoint.
-          text: >
-            az cdn endpoint update -g group -n endpoint --profile-name profile 
--no-http
-        - name: Enable content compression for an endpoint.
-          text: >
-            az cdn endpoint update -g group -n endpoint --profile-name profile 
\\
-                --enable-compression
+helps['cdn endpoint delete'] = """
+type: command
+short-summary: Delete a CDN endpoint.
+examples:
+  - name: Delete a CDN endpoint.
+    text: >
+        az cdn endpoint delete -g group -n endpoint --profile-name profile-name
 """
 
-
-helps['cdn endpoint delete'] = """
-    type: command
-    short-summary: Delete a CDN endpoint.
-    examples:
-        - name: Delete a CDN endpoint.
-          text: >
-            az cdn endpoint delete -g group -n endpoint --profile-name 
profile-name
+helps['cdn endpoint list'] = """
+type: command
+short-summary: List available endpoints for a CDN.
+examples:
+  - name: List all endpoints within a given CDN profile.
+    text: >
+        az cdn endpoint list -g group --profile-name profile-name
 """
 
-helps['cdn endpoint start'] = """
-    type: command
-    short-summary: Start a CDN endpoint.
-    examples:
-        - name: Start a CDN endpoint.
-          text: >
-            az cdn endpoint start -g group -n endpoint --profile-name 
profile-name
+helps['cdn endpoint load'] = """
+type: command
+short-summary: Pre-load content for a CDN endpoint.
+examples:
+  - name: Pre-load Javascript and CSS content for an endpoint.
+    text: >
+        az cdn endpoint load -g group -n endpoint --profile-name profile-name 
--content-paths \\
+            '/scripts/app.js' '/styles/main.css'
 """
 
-helps['cdn endpoint stop'] = """
-    type: command
-    short-summary: Stop a CDN endpoint.
-    examples:
-        - name: Stop a CDN endpoint.
-          text: >
-            az cdn endpoint stop -g group -n endpoint --profile-name 
profile-name
+helps['cdn endpoint purge'] = """
+type: command
+short-summary: Purge pre-loaded content for a CDN endpoint.
+examples:
+  - name: Purge pre-loaded Javascript and CSS content.
+    text: >
+        az cdn endpoint purge -g group -n endpoint --profile-name profile-name 
--content-paths \\
+            '/scripts/app.js' '/styles/*'
 """
 
-helps['cdn endpoint load'] = """
-    type: command
-    short-summary: Pre-load content for a CDN endpoint.
-    examples:
-        - name: Pre-load Javascript and CSS content for an endpoint.
-          text: >
-            az cdn endpoint load -g group -n endpoint --profile-name 
profile-name --content-paths \\
-                '/scripts/app.js' '/styles/main.css'
+helps['cdn endpoint start'] = """
+type: command
+short-summary: Start a CDN endpoint.
+examples:
+  - name: Start a CDN endpoint.
+    text: >
+        az cdn endpoint start -g group -n endpoint --profile-name profile-name
 """
 
-helps['cdn endpoint purge'] = """
-    type: command
-    short-summary: Purge pre-loaded content for a CDN endpoint.
-    examples:
-        - name: Purge pre-loaded Javascript and CSS content.
-          text: >
-            az cdn endpoint purge -g group -n endpoint --profile-name 
profile-name --content-paths \\
-                '/scripts/app.js' '/styles/*'
+helps['cdn endpoint stop'] = """
+type: command
+short-summary: Stop a CDN endpoint.
+examples:
+  - name: Stop a CDN endpoint.
+    text: >
+        az cdn endpoint stop -g group -n endpoint --profile-name profile-name
 """
 
-helps['cdn endpoint list'] = """
-    type: command
-    short-summary: List available endpoints for a CDN.
-    examples:
-        - name: List all endpoints within a given CDN profile.
-          text: >
-            az cdn endpoint list -g group --profile-name profile-name
+helps['cdn endpoint update'] = """
+type: command
+short-summary: Update a CDN endpoint to manage how content is delivered.
+examples:
+  - name: Turn off HTTP traffic for an endpoint.
+    text: >
+        az cdn endpoint update -g group -n endpoint --profile-name profile 
--no-http
+  - name: Enable content compression for an endpoint.
+    text: >
+        az cdn endpoint update -g group -n endpoint --profile-name profile \\
+            --enable-compression
 """
 
-helps['cdn custom-domain'] = """
-    type: group
-    short-summary: Manage Azure CDN Custom Domains to provide custom host 
names for endpoints.
+helps['cdn origin'] = """
+type: group
+short-summary: List or show existing origins related to CDN endpoints.
 """
 
-helps['cdn custom-domain delete'] = """
-    type: command
-    short-summary: Delete the custom domain of a CDN.
-    examples:
-        - name: Delete a custom domain.
-          text: >
-            az cdn custom-domain delete -g group --endpoint-name endpoint 
--profile-name profile \\
-                -n domain-name
+helps['cdn profile'] = """
+type: group
+short-summary: Manage CDN profiles to define an edge network.
 """
 
-helps['cdn custom-domain show'] = """
-    type: command
-    short-summary: Show details for the custom domain of a CDN.
-    examples:
-        - name: Get the details of a custom domain.
-          text: >
-            az cdn custom-domain show -g group --endpoint-name endpoint 
--profile-name profile \\
-                -n domain-name
+helps['cdn profile create'] = """
+type: command
+short-summary: Create a new CDN profile.
+parameters:
+  - name: --sku
+    type: string
+    short-summary: >
+        The pricing tier (defines a CDN provider, feature list and rate) of 
the CDN profile.
+        Defaults to Standard_Akamai.
+examples:
+  - name: Create a CDN profile using Verizon premium CDN.
+    text: >
+        az cdn profile create -g group -n profile --sku Premium_Verizon
+  - name: Create a new CDN profile. (autogenerated)
+    text: az cdn profile create --location westus2 --name profile 
--resource-group group --sku Standard_Verizon
+    crafted: true
 """
 
-helps['cdn custom-domain create'] = """
-    type: command
-    short-summary: Create a new custom domain to provide a hostname for a CDN 
endpoint.
-    long-summary: >
-        Creates a new custom domain which must point to the hostname of the 
endpoint.
-        For example, the custom domain hostname cdn.contoso.com would need to 
have a
-        CNAME record pointing to the hostname of the endpoint related to this 
custom
-        domain.
-    parameters:
-        - name: --profile-name
-          type: string
-          short-summary: Name of the CDN profile which is unique within the 
resource group.
-        - name: --endpoint-name
-          type: string
-          short-summary: Name of the endpoint under the profile which is 
unique globally.
-        - name: --hostname
-          type: string
-          short-summary: The host name of the custom domain. Must be a domain 
name.
-    examples:
-        - name: Create a custom domain within an endpoint and profile.
-          text: >
-            az cdn custom-domain create -g group --endpoint-name endpoint 
--profile-name profile \\
-                -n domain-name --hostname www.example.com
+helps['cdn profile delete'] = """
+type: command
+short-summary: Delete a CDN profile.
+examples:
+  - name: Delete a CDN profile.
+    text: >
+        az cdn profile delete -g group -n profile
 """
 
-helps['cdn origin'] = """
-    type: group
-    short-summary: List or show existing origins related to CDN endpoints.
+helps['cdn profile list'] = """
+type: command
+short-summary: List CDN profiles.
+examples:
+  - name: List CDN profiles in a resource group.
+    text: >
+        az cdn profile list -g group
 """
 
-helps['cdn edge-node'] = """
-    type: group
-    short-summary: View all available CDN edge nodes.
+helps['cdn profile update'] = """
+type: command
+short-summary: Update a CDN profile.
 """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/_params.py 
new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/_params.py
--- old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/_params.py    
2018-10-18 21:46:28.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/_params.py    
2019-06-13 23:17:46.000000000 +0200
@@ -57,7 +57,8 @@
     # Endpoint #
 
     with self.argument_context('cdn endpoint') as c:
-        c.argument('endpoint_name', name_arg_type, id_part='name', help='Name 
of the CDN endpoint.')
+        c.argument('content_paths', nargs='+')
+        c.argument('endpoint_name', name_arg_type, id_part='child_name_1', 
help='Name of the CDN endpoint.')
         c.argument('location', 
validator=get_default_location_from_resource_group)
         c.argument('origins', options_list='--origin', nargs='+', 
action=OriginType, validator=validate_origin,
                    help='Endpoint origin specified by the following 
space-delimited 3 '
@@ -79,16 +80,13 @@
         c.argument('query_string_caching_behavior', 
options_list='--query-string-caching',
                    arg_type=get_enum_type(caching_behavior))
         c.argument('content_types_to_compress', nargs='+')
-        c.argument('profile_name', help=profile_name_help)
+        c.argument('profile_name', help=profile_name_help, id_part='name')
 
     with self.argument_context('cdn endpoint create') as c:
         c.argument('name', name_arg_type, id_part='name', help='Name of the 
CDN endpoint.')
 
-    with self.argument_context('cdn endpoint load') as c:
-        c.argument('content_paths', nargs='+')
-
-    with self.argument_context('cdn endpoint purge') as c:
-        c.argument('content_paths', nargs='+')
+    with self.argument_context('cdn endpoint list') as c:
+        c.argument('profile_name', id_part=None)
 
     # Custom Domain #
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/commands.py 
new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/commands.py
--- old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/commands.py   
2018-10-18 21:46:28.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/commands.py   
2019-06-13 23:17:46.000000000 +0200
@@ -36,36 +36,36 @@
     )
 
     cdn_endpoints_sdk = CliCommandType(
-        
operations_tmpl='azure.mgmt.cdn.operations.endpoints_operations#EndpointsOperations.{}',
+        operations_tmpl='azure.mgmt.cdn.operations#EndpointsOperations.{}',
         client_factory=cf_endpoints,
         exception_handler=_not_found(endpoint_not_found_msg)
     )
 
     cdn_profiles_sdk = CliCommandType(
-        
operations_tmpl='azure.mgmt.cdn.operations.profiles_operations#ProfilesOperations.{}',
+        operations_tmpl='azure.mgmt.cdn.operations#ProfilesOperations.{}',
         client_factory=cf_profiles,
         exception_handler=_not_found(profile_not_found_msg)
     )
 
     cdn_domain_sdk = CliCommandType(
-        
operations_tmpl='azure.mgmt.cdn.operations.custom_domains_operations#CustomDomainsOperations.{}',
+        operations_tmpl='azure.mgmt.cdn.operations#CustomDomainsOperations.{}',
         client_factory=cf_custom_domain,
         exception_handler=_not_found(cd_not_found_msg)
     )
 
     cdn_origin_sdk = CliCommandType(
-        
operations_tmpl='azure.mgmt.cdn.operations.origins_operations#OriginsOperations.{}',
+        operations_tmpl='azure.mgmt.cdn.operations#OriginsOperations.{}',
         client_factory=cf_origins,
         exception_handler=_not_found(origin_not_found_msg)
     )
 
     cdn_edge_sdk = CliCommandType(
-        
operations_tmpl='azure.mgmt.cdn.operations.edge_nodes_operations#EdgeNodesOperations.{}',
+        operations_tmpl='azure.mgmt.cdn.operations#EdgeNodesOperations.{}',
         client_factory=cf_edge_nodes
     )
 
     cdn_usage_sdk = CliCommandType(
-        
operations_tmpl='azure.mgmt.cdn.operations.resource_usage_operations#ResourceUsageOperations.{}',
+        operations_tmpl='azure.mgmt.cdn.operations#ResourceUsageOperations.{}',
         client_factory=cf_resource_usage
     )
 
@@ -77,17 +77,19 @@
 
     with self.command_group('cdn endpoint', cdn_endpoints_sdk) as g:
         for name in ['start', 'stop', 'delete']:
-            g.command(name, name)
+            g.command(name, name, supports_no_wait=True)
         g.show_command('show', 'get')
         g.command('list', 'list_by_profile')
-        g.command('load', 'load_content')
-        g.command('purge', 'purge_content')
+        g.command('load', 'load_content', supports_no_wait=True)
+        g.command('purge', 'purge_content', supports_no_wait=True)
         g.command('validate-custom-domain', 'validate_custom_domain')
         g.custom_command('create', 'create_endpoint', client_factory=cf_cdn,
-                         doc_string_source='azure.mgmt.cdn.models#Endpoint')
+                         doc_string_source='azure.mgmt.cdn.models#Endpoint',
+                         supports_no_wait=True)
         g.generic_update_command('update', setter_name='update', 
setter_arg_name='endpoint_update_properties',
                                  custom_func_name='update_endpoint',
-                                 
doc_string_source='azure.mgmt.cdn.models#EndpointUpdateParameters')
+                                 
doc_string_source='azure.mgmt.cdn.models#EndpointUpdateParameters',
+                                 supports_no_wait=True)
 
     with self.command_group('cdn profile', cdn_profiles_sdk) as g:
         g.show_command('show', 'get')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/custom.py 
new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/custom.py
--- old/azure-cli-cdn-0.2.0/azure/cli/command_modules/cdn/custom.py     
2018-10-18 21:46:28.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/azure/cli/command_modules/cdn/custom.py     
2019-06-13 23:17:46.000000000 +0200
@@ -6,6 +6,8 @@
 from azure.mgmt.cdn.models import (Endpoint, SkuName,
                                    EndpointUpdateParameters, 
ProfileUpdateParameters)
 
+from azure.cli.core.util import sdk_no_wait
+
 
 def default_content_types():
     return ["text/plain",
@@ -26,16 +28,14 @@
 
 
 # region Custom Commands
-# pylint: disable=unused-argument
-def list_profiles(cmd, client, resource_group_name=None):
+def list_profiles(client, resource_group_name=None):
     profiles = client.profiles
     profile_list = 
profiles.list_by_resource_group(resource_group_name=resource_group_name) \
         if resource_group_name else profiles.list()
     return list(profile_list)
 
 
-# pylint: disable=unused-argument
-def update_endpoint(cmd, instance,
+def update_endpoint(instance,
                     origin_host_header=None,
                     origin_path=None,
                     content_types_to_compress=None,
@@ -71,11 +71,10 @@
     return params
 
 
-# pylint: disable=unused-argument
-def create_endpoint(cmd, client, resource_group_name, profile_name, name, 
origins, location=None,
+def create_endpoint(client, resource_group_name, profile_name, name, origins, 
location=None,
                     origin_host_header=None, origin_path=None, 
content_types_to_compress=None,
                     is_compression_enabled=None, is_http_allowed=None, 
is_https_allowed=None,
-                    query_string_caching_behavior=None, tags=None):
+                    query_string_caching_behavior=None, tags=None, 
no_wait=None):
     is_compression_enabled = False if is_compression_enabled is None else 
is_compression_enabled
     is_http_allowed = True if is_http_allowed is None else is_http_allowed
     is_https_allowed = True if is_https_allowed is None else is_https_allowed
@@ -92,11 +91,11 @@
     if is_compression_enabled and not endpoint.content_types_to_compress:
         endpoint.content_types_to_compress = default_content_types()
 
-    return client.endpoints.create(resource_group_name, profile_name, name, 
endpoint)
+    return sdk_no_wait(no_wait, client.endpoints.create, resource_group_name, 
profile_name, name, endpoint)
 
 
 # pylint: disable=unused-argument
-def create_custom_domain(cmd, client, resource_group_name, profile_name, 
endpoint_name, custom_domain_name,
+def create_custom_domain(client, resource_group_name, profile_name, 
endpoint_name, custom_domain_name,
                          hostname, location=None, tags=None):
     return client.custom_domains.create(resource_group_name,
                                         profile_name,
@@ -105,19 +104,16 @@
                                         hostname)
 
 
-# pylint: disable=unused-argument
-def update_profile(cmd, instance, tags=None):
+def update_profile(instance, tags=None):
     params = ProfileUpdateParameters(tags=tags)
     _update_mapper(instance, params, ['tags'])
     return params
 
 
-# pylint: disable=unused-argument
-def create_profile(cmd, client, resource_group_name, name,
+def create_profile(client, resource_group_name, name,
                    sku=SkuName.standard_akamai.value,
                    location=None, tags=None):
     from azure.mgmt.cdn.models import (Profile, Sku)
     profile = Profile(location=location, sku=Sku(name=sku), tags=tags)
     return client.profiles.create(resource_group_name, name, profile)
-
 # endregion
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-cdn-0.2.0/azure_cli_cdn.egg-info/PKG-INFO 
new/azure-cli-cdn-0.2.4/azure_cli_cdn.egg-info/PKG-INFO
--- old/azure-cli-cdn-0.2.0/azure_cli_cdn.egg-info/PKG-INFO     2018-10-18 
21:46:57.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/azure_cli_cdn.egg-info/PKG-INFO     2019-06-13 
23:18:08.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-cdn
-Version: 0.2.0
+Version: 0.2.4
 Summary: Microsoft Azure Command-Line Tools Content Delivery Network (CDN) 
Command Module
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -17,6 +17,23 @@
         
         Release History
         ===============
+        
+        0.2.4
+        +++++
+        * Minor fixes.
+        
+        0.2.3
+        +++++
+        * Minor fixes.
+        
+        0.2.2
+        +++++
+        * Add support for Microsoft_Standard and Standard_ChinaCdn
+        
+        0.2.1
+        +++++
+        * `cdn endpoint create/update/start/stop/delete/load/purge`: Added 
support for `--no-wait`.
+        
         0.2.0
         +++++
         * BREAKING CHANGE: `cdn endpoint create`'s default query string 
caching behaviour no longer defaults to "IgnoreQueryString". It is now set by 
the service.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-cdn-0.2.0/azure_cli_cdn.egg-info/requires.txt 
new/azure-cli-cdn-0.2.4/azure_cli_cdn.egg-info/requires.txt
--- old/azure-cli-cdn-0.2.0/azure_cli_cdn.egg-info/requires.txt 2018-10-18 
21:46:57.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/azure_cli_cdn.egg-info/requires.txt 2019-06-13 
23:18:08.000000000 +0200
@@ -1,2 +1,2 @@
-azure-mgmt-cdn==3.0.0
+azure-mgmt-cdn==3.1.0
 azure-cli-core
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-cdn-0.2.0/setup.py 
new/azure-cli-cdn-0.2.4/setup.py
--- old/azure-cli-cdn-0.2.0/setup.py    2018-10-18 21:46:28.000000000 +0200
+++ new/azure-cli-cdn-0.2.4/setup.py    2019-06-13 23:17:46.000000000 +0200
@@ -16,7 +16,8 @@
     cmdclass = {}
 
 
-VERSION = "0.2.0"
+VERSION = "0.2.4"
+
 # The full list of classifiers is available at
 # https://pypi.python.org/pypi?%3Aaction=list_classifiers
 CLASSIFIERS = [
@@ -34,7 +35,7 @@
 ]
 
 DEPENDENCIES = [
-    'azure-mgmt-cdn==3.0.0',
+    'azure-mgmt-cdn==3.1.0',
     'azure-cli-core',
 ]
 


Reply via email to