Bagikan melalui


CredentialHealth Class

Definition

The health of the auth credential.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.CredentialHealthTypeConverter))]
public class CredentialHealth : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICredentialHealth
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.CredentialHealthTypeConverter))>]
type CredentialHealth = class
    interface ICredentialHealth
    interface IJsonSerializable
Public Class CredentialHealth
Implements ICredentialHealth
Inheritance
CredentialHealth
Attributes
Implements

Constructors

CredentialHealth()

Creates an new CredentialHealth instance.

Properties

ErrorCode

Error code representing the health check error.

ErrorMessage

Descriptive message representing the health check error.

Status

The health status of credential.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CredentialHealth.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CredentialHealth.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ICredentialHealth.

FromJsonString(String)

Creates a new instance of CredentialHealth, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CredentialHealth into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to