Class AksComputeSecretsProperties
java.lang.Object
com.azure.resourcemanager.machinelearning.models.AksComputeSecretsProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AksComputeSecretsProperties>
public class AksComputeSecretsProperties
extends Object
implements com.azure.json.JsonSerializable<AksComputeSecretsProperties>
Properties of AksComputeSecrets.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AksComputeSecretsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the adminKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.static AksComputeSecretsPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AksComputeSecretsProperties from the JsonReader.Get the imagePullSecretName property: Image registry pull secret.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the userKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.voidvalidate()Validates the instance.withAdminKubeConfig(String adminKubeConfig) Set the adminKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.withImagePullSecretName(String imagePullSecretName) Set the imagePullSecretName property: Image registry pull secret.withUserKubeConfig(String userKubeConfig) Set the userKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AksComputeSecretsProperties
public AksComputeSecretsProperties()Creates an instance of AksComputeSecretsProperties class.
-
-
Method Details
-
userKubeConfig
Get the userKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.- Returns:
- the userKubeConfig value.
-
withUserKubeConfig
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
Get the adminKubeConfig property: Content of kubeconfig file that can be used to connect to the Kubernetes cluster.- Returns:
- the adminKubeConfig value.
-
withAdminKubeConfig
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
Get the imagePullSecretName property: Image registry pull secret.- Returns:
- the imagePullSecretName value.
-
withImagePullSecretName
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AksComputeSecretsProperties>- Throws:
IOException
-
fromJson
public static AksComputeSecretsProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AksComputeSecretsProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AksComputeSecretsProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the AksComputeSecretsProperties.
-