Class RuntimeIdentityProfile
java.lang.Object
com.azure.resourcemanager.compute.workloadmanager.models.RuntimeIdentityProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RuntimeIdentityProfile>
public final class RuntimeIdentityProfile
extends Object
implements com.azure.json.JsonSerializable<RuntimeIdentityProfile>
Identity configuration for a managed runtime.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RuntimeIdentityProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the executionIdentity property: The identity made available to the execution runtime.static RuntimeIdentityProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RuntimeIdentityProfile from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withExecutionIdentity(ExecutionIdentity executionIdentity) Set the executionIdentity property: The identity made available to the execution 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
-
RuntimeIdentityProfile
public RuntimeIdentityProfile()Creates an instance of RuntimeIdentityProfile class.
-
-
Method Details
-
executionIdentity
Get the executionIdentity property: The identity made available to the execution runtime.- Returns:
- the executionIdentity value.
-
withExecutionIdentity
Set the executionIdentity property: The identity made available to the execution runtime.- Parameters:
executionIdentity- the executionIdentity value to set.- Returns:
- the RuntimeIdentityProfile object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RuntimeIdentityProfile>- Throws:
IOException
-
fromJson
public static RuntimeIdentityProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RuntimeIdentityProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RuntimeIdentityProfile 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 RuntimeIdentityProfile.
-