Class ReferencedRuntimeBindingProperties

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

public final class ReferencedRuntimeBindingProperties extends RuntimeBindingProperties
Properties of a customer-owned runtime attached to a workload space.
  • Constructor Details

    • ReferencedRuntimeBindingProperties

      public ReferencedRuntimeBindingProperties()
      Creates an instance of ReferencedRuntimeBindingProperties 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.
    • resourceId

      public String resourceId()
      Get the resourceId property: The existing customer-owned runtime resource.
      Returns:
      the resourceId value.
    • withResourceId

      public ReferencedRuntimeBindingProperties withResourceId(String resourceId)
      Set the resourceId property: The existing customer-owned runtime resource.
      Parameters:
      resourceId - the resourceId value to set.
      Returns:
      the ReferencedRuntimeBindingProperties object itself.
    • withIdentityProfile

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