Class: Azure::ContainerInstance::Mgmt::V2019_12_01::Models::Capabilities

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb

Overview

The regional capabilities.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capabilitiesCapabilitiesCapabilities

Returns The supported capabilities.

Returns:



31
32
33
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 31

def capabilities
  @capabilities
end

#gpuString

Returns The GPU sku that this capability describes.

Returns:

  • (String)

    The GPU sku that this capability describes.



28
29
30
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 28

def gpu
  @gpu
end

#ip_address_typeString

Returns The ip address type that this capability describes.

Returns:

  • (String)

    The ip address type that this capability describes.



25
26
27
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 25

def ip_address_type
  @ip_address_type
end

#locationString

Returns The resource location.

Returns:

  • (String)

    The resource location.



22
23
24
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 22

def location
  @location
end

#os_typeString

Returns The OS type that this capability describes.

Returns:

  • (String)

    The OS type that this capability describes.



19
20
21
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 19

def os_type
  @os_type
end

#resource_typeString

Returns The resource type that this capability describes.

Returns:

  • (String)

    The resource type that this capability describes.



16
17
18
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 16

def resource_type
  @resource_type
end

Class Method Details

.mapperObject

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



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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# File 'lib/2019-12-01/generated/azure_mgmt_container_instance/models/capabilities.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Capabilities',
    type: {
      name: 'Composite',
      class_name: 'Capabilities',
      model_properties: {
        resource_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'resourceType',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'osType',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        ip_address_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'ipAddressType',
          type: {
            name: 'String'
          }
        },
        gpu: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'gpu',
          type: {
            name: 'String'
          }
        },
        capabilities: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'capabilities',
          type: {
            name: 'Composite',
            class_name: 'CapabilitiesCapabilities'
          }
        }
      }
    }
  }
end