Class JobPatchProperties

java.lang.Object
com.azure.resourcemanager.appcontainers.models.JobPatchProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<JobPatchProperties>

public final class JobPatchProperties extends Object implements com.azure.json.JsonSerializable<JobPatchProperties>
Container Apps Job resource specific properties.
  • Constructor Details

    • JobPatchProperties

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

    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
      Returns:
      the identity value.
    • withIdentity

      public JobPatchProperties withIdentity(ManagedServiceIdentity identity)
      Set the identity property: Managed identities needed by a container app job to interact with other Azure services to not maintain any secrets or credentials in code.
      Parameters:
      identity - the identity value to set.
      Returns:
      the JobPatchProperties object itself.
    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public JobPatchProperties withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the JobPatchProperties object itself.
    • properties

      public JobPatchPropertiesProperties properties()
      Get the properties property: The properties property.
      Returns:
      the properties value.
    • withProperties

      public JobPatchProperties withProperties(JobPatchPropertiesProperties properties)
      Set the properties property: The properties property.
      Parameters:
      properties - the properties value to set.
      Returns:
      the JobPatchProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<JobPatchProperties>
      Throws:
      IOException
    • fromJson

      public static JobPatchProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of JobPatchProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of JobPatchProperties 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 JobPatchProperties.