ArmMachineLearningComputeModelFactory.ContainerServiceCredentials Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET