class Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringServiceLocation
PeeringService
location
Attributes
azure_region[RW]
@return [String] Azure
region for the location
country[RW]
@return [String] Country of the customer
state[RW]
@return [String] State of the customer
Private Class Methods
mapper()
click to toggle source
Mapper for PeeringServiceLocation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service_location.rb, line 29 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PeeringServiceLocation', type: { name: 'Composite', class_name: 'PeeringServiceLocation', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, country: { client_side_validation: true, required: false, serialized_name: 'properties.country', type: { name: 'String' } }, state: { client_side_validation: true, required: false, serialized_name: 'properties.state', type: { name: 'String' } }, azure_region: { client_side_validation: true, required: false, serialized_name: 'properties.azureRegion', type: { name: 'String' } } } } } end