Class: Azure::Network::Mgmt::V2020_03_01::Models::VpnConnection
- Inherits:
-
SubResource
- Object
- SubResource
- Azure::Network::Mgmt::V2020_03_01::Models::VpnConnection
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb
Overview
VpnConnection Resource.
Instance Attribute Summary collapse
-
#connection_bandwidth ⇒ Integer
Expected bandwidth in MBPS.
-
#connection_status ⇒ VpnConnectionStatus
include: ‘Unknown’, ‘Connecting’, ‘Connected’, ‘NotConnected’.
-
#dpd_timeout_seconds ⇒ Integer
in seconds.
-
#egress_bytes_transferred ⇒ Integer
Egress bytes transferred.
-
#enable_bgp ⇒ Boolean
EnableBgp flag.
-
#enable_internet_security ⇒ Boolean
Enable internet security.
-
#enable_rate_limiting ⇒ Boolean
EnableBgp flag.
-
#etag ⇒ String
resource is updated.
-
#ingress_bytes_transferred ⇒ Integer
Ingress bytes transferred.
-
#ipsec_policies ⇒ Array<IpsecPolicy>
this connection.
-
#name ⇒ String
resource group.
-
#provisioning_state ⇒ ProvisioningState
connection resource.
-
#remote_vpn_site ⇒ SubResource
Id of the connected vpn site.
-
#routing_weight ⇒ Integer
Routing weight for vpn connection.
-
#shared_key ⇒ String
SharedKey for the vpn connection.
-
#use_local_azure_ip_address ⇒ Boolean
Use local azure ip to initiate connection.
-
#use_policy_based_traffic_selectors ⇒ Boolean
Enable policy-based traffic selectors.
-
#vpn_connection_protocol_type ⇒ VirtualNetworkGatewayConnectionProtocol
used for this connection.
-
#vpn_link_connections ⇒ Array<VpnSiteLinkConnection>
connections to the gateway.
Attributes inherited from SubResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for VpnConnection class as Ruby Hash.
Instance Attribute Details
#connection_bandwidth ⇒ Integer
40 41 42 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 40 def connection_bandwidth @connection_bandwidth end |
#connection_status ⇒ VpnConnectionStatus
include: ‘Unknown’, ‘Connecting’, ‘Connected’, ‘NotConnected’
27 28 29 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 27 def connection_status @connection_status end |
#dpd_timeout_seconds ⇒ Integer
in seconds.
23 24 25 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 23 def dpd_timeout_seconds @dpd_timeout_seconds end |
#egress_bytes_transferred ⇒ Integer
37 38 39 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 37 def egress_bytes_transferred @egress_bytes_transferred end |
#enable_bgp ⇒ Boolean
46 47 48 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 46 def enable_bgp @enable_bgp end |
#enable_internet_security ⇒ Boolean
59 60 61 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 59 def enable_internet_security @enable_internet_security end |
#enable_rate_limiting ⇒ Boolean
56 57 58 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 56 def enable_rate_limiting @enable_rate_limiting end |
#etag ⇒ String
resource is updated.
79 80 81 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 79 def etag @etag end |
#ingress_bytes_transferred ⇒ Integer
34 35 36 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 34 def ingress_bytes_transferred @ingress_bytes_transferred end |
#ipsec_policies ⇒ Array<IpsecPolicy>
this connection.
53 54 55 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 53 def ipsec_policies @ipsec_policies end |
#name ⇒ String
resource group. This name can be used to access the resource.
75 76 77 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 75 def name @name end |
#provisioning_state ⇒ ProvisioningState
connection resource. Possible values include: ‘Succeeded’, ‘Updating’, ‘Deleting’, ‘Failed’
67 68 69 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 67 def provisioning_state @provisioning_state end |
#remote_vpn_site ⇒ SubResource
16 17 18 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 16 def remote_vpn_site @remote_vpn_site end |
#routing_weight ⇒ Integer
19 20 21 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 19 def routing_weight @routing_weight end |
#shared_key ⇒ String
43 44 45 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 43 def shared_key @shared_key end |
#use_local_azure_ip_address ⇒ Boolean
62 63 64 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 62 def use_local_azure_ip_address @use_local_azure_ip_address end |
#use_policy_based_traffic_selectors ⇒ Boolean
49 50 51 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 49 def use_policy_based_traffic_selectors @use_policy_based_traffic_selectors end |
#vpn_connection_protocol_type ⇒ VirtualNetworkGatewayConnectionProtocol
used for this connection. Possible values include: ‘IKEv2’, ‘IKEv1’
31 32 33 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 31 def vpn_connection_protocol_type @vpn_connection_protocol_type end |
#vpn_link_connections ⇒ Array<VpnSiteLinkConnection>
connections to the gateway.
71 72 73 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 71 def vpn_link_connections @vpn_link_connections end |
Class Method Details
.mapper ⇒ Object
Mapper for VpnConnection class as Ruby Hash. This will be used for serialization/deserialization.
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 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/vpn_connection.rb', line 86 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'VpnConnection', type: { name: 'Composite', class_name: 'VpnConnection', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } }, remote_vpn_site: { client_side_validation: true, required: false, serialized_name: 'properties.remoteVpnSite', type: { name: 'Composite', class_name: 'SubResource' } }, routing_weight: { client_side_validation: true, required: false, serialized_name: 'properties.routingWeight', type: { name: 'Number' } }, dpd_timeout_seconds: { client_side_validation: true, required: false, serialized_name: 'properties.dpdTimeoutSeconds', type: { name: 'Number' } }, connection_status: { client_side_validation: true, required: false, serialized_name: 'properties.connectionStatus', type: { name: 'String' } }, vpn_connection_protocol_type: { client_side_validation: true, required: false, serialized_name: 'properties.vpnConnectionProtocolType', type: { name: 'String' } }, ingress_bytes_transferred: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.ingressBytesTransferred', type: { name: 'Number' } }, egress_bytes_transferred: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.egressBytesTransferred', type: { name: 'Number' } }, connection_bandwidth: { client_side_validation: true, required: false, serialized_name: 'properties.connectionBandwidth', type: { name: 'Number' } }, shared_key: { client_side_validation: true, required: false, serialized_name: 'properties.sharedKey', type: { name: 'String' } }, enable_bgp: { client_side_validation: true, required: false, serialized_name: 'properties.enableBgp', type: { name: 'Boolean' } }, use_policy_based_traffic_selectors: { client_side_validation: true, required: false, serialized_name: 'properties.usePolicyBasedTrafficSelectors', type: { name: 'Boolean' } }, ipsec_policies: { client_side_validation: true, required: false, serialized_name: 'properties.ipsecPolicies', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'IpsecPolicyElementType', type: { name: 'Composite', class_name: 'IpsecPolicy' } } } }, enable_rate_limiting: { client_side_validation: true, required: false, serialized_name: 'properties.enableRateLimiting', type: { name: 'Boolean' } }, enable_internet_security: { client_side_validation: true, required: false, serialized_name: 'properties.enableInternetSecurity', type: { name: 'Boolean' } }, use_local_azure_ip_address: { client_side_validation: true, required: false, serialized_name: 'properties.useLocalAzureIpAddress', type: { name: 'Boolean' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, vpn_link_connections: { client_side_validation: true, required: false, serialized_name: 'properties.vpnLinkConnections', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'VpnSiteLinkConnectionElementType', type: { name: 'Composite', class_name: 'VpnSiteLinkConnection' } } } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } } } } } end |