Share via


AppPlatformImageRegistryCredential Class

Definition

Credential of the image registry.

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

Constructors

AppPlatformImageRegistryCredential()

Initializes a new instance of AppPlatformImageRegistryCredential.

Properties

Password

The password of the image registry credential.

Username

The username of the image registry credential.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppPlatformImageRegistryCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AppPlatformImageRegistryCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided System.Text.Json.Utf8JsonWriter.

IPersistableModel<AppPlatformImageRegistryCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided System.BinaryData into a model.

IPersistableModel<AppPlatformImageRegistryCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AppPlatformImageRegistryCredential>.Write(ModelReaderWriterOptions)

Writes the model into a System.BinaryData.

Applies to