Class: Azure::ARM::Network::Models::VirtualNetworkGateway
- Inherits:
-
MsRestAzure::Resource
- Object
- MsRestAzure::Resource
- Azure::ARM::Network::Models::VirtualNetworkGateway
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb
Overview
A common class for general resource information
Instance Attribute Summary collapse
-
#active_active ⇒ Boolean
ActiveActive flag.
-
#bgp_settings ⇒ BgpSettings
Virtual network gateway’s BGP speaker settings.
-
#enable_bgp ⇒ Boolean
gateway or not.
-
#etag ⇒ String
the resource is updated.
-
#gateway_default_site ⇒ SubResource
which represents local network site having default routes.
-
#gateway_type ⇒ VirtualNetworkGatewayType
gateway.
-
#ip_configurations ⇒ Array<VirtualNetworkGatewayIPConfiguration>
for virtual network gateway.
-
#provisioning_state ⇒ String
resource.
-
#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 are: ‘PolicyBased’ and ‘RouteBased’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VirtualNetworkGateway class as Ruby Hash.
Instance Attribute Details
#active_active ⇒ Boolean
Returns ActiveActive flag.
35 36 37 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 35 def active_active @active_active end |
#bgp_settings ⇒ BgpSettings
Returns Virtual network gateway’s BGP speaker settings.
53 54 55 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 53 def bgp_settings @bgp_settings end |
#enable_bgp ⇒ Boolean
gateway or not.
32 33 34 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 32 def enable_bgp @enable_bgp end |
#etag ⇒ String
the resource is updated.
65 66 67 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 65 def etag @etag end |
#gateway_default_site ⇒ SubResource
which represents local network site having default routes. Assign Null value in case of removing existing default site setting.
40 41 42 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 40 def gateway_default_site @gateway_default_site end |
#gateway_type ⇒ VirtualNetworkGatewayType
gateway. Possible values are: ‘Vpn’ and ‘ExpressRoute’. Possible values include: ‘Vpn’, ‘ExpressRoute’
23 24 25 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 23 def gateway_type @gateway_type end |
#ip_configurations ⇒ Array<VirtualNetworkGatewayIPConfiguration>
for virtual network gateway.
18 19 20 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 18 def ip_configurations @ip_configurations end |
#provisioning_state ⇒ String
resource. Possible values are: ‘Updating’, ‘Deleting’, and ‘Failed’.
61 62 63 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 61 def provisioning_state @provisioning_state end |
#resource_guid ⇒ String
VirtualNetworkGateway resource.
57 58 59 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 57 def resource_guid @resource_guid end |
#sku ⇒ VirtualNetworkGatewaySku
VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway.
45 46 47 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 45 def sku @sku end |
#vpn_client_configuration ⇒ VpnClientConfiguration
VpnClientConfiguration resource which represents the P2S VpnClient configurations.
50 51 52 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 50 def vpn_client_configuration @vpn_client_configuration end |
#vpn_type ⇒ VpnType
values are: ‘PolicyBased’ and ‘RouteBased’. Possible values include: ‘PolicyBased’, ‘RouteBased’
28 29 30 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 28 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.
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 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/generated/azure_mgmt_network/models/virtual_network_gateway.rb', line 72 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' } }, active_active: { required: false, serialized_name: 'properties.activeActive', 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, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, etag: { required: false, serialized_name: 'etag', type: { name: 'String' } } } } } end |