Class KubernetesProperties

java.lang.Object
com.azure.resourcemanager.machinelearning.models.KubernetesProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<KubernetesProperties>

public final class KubernetesProperties extends Object implements com.azure.json.JsonSerializable<KubernetesProperties>
Kubernetes properties.
  • Constructor Details

    • KubernetesProperties

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

    • relayConnectionString

      public String relayConnectionString()
      Get the relayConnectionString property: Relay connection string.
      Returns:
      the relayConnectionString value.
    • withRelayConnectionString

      public KubernetesProperties withRelayConnectionString(String relayConnectionString)
      Set the relayConnectionString property: Relay connection string.
      Parameters:
      relayConnectionString - the relayConnectionString value to set.
      Returns:
      the KubernetesProperties object itself.
    • serviceBusConnectionString

      public String serviceBusConnectionString()
      Get the serviceBusConnectionString property: ServiceBus connection string.
      Returns:
      the serviceBusConnectionString value.
    • withServiceBusConnectionString

      public KubernetesProperties withServiceBusConnectionString(String serviceBusConnectionString)
      Set the serviceBusConnectionString property: ServiceBus connection string.
      Parameters:
      serviceBusConnectionString - the serviceBusConnectionString value to set.
      Returns:
      the KubernetesProperties object itself.
    • extensionPrincipalId

      public String extensionPrincipalId()
      Get the extensionPrincipalId property: Extension principal-id.
      Returns:
      the extensionPrincipalId value.
    • withExtensionPrincipalId

      public KubernetesProperties withExtensionPrincipalId(String extensionPrincipalId)
      Set the extensionPrincipalId property: Extension principal-id.
      Parameters:
      extensionPrincipalId - the extensionPrincipalId value to set.
      Returns:
      the KubernetesProperties object itself.
    • extensionInstanceReleaseTrain

      public String extensionInstanceReleaseTrain()
      Get the extensionInstanceReleaseTrain property: Extension instance release train.
      Returns:
      the extensionInstanceReleaseTrain value.
    • withExtensionInstanceReleaseTrain

      public KubernetesProperties withExtensionInstanceReleaseTrain(String extensionInstanceReleaseTrain)
      Set the extensionInstanceReleaseTrain property: Extension instance release train.
      Parameters:
      extensionInstanceReleaseTrain - the extensionInstanceReleaseTrain value to set.
      Returns:
      the KubernetesProperties object itself.
    • vcName

      public String vcName()
      Get the vcName property: VC name.
      Returns:
      the vcName value.
    • withVcName

      public KubernetesProperties withVcName(String vcName)
      Set the vcName property: VC name.
      Parameters:
      vcName - the vcName value to set.
      Returns:
      the KubernetesProperties object itself.
    • namespace

      public String namespace()
      Get the namespace property: Compute namespace.
      Returns:
      the namespace value.
    • withNamespace

      public KubernetesProperties withNamespace(String namespace)
      Set the namespace property: Compute namespace.
      Parameters:
      namespace - the namespace value to set.
      Returns:
      the KubernetesProperties object itself.
    • defaultInstanceType

      public String defaultInstanceType()
      Get the defaultInstanceType property: Default instance type.
      Returns:
      the defaultInstanceType value.
    • withDefaultInstanceType

      public KubernetesProperties withDefaultInstanceType(String defaultInstanceType)
      Set the defaultInstanceType property: Default instance type.
      Parameters:
      defaultInstanceType - the defaultInstanceType value to set.
      Returns:
      the KubernetesProperties object itself.
    • instanceTypes

      public Map<String,InstanceTypeSchema> instanceTypes()
      Get the instanceTypes property: Instance Type Schema.
      Returns:
      the instanceTypes value.
    • withInstanceTypes

      public KubernetesProperties withInstanceTypes(Map<String,InstanceTypeSchema> instanceTypes)
      Set the instanceTypes property: Instance Type Schema.
      Parameters:
      instanceTypes - the instanceTypes value to set.
      Returns:
      the KubernetesProperties 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<KubernetesProperties>
      Throws:
      IOException
    • fromJson

      public static KubernetesProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of KubernetesProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of KubernetesProperties 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 KubernetesProperties.