class Azure::Network::Mgmt::V2020_03_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.

fqdn[RW]

@return [String] FQDN of local network gateway.

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 [ProvisioningState] The provisioning state of the local network gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

resource_guid[RW]

@return [String] The resource GUID property of the local network gateway 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/2020-03-01/generated/azure_mgmt_network/models/local_network_gateway.rb, line 45
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'
          }
        },
        fqdn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.fqdn',
          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,
          read_only: true,
          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,
          read_only: true,
          serialized_name: 'etag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end