Class ContainerAppInner
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the configuration property: Non versioned Container App configuration properties.Get the customDomainVerificationId property: Id used to verify domain name ownership.Get the environmentId property: Resource ID of environment.Get the eventStreamEndpoint property: The endpoint of the eventstream of the container app.Get the extendedLocation property: The complex type of the extended location.static ContainerAppInner
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerAppInner from the JsonReader.id()
Get the id property: Fully qualified resource Id for the resource.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.Get the latestReadyRevisionName property: Name of the latest ready revision of the Container App.Get the latestRevisionFqdn property: Fully Qualified Domain Name of the latest revision of the Container App.Get the latestRevisionName property: Name of the latest revision of the Container App.Get the managedBy property: The fully qualified resource ID of the resource that manages this resource.Get the managedEnvironmentId property: Deprecated.name()
Get the name property: The name of the resource.Get the outboundIpAddresses property: Outbound IP Addresses for container app.Get the provisioningState property: Provisioning state of the Container App.Get the runningStatus property: Running status of the Container App.com.azure.core.management.SystemData
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.template()
Get the template property: Container App versioned application definition.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) type()
Get the type property: The type of the resource.void
validate()
Validates the instance.withConfiguration
(Configuration configuration) Set the configuration property: Non versioned Container App configuration properties.withEnvironmentId
(String environmentId) Set the environmentId property: Resource ID of environment.withExtendedLocation
(ExtendedLocation extendedLocation) Set the extendedLocation property: The complex type of the extended location.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.withLocation
(String location) withManagedBy
(String managedBy) Set the managedBy property: The fully qualified resource ID of the resource that manages this resource.withManagedEnvironmentId
(String managedEnvironmentId) Set the managedEnvironmentId property: Deprecated.withTemplate
(Template template) Set the template property: Container App versioned application definition.withWorkloadProfileName
(String workloadProfileName) Set the workloadProfileName property: Workload profile name to pin for container app execution.Get the workloadProfileName property: Workload profile name to pin for container app execution.Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ContainerAppInner
public ContainerAppInner()Creates an instance of ContainerAppInner class.
-
-
Method Details
-
extendedLocation
Get the extendedLocation property: The complex type of the extended location.- Returns:
- the extendedLocation value.
-
withExtendedLocation
Set the extendedLocation property: The complex type of the extended location.- Parameters:
extendedLocation
- the extendedLocation value to set.- Returns:
- the ContainerAppInner object itself.
-
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
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
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
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
Get the type property: The type of the resource.- Overrides:
type
in classcom.azure.core.management.ProxyResource
- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
name
in classcom.azure.core.management.ProxyResource
- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
id
in classcom.azure.core.management.ProxyResource
- Returns:
- the id value.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
provisioningState
Get the provisioningState property: Provisioning state of the Container App.- Returns:
- the provisioningState value.
-
runningStatus
Get the runningStatus property: Running status of the Container App.- Returns:
- the runningStatus value.
-
managedEnvironmentId
Get the managedEnvironmentId property: Deprecated. Resource ID of the Container App's environment.- Returns:
- the managedEnvironmentId value.
-
withManagedEnvironmentId
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
Get the environmentId property: Resource ID of environment.- Returns:
- the environmentId value.
-
withEnvironmentId
Set the environmentId property: Resource ID of environment.- Parameters:
environmentId
- the environmentId value to set.- Returns:
- the ContainerAppInner object itself.
-
workloadProfileName
Get the workloadProfileName property: Workload profile name to pin for container app execution.- Returns:
- the workloadProfileName value.
-
withWorkloadProfileName
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
Get the latestRevisionName property: Name of the latest revision of the Container App.- Returns:
- the latestRevisionName value.
-
latestReadyRevisionName
Get the latestReadyRevisionName property: Name of the latest ready revision of the Container App.- Returns:
- the latestReadyRevisionName value.
-
latestRevisionFqdn
Get the latestRevisionFqdn property: Fully Qualified Domain Name of the latest revision of the Container App.- Returns:
- the latestRevisionFqdn value.
-
customDomainVerificationId
Get the customDomainVerificationId property: Id used to verify domain name ownership.- Returns:
- the customDomainVerificationId value.
-
configuration
Get the configuration property: Non versioned Container App configuration properties.- Returns:
- the configuration value.
-
withConfiguration
Set the configuration property: Non versioned Container App configuration properties.- Parameters:
configuration
- the configuration value to set.- Returns:
- the ContainerAppInner object itself.
-
template
Get the template property: Container App versioned application definition.- Returns:
- the template value.
-
withTemplate
Set the template property: Container App versioned application definition.- Parameters:
template
- the template value to set.- Returns:
- the ContainerAppInner object itself.
-
outboundIpAddresses
Get the outboundIpAddresses property: Outbound IP Addresses for container app.- Returns:
- the outboundIpAddresses value.
-
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
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
- Overrides:
toJson
in classcom.azure.core.management.Resource
- Throws:
IOException
-
fromJson
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.
-