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>
Properties of a runtime provisioned and owned by Workload Manager.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedRuntimeBindingProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedRuntimeBindingProperties from the JsonReader.Get the managedProfile property: The limited service-managed runtime configuration.Get the provisioningMode property: Indicates whether Workload Manager owns or references the runtime.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withIdentityProfile(RuntimeIdentityProfile identityProfile) Set the identityProfile property: The runtime identity configuration for a managed runtime.withManagedProfile(ManagedRuntimeProfile managedProfile) Set the managedProfile property: The limited service-managed runtime configuration.withNetworkProfile(RuntimeNetworkProfile networkProfile) Set the networkProfile property: The runtime network configuration for a managed runtime.Methods inherited from class RuntimeBindingProperties
identityProfile, networkProfile, providerResourceId, provisioningStateMethods 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
-
ManagedRuntimeBindingProperties
public ManagedRuntimeBindingProperties()Creates an instance of ManagedRuntimeBindingProperties class.
-
-
Method Details
-
provisioningMode
Get the provisioningMode property: Indicates whether Workload Manager owns or references the runtime.- Overrides:
provisioningModein classRuntimeBindingProperties- Returns:
- the provisioningMode value.
-
managedProfile
Get the managedProfile property: The limited service-managed runtime configuration.- Returns:
- the managedProfile value.
-
withManagedProfile
Set the managedProfile property: The limited service-managed runtime configuration.- Parameters:
managedProfile- the managedProfile value to set.- Returns:
- the ManagedRuntimeBindingProperties object itself.
-
withIdentityProfile
Set the identityProfile property: The runtime identity configuration for a managed runtime.- Overrides:
withIdentityProfilein classRuntimeBindingProperties- Parameters:
identityProfile- the identityProfile value to set.- Returns:
- the RuntimeBindingProperties object itself.
-
withNetworkProfile
Set the networkProfile property: The runtime network configuration for a managed runtime.- Overrides:
withNetworkProfilein classRuntimeBindingProperties- Parameters:
networkProfile- the networkProfile value to set.- Returns:
- the RuntimeBindingProperties object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RuntimeBindingProperties>- Overrides:
toJsonin classRuntimeBindingProperties- 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.
-