class Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineRunCommandUpdate
Describes a Virtual Machine run command.
Attributes
@return [Boolean] Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete. Default value: false .
@return [String] Specifies the Azure
storage blob where script error stream will be uploaded.
@return [VirtualMachineRunCommandInstanceView] The virtual machine run command instance view.
@return [String] Specifies the Azure
storage blob where script output stream will be uploaded.
@return [Array<RunCommandInputParameter>] The parameters used by the script.
@return [Array<RunCommandInputParameter>] The parameters used by the script.
@return [String] The provisioning state, which only appears in the response.
@return [String] Specifies the user account password on the VM when executing the run command.
@return [String] Specifies the user account on the VM when executing the run command.
@return [VirtualMachineRunCommandScriptSource] The source of the run command script.
@return [Integer] The timeout in seconds to execute the run command.
Private Class Methods
Mapper for VirtualMachineRunCommandUpdate
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_update.rb, line 64 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineRunCommandUpdate', type: { name: 'Composite', class_name: 'VirtualMachineRunCommandUpdate', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, source: { client_side_validation: true, required: false, serialized_name: 'properties.source', type: { name: 'Composite', class_name: 'VirtualMachineRunCommandScriptSource' } }, parameters: { client_side_validation: true, required: false, serialized_name: 'properties.parameters', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameterElementType', type: { name: 'Composite', class_name: 'RunCommandInputParameter' } } } }, protected_parameters: { client_side_validation: true, required: false, serialized_name: 'properties.protectedParameters', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'RunCommandInputParameterElementType', type: { name: 'Composite', class_name: 'RunCommandInputParameter' } } } }, async_execution: { client_side_validation: true, required: false, serialized_name: 'properties.asyncExecution', default_value: false, type: { name: 'Boolean' } }, run_as_user: { client_side_validation: true, required: false, serialized_name: 'properties.runAsUser', type: { name: 'String' } }, run_as_password: { client_side_validation: true, required: false, serialized_name: 'properties.runAsPassword', type: { name: 'String' } }, timeout_in_seconds: { client_side_validation: true, required: false, serialized_name: 'properties.timeoutInSeconds', type: { name: 'Number' } }, output_blob_uri: { client_side_validation: true, required: false, serialized_name: 'properties.outputBlobUri', type: { name: 'String' } }, error_blob_uri: { client_side_validation: true, required: false, serialized_name: 'properties.errorBlobUri', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, instance_view: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.instanceView', type: { name: 'Composite', class_name: 'VirtualMachineRunCommandInstanceView' } } } } } end