コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkGateway class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="ipConfigurations">IP configurations for virtual
 /// network gateway.</param>
 /// <param name="gatewayType">The type of this virtual network gateway.
 /// Possible values include: 'Vpn', 'ExpressRoute',
 /// 'LocalGateway'</param>
 /// <param name="vpnType">The type of this virtual network gateway.
 /// Possible values include: 'PolicyBased', 'RouteBased'</param>
 /// <param name="vpnGatewayGeneration">The generation for this
 /// VirtualNetworkGateway. Must be None if gatewayType is not VPN.
 /// Possible values include: 'None', 'Generation1',
 /// 'Generation2'</param>
 /// <param name="enableBgp">Whether BGP is enabled for this virtual
 /// network gateway or not.</param>
 /// <param name="enablePrivateIpAddress">Whether private IP needs to be
 /// enabled on this gateway for connections or not.</param>
 /// <param name="activeActive">ActiveActive flag.</param>
 /// <param
 /// name="disableIPSecReplayProtection">disableIPSecReplayProtection
 /// flag.</param>
 /// <param name="gatewayDefaultSite">The reference to the
 /// LocalNetworkGateway resource which represents local network site
 /// having default routes. Assign Null value in case of removing
 /// existing default site setting.</param>
 /// <param name="sku">The reference to the VirtualNetworkGatewaySku
 /// resource which represents the SKU selected for Virtual network
 /// gateway.</param>
 /// <param name="vpnClientConfiguration">The reference to the
 /// VpnClientConfiguration resource which represents the P2S VpnClient
 /// configurations.</param>
 /// <param name="bgpSettings">Virtual network gateway's BGP speaker
 /// settings.</param>
 /// <param name="customRoutes">The reference to the address space
 /// resource which represents the custom routes address space specified
 /// by the customer for virtual network gateway and VpnClient.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// virtual network gateway resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual network gateway resource. Possible values include:
 /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="enableDnsForwarding">Whether dns forwarding is enabled
 /// or not.</param>
 /// <param name="inboundDnsForwardingEndpoint">The IP address allocated
 /// by the gateway to which dns requests can be sent.</param>
 /// <param name="vNetExtendedLocationResourceId">Customer vnet resource
 /// id. VirtualNetworkGateway of type local gateway is associated with
 /// the customer vnet.</param>
 /// <param name="natRules">NatRules for virtual network
 /// gateway.</param>
 /// <param
 /// name="enableBgpRouteTranslationForNat">EnableBgpRouteTranslationForNat
 /// flag.</param>
 /// <param name="extendedLocation">The extended location of type local
 /// virtual network gateway.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(IList <VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool?enableBgp = default(bool?), bool?enablePrivateIpAddress = default(bool?), bool?activeActive = default(bool?), bool?disableIPSecReplayProtection = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool?enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string vNetExtendedLocationResourceId = default(string), IList <VirtualNetworkGatewayNatRule> natRules = default(IList <VirtualNetworkGatewayNatRule>), bool?enableBgpRouteTranslationForNat = default(bool?), ExtendedLocation extendedLocation = default(ExtendedLocation), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     IpConfigurations             = ipConfigurations;
     GatewayType                  = gatewayType;
     VpnType                      = vpnType;
     VpnGatewayGeneration         = vpnGatewayGeneration;
     EnableBgp                    = enableBgp;
     EnablePrivateIpAddress       = enablePrivateIpAddress;
     ActiveActive                 = activeActive;
     DisableIPSecReplayProtection = disableIPSecReplayProtection;
     GatewayDefaultSite           = gatewayDefaultSite;
     Sku = sku;
     VpnClientConfiguration         = vpnClientConfiguration;
     BgpSettings                    = bgpSettings;
     CustomRoutes                   = customRoutes;
     ResourceGuid                   = resourceGuid;
     ProvisioningState              = provisioningState;
     EnableDnsForwarding            = enableDnsForwarding;
     InboundDnsForwardingEndpoint   = inboundDnsForwardingEndpoint;
     VNetExtendedLocationResourceId = vNetExtendedLocationResourceId;
     NatRules = natRules;
     EnableBgpRouteTranslationForNat = enableBgpRouteTranslationForNat;
     ExtendedLocation = extendedLocation;
     Etag             = etag;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkGateway class.
 /// </summary>
 public VirtualNetworkGateway(string etag = default(string), IList <VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(IList <VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnType = default(string), bool?enableBgp = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), string resourceGuid = default(string), string provisioningState = default(string))
 {
     IpConfigurations   = ipConfigurations;
     GatewayType        = gatewayType;
     VpnType            = vpnType;
     EnableBgp          = enableBgp;
     GatewayDefaultSite = gatewayDefaultSite;
     Sku = sku;
     VpnClientConfiguration = vpnClientConfiguration;
     BgpSettings            = bgpSettings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     Etag = etag;
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkGateway class.
 /// </summary>
 public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(IList <VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnType = default(string), bool?enableBgp = default(bool?), bool?activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     IpConfigurations   = ipConfigurations;
     GatewayType        = gatewayType;
     VpnType            = vpnType;
     EnableBgp          = enableBgp;
     ActiveActive       = activeActive;
     GatewayDefaultSite = gatewayDefaultSite;
     Sku = sku;
     VpnClientConfiguration = vpnClientConfiguration;
     BgpSettings            = bgpSettings;
     ResourceGuid           = resourceGuid;
     ProvisioningState      = provisioningState;
     Etag = etag;
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the VirtualNetworkGateway class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="ipConfigurations">IP configurations for virtual
 /// network gateway.</param>
 /// <param name="gatewayType">The type of this virtual network gateway.
 /// Possible values include: 'Vpn', 'ExpressRoute'</param>
 /// <param name="vpnType">The type of this virtual network gateway.
 /// Possible values include: 'PolicyBased', 'RouteBased'</param>
 /// <param name="vpnGatewayGeneration">The generation for this
 /// VirtualNetworkGateway. Must be None if gatewayType is not VPN.
 /// Possible values include: 'None', 'Generation1',
 /// 'Generation2'</param>
 /// <param name="enableBgp">Whether BGP is enabled for this virtual
 /// network gateway or not.</param>
 /// <param name="activeActive">ActiveActive flag.</param>
 /// <param name="gatewayDefaultSite">The reference to the
 /// LocalNetworkGateway resource which represents local network site
 /// having default routes. Assign Null value in case of removing
 /// existing default site setting.</param>
 /// <param name="sku">The reference to the VirtualNetworkGatewaySku
 /// resource which represents the SKU selected for Virtual network
 /// gateway.</param>
 /// <param name="vpnClientConfiguration">The reference to the
 /// VpnClientConfiguration resource which represents the P2S VpnClient
 /// configurations.</param>
 /// <param name="bgpSettings">Virtual network gateway's BGP speaker
 /// settings.</param>
 /// <param name="customRoutes">The reference to the address space
 /// resource which represents the custom routes address space specified
 /// by the customer for virtual network gateway and VpnClient.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// virtual network gateway resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// virtual network gateway resource. Possible values include:
 /// 'Succeeded', 'Updating', 'Deleting', 'Failed'</param>
 /// <param name="enableDnsForwarding">Whether dns forwarding is enabled
 /// or not.</param>
 /// <param name="inboundDnsForwardingEndpoint">The IP address allocated
 /// by the gateway to which dns requests can be sent.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public VirtualNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <VirtualNetworkGatewayIPConfiguration> ipConfigurations = default(IList <VirtualNetworkGatewayIPConfiguration>), string gatewayType = default(string), string vpnType = default(string), string vpnGatewayGeneration = default(string), bool?enableBgp = default(bool?), bool?activeActive = default(bool?), SubResource gatewayDefaultSite = default(SubResource), VirtualNetworkGatewaySku sku = default(VirtualNetworkGatewaySku), VpnClientConfiguration vpnClientConfiguration = default(VpnClientConfiguration), BgpSettings bgpSettings = default(BgpSettings), AddressSpace customRoutes = default(AddressSpace), string resourceGuid = default(string), string provisioningState = default(string), bool?enableDnsForwarding = default(bool?), string inboundDnsForwardingEndpoint = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     IpConfigurations     = ipConfigurations;
     GatewayType          = gatewayType;
     VpnType              = vpnType;
     VpnGatewayGeneration = vpnGatewayGeneration;
     EnableBgp            = enableBgp;
     ActiveActive         = activeActive;
     GatewayDefaultSite   = gatewayDefaultSite;
     Sku = sku;
     VpnClientConfiguration       = vpnClientConfiguration;
     BgpSettings                  = bgpSettings;
     CustomRoutes                 = customRoutes;
     ResourceGuid                 = resourceGuid;
     ProvisioningState            = provisioningState;
     EnableDnsForwarding          = enableDnsForwarding;
     InboundDnsForwardingEndpoint = inboundDnsForwardingEndpoint;
     Etag = etag;
     CustomInit();
 }