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 Details

    • RuntimeIdentityProfile

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

    • executionIdentity

      public ExecutionIdentity executionIdentity()
      Get the executionIdentity property: The identity made available to the execution runtime.
      Returns:
      the executionIdentity value.
    • withExecutionIdentity

      public RuntimeIdentityProfile withExecutionIdentity(ExecutionIdentity executionIdentity)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.