Class RuntimeBindingProperties

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

public class RuntimeBindingProperties extends Object implements com.azure.json.JsonSerializable<RuntimeBindingProperties>
Common properties of managed and referenced runtime bindings.
  • Constructor Details

    • RuntimeBindingProperties

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

    • provisioningMode

      public RuntimeBindingProvisioningMode provisioningMode()
      Get the provisioningMode property: Indicates whether Workload Manager owns or references the runtime.
      Returns:
      the provisioningMode value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the runtime binding.
      Returns:
      the provisioningState value.
    • providerResourceId

      public String providerResourceId()
      Get the providerResourceId property: The provider resource created or referenced by the binding.
      Returns:
      the providerResourceId value.
    • identityProfile

      public RuntimeIdentityProfile identityProfile()
      Get the identityProfile property: The runtime identity configuration for a managed runtime.
      Returns:
      the identityProfile value.
    • withIdentityProfile

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

      public RuntimeNetworkProfile networkProfile()
      Get the networkProfile property: The runtime network configuration for a managed runtime.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      public RuntimeBindingProperties withNetworkProfile(RuntimeNetworkProfile networkProfile)
      Set the networkProfile property: The runtime network configuration for a managed runtime.
      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>
      Throws:
      IOException
    • fromJson

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