class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ExternalSubnetFragment

Subnet information as returned by the Microsoft.Network API.

Attributes

id[RW]

@return [String] Gets or sets the identifier.

name[RW]

@return [String] Gets or sets the name.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb, line 26
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ExternalSubnetFragment',
    type: {
      name: 'Composite',
      class_name: 'ExternalSubnetFragment',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end