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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the defaultInstanceType property: Default instance type.Get the extensionInstanceReleaseTrain property: Extension instance release train.Get the extensionPrincipalId property: Extension principal-id.static KubernetesPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of KubernetesProperties from the JsonReader.Get the instanceTypes property: Instance Type Schema.Get the namespace property: Compute namespace.Get the relayConnectionString property: Relay connection string.Get the serviceBusConnectionString property: ServiceBus connection string.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.vcName()Get the vcName property: VC name.withDefaultInstanceType(String defaultInstanceType) Set the defaultInstanceType property: Default instance type.withExtensionInstanceReleaseTrain(String extensionInstanceReleaseTrain) Set the extensionInstanceReleaseTrain property: Extension instance release train.withExtensionPrincipalId(String extensionPrincipalId) Set the extensionPrincipalId property: Extension principal-id.withInstanceTypes(Map<String, InstanceTypeSchema> instanceTypes) Set the instanceTypes property: Instance Type Schema.withNamespace(String namespace) Set the namespace property: Compute namespace.withRelayConnectionString(String relayConnectionString) Set the relayConnectionString property: Relay connection string.withServiceBusConnectionString(String serviceBusConnectionString) Set the serviceBusConnectionString property: ServiceBus connection string.withVcName(String vcName) Set the vcName property: VC name.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
-
KubernetesProperties
public KubernetesProperties()Creates an instance of KubernetesProperties class.
-
-
Method Details
-
relayConnectionString
Get the relayConnectionString property: Relay connection string.- Returns:
- the relayConnectionString value.
-
withRelayConnectionString
Set the relayConnectionString property: Relay connection string.- Parameters:
relayConnectionString- the relayConnectionString value to set.- Returns:
- the KubernetesProperties object itself.
-
serviceBusConnectionString
Get the serviceBusConnectionString property: ServiceBus connection string.- Returns:
- the serviceBusConnectionString value.
-
withServiceBusConnectionString
Set the serviceBusConnectionString property: ServiceBus connection string.- Parameters:
serviceBusConnectionString- the serviceBusConnectionString value to set.- Returns:
- the KubernetesProperties object itself.
-
extensionPrincipalId
Get the extensionPrincipalId property: Extension principal-id.- Returns:
- the extensionPrincipalId value.
-
withExtensionPrincipalId
Set the extensionPrincipalId property: Extension principal-id.- Parameters:
extensionPrincipalId- the extensionPrincipalId value to set.- Returns:
- the KubernetesProperties object itself.
-
extensionInstanceReleaseTrain
Get the extensionInstanceReleaseTrain property: Extension instance release train.- Returns:
- the extensionInstanceReleaseTrain value.
-
withExtensionInstanceReleaseTrain
Set the extensionInstanceReleaseTrain property: Extension instance release train.- Parameters:
extensionInstanceReleaseTrain- the extensionInstanceReleaseTrain value to set.- Returns:
- the KubernetesProperties object itself.
-
vcName
Get the vcName property: VC name.- Returns:
- the vcName value.
-
withVcName
Set the vcName property: VC name.- Parameters:
vcName- the vcName value to set.- Returns:
- the KubernetesProperties object itself.
-
namespace
Get the namespace property: Compute namespace.- Returns:
- the namespace value.
-
withNamespace
Set the namespace property: Compute namespace.- Parameters:
namespace- the namespace value to set.- Returns:
- the KubernetesProperties object itself.
-
defaultInstanceType
Get the defaultInstanceType property: Default instance type.- Returns:
- the defaultInstanceType value.
-
withDefaultInstanceType
Set the defaultInstanceType property: Default instance type.- Parameters:
defaultInstanceType- the defaultInstanceType value to set.- Returns:
- the KubernetesProperties object itself.
-
instanceTypes
Get the instanceTypes property: Instance Type Schema.- Returns:
- the instanceTypes value.
-
withInstanceTypes
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
- Specified by:
toJsonin interfacecom.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.
-