class Azure::Network::Mgmt::V2018_06_01::Models::LocalNetworkGateway

A common class for general resource information

Attributes

bgp_settings[RW]

@return [BgpSettings] Local network gateway's BGP speaker settings.

etag[RW]

@return [String] 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] The provisioning state of the LocalNetworkGateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.

resource_guid[RW]

@return [String] The 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/2018-06-01/generated/azure_mgmt_network/models/local_network_gateway.rb, line 40
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,
          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: false,
          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'
          }
        },
        bgp_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.bgpSettings',
          type: {
            name: 'Composite',
            class_name: 'BgpSettings'
          }
        },
        resource_guid: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.resourceGuid',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        etag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end