ProbeInner Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ProbeInner() |
Initializes a new instance of the ProbeInner class. |
ProbeInner(ProbeProtocol, Int32, String, IList<SubResource>, Nullable<Int32>, Nullable<Int32>, String, ProvisioningState, String, String, String) |
Initializes a new instance of the ProbeInner class. |
ProbeInner()
Initializes a new instance of the ProbeInner class.
public ProbeInner ();
Public Sub New ()
Applies to
ProbeInner(ProbeProtocol, Int32, String, IList<SubResource>, Nullable<Int32>, Nullable<Int32>, String, ProvisioningState, String, String, String)
Initializes a new instance of the ProbeInner class.
public ProbeInner (Microsoft.Azure.Management.Network.Fluent.Models.ProbeProtocol protocol, int port, string id = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> loadBalancingRules = default, int? intervalInSeconds = default, int? numberOfProbes = default, string requestPath = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, string name = default, string etag = default, string type = default);
new Microsoft.Azure.Management.Network.Fluent.Models.ProbeInner : Microsoft.Azure.Management.Network.Fluent.Models.ProbeProtocol * int * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Fluent.SubResource> * Nullable<int> * Nullable<int> * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * string * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.ProbeInner
Public Sub New (protocol As ProbeProtocol, port As Integer, Optional id As String = Nothing, Optional loadBalancingRules As IList(Of SubResource) = Nothing, Optional intervalInSeconds As Nullable(Of Integer) = Nothing, Optional numberOfProbes As Nullable(Of Integer) = Nothing, Optional requestPath As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing, Optional type As String = Nothing)
Parameters
- protocol
- ProbeProtocol
The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. Possible values include: 'Http', 'Tcp', 'Https'
- port
- Int32
The port for communicating the probe. Possible values range from 1 to 65535, inclusive.
- id
- String
- loadBalancingRules
- IList<SubResource>
The load balancer rules that use this probe.
The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5.
The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure.
- requestPath
- String
The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value.
- provisioningState
- ProvisioningState
The provisioning state of the probe resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'
- name
- String
The name of the resource that is unique within the set of probes used by the load balancer. This name can be used to access the resource.
- etag
- String
A unique read-only string that changes whenever the resource is updated.
- type
- String
Type of the resource.
Applies to
Azure SDK for .NET