Bagikan melalui


TokenPassword Class

Definition

The password that will be used for authenticating the token of a container registry.

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

Constructors

TokenPassword()

Creates an new TokenPassword instance.

Properties

CreationTime

The creation datetime of the password.

Expiry

The expiry datetime of the password.

Name

The password name "password1" or "password2"

Value

The password value.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of TokenPassword.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TokenPassword.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TokenPassword into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to