Share via


ContainerRegistryTokenPatch Class

Definition

The parameters for updating a token.

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

Constructors

ContainerRegistryTokenPatch()

Initializes a new instance of ContainerRegistryTokenPatch.

Properties

Credentials

The credentials that can be used for authenticating the token.

ScopeMapId

The resource ID of the scope map to which the token will be associated with.

Status

The status of the token example enabled or disabled.

Explicit Interface Implementations

IJsonModel<ContainerRegistryTokenPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryTokenPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryTokenPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryTokenPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryTokenPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to