共用方式為


VirtualNetworkGatewayConnectionInner Class

Definition

A common class for general resource information.

[Microsoft.Rest.Serialization.JsonTransformation]
public class VirtualNetworkGatewayConnectionInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type VirtualNetworkGatewayConnectionInner = class
    inherit Resource
Public Class VirtualNetworkGatewayConnectionInner
Inherits Resource
Inheritance
VirtualNetworkGatewayConnectionInner
Attributes

Constructors

VirtualNetworkGatewayConnectionInner()

Initializes a new instance of the VirtualNetworkGatewayConnectionInner class.

VirtualNetworkGatewayConnectionInner(SubResource, VirtualNetworkGatewayConnectionType, String, String, String, String, IDictionary<String,String>, String, SubResource, SubResource, VirtualNetworkGatewayConnectionProtocol, Nullable<Int32>, String, VirtualNetworkGatewayConnectionStatus, IList<TunnelConnectionHealth>, Nullable<Int64>, Nullable<Int64>, SubResource, Nullable<Boolean>, Nullable<Boolean>, IList<IpsecPolicy>, IList<TrafficSelectorPolicy>, String, ProvisioningState, Nullable<Boolean>, String)

Initializes a new instance of the VirtualNetworkGatewayConnectionInner class.

Properties

AuthorizationKey

Gets or sets the authorizationKey.

ConnectionProtocol

Gets or sets connection protocol used for this connection. Possible values include: 'IKEv2', 'IKEv1'

ConnectionStatus

Gets virtual Network Gateway connection status. Possible values include: 'Unknown', 'Connecting', 'Connected', 'NotConnected'

ConnectionType

Gets or sets gateway connection type. Possible values include: 'IPsec', 'Vnet2Vnet', 'ExpressRoute', 'VPNClient'

EgressBytesTransferred

Gets the egress bytes transferred in this connection.

EnableBgp

Gets or sets enableBgp flag.

Etag

Gets a unique read-only string that changes whenever the resource is updated.

ExpressRouteGatewayBypass

Gets or sets bypass ExpressRoute Gateway for data forwarding.

Id

Resource Id. Setter is protected because Id needs to be set in Network resources.

(Inherited from ProxyResource)
IngressBytesTransferred

Gets the ingress bytes transferred in this connection.

IpsecPolicies

Gets or sets the IPSec Policies to be considered by this connection.

LocalNetworkGateway2

Gets or sets the reference to local network gateway resource.

Location

Resource location

(Inherited from Resource)
Name

Resource name

(Inherited from ProxyResource)
Peer

Gets or sets the reference to peerings resource.

ProvisioningState

Gets the provisioning state of the virtual network gateway connection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

ResourceGuid

Gets the resource GUID property of the virtual network gateway connection resource.

RoutingWeight

Gets or sets the routing weight.

SharedKey

Gets or sets the IPSec shared key.

Tags

Resource tags

(Inherited from Resource)
TrafficSelectorPolicies

Gets or sets the Traffic Selector Policies to be considered by this connection.

TunnelConnectionStatus

Gets collection of all tunnels' connection health status.

Type

Resource type

(Inherited from ProxyResource)
UsePolicyBasedTrafficSelectors

Gets or sets enable policy-based traffic selectors.

VirtualNetworkGateway1

Gets or sets the reference to virtual network gateway resource.

VirtualNetworkGateway2

Gets or sets the reference to virtual network gateway resource.

Methods

Validate()

Validate the object.

Applies to