Class: Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExecRequest
- Inherits:
-
Object
- Object
- Azure::ContainerInstance::Mgmt::V2019_12_01::Models::ContainerExecRequest
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb
Overview
The container exec request.
Instance Attribute Summary collapse
-
#command ⇒ String
The command to be executed.
-
#terminal_size ⇒ ContainerExecRequestTerminalSize
The size of the terminal.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ContainerExecRequest class as Ruby Hash.
Instance Attribute Details
#command ⇒ String
Returns The command to be executed.
16 17 18 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb', line 16 def command @command end |
#terminal_size ⇒ ContainerExecRequestTerminalSize
Returns The size of the terminal.
19 20 21 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb', line 19 def terminal_size @terminal_size end |
Class Method Details
.mapper ⇒ Object
Mapper for ContainerExecRequest class as Ruby Hash. This will be used for serialization/deserialization.
26 27 28 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 |
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/container_exec_request.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ContainerExecRequest', type: { name: 'Composite', class_name: 'ContainerExecRequest', model_properties: { command: { client_side_validation: true, required: false, serialized_name: 'command', type: { name: 'String' } }, terminal_size: { client_side_validation: true, required: false, serialized_name: 'terminalSize', type: { name: 'Composite', class_name: 'ContainerExecRequestTerminalSize' } } } } } end |