共用方式為


ConnectivityStatusContract Class

Definition

Details about connectivity to a resource.

public class ConnectivityStatusContract
type ConnectivityStatusContract = class
Public Class ConnectivityStatusContract
Inheritance
ConnectivityStatusContract

Constructors

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.

Properties

Error

Gets or sets error details of the connectivity to the resource.

IsOptional

Gets or sets whether this is optional.

LastStatusChange

Gets or sets 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.

LastUpdated

Gets or sets 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.

Name

Gets or sets 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.

ResourceType

Gets or sets resource Type.

Status

Gets or sets resource Connectivity Status Type identifier. Possible values include: 'initializing', 'success', 'failure'

Methods

Validate()

Validate the object.

Applies to