Share via


DockerCredential Class

Definition

Credential for docker with username and password

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.DockerCredentialTypeConverter))]
public class DockerCredential : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IDockerCredential, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.DockerCredentialTypeConverter))>]
type DockerCredential = class
    interface IDockerCredential
    interface IJsonSerializable
    interface IDataReferenceCredential
    interface IValidates
Public Class DockerCredential
Implements IDockerCredential, IValidates
Inheritance
DockerCredential
Attributes
Implements

Constructors

DockerCredential()

Creates an new DockerCredential instance.

Properties

CredentialType

[Required] Credential type used to authentication with storage.

Password

DockerCredential user password

UserName

DockerCredential user name

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of DockerCredential.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of DockerCredential.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IDockerCredential.

FromJsonString(String)

Creates a new instance of DockerCredential, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of DockerCredential into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to