Bagikan melalui


AuthCredential Class

Definition

Authentication credential stored for an upstream.

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

Constructors

AuthCredential()

Creates an new AuthCredential instance.

Properties

CredentialHealthErrorCode

Error code representing the health check error.

CredentialHealthErrorMessage

Descriptive message representing the health check error.

CredentialHealthStatus

The health status of credential.

Name

The name of the credential.

PasswordSecretIdentifier

KeyVault Secret URI for accessing the password.

UsernameSecretIdentifier

KeyVault Secret URI for accessing the username.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AuthCredential.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AuthCredential.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AuthCredential into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to