ArmApiManagementModelFactory.ConnectivityStatusContract Method
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.
Initializes a new instance of ConnectivityStatusContract.
public static Azure.ResourceManager.ApiManagement.Models.ConnectivityStatusContract ConnectivityStatusContract (string name = default, Azure.ResourceManager.ApiManagement.Models.ConnectivityStatusType status = default, string error = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset lastStatusChangedOn = default, string resourceType = default, bool isOptional = false);
static member ConnectivityStatusContract : string * Azure.ResourceManager.ApiManagement.Models.ConnectivityStatusType * string * DateTimeOffset * DateTimeOffset * string * bool -> Azure.ResourceManager.ApiManagement.Models.ConnectivityStatusContract
Public Shared Function ConnectivityStatusContract (Optional name As String = Nothing, Optional status As ConnectivityStatusType = Nothing, Optional error As String = Nothing, Optional lastUpdatedOn As DateTimeOffset = Nothing, Optional lastStatusChangedOn As DateTimeOffset = Nothing, Optional resourceType As String = Nothing, Optional isOptional As Boolean = false) As ConnectivityStatusContract
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
- ConnectivityStatusType
Resource Connectivity Status Type identifier.
- error
- String
Error details of the connectivity to the resource.
- lastUpdatedOn
- DateTimeOffset
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.
- lastStatusChangedOn
- DateTimeOffset
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.
Returns
A new ConnectivityStatusContract instance for mocking.