ContainerRegistryGenerateCredentialsContent Class

Definition

The parameters used to generate credentials for a specified token or user of a container registry.

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

Constructors

ContainerRegistryGenerateCredentialsContent()

Initializes a new instance of ContainerRegistryGenerateCredentialsContent.

Properties

ExpireOn

The expiry date of the generated credentials after which the credentials become invalid.

Name

Specifies name of the password which should be regenerated if any -- password1 or password2.

TokenId

The resource ID of the token for which credentials have to be generated.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryGenerateCredentialsContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryGenerateCredentialsContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryGenerateCredentialsContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryGenerateCredentialsContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryGenerateCredentialsContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to