Share via


ConnectivityStatusContract Constructors

Definition

Overloads

ConnectivityStatusContract()

Initializes a new instance of the ConnectivityStatusContract class.

ConnectivityStatusContract(String, String, DateTime, DateTime, String, Boolean, String)

Initializes a new instance of the ConnectivityStatusContract class.

ConnectivityStatusContract()

Initializes a new instance of the ConnectivityStatusContract class.

public ConnectivityStatusContract ();
Public Sub New ()

Applies to

ConnectivityStatusContract(String, String, DateTime, DateTime, String, Boolean, String)

Initializes a new instance of the ConnectivityStatusContract class.

public ConnectivityStatusContract (string name, string status, DateTime lastUpdated, DateTime lastStatusChange, string resourceType, bool isOptional, string error = default);
new Microsoft.Azure.Management.ApiManagement.Models.ConnectivityStatusContract : string * string * DateTime * DateTime * string * bool * string -> Microsoft.Azure.Management.ApiManagement.Models.ConnectivityStatusContract
Public Sub New (name As String, status As String, lastUpdated As DateTime, lastStatusChange As DateTime, resourceType As String, isOptional As Boolean, Optional error As String = Nothing)

Parameters

name
String

The hostname of the resource which the service depends on. This can be the database, storage or any other azure resource on which the service depends upon.

status
String

Resource Connectivity Status Type identifier. Possible values include: 'initializing', 'success', 'failure'

lastUpdated
DateTime

The date when the resource connectivity status was last updated. This status should be updated every 15 minutes. If this status has not been updated, then it means that the service has lost network connectivity to the resource, from inside the Virtual Network.The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

lastStatusChange
DateTime

The date when the resource connectivity status last Changed from success to failure or vice-versa. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

resourceType
String

Resource Type.

isOptional
Boolean

Whether this is optional.

error
String

Error details of the connectivity to the resource.

Applies to