/// <summary> /// Initializes a new instance of the LocalNetworkGatewayInner class. /// </summary> /// <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 LocalNetworkGatewayInner(string location = default(string), string id = default(string), string name = default(string), string type = 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(location, id, name, type, tags) { LocalNetworkAddressSpace = localNetworkAddressSpace; GatewayIpAddress = gatewayIpAddress; BgpSettings = bgpSettings; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the VpnGatewayInner class. /// </summary> /// <param name="virtualHub">The VirtualHub to which the gateway /// belongs.</param> /// <param name="connections">List of all vpn connections to the /// gateway.</param> /// <param name="bgpSettings">Local network gateway's BGP speaker /// settings.</param> /// <param name="provisioningState">The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed'</param> /// <param name="vpnGatewayScaleUnit">The scale unit for this vpn /// gateway.</param> /// <param name="etag">Gets a unique read-only string that changes /// whenever the resource is updated.</param> public VpnGatewayInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Management.ResourceManager.Fluent.SubResource virtualHub = default(Management.ResourceManager.Fluent.SubResource), IList <VpnConnectionInner> connections = default(IList <VpnConnectionInner>), BgpSettings bgpSettings = default(BgpSettings), ProvisioningState provisioningState = default(ProvisioningState), int?vpnGatewayScaleUnit = default(int?), string etag = default(string)) : base(location, id, name, type, tags) { VirtualHub = virtualHub; Connections = connections; BgpSettings = bgpSettings; ProvisioningState = provisioningState; VpnGatewayScaleUnit = vpnGatewayScaleUnit; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the VpnSiteInner class. /// </summary> /// <param name="virtualWan">The VirtualWAN to which the vpnSite /// belongs.</param> /// <param name="deviceProperties">The device properties.</param> /// <param name="ipAddress">The ip-address for the vpn-site.</param> /// <param name="siteKey">The key for vpn-site that can be used for /// connections.</param> /// <param name="addressSpace">The AddressSpace that contains an array /// of IP address ranges.</param> /// <param name="bgpProperties">The set of bgp properties.</param> /// <param name="provisioningState">The provisioning state of the /// resource. Possible values include: 'Succeeded', 'Updating', /// 'Deleting', 'Failed'</param> /// <param name="isSecuritySite">IsSecuritySite flag.</param> /// <param name="vpnSiteLinks">List of all vpn site links</param> /// <param name="etag">Gets a unique read-only string that changes /// whenever the resource is updated.</param> public VpnSiteInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Management.ResourceManager.Fluent.SubResource virtualWan = default(Management.ResourceManager.Fluent.SubResource), DeviceProperties deviceProperties = default(DeviceProperties), string ipAddress = default(string), string siteKey = default(string), AddressSpace addressSpace = default(AddressSpace), BgpSettings bgpProperties = default(BgpSettings), ProvisioningState provisioningState = default(ProvisioningState), bool?isSecuritySite = default(bool?), IList <VpnSiteLinkInner> vpnSiteLinks = default(IList <VpnSiteLinkInner>), string etag = default(string)) : base(location, id, name, type, tags) { VirtualWan = virtualWan; DeviceProperties = deviceProperties; IpAddress = ipAddress; SiteKey = siteKey; AddressSpace = addressSpace; BgpProperties = bgpProperties; ProvisioningState = provisioningState; IsSecuritySite = isSecuritySite; VpnSiteLinks = vpnSiteLinks; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the VirtualNetworkGatewayInner class. /// </summary> /// <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 VirtualNetworkGatewayInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <VirtualNetworkGatewayIPConfigurationInner> ipConfigurations = default(IList <VirtualNetworkGatewayIPConfigurationInner>), VirtualNetworkGatewayType gatewayType = default(VirtualNetworkGatewayType), VpnType vpnType = default(VpnType), bool?enableBgp = default(bool?), bool?activeActive = default(bool?), Management.ResourceManager.Fluent.SubResource gatewayDefaultSite = default(Management.ResourceManager.Fluent.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(location, id, name, type, 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(); }