Share via


ContainerRegistryCacheRulePatch Class

Definition

The parameters for updating a cache rule.

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

Constructors

ContainerRegistryCacheRulePatch()

Initializes a new instance of ContainerRegistryCacheRulePatch.

Properties

CredentialSetResourceId

The ARM resource ID of the credential store which is associated with the Cache rule.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryCacheRulePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryCacheRulePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryCacheRulePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryCacheRulePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryCacheRulePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to