你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContainerApp Class

Container App.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

ContainerApp(*, ___location: str, tags: Dict[str, str] | None = None, extended_location: _models.ExtendedLocation | None = None, identity: _models.ManagedServiceIdentity | None = None, managed_by: str | None = None, managed_environment_id: str | None = None, environment_id: str | None = None, workload_profile_name: str | None = None, configuration: _models.Configuration | None = None, template: _models.Template | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
___location
str

The geo-___location where the resource lives. Required.

extended_location

The complex type of the extended ___location.

Default value: None
identity

managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.

Default value: None
managed_by
str

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.

Default value: None
managed_environment_id
str

Deprecated. Resource ID of the Container App's environment.

Default value: None
environment_id
str

Resource ID of environment.

Default value: None
workload_profile_name
str

Workload profile name to pin for container app execution.

Default value: None
configuration

Non versioned Container App configuration properties.

Default value: None
template

Container App versioned application definition.

Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

___location
str

The geo-___location where the resource lives. Required.

extended_location

The complex type of the extended ___location.

identity

managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.

managed_by
str

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.

provisioning_state

Provisioning state of the Container App. Known values are: "InProgress", "Succeeded", "Failed", "Canceled", and "Deleting".

running_status

Running status of the Container App. Known values are: "Progressing", "Running", "Stopped", "Suspended", and "Ready".

managed_environment_id
str

Deprecated. Resource ID of the Container App's environment.

environment_id
str

Resource ID of environment.

workload_profile_name
str

Workload profile name to pin for container app execution.

latest_revision_name
str

Name of the latest revision of the Container App.

latest_ready_revision_name
str

Name of the latest ready revision of the Container App.

latest_revision_fqdn
str

Fully Qualified Domain Name of the latest revision of the Container App.

custom_domain_verification_id
str

Id used to verify ___domain name ownership.

configuration

Non versioned Container App configuration properties.

template

Container App versioned application definition.

outbound_ip_addresses

Outbound IP Addresses for container app.

event_stream_endpoint
str

The endpoint of the eventstream of the container app.