class Azure::Subscriptions::Mgmt::V2019_11_01::Models::LocationMetadata

Location metadata information

Attributes

geography_group[RW]

@return [String] The geography group of the location.

latitude[RW]

@return [String] The latitude of the location.

longitude[RW]

@return [String] The longitude of the location.

paired_region[RW]

@return [Array<PairedRegion>] The regions paired to this region.

physical_location[RW]

@return [String] The physical location of the Azure location.

region_category[RW]

@return [RegionCategory] The category of the region. Possible values include: 'Recommended', 'Other'

region_type[RW]

@return [RegionType] The type of the region. Possible values include: 'Physical', 'Logical'

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-11-01/generated/azure_mgmt_subscriptions/models/location_metadata.rb, line 42
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LocationMetadata',
    type: {
      name: 'Composite',
      class_name: 'LocationMetadata',
      model_properties: {
        region_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'regionType',
          type: {
            name: 'String'
          }
        },
        region_category: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'regionCategory',
          type: {
            name: 'String'
          }
        },
        geography_group: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'geographyGroup',
          type: {
            name: 'String'
          }
        },
        longitude: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'longitude',
          type: {
            name: 'String'
          }
        },
        latitude: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'latitude',
          type: {
            name: 'String'
          }
        },
        physical_location: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'physicalLocation',
          type: {
            name: 'String'
          }
        },
        paired_region: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pairedRegion',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PairedRegionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PairedRegion'
                }
            }
          }
        }
      }
    }
  }
end