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>
Properties of a customer-owned runtime attached to a workload space.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ReferencedRuntimeBindingProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ReferencedRuntimeBindingProperties from the JsonReader.Get the provisioningMode property: Indicates whether Workload Manager owns or references the runtime.Get the resourceId property: The existing customer-owned runtime resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withIdentityProfile(RuntimeIdentityProfile identityProfile) Set the identityProfile property: The runtime identity configuration for a managed runtime.withNetworkProfile(RuntimeNetworkProfile networkProfile) Set the networkProfile property: The runtime network configuration for a managed runtime.withResourceId(String resourceId) Set the resourceId property: The existing customer-owned runtime resource.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
-
ReferencedRuntimeBindingProperties
public ReferencedRuntimeBindingProperties()Creates an instance of ReferencedRuntimeBindingProperties class.
-
-
Method Details
-
provisioningMode
Get the provisioningMode property: Indicates whether Workload Manager owns or references the runtime.- Overrides:
provisioningModein classRuntimeBindingProperties- Returns:
- the provisioningMode value.
-
resourceId
Get the resourceId property: The existing customer-owned runtime resource.- Returns:
- the resourceId value.
-
withResourceId
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:
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 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.
-