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 Summary
ConstructorsConstructorDescriptionCreates an instance of RuntimeBindingProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeBindingPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RuntimeBindingProperties from the JsonReader.Get the identityProfile property: The runtime identity configuration for a managed runtime.Get the networkProfile property: The runtime network configuration for a managed runtime.Get the providerResourceId property: The provider resource created or referenced by the binding.Get the provisioningMode property: Indicates whether Workload Manager owns or references the runtime.Get the provisioningState property: The provisioning state of the runtime binding.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.Methods 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
-
RuntimeBindingProperties
public RuntimeBindingProperties()Creates an instance of RuntimeBindingProperties class.
-
-
Method Details
-
provisioningMode
Get the provisioningMode property: Indicates whether Workload Manager owns or references the runtime.- Returns:
- the provisioningMode value.
-
provisioningState
Get the provisioningState property: The provisioning state of the runtime binding.- Returns:
- the provisioningState value.
-
providerResourceId
Get the providerResourceId property: The provider resource created or referenced by the binding.- Returns:
- the providerResourceId value.
-
identityProfile
Get the identityProfile property: The runtime identity configuration for a managed runtime.- Returns:
- the identityProfile value.
-
withIdentityProfile
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
Get the networkProfile property: The runtime network configuration for a managed runtime.- Returns:
- the networkProfile value.
-
withNetworkProfile
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
- Specified by:
toJsonin interfacecom.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.
-