Пример #1
0
 /// <summary>
 /// Initializes a new instance of the LocalNetworkGateway 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="localNetworkAddressSpace">Local network site address
 /// space.</param>
 /// <param name="gatewayIpAddress">IP address of local network
 /// gateway.</param>
 /// <param name="bgpSettings">Local network gateway's BGP speaker
 /// settings.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// LocalNetworkGateway resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// LocalNetworkGateway resource. Possible values are: 'Updating',
 /// 'Deleting', and 'Failed'.</param>
 /// <param name="etag">A unique read-only string that changes whenever
 /// the resource is updated.</param>
 public LocalNetworkGateway(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), AddressSpace localNetworkAddressSpace = default(AddressSpace), string gatewayIpAddress = default(string), BgpSettings bgpSettings = default(BgpSettings), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string))
     : base(id, name, type, location, tags)
 {
     LocalNetworkAddressSpace = localNetworkAddressSpace;
     GatewayIpAddress         = gatewayIpAddress;
     BgpSettings       = bgpSettings;
     ResourceGuid      = resourceGuid;
     ProvisioningState = provisioningState;
     Etag = etag;
     CustomInit();
 }
Пример #2
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 are: 'Vpn' and 'ExpressRoute'. Possible values
 /// include: 'Vpn', 'ExpressRoute'</param>
 /// <param name="vpnType">The type of this virtual network gateway.
 /// Possible values are: 'PolicyBased' and 'RouteBased'. Possible
 /// values include: 'PolicyBased', 'RouteBased'</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 of 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 of the VirtualNetworkGatewaySku
 /// resource which represents the SKU selected for Virtual network
 /// gateway.</param>
 /// <param name="vpnClientConfiguration">The reference of the
 /// VpnClientConfiguration resource which represents the P2S VpnClient
 /// configurations.</param>
 /// <param name="bgpSettings">Virtual network gateway's BGP speaker
 /// settings.</param>
 /// <param name="resourceGuid">The resource GUID property of the
 /// VirtualNetworkGateway resource.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// VirtualNetworkGateway resource. Possible values are: 'Updating',
 /// 'Deleting', and 'Failed'.</param>
 /// <param name="etag">Gets 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), 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;
     CustomInit();
 }