AzureContainerRegistryScopedTokenCredential Class

Definition

The azure container registry scoped token credential definition.

public class AzureContainerRegistryScopedTokenCredential : Azure.ResourceManager.HybridNetwork.Models.ArtifactAccessCredential, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.HybridNetwork.Models.AzureContainerRegistryScopedTokenCredential>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.HybridNetwork.Models.AzureContainerRegistryScopedTokenCredential>
type AzureContainerRegistryScopedTokenCredential = class
    inherit ArtifactAccessCredential
    interface IJsonModel<AzureContainerRegistryScopedTokenCredential>
    interface IPersistableModel<AzureContainerRegistryScopedTokenCredential>
Public Class AzureContainerRegistryScopedTokenCredential
Inherits ArtifactAccessCredential
Implements IJsonModel(Of AzureContainerRegistryScopedTokenCredential), IPersistableModel(Of AzureContainerRegistryScopedTokenCredential)
Inheritance
AzureContainerRegistryScopedTokenCredential
Implements

Properties

Name Description
AcrServerUri

The Acr server url.

AcrToken

The credential value.

Expiry

The UTC time when credential will expire.

Repositories

The repositories that could be accessed using the current credential.

Username

The username of the credential.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ArtifactAccessCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from ArtifactAccessCredential)
IJsonModel<ArtifactAccessCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ArtifactAccessCredential)
IJsonModel<AzureContainerRegistryScopedTokenCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureContainerRegistryScopedTokenCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ArtifactAccessCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ArtifactAccessCredential)
IPersistableModel<ArtifactAccessCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from ArtifactAccessCredential)
IPersistableModel<ArtifactAccessCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ArtifactAccessCredential)
IPersistableModel<AzureContainerRegistryScopedTokenCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureContainerRegistryScopedTokenCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureContainerRegistryScopedTokenCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to