Share via


ArmMachineLearningComputeModelFactory.ContainerServiceCredentials Method

Definition

Initializes a new instance of 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

Parameters

acsKubeConfig
String

The ACS kube config file.

servicePrincipalConfiguration
ServicePrincipalProperties

Service principal configuration used by Kubernetes.

imagePullSecretName
String

The ACR image pull secret name which was created in Kubernetes.

Returns

A new ContainerServiceCredentials instance for mocking.

Applies to