Hello community,

here is the log from the commit of package azure-cli for openSUSE:Factory 
checked in at 2020-01-17 16:06:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli"

Fri Jan 17 16:06:42 2020 rev:13 rq:765087 version:2.0.80

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli/azure-cli.changes      2020-01-13 
22:20:45.738497020 +0100
+++ /work/SRC/openSUSE:Factory/.azure-cli.new.26092/azure-cli.changes   
2020-01-17 16:07:27.600498881 +0100
@@ -1,0 +2,9 @@
+Thu Jan 16 14:38:02 UTC 2020 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 2.0.80
+  + For detailed information about changes see the
+    HISTORY.rst file provided with this package
+- Update BuildRequires and Requires from setup.py
+
+-------------------------------------------------------------------

Old:
----
  azure-cli-2.0.79.tar.gz

New:
----
  azure-cli-2.0.80.tar.gz

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

Other differences:
------------------
++++++ azure-cli.spec ++++++
--- /var/tmp/diff_new_pack.WKN6cP/_old  2020-01-17 16:07:28.192499161 +0100
+++ /var/tmp/diff_new_pack.WKN6cP/_new  2020-01-17 16:07:28.196499163 +0100
@@ -32,7 +32,7 @@
 Name:           azure-cli%{?name_ext}
 %endif
 %define         short_name azure-cli
-Version:        2.0.79
+Version:        2.0.80
 Release:        0
 Summary:        Microsoft Azure CLI 2.0
 License:        MIT
@@ -116,7 +116,7 @@
 BuildRequires:  python3-azure-mgmt-signalr >= 0.3.0
 BuildRequires:  python3-azure-mgmt-sql >= 0.15.0
 BuildRequires:  python3-azure-mgmt-sqlvirtualmachine >= 0.5.0
-BuildRequires:  python3-azure-mgmt-storage >= 7.0.0
+BuildRequires:  python3-azure-mgmt-storage >= 7.1.0
 BuildRequires:  python3-azure-mgmt-trafficmanager >= 0.51.0
 BuildRequires:  python3-azure-mgmt-web >= 0.42.0
 BuildRequires:  python3-azure-multiapi-storage >= 0.2.4
@@ -217,7 +217,7 @@
 Requires:       python3-azure-mgmt-signalr >= 0.3.0
 Requires:       python3-azure-mgmt-sql >= 0.15.0
 Requires:       python3-azure-mgmt-sqlvirtualmachine >= 0.5.0
-Requires:       python3-azure-mgmt-storage >= 7.0.0
+Requires:       python3-azure-mgmt-storage >= 7.1.0
 Requires:       python3-azure-mgmt-trafficmanager >= 0.51.0
 Requires:       python3-azure-mgmt-web >= 0.42.0
 Requires:       python3-azure-multiapi-storage >= 0.2.4

++++++ azure-cli-2.0.79.tar.gz -> azure-cli-2.0.80.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-2.0.79/HISTORY.rst 
new/azure-cli-2.0.80/HISTORY.rst
--- old/azure-cli-2.0.79/HISTORY.rst    2020-01-03 08:29:52.000000000 +0100
+++ new/azure-cli-2.0.80/HISTORY.rst    2020-01-13 06:00:08.000000000 +0100
@@ -3,6 +3,19 @@
 Release History
 ===============
 
+2.0.80
+++++++
+
+**Compute**
+
+* disk update: Add --disk-encryption-set and --encryption-type
+* snapshot create/update: Add --disk-encryption-set and --encryption-type
+
+**Stoarge**
+
+* Upgrade azure-mgmt-storage version to 7.1.0
+* `az storage account create`: Add `--encryption-key-type-for-table` and 
`--encryption-key-type-for-queue` to support Table and Queue Encryption Service
+
 2.0.79
 ++++++
 
@@ -60,6 +73,7 @@
 * Update azure-mgmt-storage version to 7.0.0 to use api version 2019-06-01
 * Add new parameters `--enable-delete-retention` and `--delete-retention-days` 
to support managing delete retention policy for storage account 
blob-service-properties.
 
+
 2.0.78
 ++++++
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-2.0.79/PKG-INFO 
new/azure-cli-2.0.80/PKG-INFO
--- old/azure-cli-2.0.79/PKG-INFO       2020-01-03 08:30:03.000000000 +0100
+++ new/azure-cli-2.0.80/PKG-INFO       2020-01-13 06:00:15.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli
-Version: 2.0.79
+Version: 2.0.80
 Summary: Microsoft Azure Command-Line Tools
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -118,6 +118,19 @@
         Release History
         ===============
         
+        2.0.80
+        ++++++
+        
+        **Compute**
+        
+        * disk update: Add --disk-encryption-set and --encryption-type
+        * snapshot create/update: Add --disk-encryption-set and 
--encryption-type
+        
+        **Stoarge**
+        
+        * Upgrade azure-mgmt-storage version to 7.1.0
+        * `az storage account create`: Add `--encryption-key-type-for-table` 
and `--encryption-key-type-for-queue` to support Table and Queue Encryption 
Service
+        
         2.0.79
         ++++++
         
@@ -175,6 +188,7 @@
         * Update azure-mgmt-storage version to 7.0.0 to use api version 
2019-06-01
         * Add new parameters `--enable-delete-retention` and 
`--delete-retention-days` to support managing delete retention policy for 
storage account blob-service-properties.
         
+        
         2.0.78
         ++++++
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-2.0.79/azure/cli/__init__.py 
new/azure-cli-2.0.80/azure/cli/__init__.py
--- old/azure-cli-2.0.79/azure/cli/__init__.py  2020-01-03 08:29:52.000000000 
+0100
+++ new/azure-cli-2.0.80/azure/cli/__init__.py  2020-01-13 06:00:08.000000000 
+0100
@@ -11,4 +11,4 @@
 pkg_resources.declare_namespace(__name__)
 
 __author__ = "Microsoft Corporation <[email protected]>"
-__version__ = "2.0.79"
+__version__ = "2.0.80"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-2.0.79/azure/cli/command_modules/acs/_help.py 
new/azure-cli-2.0.80/azure/cli/command_modules/acs/_help.py
--- old/azure-cli-2.0.79/azure/cli/command_modules/acs/_help.py 2020-01-03 
08:29:52.000000000 +0100
+++ new/azure-cli-2.0.80/azure/cli/command_modules/acs/_help.py 2020-01-13 
06:00:08.000000000 +0100
@@ -327,7 +327,7 @@
     text: az aks create -g MyResourceGroup -n MyManagedCluster --node-count 7
   - name: Create a kubernetes cluster with k8s 1.13.9 but use vmas.
     text: az aks create -g MyResourceGroup -n MyManagedCluster 
--kubernetes-version 1.13.9 --vm-set-type AvailabilitySet
-  - name: Create a kubernetes cluster with default kubernetes version, default 
SKU load balancer(basic) and default vm set type(AvailabilitySet).
+  - name: Create a kubernetes cluster with default kubernetes version, default 
SKU load balancer (Standard) and default vm set type (VirtualMachineScaleSet).
     text: az aks create -g MyResourceGroup -n MyManagedCluster
   - name: Create a kubernetes cluster with standard SKU load balancer and two 
AKS created IPs for the load balancer outbound connection usage.
     text: az aks create -g MyResourceGroup -n MyManagedCluster 
--load-balancer-managed-outbound-ip-count 2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-2.0.79/azure/cli/command_modules/appservice/commands.py 
new/azure-cli-2.0.80/azure/cli/command_modules/appservice/commands.py
--- old/azure-cli-2.0.79/azure/cli/command_modules/appservice/commands.py       
2020-01-03 08:29:52.000000000 +0100
+++ new/azure-cli-2.0.80/azure/cli/command_modules/appservice/commands.py       
2020-01-13 06:00:08.000000000 +0100
@@ -121,10 +121,10 @@
         g.custom_command('delete', 'delete_connection_strings')
 
     with self.command_group('webapp config storage-account') as g:
-        g.custom_command('list', 'get_azure_storage_accounts', 
exception_handler=empty_on_404)
-        g.custom_command('add', 'add_azure_storage_account')
-        g.custom_command('update', 'update_azure_storage_account')
-        g.custom_command('delete', 'delete_azure_storage_accounts')
+        g.custom_command('list', 'get_azure_storage_accounts', 
exception_handler=empty_on_404, is_preview=True)
+        g.custom_command('add', 'add_azure_storage_account', is_preview=True)
+        g.custom_command('update', 'update_azure_storage_account', 
is_preview=True)
+        g.custom_command('delete', 'delete_azure_storage_accounts', 
is_preview=True)
 
     with self.command_group('webapp config hostname') as g:
         g.custom_command('add', 'add_hostname', 
exception_handler=ex_handler_factory())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-2.0.79/azure/cli/command_modules/storage/_help.py 
new/azure-cli-2.0.80/azure/cli/command_modules/storage/_help.py
--- old/azure-cli-2.0.79/azure/cli/command_modules/storage/_help.py     
2020-01-03 08:29:52.000000000 +0100
+++ new/azure-cli-2.0.80/azure/cli/command_modules/storage/_help.py     
2020-01-13 06:00:09.000000000 +0100
@@ -61,12 +61,14 @@
 long-summary: >
     The SKU of the storage account defaults to 'Standard_RAGRS'.
 examples:
-  - name: Create a storage account 'MyStorageAccount' in resource group 
'MyResourceGroup' in the West US region with locally redundant storage.
-    text: az storage account create -n MyStorageAccount -g MyResourceGroup -l 
westus --sku Standard_LRS
+  - name: Create a storage account 'mystorageaccount' in resource group 
'MyResourceGroup' in the West US region with locally redundant storage.
+    text: az storage account create -n mystorageaccount -g MyResourceGroup -l 
westus --sku Standard_LRS
     unsupported-profiles: 2017-03-09-profile
-  - name: Create a storage account 'MyStorageAccount' in resource group 
'MyResourceGroup' in the West US region with locally redundant storage.
-    text: az storage account create -n MyStorageAccount -g MyResourceGroup -l 
westus --account-type Standard_LRS
+  - name: Create a storage account 'mystorageaccount' in resource group 
'MyResourceGroup' in the West US region with locally redundant storage.
+    text: az storage account create -n mystorageaccount -g MyResourceGroup -l 
westus --account-type Standard_LRS
     supported-profiles: 2017-03-09-profile
+  - name: Create a storage account 'mystorageaccount' in resource group 
'MyResourceGroup' in the eastus2euap region with account-scoped encryption key 
enabled for Table Service.
+    text: az storage account create -n mystorageaccount -g MyResourceGroup 
--kind StorageV2 -l eastus2euap -t Account
 """
 
 helps['storage account delete'] = """
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-2.0.79/azure/cli/command_modules/storage/_params.py 
new/azure-cli-2.0.80/azure/cli/command_modules/storage/_params.py
--- old/azure-cli-2.0.79/azure/cli/command_modules/storage/_params.py   
2020-01-03 08:29:52.000000000 +0100
+++ new/azure-cli-2.0.80/azure/cli/command_modules/storage/_params.py   
2020-01-13 06:00:09.000000000 +0100
@@ -159,6 +159,16 @@
                    help=" Allow the blob service to exhibit filesystem 
semantics. This property can be enabled only "
                    "when storage account kind is StorageV2.",
                    min_api='2018-02-01')
+        c.argument('encryption_key_type_for_table', 
arg_type=get_enum_type(['Account', 'Service']),
+                   help='Set the encryption key type for Table service. 
"Account": Table will be encrypted '
+                        'with account-scoped encryption key. "Service": Table 
will always be encrypted with '
+                        'service-scoped keys. Currently the default encryption 
key type is "Service".',
+                   min_api='2019-06-01', 
options_list=['--encryption-key-type-for-table', '-t'])
+        c.argument('encryption_key_type_for_queue', 
arg_type=get_enum_type(['Account', 'Service']),
+                   help='Set the encryption key type for Queue service. 
"Account": Queue will be encrypted '
+                        'with account-scoped encryption key. "Service": Queue 
will always be encrypted with '
+                        'service-scoped keys. Currently the default encryption 
key type is "Service".',
+                   min_api='2019-06-01', 
options_list=['--encryption-key-type-for-queue', '-q'])
 
     with self.argument_context('storage account update', 
resource_type=ResourceType.MGMT_STORAGE) as c:
         c.register_common_storage_account_options()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-2.0.79/azure/cli/command_modules/storage/operations/account.py 
new/azure-cli-2.0.80/azure/cli/command_modules/storage/operations/account.py
--- 
old/azure-cli-2.0.79/azure/cli/command_modules/storage/operations/account.py    
    2020-01-03 08:29:52.000000000 +0100
+++ 
new/azure-cli-2.0.80/azure/cli/command_modules/storage/operations/account.py    
    2020-01-13 06:00:09.000000000 +0100
@@ -13,13 +13,14 @@
 logger = get_logger(__name__)
 
 
-# pylint: disable=too-many-locals
+# pylint: disable=too-many-locals, too-many-statements
 def create_storage_account(cmd, resource_group_name, account_name, sku=None, 
location=None, kind=None,
                            tags=None, custom_domain=None, 
encryption_services=None, access_tier=None, https_only=None,
                            enable_files_aadds=None, bypass=None, 
default_action=None, assign_identity=False,
                            enable_large_file_share=None, 
enable_files_adds=None, domain_name=None,
                            net_bios_domain_name=None, forest_name=None, 
domain_guid=None, domain_sid=None,
-                           azure_storage_sid=None, 
enable_hierarchical_namespace=None):
+                           azure_storage_sid=None, 
enable_hierarchical_namespace=None,
+                           encryption_key_type_for_table=None, 
encryption_key_type_for_queue=None):
     StorageAccountCreateParameters, Kind, Sku, CustomDomain, AccessTier, 
Identity, Encryption, NetworkRuleSet = \
         cmd.get_models('StorageAccountCreateParameters', 'Kind', 'Sku', 
'CustomDomain', 'AccessTier', 'Identity',
                        'Encryption', 'NetworkRuleSet')
@@ -86,6 +87,18 @@
         params.network_rule_set = NetworkRuleSet(bypass=bypass, 
default_action=default_action, ip_rules=None,
                                                  virtual_network_rules=None)
 
+    if encryption_key_type_for_table is not None or 
encryption_key_type_for_queue is not None:
+        EncryptionServices = cmd.get_models('EncryptionServices')
+        EncryptionService = cmd.get_models('EncryptionService')
+        params.encryption = Encryption()
+        params.encryption.services = EncryptionServices()
+        if encryption_key_type_for_table is not None:
+            table_encryption_service = EncryptionService(enabled=True, 
key_type=encryption_key_type_for_table)
+            params.encryption.services.table = table_encryption_service
+        if encryption_key_type_for_queue is not None:
+            queue_encryption_service = EncryptionService(enabled=True, 
key_type=encryption_key_type_for_queue)
+            params.encryption.services.queue = queue_encryption_service
+
     return scf.storage_accounts.create(resource_group_name, account_name, 
params)
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-2.0.79/azure/cli/command_modules/vm/_params.py 
new/azure-cli-2.0.80/azure/cli/command_modules/vm/_params.py
--- old/azure-cli-2.0.79/azure/cli/command_modules/vm/_params.py        
2020-01-03 08:29:52.000000000 +0100
+++ new/azure-cli-2.0.80/azure/cli/command_modules/vm/_params.py        
2020-01-13 06:00:09.000000000 +0100
@@ -114,8 +114,9 @@
                 c.argument('hyper_v_generation', arg_type=hyper_v_gen_sku, 
help='The hypervisor generation of the Virtual Machine. Applicable to OS disks 
only.')
             else:
                 c.ignore('access_level', 'for_upload', 'hyper_v_generation')
-            c.argument('encryption_type', 
arg_type=get_enum_type(self.get_models('EncryptionType')), help='Encryption 
type.')
-            c.argument('disk_encryption_set', help='Name or ID of disk 
encryption set that is used to encrypt the disk.')
+            c.argument('encryption_type', min_api='2019-07-01', 
arg_type=get_enum_type(self.get_models('EncryptionType')),
+                       help='Encryption type. EncryptionAtRestWithPlatformKey: 
Disk is encrypted with XStore managed key at rest. It is the default encryption 
type. EncryptionAtRestWithCustomerKey: Disk is encrypted with Customer managed 
key at rest.')
+            c.argument('disk_encryption_set', min_api='2019-07-01', help='Name 
or ID of disk encryption set that is used to encrypt the disk.')
 
     for scope in ['disk create', 'snapshot create']:
         with self.argument_context(scope) as c:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-2.0.79/azure/cli/command_modules/vm/commands.py 
new/azure-cli-2.0.80/azure/cli/command_modules/vm/commands.py
--- old/azure-cli-2.0.79/azure/cli/command_modules/vm/commands.py       
2020-01-03 08:29:52.000000000 +0100
+++ new/azure-cli-2.0.80/azure/cli/command_modules/vm/commands.py       
2020-01-13 06:00:09.000000000 +0100
@@ -202,7 +202,7 @@
         g.generic_update_command('update', 
custom_func_name='update_managed_disk', setter_arg_name='disk', 
supports_no_wait=True)
         g.wait_command('wait')
 
-    with self.command_group('disk-encryption-set', 
compute_disk_encryption_set_sdk, client_factory=cf_disk_encryption_set, 
min_api='2019-07-01', is_preview=True) as g:
+    with self.command_group('disk-encryption-set', 
compute_disk_encryption_set_sdk, client_factory=cf_disk_encryption_set, 
min_api='2019-07-01') as g:
         g.custom_command('create', 'create_disk_encryption_set', 
supports_no_wait=True)
         g.command('delete', 'delete')
         g.generic_update_command('update', 
custom_func_name='update_disk_encryption_set', 
setter_arg_name='disk_encryption_set')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-2.0.79/azure/cli/command_modules/vm/custom.py 
new/azure-cli-2.0.80/azure/cli/command_modules/vm/custom.py
--- old/azure-cli-2.0.79/azure/cli/command_modules/vm/custom.py 2020-01-03 
08:29:52.000000000 +0100
+++ new/azure-cli-2.0.80/azure/cli/command_modules/vm/custom.py 2020-01-13 
06:00:09.000000000 +0100
@@ -327,7 +327,11 @@
     return client.disks.list()
 
 
-def update_managed_disk(cmd, instance, size_gb=None, sku=None, 
disk_iops_read_write=None, disk_mbps_read_write=None):
+def update_managed_disk(cmd, resource_group_name, instance, size_gb=None, 
sku=None, disk_iops_read_write=None,
+                        disk_mbps_read_write=None, encryption_type=None, 
disk_encryption_set=None):
+    from msrestazure.tools import resource_id, is_valid_resource_id
+    from azure.cli.core.commands.client_factory import get_subscription_id
+
     if size_gb is not None:
         instance.disk_size_gb = size_gb
     if sku is not None:
@@ -336,6 +340,17 @@
         instance.disk_iops_read_write = disk_iops_read_write
     if disk_mbps_read_write is not None:
         instance.disk_mbps_read_write = disk_mbps_read_write
+    if disk_encryption_set is not None:
+        if instance.encryption.type != 'EncryptionAtRestWithCustomerKey' and \
+                encryption_type != 'EncryptionAtRestWithCustomerKey':
+            raise CLIError('usage error: Please set --encryption-type to 
EncryptionAtRestWithCustomerKey')
+        if not is_valid_resource_id(disk_encryption_set):
+            disk_encryption_set = resource_id(
+                subscription=get_subscription_id(cmd.cli_ctx), 
resource_group=resource_group_name,
+                namespace='Microsoft.Compute', type='diskEncryptionSets', 
name=disk_encryption_set)
+        instance.encryption.disk_encryption_set_id = disk_encryption_set
+    if encryption_type is not None:
+        instance.encryption.type = encryption_type
     return instance
 # endregion
 
@@ -408,12 +423,18 @@
 
 
 # region Snapshots
+# pylint: disable=unused-argument,too-many-locals
 def create_snapshot(cmd, resource_group_name, snapshot_name, location=None, 
size_gb=None, sku='Standard_LRS',
-                    source=None, for_upload=None, incremental=None,  # pylint: 
disable=unused-argument
+                    source=None, for_upload=None, incremental=None,
                     # below are generated internally from 'source'
                     source_blob_uri=None, source_disk=None, 
source_snapshot=None, source_storage_account_id=None,
-                    hyper_v_generation=None, tags=None, no_wait=False):
-    Snapshot, CreationData, DiskCreateOption = cmd.get_models('Snapshot', 
'CreationData', 'DiskCreateOption')
+                    hyper_v_generation=None, tags=None, no_wait=False, 
disk_encryption_set=None,
+                    encryption_type=None):
+    from msrestazure.tools import resource_id, is_valid_resource_id
+    from azure.cli.core.commands.client_factory import get_subscription_id
+
+    Snapshot, CreationData, DiskCreateOption, Encryption = cmd.get_models(
+        'Snapshot', 'CreationData', 'DiskCreateOption', 'Encryption')
 
     location = location or _get_resource_group_location(cmd.cli_ctx, 
resource_group_name)
     if source_blob_uri:
@@ -432,8 +453,22 @@
 
     if size_gb is None and option == DiskCreateOption.empty:
         raise CLIError('Please supply size for the snapshots')
+
+    if disk_encryption_set is not None and not 
is_valid_resource_id(disk_encryption_set):
+        disk_encryption_set = resource_id(
+            subscription=get_subscription_id(cmd.cli_ctx), 
resource_group=resource_group_name,
+            namespace='Microsoft.Compute', type='diskEncryptionSets', 
name=disk_encryption_set)
+
+    if disk_encryption_set is not None and encryption_type is None:
+        raise CLIError('usage error: Please specify --encryption-type.')
+    if encryption_type is not None:
+        encryption = Encryption(type=encryption_type, 
disk_encryption_set_id=disk_encryption_set)
+    else:
+        encryption = None
+
     snapshot = Snapshot(location=location, creation_data=creation_data, 
tags=(tags or {}),
-                        sku=_get_sku_object(cmd, sku), disk_size_gb=size_gb, 
incremental=incremental)
+                        sku=_get_sku_object(cmd, sku), disk_size_gb=size_gb, 
incremental=incremental,
+                        encryption=encryption)
     if hyper_v_generation:
         snapshot.hyper_vgeneration = hyper_v_generation
 
@@ -453,9 +488,23 @@
     return client.snapshots.list()
 
 
-def update_snapshot(cmd, instance, sku=None):
+def update_snapshot(cmd, resource_group_name, instance, sku=None, 
disk_encryption_set=None, encryption_type=None):
+    from msrestazure.tools import resource_id, is_valid_resource_id
+    from azure.cli.core.commands.client_factory import get_subscription_id
+
     if sku is not None:
         _set_sku(cmd, instance, sku)
+    if disk_encryption_set is not None:
+        if instance.encryption.type != 'EncryptionAtRestWithCustomerKey' and \
+                encryption_type != 'EncryptionAtRestWithCustomerKey':
+            raise CLIError('usage error: Please set --encryption-type to 
EncryptionAtRestWithCustomerKey')
+        if not is_valid_resource_id(disk_encryption_set):
+            disk_encryption_set = resource_id(
+                subscription=get_subscription_id(cmd.cli_ctx), 
resource_group=resource_group_name,
+                namespace='Microsoft.Compute', type='diskEncryptionSets', 
name=disk_encryption_set)
+        instance.encryption.disk_encryption_set_id = disk_encryption_set
+    if encryption_type is not None:
+        instance.encryption.type = encryption_type
     return instance
 # endregion
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-2.0.79/azure_cli.egg-info/PKG-INFO 
new/azure-cli-2.0.80/azure_cli.egg-info/PKG-INFO
--- old/azure-cli-2.0.79/azure_cli.egg-info/PKG-INFO    2020-01-03 
08:30:03.000000000 +0100
+++ new/azure-cli-2.0.80/azure_cli.egg-info/PKG-INFO    2020-01-13 
06:00:15.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli
-Version: 2.0.79
+Version: 2.0.80
 Summary: Microsoft Azure Command-Line Tools
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -118,6 +118,19 @@
         Release History
         ===============
         
+        2.0.80
+        ++++++
+        
+        **Compute**
+        
+        * disk update: Add --disk-encryption-set and --encryption-type
+        * snapshot create/update: Add --disk-encryption-set and 
--encryption-type
+        
+        **Stoarge**
+        
+        * Upgrade azure-mgmt-storage version to 7.1.0
+        * `az storage account create`: Add `--encryption-key-type-for-table` 
and `--encryption-key-type-for-queue` to support Table and Queue Encryption 
Service
+        
         2.0.79
         ++++++
         
@@ -175,6 +188,7 @@
         * Update azure-mgmt-storage version to 7.0.0 to use api version 
2019-06-01
         * Add new parameters `--enable-delete-retention` and 
`--delete-retention-days` to support managing delete retention policy for 
storage account blob-service-properties.
         
+        
         2.0.78
         ++++++
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-2.0.79/azure_cli.egg-info/requires.txt 
new/azure-cli-2.0.80/azure_cli.egg-info/requires.txt
--- old/azure-cli-2.0.79/azure_cli.egg-info/requires.txt        2020-01-03 
08:30:03.000000000 +0100
+++ new/azure-cli-2.0.80/azure_cli.egg-info/requires.txt        2020-01-13 
06:00:15.000000000 +0100
@@ -1,6 +1,6 @@
 azure-batch~=8.0
 azure-cli-command_modules-nspkg~=2.0
-azure-cli-core==2.0.79.*
+azure-cli-core==2.0.80.*
 azure-cli-nspkg>=3.0.3,~=3.0
 azure-cli-telemetry<2.0,>=1.0.2
 azure-cosmos>=3.0.2,~=3.0
@@ -66,7 +66,7 @@
 azure-mgmt-signalr~=0.3.0
 azure-mgmt-sql~=0.15.0
 azure-mgmt-sqlvirtualmachine~=0.5.0
-azure-mgmt-storage~=7.0.0
+azure-mgmt-storage~=7.1.0
 azure-mgmt-trafficmanager~=0.51.0
 azure-mgmt-web~=0.42.0
 azure-multiapi-storage~=0.2.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-2.0.79/setup.py 
new/azure-cli-2.0.80/setup.py
--- old/azure-cli-2.0.79/setup.py       2020-01-03 08:29:53.000000000 +0100
+++ new/azure-cli-2.0.80/setup.py       2020-01-13 06:00:09.000000000 +0100
@@ -17,7 +17,7 @@
     logger.warn("Wheel is not available, disabling bdist_wheel hook")
     cmdclass = {}
 
-VERSION = "2.0.79"
+VERSION = "2.0.80"
 # If we have source, validate that our version numbers match
 # This should prevent uploading releases with mismatched versions.
 try:
@@ -122,7 +122,7 @@
     'azure-mgmt-signalr~=0.3.0',
     'azure-mgmt-sql~=0.15.0',
     'azure-mgmt-sqlvirtualmachine~=0.5.0',
-    'azure-mgmt-storage~=7.0.0',
+    'azure-mgmt-storage~=7.1.0',
     'azure-mgmt-trafficmanager~=0.51.0',
     'azure-mgmt-web~=0.42.0',
     'azure-multiapi-storage~=0.2.4',


Reply via email to