Class: Azure::Labservices::Mgmt::V2018_10_15::Models::EnvironmentOperationsPayload

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_operations_payload.rb

Overview

Represents payload for any Environment operations like get, start, stop, connect

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#environment_idString

Returns The resourceId of the environment.

Returns:

  • (String)

    The resourceId of the environment



17
18
19
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_operations_payload.rb', line 17

def environment_id
  @environment_id
end

Class Method Details

.mapperObject

Mapper for EnvironmentOperationsPayload class as Ruby Hash. This will be used for serialization/deserialization.



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/environment_operations_payload.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EnvironmentOperationsPayload',
    type: {
      name: 'Composite',
      class_name: 'EnvironmentOperationsPayload',
      model_properties: {
        environment_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'environmentId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end