java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appcontainers.fluent.models.ContainerAppInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class ContainerAppInner extends com.azure.core.management.Resource
Container App.
  • Constructor Details

    • ContainerAppInner

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

    • extendedLocation

      public ExtendedLocation extendedLocation()
      Get the extendedLocation property: The complex type of the extended location.
      Returns:
      the extendedLocation value.
    • withExtendedLocation

      public ContainerAppInner withExtendedLocation(ExtendedLocation extendedLocation)
      Set the extendedLocation property: The complex type of the extended location.
      Parameters:
      extendedLocation - the extendedLocation value to set.
      Returns:
      the ContainerAppInner object itself.
    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
      Returns:
      the identity value.
    • withIdentity

      public ContainerAppInner withIdentity(ManagedServiceIdentity identity)
      Set the identity property: managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
      Parameters:
      identity - the identity value to set.
      Returns:
      the ContainerAppInner object itself.
    • managedBy

      public String managedBy()
      Get the managedBy property: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
      Returns:
      the managedBy value.
    • withManagedBy

      public ContainerAppInner withManagedBy(String managedBy)
      Set the managedBy property: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
      Parameters:
      managedBy - the managedBy value to set.
      Returns:
      the ContainerAppInner object itself.
    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • withLocation

      public ContainerAppInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ContainerAppInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • provisioningState

      public ContainerAppProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the Container App.
      Returns:
      the provisioningState value.
    • runningStatus

      public ContainerAppRunningStatus runningStatus()
      Get the runningStatus property: Running status of the Container App.
      Returns:
      the runningStatus value.
    • managedEnvironmentId

      public String managedEnvironmentId()
      Get the managedEnvironmentId property: Deprecated. Resource ID of the Container App's environment.
      Returns:
      the managedEnvironmentId value.
    • withManagedEnvironmentId

      public ContainerAppInner withManagedEnvironmentId(String managedEnvironmentId)
      Set the managedEnvironmentId property: Deprecated. Resource ID of the Container App's environment.
      Parameters:
      managedEnvironmentId - the managedEnvironmentId value to set.
      Returns:
      the ContainerAppInner object itself.
    • environmentId

      public String environmentId()
      Get the environmentId property: Resource ID of environment.
      Returns:
      the environmentId value.
    • withEnvironmentId

      public ContainerAppInner withEnvironmentId(String environmentId)
      Set the environmentId property: Resource ID of environment.
      Parameters:
      environmentId - the environmentId value to set.
      Returns:
      the ContainerAppInner object itself.
    • workloadProfileName

      public String workloadProfileName()
      Get the workloadProfileName property: Workload profile name to pin for container app execution.
      Returns:
      the workloadProfileName value.
    • withWorkloadProfileName

      public ContainerAppInner withWorkloadProfileName(String workloadProfileName)
      Set the workloadProfileName property: Workload profile name to pin for container app execution.
      Parameters:
      workloadProfileName - the workloadProfileName value to set.
      Returns:
      the ContainerAppInner object itself.
    • latestRevisionName

      public String latestRevisionName()
      Get the latestRevisionName property: Name of the latest revision of the Container App.
      Returns:
      the latestRevisionName value.
    • latestReadyRevisionName

      public String latestReadyRevisionName()
      Get the latestReadyRevisionName property: Name of the latest ready revision of the Container App.
      Returns:
      the latestReadyRevisionName value.
    • latestRevisionFqdn

      public String latestRevisionFqdn()
      Get the latestRevisionFqdn property: Fully Qualified Domain Name of the latest revision of the Container App.
      Returns:
      the latestRevisionFqdn value.
    • customDomainVerificationId

      public String customDomainVerificationId()
      Get the customDomainVerificationId property: Id used to verify domain name ownership.
      Returns:
      the customDomainVerificationId value.
    • configuration

      public Configuration configuration()
      Get the configuration property: Non versioned Container App configuration properties.
      Returns:
      the configuration value.
    • withConfiguration

      public ContainerAppInner withConfiguration(Configuration configuration)
      Set the configuration property: Non versioned Container App configuration properties.
      Parameters:
      configuration - the configuration value to set.
      Returns:
      the ContainerAppInner object itself.
    • template

      public Template template()
      Get the template property: Container App versioned application definition.
      Returns:
      the template value.
    • withTemplate

      public ContainerAppInner withTemplate(Template template)
      Set the template property: Container App versioned application definition.
      Parameters:
      template - the template value to set.
      Returns:
      the ContainerAppInner object itself.
    • outboundIpAddresses

      public List<String> outboundIpAddresses()
      Get the outboundIpAddresses property: Outbound IP Addresses for container app.
      Returns:
      the outboundIpAddresses value.
    • eventStreamEndpoint

      public String eventStreamEndpoint()
      Get the eventStreamEndpoint property: The endpoint of the eventstream of the container app.
      Returns:
      the eventStreamEndpoint value.
    • 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<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.Resource
      Throws:
      IOException
    • fromJson

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