Class: Azure::Compute::Mgmt::V2019_04_01::Models::ResourceSkuZoneDetails

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_zone_details.rb

Overview

Describes The zonal capabilities of a SKU.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capabilitiesArray<ResourceSkuCapabilities>

are available for the SKU in the specified list of zones.

Returns:



21
22
23
# File 'lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_zone_details.rb', line 21

def capabilities
  @capabilities
end

#nameArray<String>

with the specified capabilities.

Returns:

  • (Array<String>)

    The set of zones that the SKU is available in



17
18
19
# File 'lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_zone_details.rb', line 17

def name
  @name
end

Class Method Details

.mapperObject

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



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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# File 'lib/2019-04-01/generated/azure_mgmt_compute/models/resource_sku_zone_details.rb', line 28

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ResourceSkuZoneDetails',
    type: {
      name: 'Composite',
      class_name: 'ResourceSkuZoneDetails',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        capabilities: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'capabilities',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ResourceSkuCapabilitiesElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ResourceSkuCapabilities'
                }
            }
          }
        }
      }
    }
  }
end