Class AksComputeSecretsProperties
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.AksComputeSecretsProperties
-
public class AksComputeSecretsProperties extends Object
Properties of AksComputeSecrets.
-
-
Constructor Summary
Constructors Constructor Description AksComputeSecretsProperties()
-
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.AksComputeSecretsProperties
withAdminKubeConfig(String adminKubeConfig)
Set the adminKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.AksComputeSecretsProperties
withImagePullSecretName(String imagePullSecretName)
Set the imagePullSecretName property: Image registry pull secret.AksComputeSecretsProperties
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 AksComputeSecretsProperties 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 AksComputeSecretsProperties 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 AksComputeSecretsProperties 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 AksComputeSecretsProperties object itself.
-
imagePullSecretName
public String imagePullSecretName()
Get the imagePullSecretName property: Image registry pull secret.- Returns:
- the imagePullSecretName value.
-
withImagePullSecretName
public AksComputeSecretsProperties withImagePullSecretName(String imagePullSecretName)
Set the imagePullSecretName property: Image registry pull secret.- Parameters:
imagePullSecretName
- the imagePullSecretName value to set.- Returns:
- the AksComputeSecretsProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-