Class: Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineRunCommandScriptSource
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineRunCommandScriptSource
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb
Overview
Describes the script sources for run command.
Instance Attribute Summary collapse
-
#command_id ⇒ String
Specifies a commandId of predefined built-in script.
-
#script ⇒ String
Specifies the script content to be executed on the VM.
-
#script_uri ⇒ String
Specifies the script download location.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualMachineRunCommandScriptSource class as Ruby Hash.
Instance Attribute Details
#command_id ⇒ String
Returns Specifies a commandId of predefined built-in script.
22 23 24 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb', line 22 def command_id @command_id end |
#script ⇒ String
Returns Specifies the script content to be executed on the VM.
16 17 18 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb', line 16 def script @script end |
#script_uri ⇒ String
Returns Specifies the script download location.
19 20 21 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb', line 19 def script_uri @script_uri end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualMachineRunCommandScriptSource class as Ruby Hash. This will be used for serialization/deserialization.
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_run_command_script_source.rb', line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualMachineRunCommandScriptSource', type: { name: 'Composite', class_name: 'VirtualMachineRunCommandScriptSource', model_properties: { script: { client_side_validation: true, required: false, serialized_name: 'script', type: { name: 'String' } }, script_uri: { client_side_validation: true, required: false, serialized_name: 'scriptUri', type: { name: 'String' } }, command_id: { client_side_validation: true, required: false, serialized_name: 'commandId', type: { name: 'String' } } } } } end |