/// <summary> /// Initializes a new instance of the LoadBalancingRule class. /// </summary> /// <param name="protocol">The transport protocol for the external /// endpoint. Possible values are 'Udp' or 'Tcp'. Possible values /// include: 'Udp', 'Tcp'</param> /// <param name="frontendPort">The port for the external endpoint. Port /// numbers for each Rule must be unique within the Load Balancer. /// Acceptable values are between 1 and 65534.</param> /// <param name="id">Resource ID.</param> /// <param name="frontendIPConfiguration">A reference to frontend IP /// addresses.</param> /// <param name="backendAddressPool">A reference to a pool of DIPs. /// Inbound traffic is randomly load balanced across IPs in the backend /// IPs.</param> /// <param name="probe">The reference of the load balancer probe used /// by the load balancing rule.</param> /// <param name="loadDistribution">The load distribution policy for /// this rule. Possible values are 'Default', 'SourceIP', and /// 'SourceIPProtocol'. Possible values include: 'Default', 'SourceIP', /// 'SourceIPProtocol'</param> /// <param name="backendPort">The port used for internal connections on /// the endpoint. Acceptable values are between 1 and 65535. </param> /// <param name="idleTimeoutInMinutes">The timeout for the TCP idle /// connection. The value can be set between 4 and 30 minutes. The /// default value is 4 minutes. This element is only used when the /// protocol is set to TCP.</param> /// <param name="enableFloatingIP">Configures a virtual machine's /// endpoint for the floating IP capability required to configure a SQL /// AlwaysOn Availability Group. This setting is required when using /// the SQL AlwaysOn Availability Groups in SQL server. This setting /// can't be changed after you create the endpoint.</param> /// <param name="provisioningState">Gets the provisioning state of the /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and /// '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 LoadBalancingRule(string protocol, int frontendPort, string id = default(string), SubResource frontendIPConfiguration = default(SubResource), SubResource backendAddressPool = default(SubResource), SubResource probe = default(SubResource), string loadDistribution = default(string), int?backendPort = default(int?), int?idleTimeoutInMinutes = default(int?), bool?enableFloatingIP = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { FrontendIPConfiguration = frontendIPConfiguration; BackendAddressPool = backendAddressPool; Probe = probe; Protocol = protocol; LoadDistribution = loadDistribution; FrontendPort = frontendPort; BackendPort = backendPort; IdleTimeoutInMinutes = idleTimeoutInMinutes; EnableFloatingIP = enableFloatingIP; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the ApplicationGatewayPathRule class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="paths">Path rules of URL path map.</param> /// <param name="backendAddressPool">Backend address pool resource of /// URL path map.</param> /// <param name="backendHttpSettings">Backend http settings resource of /// URL path map.</param> /// <param name="provisioningState">Path rule of URL path map resource. /// Possible values are: 'Updating', 'Deleting', and 'Failed'.</param> /// <param name="name">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 ApplicationGatewayPathRule(string id = default(string), IList <string> paths = default(IList <string>), SubResource backendAddressPool = default(SubResource), SubResource backendHttpSettings = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { Paths = paths; BackendAddressPool = backendAddressPool; BackendHttpSettings = backendHttpSettings; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the BackendAddressPool class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="backendIPConfigurations">Gets collection of references /// to IP addresses defined in network interfaces.</param> /// <param name="loadBalancingRules">Gets load balancing rules that use /// this backend address pool.</param> /// <param name="outboundNatRule">Gets outbound rules that use this /// backend address pool.</param> /// <param name="provisioningState">Get provisioning state of the /// public IP resource. Possible values are: 'Updating', 'Deleting', /// and 'Failed'.</param> /// <param name="name">Gets 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 BackendAddressPool(string id = default(string), IList <NetworkInterfaceIPConfiguration> backendIPConfigurations = default(IList <NetworkInterfaceIPConfiguration>), IList <SubResource> loadBalancingRules = default(IList <SubResource>), SubResource outboundNatRule = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { BackendIPConfigurations = backendIPConfigurations; LoadBalancingRules = loadBalancingRules; OutboundNatRule = outboundNatRule; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// VirtualNetworkGatewayIPConfiguration class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="privateIPAllocationMethod">The private IP allocation /// method. Possible values are: 'Static' and 'Dynamic'. Possible /// values include: 'Static', 'Dynamic'</param> /// <param name="subnet">The reference of the subnet resource.</param> /// <param name="publicIPAddress">The reference of the public IP /// resource.</param> /// <param name="provisioningState">The provisioning state of the /// public IP resource. Possible values are: 'Updating', 'Deleting', /// and '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 VirtualNetworkGatewayIPConfiguration(string id = default(string), string privateIPAllocationMethod = default(string), SubResource subnet = default(SubResource), SubResource publicIPAddress = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { PrivateIPAllocationMethod = privateIPAllocationMethod; Subnet = subnet; PublicIPAddress = publicIPAddress; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the VirtualNetworkPeering class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="allowVirtualNetworkAccess">Whether the VMs in the /// linked virtual network space would be able to access all the VMs in /// local Virtual network space.</param> /// <param name="allowForwardedTraffic">Whether the forwarded traffic /// from the VMs in the remote virtual network will be /// allowed/disallowed.</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.</param> /// <param name="peeringState">The status of the virtual network /// peering. Possible values are 'Initiated', 'Connected', and /// 'Disconnected'. Possible values include: 'Initiated', 'Connected', /// 'Disconnected'</param> /// <param name="provisioningState">The provisioning state of the /// resource.</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 VirtualNetworkPeering(string id = default(string), bool?allowVirtualNetworkAccess = default(bool?), bool?allowForwardedTraffic = default(bool?), bool?allowGatewayTransit = default(bool?), bool?useRemoteGateways = default(bool?), SubResource remoteVirtualNetwork = default(SubResource), string peeringState = default(string), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { AllowVirtualNetworkAccess = allowVirtualNetworkAccess; AllowForwardedTraffic = allowForwardedTraffic; AllowGatewayTransit = allowGatewayTransit; UseRemoteGateways = useRemoteGateways; RemoteVirtualNetwork = remoteVirtualNetwork; PeeringState = peeringState; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// ApplicationGatewayBackendHealthServer class. /// </summary> /// <param name="address">IP address or FQDN of backend server.</param> /// <param name="ipConfiguration">Reference of IP configuration of /// backend server.</param> /// <param name="health">Health of backend server. Possible values are: /// 'Unknown', 'Up', 'Down', and 'Partial'. Possible values include: /// 'Unknown', 'Up', 'Down', 'Partial'</param> public ApplicationGatewayBackendHealthServer(string address = default(string), SubResource ipConfiguration = default(SubResource), string health = default(string)) { Address = address; IpConfiguration = ipConfiguration; Health = health; CustomInit(); }
/// <summary> /// Initializes a new instance of the InboundNatPool class. /// </summary> /// <param name="protocol">The transport protocol for the endpoint. /// Possible values are: 'Udp' or 'Tcp'. Possible values include: /// 'Udp', 'Tcp'</param> /// <param name="frontendPortRangeStart">The first port number in the /// range of external ports that will be used to provide Inbound Nat to /// NICs associated with a load balancer. Acceptable values range /// between 1 and 65534.</param> /// <param name="frontendPortRangeEnd">The last port number in the /// range of external ports that will be used to provide Inbound Nat to /// NICs associated with a load balancer. Acceptable values range /// between 1 and 65535.</param> /// <param name="backendPort">The port used for internal connections on /// the endpoint. Acceptable values are between 1 and 65535.</param> /// <param name="id">Resource ID.</param> /// <param name="frontendIPConfiguration">A reference to frontend IP /// addresses.</param> /// <param name="provisioningState">Gets the provisioning state of the /// PublicIP resource. Possible values are: 'Updating', 'Deleting', and /// '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 InboundNatPool(string protocol, int frontendPortRangeStart, int frontendPortRangeEnd, int backendPort, string id = default(string), SubResource frontendIPConfiguration = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { FrontendIPConfiguration = frontendIPConfiguration; Protocol = protocol; FrontendPortRangeStart = frontendPortRangeStart; FrontendPortRangeEnd = frontendPortRangeEnd; BackendPort = backendPort; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the NetworkInterface 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="virtualMachine">The reference of a virtual /// machine.</param> /// <param name="networkSecurityGroup">The reference of the /// NetworkSecurityGroup resource.</param> /// <param name="ipConfigurations">A list of IPConfigurations of the /// network interface.</param> /// <param name="dnsSettings">The DNS settings in network /// interface.</param> /// <param name="macAddress">The MAC address of the network /// interface.</param> /// <param name="primary">Gets whether this is a primary network /// interface on a virtual machine.</param> /// <param name="enableAcceleratedNetworking">If the network interface /// is accelerated networking enabled.</param> /// <param name="enableIPForwarding">Indicates whether IP forwarding is /// enabled on this network interface.</param> /// <param name="resourceGuid">The resource GUID property of the /// network interface resource.</param> /// <param name="provisioningState">The provisioning state of the /// public IP 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 NetworkInterface(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SubResource virtualMachine = default(SubResource), NetworkSecurityGroup networkSecurityGroup = default(NetworkSecurityGroup), IList <NetworkInterfaceIPConfiguration> ipConfigurations = default(IList <NetworkInterfaceIPConfiguration>), NetworkInterfaceDnsSettings dnsSettings = default(NetworkInterfaceDnsSettings), string macAddress = default(string), bool?primary = default(bool?), bool?enableAcceleratedNetworking = default(bool?), bool?enableIPForwarding = default(bool?), string resourceGuid = default(string), string provisioningState = default(string), string etag = default(string)) : base(id, name, type, location, tags) { VirtualMachine = virtualMachine; NetworkSecurityGroup = networkSecurityGroup; IpConfigurations = ipConfigurations; DnsSettings = dnsSettings; MacAddress = macAddress; Primary = primary; EnableAcceleratedNetworking = enableAcceleratedNetworking; EnableIPForwarding = enableIPForwarding; ResourceGuid = resourceGuid; ProvisioningState = provisioningState; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the /// ApplicationGatewayRequestRoutingRule class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="ruleType">Rule type. Possible values are: 'Basic' and /// 'PathBasedRouting'. Possible values include: 'Basic', /// 'PathBasedRouting'</param> /// <param name="backendAddressPool">Backend address pool resource of /// the application gateway. </param> /// <param name="backendHttpSettings">Frontend port resource of the /// application gateway.</param> /// <param name="httpListener">Http listener resource of the /// application gateway. </param> /// <param name="urlPathMap">URL path map resource of the application /// gateway.</param> /// <param name="provisioningState">Provisioning state of the request /// routing rule resource. Possible values are: 'Updating', 'Deleting', /// and 'Failed'.</param> /// <param name="name">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 ApplicationGatewayRequestRoutingRule(string id = default(string), string ruleType = default(string), SubResource backendAddressPool = default(SubResource), SubResource backendHttpSettings = default(SubResource), SubResource httpListener = default(SubResource), SubResource urlPathMap = default(SubResource), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { RuleType = ruleType; BackendAddressPool = backendAddressPool; BackendHttpSettings = backendHttpSettings; HttpListener = httpListener; UrlPathMap = urlPathMap; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <summary> /// Initializes a new instance of the ApplicationGatewayHttpListener /// class. /// </summary> /// <param name="id">Resource ID.</param> /// <param name="frontendIPConfiguration">Frontend IP configuration /// resource of an application gateway.</param> /// <param name="frontendPort">Frontend port resource of an application /// gateway.</param> /// <param name="protocol">Protocol. Possible values are: 'Http' and /// 'Https'. Possible values include: 'Http', 'Https'</param> /// <param name="hostName">Host name of HTTP listener.</param> /// <param name="sslCertificate">SSL certificate resource of an /// application gateway.</param> /// <param name="requireServerNameIndication">Applicable only if /// protocol is https. Enables SNI for multi-hosting.</param> /// <param name="provisioningState">Provisioning state of the HTTP /// listener resource. Possible values are: 'Updating', 'Deleting', and /// 'Failed'.</param> /// <param name="name">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 ApplicationGatewayHttpListener(string id = default(string), SubResource frontendIPConfiguration = default(SubResource), SubResource frontendPort = default(SubResource), string protocol = default(string), string hostName = default(string), SubResource sslCertificate = default(SubResource), bool?requireServerNameIndication = default(bool?), string provisioningState = default(string), string name = default(string), string etag = default(string)) : base(id) { FrontendIPConfiguration = frontendIPConfiguration; FrontendPort = frontendPort; Protocol = protocol; HostName = hostName; SslCertificate = sslCertificate; RequireServerNameIndication = requireServerNameIndication; ProvisioningState = provisioningState; Name = name; Etag = etag; CustomInit(); }
/// <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(); }