You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Compute] Support associating disk and snapshot with a disk-access resource (Azure#14624)
* Add support for associating disk-access with disk and snapshot
* add scenario test
* src/azure-cli/azure/cli/command_modules/vm/tests/latest/test_vm_commands.py
* fix arg_type for network_access_policy
Copy file name to clipboardExpand all lines: src/azure-cli/azure/cli/command_modules/vm/_params.py
+3
Original file line number
Diff line number
Diff line change
@@ -118,6 +118,9 @@ def load_arguments(self, _):
118
118
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.')
119
119
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.')
120
120
c.argument('location', help='Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`. If location is not specified and no default location specified, location will be automatically set as same as the resource group.')
c.argument('network_access_policy', min_api='2020-05-01', help='Policy for accessing the disk via network.', arg_type=get_enum_type(self.get_models('NetworkAccessPolicy', operation_group=operation_group)))
123
+
c.argument('disk_access', min_api='2020-05-01', help='Name or ID of the disk access resource for using private endpoints on disks.')
0 commit comments