共用方式為


ImageRegistryCredential Class

Definition

Image registry credential.

public class ImageRegistryCredential
type ImageRegistryCredential = class
Public Class ImageRegistryCredential
Inheritance
ImageRegistryCredential

Constructors

ImageRegistryCredential()

Initializes a new instance of the ImageRegistryCredential class.

ImageRegistryCredential(String, String, String)

Initializes a new instance of the ImageRegistryCredential class.

Properties

Password

Gets or sets the password for the private registry.

Server

Gets or sets the Docker image registry server without a protocol such as "http" and "https".

Username

Gets or sets the username for the private registry.

Methods

Validate()

Validate the object.

Applies to