Class ManagedRuntimeBindingProperties

java.lang.Object
com.azure.resourcemanager.compute.workloadmanager.models.RuntimeBindingProperties
com.azure.resourcemanager.compute.workloadmanager.models.ManagedRuntimeBindingProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<RuntimeBindingProperties>

public final class ManagedRuntimeBindingProperties extends RuntimeBindingProperties
Properties of a runtime provisioned and owned by Workload Manager.
  • Constructor Details

    • ManagedRuntimeBindingProperties

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

    • provisioningMode

      public RuntimeBindingProvisioningMode provisioningMode()
      Get the provisioningMode property: Indicates whether Workload Manager owns or references the runtime.
      Overrides:
      provisioningMode in class RuntimeBindingProperties
      Returns:
      the provisioningMode value.
    • managedProfile

      public ManagedRuntimeProfile managedProfile()
      Get the managedProfile property: The limited service-managed runtime configuration.
      Returns:
      the managedProfile value.
    • withManagedProfile

      public ManagedRuntimeBindingProperties withManagedProfile(ManagedRuntimeProfile managedProfile)
      Set the managedProfile property: The limited service-managed runtime configuration.
      Parameters:
      managedProfile - the managedProfile value to set.
      Returns:
      the ManagedRuntimeBindingProperties object itself.
    • withIdentityProfile

      public ManagedRuntimeBindingProperties withIdentityProfile(RuntimeIdentityProfile identityProfile)
      Set the identityProfile property: The runtime identity configuration for a managed runtime.
      Overrides:
      withIdentityProfile in class RuntimeBindingProperties
      Parameters:
      identityProfile - the identityProfile value to set.
      Returns:
      the RuntimeBindingProperties object itself.
    • withNetworkProfile

      public ManagedRuntimeBindingProperties withNetworkProfile(RuntimeNetworkProfile networkProfile)
      Set the networkProfile property: The runtime network configuration for a managed runtime.
      Overrides:
      withNetworkProfile in class RuntimeBindingProperties
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the RuntimeBindingProperties 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<RuntimeBindingProperties>
      Overrides:
      toJson in class RuntimeBindingProperties
      Throws:
      IOException
    • fromJson

      public static ManagedRuntimeBindingProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ManagedRuntimeBindingProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ManagedRuntimeBindingProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ManagedRuntimeBindingProperties.