ContainerRegistryTokenPassword Class

Definition

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

public class ContainerRegistryTokenPassword : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenPassword>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTokenPassword>
type ContainerRegistryTokenPassword = class
    interface IJsonModel<ContainerRegistryTokenPassword>
    interface IPersistableModel<ContainerRegistryTokenPassword>
Public Class ContainerRegistryTokenPassword
Implements IJsonModel(Of ContainerRegistryTokenPassword), IPersistableModel(Of ContainerRegistryTokenPassword)
Inheritance
ContainerRegistryTokenPassword
Implements

Constructors

ContainerRegistryTokenPassword()

Initializes a new instance of ContainerRegistryTokenPassword.

Properties

CreatedOn

The creation datetime of the password.

ExpireOn

The expiry datetime of the password.

Name

The password name "password1" or "password2".

Value

The password value.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryTokenPassword>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerRegistryTokenPassword>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTokenPassword>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTokenPassword>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerRegistryTokenPassword>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to