Skip to content

Commit f522b51

Browse files
committed
Test Copilot PR review
1 parent ba196a9 commit f522b51

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

src/azure-cli/azure/cli/command_modules/vm/_params.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def load_arguments(self, _):
153153
operation_group = 'disks' if scope == 'disk' else 'snapshots'
154154
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)))
155155
c.argument('disk_access', min_api='2020-05-01', help='Name or ID of the disk access resource for using private endpoints on disks.')
156-
c.argument('enable_bursting', arg_type=get_three_state_flag(), help='Enable on-demand bursting beyond the provisioned performance target of the disk. On-demand bursting is disabled by default, and it does not apply to Ultra disks.')
156+
c.argument('enable_bursting', arg_type=get_three_state_flag(), help='Enables on-demand bursting beyond the provisioned performance target of the disk. On-demand bursting is disabled by default, and it does not apply to Ultra disks.')
157157
c.argument('public_network_access', arg_type=get_enum_type(['Disabled', 'Enabled']), min_api='2021-04-01', is_preview=True, help='Customers can set on Managed Disks or Snapshots to control the export policy on the disk.')
158158
c.argument('accelerated_network', arg_type=get_three_state_flag(), min_api='2021-04-01', is_preview=True, help='Customers can set on Managed Disks or Snapshots to enable the accelerated networking if the OS disk image support.')
159159

@@ -389,7 +389,7 @@ def load_arguments(self, _):
389389

390390
with self.argument_context('vm availability-set create') as c:
391391
c.argument('availability_set_name', name_arg_type, validator=get_default_location_from_resource_group, help='Name of the availability set')
392-
c.argument('platform_update_domain_count', type=int, help='Update Domain count. If unspecified, the server will pick the most optimal number like 5.')
392+
c.argument('platform_update_domain_count', type=int, help='Updated Domain count. If unspecified, the server will pick the most optimal number like 5.')
393393
c.argument('platform_fault_domain_count', type=int, help='Fault Domain count.')
394394
c.argument('validate', help='Generate and validate the ARM template without creating any resources.', action='store_true')
395395
c.argument('unmanaged', action='store_true', min_api='2016-04-30-preview', help='contained VMs should use unmanaged disks')
@@ -415,8 +415,8 @@ def load_arguments(self, _):
415415
with self.argument_context('vm update') as c:
416416
c.argument('os_disk', min_api='2017-12-01', help="Managed OS disk ID or name to swap to")
417417
c.argument('write_accelerator', nargs='*', min_api='2017-12-01',
418-
help="enable/disable disk write accelerator. Use singular value 'true/false' to apply across, or specify individual disks, e.g.'os=true 1=true 2=true' for os disk and data disks with lun of 1 & 2")
419-
c.argument('disk_caching', nargs='*', help="Use singular value to apply across, or specify individual disks, e.g. 'os=ReadWrite 0=None 1=ReadOnly' should enable update os disk and 2 data disks")
418+
help="Enable/Disable disk write accelerator. Use singular value 'true/false' to apply across, or specify individual disks, e.g.'os=true 1=true 2=true' for os disk and data disks with lun of 1 & 2")
419+
c.argument('disk_caching', nargs='*', help="The singular value to apply across, or specify individual disks, e.g. 'os=ReadWrite 0=None 1=ReadOnly' should enable update os disk and 2 data disks")
420420
c.argument('ultra_ssd_enabled', ultra_ssd_enabled_type)
421421
c.argument('enable_secure_boot', enable_secure_boot_type)
422422
c.argument('enable_vtpm', enable_vtpm_type)

src/azure-cli/azure/cli/command_modules/vm/custom.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,9 @@ def create_vm(cmd, vm_name, resource_group_name, image=None, size='Standard_DS1_
851851
exclude_zones=None, align_regional_disks_to_vm_zone=None, wire_server_mode=None, imds_mode=None,
852852
wire_server_access_control_profile_reference_id=None, imds_access_control_profile_reference_id=None,
853853
key_incarnation_id=None):
854+
i = 8808
855+
j = 8809
856+
test_port = 8810
854857

855858
from azure.cli.core.commands.client_factory import get_subscription_id
856859
from azure.cli.core.util import random_string, hash_string

0 commit comments

Comments
 (0)