Class: Azure::DataBoxEdge::Mgmt::V2019_08_01::Models::SkuLocationInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_location_info.rb

Overview

The location info.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#locationString

Returns The location.

Returns:

  • (String)

    The location.



16
17
18
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_location_info.rb', line 16

def location
  @location
end

#sitesArray<String>

Returns The sites.

Returns:

  • (Array<String>)

    The sites.



22
23
24
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_location_info.rb', line 22

def sites
  @sites
end

#zonesArray<String>

Returns The zones.

Returns:

  • (Array<String>)

    The zones.



19
20
21
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_location_info.rb', line 19

def zones
  @zones
end

Class Method Details

.mapperObject

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



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
76
77
78
79
80
81
82
83
84
# File 'lib/2019-08-01/generated/azure_mgmt_databoxedge/models/sku_location_info.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SkuLocationInfo',
    type: {
      name: 'Composite',
      class_name: 'SkuLocationInfo',
      model_properties: {
        location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        zones: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'zones',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sites: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'sites',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end