Freigeben über


ArmMachineLearningComputeModelFactory.ContainerServiceCredentials Methode

Definition

Initialisiert eine neue instance von ContainerServiceCredentials.

public static Azure.ResourceManager.MachineLearningCompute.Models.ContainerServiceCredentials ContainerServiceCredentials (string acsKubeConfig = default, Azure.ResourceManager.MachineLearningCompute.Models.ServicePrincipalProperties servicePrincipalConfiguration = default, string imagePullSecretName = default);
static member ContainerServiceCredentials : string * Azure.ResourceManager.MachineLearningCompute.Models.ServicePrincipalProperties * string -> Azure.ResourceManager.MachineLearningCompute.Models.ContainerServiceCredentials
Public Shared Function ContainerServiceCredentials (Optional acsKubeConfig As String = Nothing, Optional servicePrincipalConfiguration As ServicePrincipalProperties = Nothing, Optional imagePullSecretName As String = Nothing) As ContainerServiceCredentials

Parameter

acsKubeConfig
String

Die ACS kube-Konfigurationsdatei.

servicePrincipalConfiguration
ServicePrincipalProperties

Von Kubernetes verwendete Dienstprinzipalkonfiguration.

imagePullSecretName
String

Der In Kubernetes erstellte Pull Secret-Name des ACR-Images.

Gibt zurück

Eine neue ContainerServiceCredentials instance zum Mocking.

Gilt für: