Class: Azure::Network::Mgmt::V2016_03_30::Models::VirtualNetworkGateway
- Inherits:
-
Resource
- Object
- Resource
- Azure::Network::Mgmt::V2016_03_30::Models::VirtualNetworkGateway
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb
Overview
A common class for general resource information
Instance Attribute Summary collapse
-
#bgp_settings ⇒ BgpSettings
Virtual network gateway’s BGP speaker settings.
-
#enable_bgp ⇒ Boolean
EnableBgp Flag.
-
#etag ⇒ String
the resource is updated.
-
#gateway_default_site ⇒ SubResource
LocalNetworkGateway resource which represents Local network site having default routes.
-
#gateway_type ⇒ VirtualNetworkGatewayType
gateway.
-
#ip_configurations ⇒ Array<VirtualNetworkGatewayIPConfiguration>
for Virtual network gateway.
-
#provisioning_state ⇒ String
VirtualNetworkGateway resource Updating/Deleting/Failed.
-
#resource_guid ⇒ String
VirtualNetworkGateway resource.
-
#sku ⇒ VirtualNetworkGatewaySku
VirtualNetworkGatewaySku resource which represents the sku selected for Virtual network gateway.
-
#vpn_client_configuration ⇒ VpnClientConfiguration
VpnClientConfiguration resource which represents the P2S VpnClient configurations.
-
#vpn_type ⇒ VpnType
values include: ‘PolicyBased’, ‘RouteBased’.
Attributes inherited from Resource
#id, #location, #name, #tags, #type
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualNetworkGateway class as Ruby Hash.
Instance Attribute Details
#bgp_settings ⇒ BgpSettings
Returns Virtual network gateway’s BGP speaker settings.
47 48 49 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 47 def bgp_settings @bgp_settings end |
#enable_bgp ⇒ Boolean
Returns EnableBgp Flag.
28 29 30 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 28 def enable_bgp @enable_bgp end |
#etag ⇒ String
the resource is updated
59 60 61 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 59 def etag @etag end |
#gateway_default_site ⇒ SubResource
LocalNetworkGateway resource which represents Local network site having default routes. Assign Null value in case of removing existing default site setting.
34 35 36 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 34 def gateway_default_site @gateway_default_site end |
#gateway_type ⇒ VirtualNetworkGatewayType
gateway. Possible values include: ‘Vpn’, ‘ExpressRoute’
21 22 23 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 21 def gateway_type @gateway_type end |
#ip_configurations ⇒ Array<VirtualNetworkGatewayIPConfiguration>
for Virtual network gateway.
17 18 19 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 17 def ip_configurations @ip_configurations end |
#provisioning_state ⇒ String
VirtualNetworkGateway resource Updating/Deleting/Failed
55 56 57 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 55 def provisioning_state @provisioning_state end |
#resource_guid ⇒ String
VirtualNetworkGateway resource
51 52 53 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 51 def resource_guid @resource_guid end |
#sku ⇒ VirtualNetworkGatewaySku
VirtualNetworkGatewaySku resource which represents the sku selected for Virtual network gateway.
39 40 41 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 39 def sku @sku end |
#vpn_client_configuration ⇒ VpnClientConfiguration
VpnClientConfiguration resource which represents the P2S VpnClient configurations.
44 45 46 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 44 def vpn_client_configuration @vpn_client_configuration end |
#vpn_type ⇒ VpnType
values include: ‘PolicyBased’, ‘RouteBased’
25 26 27 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 25 def vpn_type @vpn_type end |
Class Method Details
.mapper ⇒ Object
Mapper for VirtualNetworkGateway class as Ruby Hash. This will be used for serialization/deserialization.
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 |
# File 'lib/2016-03-30/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 66 def self.mapper() { required: false, serialized_name: 'VirtualNetworkGateway', type: { name: 'Composite', class_name: 'VirtualNetworkGateway', model_properties: { id: { required: false, serialized_name: 'id', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, location: { required: false, serialized_name: 'location', type: { name: 'String' } }, tags: { required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, ip_configurations: { required: false, serialized_name: 'properties.ipConfigurations', type: { name: 'Sequence', element: { required: false, serialized_name: 'VirtualNetworkGatewayIPConfigurationElementType', type: { name: 'Composite', class_name: 'VirtualNetworkGatewayIPConfiguration' } } } }, gateway_type: { required: false, serialized_name: 'properties.gatewayType', type: { name: 'String' } }, vpn_type: { required: false, serialized_name: 'properties.vpnType', type: { name: 'String' } }, enable_bgp: { required: false, serialized_name: 'properties.enableBgp', type: { name: 'Boolean' } }, gateway_default_site: { required: false, serialized_name: 'properties.gatewayDefaultSite', type: { name: 'Composite', class_name: 'SubResource' } }, sku: { required: false, serialized_name: 'properties.sku', type: { name: 'Composite', class_name: 'VirtualNetworkGatewaySku' } }, vpn_client_configuration: { required: false, serialized_name: 'properties.vpnClientConfiguration', type: { name: 'Composite', class_name: 'VpnClientConfiguration' } }, bgp_settings: { required: false, serialized_name: 'properties.bgpSettings', type: { name: 'Composite', class_name: 'BgpSettings' } }, resource_guid: { required: false, serialized_name: 'properties.resourceGuid', type: { name: 'String' } }, provisioning_state: { required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, etag: { required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end |