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 Details

    • AksComputeSecretsProperties

      public AksComputeSecretsProperties()
      Creates an instance of AksComputeSecretsProperties class.
  • Method Details

    • 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.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.