Class ManagedRuntimeProfile
java.lang.Object
com.azure.resourcemanager.compute.workloadmanager.models.ManagedRuntimeProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedRuntimeProfile>
public final class ManagedRuntimeProfile
extends Object
implements com.azure.json.JsonSerializable<ManagedRuntimeProfile>
Customer-selected configuration for a service-managed runtime.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedRuntimeProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedRuntimeProfile from the JsonReader.offering()Get the offering property: The required product offering when the runtime binding kind is Kubernetes.provider()Get the provider property: The required provider when the runtime binding kind is ServerlessContainers.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withOffering(String offering) Set the offering property: The required product offering when the runtime binding kind is Kubernetes.withProvider(String provider) Set the provider property: The required provider when the runtime binding kind is ServerlessContainers.Methods inherited from class 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
-
ManagedRuntimeProfile
public ManagedRuntimeProfile()Creates an instance of ManagedRuntimeProfile class.
-
-
Method Details
-
offering
Get the offering property: The required product offering when the runtime binding kind is Kubernetes.- Returns:
- the offering value.
-
withOffering
Set the offering property: The required product offering when the runtime binding kind is Kubernetes.- Parameters:
offering- the offering value to set.- Returns:
- the ManagedRuntimeProfile object itself.
-
provider
Get the provider property: The required provider when the runtime binding kind is ServerlessContainers.- Returns:
- the provider value.
-
withProvider
Set the provider property: The required provider when the runtime binding kind is ServerlessContainers.- Parameters:
provider- the provider value to set.- Returns:
- the ManagedRuntimeProfile object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ManagedRuntimeProfile>- Throws:
IOException
-
fromJson
public static ManagedRuntimeProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ManagedRuntimeProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ManagedRuntimeProfile 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 ManagedRuntimeProfile.
-