Class: Azure::Labservices::Mgmt::V2018_10_15::Models::LabDetails

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

Overview

This represents the details about a lab that the User is in, and its state.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#idString

Returns The Id of the lab.

Returns:

  • (String)

    The Id of the lab.



23
24
25
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 23

def id
  @id
end

#nameString

Returns Name of the lab.

Returns:

  • (String)

    Name of the lab



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

def name
  @name
end

#provisioning_stateString

Returns The provisioning state of the lab.

Returns:

  • (String)

    The provisioning state of the lab.



20
21
22
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 20

def provisioning_state
  @provisioning_state
end

#usage_quotaDuration

lab.

Returns:

  • (Duration)

    The maximum duration a user can use a VM in this



27
28
29
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 27

def usage_quota
  @usage_quota
end

Class Method Details

.mapperObject

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



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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'lib/2018-10-15/generated/azure_mgmt_labservices/models/lab_details.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LabDetails',
    type: {
      name: 'Composite',
      class_name: 'LabDetails',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'provisioningState',
          type: {
            name: 'String'
          }
        },
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        usage_quota: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'usageQuota',
          type: {
            name: 'TimeSpan'
          }
        }
      }
    }
  }
end