Share via


ContainerRegistryTokenCertificate Class

Definition

The properties of a certificate used for authenticating a token.

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

Constructors

ContainerRegistryTokenCertificate()

Initializes a new instance of ContainerRegistryTokenCertificate.

Properties

EncodedPemCertificate

Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token.

ExpireOn

The expiry datetime of the certificate.

Name

Gets or sets the name.

Thumbprint

The thumbprint of the certificate.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryTokenCertificate>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryTokenCertificate>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTokenCertificate>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTokenCertificate>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryTokenCertificate>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to