Skip to content

Commit 1cda8fc

Browse files
committed
changes
1 parent 0a9dc7c commit 1cda8fc

25 files changed

Lines changed: 10660 additions & 132057 deletions

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def load_command_table(self, _):
420420
g.custom_show_command('identity show', 'show_vmss_identity')
421421
g.custom_command('application set', 'set_vmss_applications', validator=process_set_applications_namespace, min_api='2021-07-01')
422422
g.custom_command('application list', 'list_vmss_applications', min_api='2021-07-01')
423-
g.custom_command('create', 'create_vmss', transform=DeploymentOutputLongRunningOperation(self.cli_ctx, 'Starting vmss create'), supports_no_wait=True, table_transformer=deployment_validate_table_format, validator=process_vmss_create_namespace, exception_handler=handle_template_based_exception)
423+
g.custom_command('create', 'create_vmss', transform=DeploymentOutputLongRunningOperation(self.cli_ctx, 'Starting vmss create'), supports_no_wait=True, table_transformer=deployment_validate_table_format, validator=process_vmss_create_namespace, exception_handler=handle_template_based_exception)
424424
g.custom_command('delete-instances', 'delete_vmss_instances', supports_no_wait=True)
425425
g.custom_command('get-instance-view', 'get_vmss_instance_view', table_transformer='{ProvisioningState:statuses[0].displayStatus, PowerState:statuses[1].displayStatus}')
426426
g.custom_command('list-instance-connection-info', 'list_vmss_instance_connection_info')

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3782,7 +3782,6 @@ def _build_identities_info(identities):
37823782
return (info, identity_types, external_identities, 'SystemAssigned' in identity_types)
37833783

37843784

3785-
37863785
def delete_vmss_instances(cmd, resource_group_name, vm_scale_set_name, instance_ids, no_wait=False):
37873786
client = _compute_client_factory(cmd.cli_ctx)
37883787
VirtualMachineScaleSetVMInstanceRequiredIDs = cmd.get_models('VirtualMachineScaleSetVMInstanceRequiredIDs')

src/azure-cli/azure/cli/command_modules/vm/operations/vmss.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def _output(self, *args, **kwargs):
2626
next_link = self.deserialize_output(self.ctx.vars.instance.next_link)
2727
return result, next_link
2828

29+
2930
class VMSSDeallocate(_VMSSDeallocate):
3031
def _output(self, *args, **kwargs):
3132
from azure.cli.core.aaz import AAZUndefined, has_value
@@ -38,4 +39,4 @@ def _output(self, *args, **kwargs):
3839
resource.type = AAZUndefined
3940

4041
result = self.deserialize_output(self.ctx.vars.instance, client_flatten=True)
41-
return result
42+
return result

src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_defer_only_commands.yaml

Lines changed: 128 additions & 136 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_build_managed_image.yaml

Lines changed: 243 additions & 3998 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_basic_sig.yaml

Lines changed: 148 additions & 226 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_image_builder_template_validator.yaml

Lines changed: 144 additions & 1422 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_availset.yaml

Lines changed: 195 additions & 147 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_availset_scheduled_events_policy.yaml

Lines changed: 25 additions & 678 deletions
Large diffs are not rendered by default.

src/azure-cli/azure/cli/command_modules/vm/tests/latest/recordings/test_vm_create_data_disk_delete_option.yaml

Lines changed: 12 additions & 20964 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)