共用方式為


PrivateRegistryCredentials 建構函式

定義

多載

PrivateRegistryCredentials()

初始化 PrivateRegistryCredentials 類別的新實例。

PrivateRegistryCredentials(String, String, KeyVaultSecretReference)

初始化 PrivateRegistryCredentials 類別的新實例。

PrivateRegistryCredentials()

初始化 PrivateRegistryCredentials 類別的新實例。

public PrivateRegistryCredentials ();
Public Sub New ()

適用於

PrivateRegistryCredentials(String, String, KeyVaultSecretReference)

初始化 PrivateRegistryCredentials 類別的新實例。

public PrivateRegistryCredentials (string username, string password = default, Microsoft.Azure.Management.BatchAI.Models.KeyVaultSecretReference passwordSecretReference = default);
new Microsoft.Azure.Management.BatchAI.Models.PrivateRegistryCredentials : string * string * Microsoft.Azure.Management.BatchAI.Models.KeyVaultSecretReference -> Microsoft.Azure.Management.BatchAI.Models.PrivateRegistryCredentials
Public Sub New (username As String, Optional password As String = Nothing, Optional passwordSecretReference As KeyVaultSecretReference = Nothing)

參數

username
String

使用者名稱。

password
String

密碼。

passwordSecretReference
KeyVaultSecretReference

密碼密碼參考。

適用於