class Azure::Network::Mgmt::V2016_06_01::Models::VirtualNetworkGateway
A common class for general resource information
Attributes
@return [Boolean] ActiveActive flag
@return [BgpSettings] Virtual network gateway's BGP speaker settings
@return [Boolean] EnableBgp Flag
@return [String] Gets a unique read-only string that changes whenever the resource is updated
@return [SubResource] Gets or sets the reference of the LocalNetworkGateway
resource which represents Local network site having default routes. Assign Null value in case of removing existing default site setting.
@return [VirtualNetworkGatewayType] The type of this virtual network gateway. Possible values include: 'Vpn', 'ExpressRoute'
@return [Array<VirtualNetworkGatewayIPConfiguration>] IpConfigurations for Virtual network gateway.
@return [String] Gets provisioning state of the VirtualNetworkGateway
resource Updating/Deleting/Failed
@return [String] Gets or sets resource guid property of the VirtualNetworkGateway
resource
@return [VirtualNetworkGatewaySku] Gets or sets the reference of the VirtualNetworkGatewaySku
resource which represents the sku selected for Virtual network gateway.
@return [VpnClientConfiguration] Gets or sets the reference of the VpnClientConfiguration
resource which represents the P2S VpnClient configurations.
@return [VpnType] The type of this virtual network gateway. Possible values include: 'PolicyBased', 'RouteBased'
Public Class Methods
Mapper for VirtualNetworkGateway
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-06-01/generated/azure_mgmt_network/models/virtual_network_gateway.rb, line 69 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGateway', type: { name: 'Composite', class_name: 'VirtualNetworkGateway', 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' } } } }, ip_configurations: { client_side_validation: true, required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { name: 'Composite', class_name: 'VirtualNetworkGatewayIPConfiguration' } } } }, gateway_type: { client_side_validation: true, required: false, serialized_name: 'properties.gatewayType', type: { name: 'String' } }, vpn_type: { client_side_validation: true, required: false, serialized_name: 'properties.vpnType', type: { name: 'String' } }, enable_bgp: { client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { name: 'Boolean' } }, active_active: { client_side_validation: true, required: false, serialized_name: 'properties.activeActive', type: { name: 'Boolean' } }, gateway_default_site: { client_side_validation: true, required: false, serialized_name: 'properties.gatewayDefaultSite', type: { name: 'Composite', class_name: 'SubResource' } }, sku: { client_side_validation: true, required: false, serialized_name: 'properties.sku', type: { name: 'Composite', class_name: 'VirtualNetworkGatewaySku' } }, vpn_client_configuration: { client_side_validation: true, required: false, serialized_name: 'properties.vpnClientConfiguration', type: { name: 'Composite', class_name: 'VpnClientConfiguration' } }, 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, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end