Share via


ContainerRegistrySecretObject Class

Definition

Describes the properties of a secret object value.

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

Constructors

ContainerRegistrySecretObject()

Initializes a new instance of ContainerRegistrySecretObject.

Properties

ObjectType

The type of the secret object which determines how the value of the secret object has to be interpreted.

Value

The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be used as is without any modification.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistrySecretObject>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistrySecretObject>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistrySecretObject>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistrySecretObject>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistrySecretObject>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to