@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 5.77 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Container App.
*
* Uses Azure REST API version 2025-02-02-preview.
*
* Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01, 2025-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getContainerApp(args: GetContainerAppArgs, opts?: pulumi.InvokeOptions): Promise<GetContainerAppResult>;
export interface GetContainerAppArgs {
/**
* Name of the Container App.
*/
containerAppName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Container App.
*/
export interface GetContainerAppResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Non versioned Container App configuration properties.
*/
readonly configuration?: outputs.app.ConfigurationResponse;
/**
* Id used to verify domain name ownership
*/
readonly customDomainVerificationId: string;
/**
* Any errors that occurred during deployment
*/
readonly deploymentErrors: string;
/**
* Resource ID of environment.
*/
readonly environmentId?: string;
/**
* The endpoint of the eventstream of the container app.
*/
readonly eventStreamEndpoint: string;
/**
* The complex type of the extended location.
*/
readonly extendedLocation?: outputs.app.ExtendedLocationResponse;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* managed identities for the Container App to interact with other Azure services without maintaining any secrets or credentials in code.
*/
readonly identity?: outputs.app.ManagedServiceIdentityResponse;
/**
* Metadata used to render different experiences for resources of the same type; e.g. WorkflowApp is a kind of Microsoft.App/ContainerApps type. If supported, the resource provider must validate and persist this value.
*/
readonly kind?: string;
/**
* Name of the latest ready revision of the Container App.
*/
readonly latestReadyRevisionName: string;
/**
* Fully Qualified Domain Name of the latest revision of the Container App.
*/
readonly latestRevisionFqdn: string;
/**
* Name of the latest revision of the Container App.
*/
readonly latestRevisionName: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* 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.
*/
readonly managedBy?: string;
/**
* Deprecated. Resource ID of the Container App's environment.
*/
readonly managedEnvironmentId?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Outbound IP Addresses for container app.
*/
readonly outboundIpAddresses: string[];
/**
* Container App auto patch configuration.
*/
readonly patchingConfiguration?: outputs.app.ContainerAppResponsePatchingConfiguration;
/**
* Provisioning state of the Container App.
*/
readonly provisioningState: string;
/**
* Running status of the Container App.
*/
readonly runningStatus: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.app.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* Container App versioned application definition.
*/
readonly template?: outputs.app.TemplateResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* Workload profile name to pin for container app execution.
*/
readonly workloadProfileName?: string;
}
/**
* Container App.
*
* Uses Azure REST API version 2025-02-02-preview.
*
* Other available API versions: 2022-10-01, 2022-11-01-preview, 2023-04-01-preview, 2023-05-01, 2023-05-02-preview, 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-03-01, 2024-08-02-preview, 2024-10-02-preview, 2025-01-01, 2025-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native app [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getContainerAppOutput(args: GetContainerAppOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetContainerAppResult>;
export interface GetContainerAppOutputArgs {
/**
* Name of the Container App.
*/
containerAppName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}