class Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringService

Peering Service

Attributes

location[RW]

@return [String] The location of the resource.

peering_service_location[RW]

@return [String] The PeeringServiceLocation of the Customer.

peering_service_provider[RW]

@return [String] The MAPS Provider Name.

provisioning_state[RW]

@return [ProvisioningState] The provisioning state of the resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

tags[RW]

@return [Hash{String => String}] The resource tags.

Private Class Methods

mapper() click to toggle source

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

# File lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_service.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'PeeringService',
    type: {
      name: 'Composite',
      class_name: 'PeeringService',
      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'
          }
        },
        peering_service_location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peeringServiceLocation',
          type: {
            name: 'String'
          }
        },
        peering_service_provider: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.peeringServiceProvider',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end