/// <summary> /// Initializes a new instance of the P2SConnectionConfiguration class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="vpnClientAddressPool">The reference to the address /// space resource which represents Address space for P2S /// VpnClient.</param> /// <param name="routingConfiguration">The Routing Configuration /// indicating the associated and propagated route tables on this /// connection.</param> /// <param name="provisioningState">The provisioning state of the /// P2SConnectionConfiguration resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param> /// <param name="name">The name of the resource that is unique within a /// resource group. This name can be used to access the /// resource.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public P2SConnectionConfiguration(string id = default(string), AddressSpace vpnClientAddressPool = default(AddressSpace), RoutingConfiguration routingConfiguration = default(RoutingConfiguration), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { VpnClientAddressPool = vpnClientAddressPool; RoutingConfiguration = routingConfiguration; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the HubVirtualNetworkConnection /// class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="remoteVirtualNetwork">Reference to the remote virtual /// network.</param> /// <param name="allowHubToRemoteVnetTransit">VirtualHub to RemoteVnet /// transit to enabled or not.</param> /// <param name="allowRemoteVnetToUseHubVnetGateways">Allow RemoteVnet /// to use Virtual Hub's gateways.</param> /// <param name="enableInternetSecurity">Enable internet /// security.</param> /// <param name="routingConfiguration">The Routing Configuration /// indicating the associated and propagated route tables on this /// connection.</param> /// <param name="provisioningState">The provisioning state of the hub /// virtual network connection resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param> /// <param name="name">The name of the resource that is unique within a /// resource group. This name can be used to access the /// resource.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public HubVirtualNetworkConnection(string id = default(string), SubResource remoteVirtualNetwork = default(SubResource), bool?allowHubToRemoteVnetTransit = default(bool?), bool?allowRemoteVnetToUseHubVnetGateways = default(bool?), bool?enableInternetSecurity = default(bool?), RoutingConfiguration routingConfiguration = default(RoutingConfiguration), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { RemoteVirtualNetwork = remoteVirtualNetwork; AllowHubToRemoteVnetTransit = allowHubToRemoteVnetTransit; AllowRemoteVnetToUseHubVnetGateways = allowRemoteVnetToUseHubVnetGateways; EnableInternetSecurity = enableInternetSecurity; RoutingConfiguration = routingConfiguration; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the ExpressRouteConnection class. /// </summary> /// <param name="expressRouteCircuitPeering">The ExpressRoute circuit /// peering.</param> /// <param name="name">The name of the resource.</param> /// <param name="id">Resource ID.</param> /// <param name="provisioningState">The provisioning state of the /// express route connection resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param> /// <param name="authorizationKey">Authorization key to establish the /// connection.</param> /// <param name="routingWeight">The routing weight associated to the /// connection.</param> /// <param name="enableInternetSecurity">Enable internet /// security.</param> /// <param name="routingConfiguration">The Routing Configuration /// indicating the associated and propagated route tables on this /// connection.</param> public ExpressRouteConnection(ExpressRouteCircuitPeeringId expressRouteCircuitPeering, string name, string id = default(string), string provisioningState = default(string), string authorizationKey = default(string), int?routingWeight = default(int?), bool?enableInternetSecurity = default(bool?), RoutingConfiguration routingConfiguration = default(RoutingConfiguration)) : base(id) { ProvisioningState = provisioningState; ExpressRouteCircuitPeering = expressRouteCircuitPeering; AuthorizationKey = authorizationKey; RoutingWeight = routingWeight; EnableInternetSecurity = enableInternetSecurity; RoutingConfiguration = routingConfiguration; Name = name; CustomInit(); }
/// <summary> /// Initializes a new instance of the VpnConnection class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="remoteVpnSite">Id of the connected vpn site.</param> /// <param name="routingWeight">Routing weight for vpn /// connection.</param> /// <param name="dpdTimeoutSeconds">DPD timeout in seconds for vpn /// connection.</param> /// <param name="connectionStatus">The connection status. Possible /// values include: 'Unknown', 'Connecting', 'Connected', /// 'NotConnected'</param> /// <param name="vpnConnectionProtocolType">Connection protocol used /// for this connection. Possible values include: 'IKEv2', /// 'IKEv1'</param> /// <param name="ingressBytesTransferred">Ingress bytes /// transferred.</param> /// <param name="egressBytesTransferred">Egress bytes /// transferred.</param> /// <param name="connectionBandwidth">Expected bandwidth in /// MBPS.</param> /// <param name="sharedKey">SharedKey for the vpn connection.</param> /// <param name="enableBgp">EnableBgp flag.</param> /// <param name="usePolicyBasedTrafficSelectors">Enable policy-based /// traffic selectors.</param> /// <param name="ipsecPolicies">The IPSec Policies to be considered by /// this connection.</param> /// <param name="enableRateLimiting">EnableBgp flag.</param> /// <param name="enableInternetSecurity">Enable internet /// security.</param> /// <param name="useLocalAzureIpAddress">Use local azure ip to initiate /// connection.</param> /// <param name="provisioningState">The provisioning state of the VPN /// connection resource. Possible values include: 'Succeeded', /// 'Updating', 'Deleting', 'Failed'</param> /// <param name="vpnLinkConnections">List of all vpn site link /// connections to the gateway.</param> /// <param name="routingConfiguration">The Routing Configuration /// indicating the associated and propagated route tables on this /// connection.</param> /// <param name="name">The name of the resource that is unique within a /// resource group. This name can be used to access the /// resource.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public VpnConnection(string id = default(string), SubResource remoteVpnSite = default(SubResource), int?routingWeight = default(int?), int?dpdTimeoutSeconds = default(int?), string connectionStatus = default(string), string vpnConnectionProtocolType = default(string), long?ingressBytesTransferred = default(long?), long?egressBytesTransferred = default(long?), int?connectionBandwidth = default(int?), string sharedKey = default(string), bool?enableBgp = default(bool?), bool?usePolicyBasedTrafficSelectors = default(bool?), IList <IpsecPolicy> ipsecPolicies = default(IList <IpsecPolicy>), bool?enableRateLimiting = default(bool?), bool?enableInternetSecurity = default(bool?), bool?useLocalAzureIpAddress = default(bool?), string provisioningState = default(string), IList <VpnSiteLinkConnection> vpnLinkConnections = default(IList <VpnSiteLinkConnection>), RoutingConfiguration routingConfiguration = default(RoutingConfiguration), string name = default(string), string etag = default(string)) : base(id) { RemoteVpnSite = remoteVpnSite; RoutingWeight = routingWeight; DpdTimeoutSeconds = dpdTimeoutSeconds; ConnectionStatus = connectionStatus; VpnConnectionProtocolType = vpnConnectionProtocolType; IngressBytesTransferred = ingressBytesTransferred; EgressBytesTransferred = egressBytesTransferred; ConnectionBandwidth = connectionBandwidth; SharedKey = sharedKey; EnableBgp = enableBgp; UsePolicyBasedTrafficSelectors = usePolicyBasedTrafficSelectors; IpsecPolicies = ipsecPolicies; EnableRateLimiting = enableRateLimiting; EnableInternetSecurity = enableInternetSecurity; UseLocalAzureIpAddress = useLocalAzureIpAddress; ProvisioningState = provisioningState; VpnLinkConnections = vpnLinkConnections; RoutingConfiguration = routingConfiguration; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the P2SConnectionConfiguration class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="vpnClientAddressPool">The reference to the address /// space resource which represents Address space for P2S /// VpnClient.</param> /// <param name="routingConfiguration">The Routing Configuration /// indicating the associated and propagated route tables on this /// connection.</param> /// <param name="enableInternetSecurity">Flag indicating whether the /// enable internet security flag is turned on for the P2S Connections /// or not.</param> /// <param name="configurationPolicyGroupAssociations">List of /// Configuration Policy Groups that this P2SConnectionConfiguration is /// attached to.</param> /// <param name="previousConfigurationPolicyGroupAssociations">List of /// previous Configuration Policy Groups that this /// P2SConnectionConfiguration was attached to.</param> /// <param name="provisioningState">The provisioning state of the /// P2SConnectionConfiguration resource. Possible values include: /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param> /// <param name="name">The name of the resource that is unique within a /// resource group. This name can be used to access the /// resource.</param> /// <param name="etag">A unique read-only string that changes whenever /// the resource is updated.</param> public P2SConnectionConfiguration(string id = default(string), AddressSpace vpnClientAddressPool = default(AddressSpace), RoutingConfiguration routingConfiguration = default(RoutingConfiguration), bool?enableInternetSecurity = default(bool?), IList <SubResource> configurationPolicyGroupAssociations = default(IList <SubResource>), IList <VpnServerConfigurationPolicyGroup> previousConfigurationPolicyGroupAssociations = default(IList <VpnServerConfigurationPolicyGroup>), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { VpnClientAddressPool = vpnClientAddressPool; RoutingConfiguration = routingConfiguration; EnableInternetSecurity = enableInternetSecurity; ConfigurationPolicyGroupAssociations = configurationPolicyGroupAssociations; PreviousConfigurationPolicyGroupAssociations = previousConfigurationPolicyGroupAssociations; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }