/// <summary> /// Initializes a new instance of the VpnClientConfiguration class. /// </summary> /// <param name="vpnClientAddressPool">The reference of the address /// space resource which represents Address space for P2S /// VpnClient.</param> /// <param name="vpnClientRootCertificates">VpnClientRootCertificate /// for virtual network gateway.</param> /// <param /// name="vpnClientRevokedCertificates">VpnClientRevokedCertificate for /// Virtual network gateway.</param> /// <param name="vpnClientProtocols">VpnClientProtocols for Virtual /// network gateway.</param> /// <param name="vpnClientIpsecPolicies">VpnClientIpsecPolicies for /// virtual network gateway P2S client.</param> /// <param name="radiusServerAddress">The radius server address /// property of the VirtualNetworkGateway resource for vpn client /// connection.</param> /// <param name="radiusServerSecret">The radius secret property of the /// VirtualNetworkGateway resource for vpn client connection.</param> public VpnClientConfiguration(AddressSpace vpnClientAddressPool = default(AddressSpace), IList <VpnClientRootCertificateInner> vpnClientRootCertificates = default(IList <VpnClientRootCertificateInner>), IList <VpnClientRevokedCertificateInner> vpnClientRevokedCertificates = default(IList <VpnClientRevokedCertificateInner>), IList <VpnClientProtocol> vpnClientProtocols = default(IList <VpnClientProtocol>), IList <IpsecPolicy> vpnClientIpsecPolicies = default(IList <IpsecPolicy>), string radiusServerAddress = default(string), string radiusServerSecret = default(string)) { VpnClientAddressPool = vpnClientAddressPool; VpnClientRootCertificates = vpnClientRootCertificates; VpnClientRevokedCertificates = vpnClientRevokedCertificates; VpnClientProtocols = vpnClientProtocols; VpnClientIpsecPolicies = vpnClientIpsecPolicies; RadiusServerAddress = radiusServerAddress; RadiusServerSecret = radiusServerSecret; CustomInit(); }
/// <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 VirtualNetworkInner class. /// </summary> /// <param name="addressSpace">The AddressSpace that contains an array /// of IP address ranges that can be used by subnets.</param> /// <param name="dhcpOptions">The dhcpOptions that contains an array of /// DNS servers available to VMs deployed in the virtual /// network.</param> /// <param name="subnets">A list of subnets in a Virtual /// Network.</param> /// <param name="virtualNetworkPeerings">A list of peerings in a /// Virtual Network.</param> /// <param name="resourceGuid">The resourceGuid property of the Virtual /// Network resource.</param> /// <param name="provisioningState">The provisioning state of the /// PublicIP 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 VirtualNetworkInner(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 addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList <SubnetInner> subnets = default(IList <SubnetInner>), IList <VirtualNetworkPeeringInner> virtualNetworkPeerings = default(IList <VirtualNetworkPeeringInner>), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string)) : base(location, id, name, type, tags) { AddressSpace = addressSpace; DhcpOptions = dhcpOptions; Subnets = subnets; VirtualNetworkPeerings = virtualNetworkPeerings; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the P2SVpnGatewayInner class. /// </summary> /// <param name="virtualHub">The VirtualHub to which the gateway /// belongs.</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 p2s vpn /// gateway.</param> /// <param name="p2SVpnServerConfiguration">The /// P2SVpnServerConfiguration to which the p2sVpnGateway is attached /// to.</param> /// <param name="vpnClientAddressPool">The reference of the address /// space resource which represents Address space for P2S /// VpnClient.</param> /// <param name="customRoutes">The reference of the address space /// resource which represents the custom routes specified by the /// customer for P2SVpnGateway and P2S VpnClient.</param> /// <param name="vpnClientConnectionHealth">All P2S VPN clients' /// connection health status.</param> /// <param name="etag">Gets a unique read-only string that changes /// whenever the resource is updated.</param> public P2SVpnGatewayInner(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), ProvisioningState provisioningState = default(ProvisioningState), int?vpnGatewayScaleUnit = default(int?), Management.ResourceManager.Fluent.SubResource p2SVpnServerConfiguration = default(Management.ResourceManager.Fluent.SubResource), AddressSpace vpnClientAddressPool = default(AddressSpace), AddressSpace customRoutes = default(AddressSpace), VpnClientConnectionHealth vpnClientConnectionHealth = default(VpnClientConnectionHealth), string etag = default(string)) : base(location, id, name, type, tags) { VirtualHub = virtualHub; ProvisioningState = provisioningState; VpnGatewayScaleUnit = vpnGatewayScaleUnit; P2SVpnServerConfiguration = p2SVpnServerConfiguration; VpnClientAddressPool = vpnClientAddressPool; CustomRoutes = customRoutes; VpnClientConnectionHealth = vpnClientConnectionHealth; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the VirtualNetworkPeeringInner class. /// </summary> /// <param name="allowVirtualNetworkAccess">Whether the VMs in the /// local virtual network space would be able to access the VMs in /// remote virtual network space.</param> /// <param name="allowForwardedTraffic">Whether the forwarded traffic /// from the VMs in the local virtual network will be /// allowed/disallowed in remote virtual network.</param> /// <param name="allowGatewayTransit">If gateway links can be used in /// remote virtual networking to link to this virtual network.</param> /// <param name="useRemoteGateways">If remote gateways can be used on /// this virtual network. If the flag is set to true, and /// allowGatewayTransit on remote peering is also true, virtual network /// will use gateways of remote virtual network for transit. Only one /// peering can have this flag set to true. This flag cannot be set if /// virtual network already has a gateway.</param> /// <param name="remoteVirtualNetwork">The reference of the remote /// virtual network. The remote virtual network can be in the same or /// different region (preview). See here to register for the preview /// and learn more /// (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering).</param> /// <param name="remoteAddressSpace">The reference of the remote /// virtual network address space.</param> /// <param name="peeringState">The status of the virtual network /// peering. Possible values include: 'Initiated', 'Connected', /// 'Disconnected'</param> /// <param name="provisioningState">The provisioning state of the /// virtual network peering 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 VirtualNetworkPeeringInner(string id = default(string), bool?allowVirtualNetworkAccess = default(bool?), bool?allowForwardedTraffic = default(bool?), bool?allowGatewayTransit = default(bool?), bool?useRemoteGateways = default(bool?), Management.ResourceManager.Fluent.SubResource remoteVirtualNetwork = default(Management.ResourceManager.Fluent.SubResource), AddressSpace remoteAddressSpace = default(AddressSpace), VirtualNetworkPeeringState peeringState = default(VirtualNetworkPeeringState), ProvisioningState provisioningState = default(ProvisioningState), string name = default(string), string etag = default(string)) : base(id) { AllowVirtualNetworkAccess = allowVirtualNetworkAccess; AllowForwardedTraffic = allowForwardedTraffic; AllowGatewayTransit = allowGatewayTransit; UseRemoteGateways = useRemoteGateways; RemoteVirtualNetwork = remoteVirtualNetwork; RemoteAddressSpace = remoteAddressSpace; PeeringState = peeringState; ProvisioningState = provisioningState; Name = name; 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 VirtualNetworkInner class. /// </summary> /// <param name="addressSpace">The AddressSpace that contains an array /// of IP address ranges that can be used by subnets.</param> /// <param name="dhcpOptions">The dhcpOptions that contains an array of /// DNS servers available to VMs deployed in the virtual /// network.</param> /// <param name="subnets">A list of subnets in a Virtual /// Network.</param> /// <param name="virtualNetworkPeerings">A list of peerings in a /// Virtual Network.</param> /// <param name="resourceGuid">The resourceGuid property of the Virtual /// Network resource.</param> /// <param name="provisioningState">The provisioning state of the /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and /// 'Failed'.</param> /// <param name="enableDdosProtection">Indicates if DDoS protection is /// enabled for all the protected resources in the virtual network. It /// requires a DDoS protection plan associated with the /// resource.</param> /// <param name="enableVmProtection">Indicates if VM protection is /// enabled for all the subnets in the virtual network.</param> /// <param name="ddosProtectionPlan">The DDoS protection plan /// associated with the virtual network.</param> /// <param name="etag">Gets a unique read-only string that changes /// whenever the resource is updated.</param> public VirtualNetworkInner(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 addressSpace = default(AddressSpace), DhcpOptions dhcpOptions = default(DhcpOptions), IList <SubnetInner> subnets = default(IList <SubnetInner>), IList <VirtualNetworkPeeringInner> virtualNetworkPeerings = default(IList <VirtualNetworkPeeringInner>), string resourceGuid = default(string), string provisioningState = default(string), bool?enableDdosProtection = default(bool?), bool?enableVmProtection = default(bool?), Management.ResourceManager.Fluent.SubResource ddosProtectionPlan = default(Management.ResourceManager.Fluent.SubResource), string etag = default(string)) : base(location, id, name, type, tags) { AddressSpace = addressSpace; DhcpOptions = dhcpOptions; Subnets = subnets; VirtualNetworkPeerings = virtualNetworkPeerings; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; EnableDdosProtection = enableDdosProtection; EnableVmProtection = enableVmProtection; DdosProtectionPlan = ddosProtectionPlan; 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 include: 'Vpn', 'ExpressRoute'</param> /// <param name="vpnType">The type of this virtual network gateway. /// 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="customRoutes">The reference of 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 /// 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), AddressSpace customRoutes = default(AddressSpace), 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; CustomRoutes = customRoutes; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; Etag = etag; CustomInit(); }