@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.63 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get container app resiliency policy.
*
* Uses Azure REST API version 2025-02-02-preview.
*
* Other available API versions: 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview. 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 getAppResiliency(args: GetAppResiliencyArgs, opts?: pulumi.InvokeOptions): Promise<GetAppResiliencyResult>;
export interface GetAppResiliencyArgs {
/**
* Name of the Container App.
*/
appName: string;
/**
* Name of the resiliency policy.
*/
name: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Configuration to setup App Resiliency
*/
export interface GetAppResiliencyResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Policy that defines circuit breaker conditions
*/
readonly circuitBreakerPolicy?: outputs.app.CircuitBreakerPolicyResponse;
/**
* Defines parameters for http connection pooling
*/
readonly httpConnectionPool?: outputs.app.HttpConnectionPoolResponse;
/**
* Policy that defines http request retry conditions
*/
readonly httpRetryPolicy?: outputs.app.HttpRetryPolicyResponse;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.app.SystemDataResponse;
/**
* Defines parameters for tcp connection pooling
*/
readonly tcpConnectionPool?: outputs.app.TcpConnectionPoolResponse;
/**
* Policy that defines tcp request retry conditions
*/
readonly tcpRetryPolicy?: outputs.app.TcpRetryPolicyResponse;
/**
* Policy to set request timeouts
*/
readonly timeoutPolicy?: outputs.app.TimeoutPolicyResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get container app resiliency policy.
*
* Uses Azure REST API version 2025-02-02-preview.
*
* Other available API versions: 2023-08-01-preview, 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview. 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 getAppResiliencyOutput(args: GetAppResiliencyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppResiliencyResult>;
export interface GetAppResiliencyOutputArgs {
/**
* Name of the Container App.
*/
appName: pulumi.Input<string>;
/**
* Name of the resiliency policy.
*/
name: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}