class Azure::Network::Mgmt::V2015_05_01_preview::Models::LocalNetworkGateway

A common class for general resource information

Attributes

etag[RW]

@return [String] Gets a unique read-only string that changes whenever the resource is updated

gateway_ip_address[RW]

@return [String] IP address of local network gateway.

local_network_address_space[RW]

@return [AddressSpace] Local network site Address space

provisioning_state[RW]

@return [String] Gets or sets Provisioning state of the LocalNetworkGateway resource Updating/Deleting/Failed

resource_guid[RW]

@return [String] Gets or sets resource guid property of the LocalNetworkGateway resource

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-05-01-preview/generated/azure_mgmt_network/models/local_network_gateway.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LocalNetworkGateway',
    type: {
      name: 'Composite',
      class_name: 'LocalNetworkGateway',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          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'
                }
            }
          }
        },
        local_network_address_space: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.localNetworkAddressSpace',
          type: {
            name: 'Composite',
            class_name: 'AddressSpace'
          }
        },
        gateway_ip_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.gatewayIpAddress',
          type: {
            name: 'String'
          }
        },
        resource_guid: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.resourceGuid',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end