你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DockerCredential Class

Definition

Credential for docker with username and password.

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

Properties

Password

DockerCredential user password.

UserName

DockerCredential user name.

Explicit Interface Implementations

IJsonModel<DataReferenceCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from DataReferenceCredential)
IJsonModel<DockerCredential>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DockerCredential>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DataReferenceCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from DataReferenceCredential)
IPersistableModel<DockerCredential>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DockerCredential>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DockerCredential>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to