Class AksComputeSecrets
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.fluent.models.ComputeSecretsInner
-
- com.azure.resourcemanager.machinelearning.models.AksComputeSecrets
-
public final class AksComputeSecrets extends ComputeSecretsInner
Secrets related to a Machine Learning compute based on AKS.
-
-
Constructor Summary
Constructors Constructor Description AksComputeSecrets()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
adminKubeConfig()
Get the adminKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.String
imagePullSecretName()
Get the imagePullSecretName property: Image registry pull secret.String
userKubeConfig()
Get the userKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.void
validate()
Validates the instance.AksComputeSecrets
withAdminKubeConfig(String adminKubeConfig)
Set the adminKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.AksComputeSecrets
withImagePullSecretName(String imagePullSecretName)
Set the imagePullSecretName property: Image registry pull secret.AksComputeSecrets
withUserKubeConfig(String userKubeConfig)
Set the userKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.
-
-
-
Method Detail
-
userKubeConfig
public String userKubeConfig()
Get the userKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.- Returns:
- the userKubeConfig value.
-
withUserKubeConfig
public AksComputeSecrets withUserKubeConfig(String userKubeConfig)
Set the userKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.- Parameters:
userKubeConfig
- the userKubeConfig value to set.- Returns:
- the AksComputeSecrets object itself.
-
adminKubeConfig
public String adminKubeConfig()
Get the adminKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.- Returns:
- the adminKubeConfig value.
-
withAdminKubeConfig
public AksComputeSecrets withAdminKubeConfig(String adminKubeConfig)
Set the adminKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.- Parameters:
adminKubeConfig
- the adminKubeConfig value to set.- Returns:
- the AksComputeSecrets object itself.
-
imagePullSecretName
public String imagePullSecretName()
Get the imagePullSecretName property: Image registry pull secret.- Returns:
- the imagePullSecretName value.
-
withImagePullSecretName
public AksComputeSecrets withImagePullSecretName(String imagePullSecretName)
Set the imagePullSecretName property: Image registry pull secret.- Parameters:
imagePullSecretName
- the imagePullSecretName value to set.- Returns:
- the AksComputeSecrets object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classComputeSecretsInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-