RestHealthCheck 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
RestHealthCheck() |
Initializes a new instance of the RestHealthCheck class. |
RestHealthCheck(String, RestRequest, RestResponse) |
Initializes a new instance of the RestHealthCheck class. |
RestHealthCheck()
Initializes a new instance of the RestHealthCheck class.
public RestHealthCheck ();
Public Sub New ()
Applies to
RestHealthCheck(String, RestRequest, RestResponse)
Initializes a new instance of the RestHealthCheck class.
public RestHealthCheck (string name, Microsoft.Azure.Management.DeploymentManager.Models.RestRequest request, Microsoft.Azure.Management.DeploymentManager.Models.RestResponse response = default);
new Microsoft.Azure.Management.DeploymentManager.Models.RestHealthCheck : string * Microsoft.Azure.Management.DeploymentManager.Models.RestRequest * Microsoft.Azure.Management.DeploymentManager.Models.RestResponse -> Microsoft.Azure.Management.DeploymentManager.Models.RestHealthCheck
Public Sub New (name As String, request As RestRequest, Optional response As RestResponse = Nothing)
Parameters
- name
- String
A unique name for this check.
- request
- RestRequest
The request to the health provider.
- response
- RestResponse
The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.
Applies to
Azure SDK for .NET