/// <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
 /// include: 'Unknown', 'Up', 'Down', 'Partial', 'Draining'</param>
 public ApplicationGatewayBackendHealthServer(string address = default(string), NetworkInterfaceIPConfiguration ipConfiguration = default(NetworkInterfaceIPConfiguration), string health = default(string))
 {
     Address         = address;
     IpConfiguration = ipConfiguration;
     Health          = health;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the InboundNatRule class.
 /// </summary>
 /// <param name="id">Resource ID.</param>
 /// <param name="frontendIPConfiguration">A reference to frontend IP
 /// addresses.</param>
 /// <param name="backendIPConfiguration">A reference to a private IP
 /// address defined on a network interface of a VM. Traffic sent to the
 /// frontend port of each of the frontend IP configurations is
 /// forwarded to the backend IP.</param>
 /// <param name="protocol">Possible values include: 'Udp', 'Tcp',
 /// 'All'</param>
 /// <param name="frontendPort">The port for the external endpoint. Port
 /// numbers for each rule must be unique within the Load Balancer.
 /// Acceptable values range from 1 to 65534.</param>
 /// <param name="backendPort">The port used for the internal endpoint.
 /// Acceptable values range from 1 to 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
 /// 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 InboundNatRule(string id = default(string), SubResource frontendIPConfiguration = default(SubResource), NetworkInterfaceIPConfiguration backendIPConfiguration = default(NetworkInterfaceIPConfiguration), string protocol = default(string), int?frontendPort = default(int?), 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;
     BackendIPConfiguration  = backendIPConfiguration;
     Protocol             = protocol;
     FrontendPort         = frontendPort;
     BackendPort          = backendPort;
     IdleTimeoutInMinutes = idleTimeoutInMinutes;
     EnableFloatingIP     = enableFloatingIP;
     ProvisioningState    = provisioningState;
     Name = name;
     Etag = etag;
     CustomInit();
 }