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
    Constructor
    Description
    Creates an instance of ManagedRuntimeProfile class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ManagedRuntimeProfile from the JsonReader.
    Get the offering property: The required product offering when the runtime binding kind is Kubernetes.
    Get the provider property: The required provider when the runtime binding kind is ServerlessContainers.
    com.azure.json.JsonWriter
    toJson(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, wait

    Methods 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

      public String offering()
      Get the offering property: The required product offering when the runtime binding kind is Kubernetes.
      Returns:
      the offering value.
    • withOffering

      public ManagedRuntimeProfile withOffering(String offering)
      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

      public String provider()
      Get the provider property: The required provider when the runtime binding kind is ServerlessContainers.
      Returns:
      the provider value.
    • withProvider

      public ManagedRuntimeProfile withProvider(String provider)
      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

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