1. Packages
  2. Azure Native v2
  3. API Docs
  4. app
  5. getAppResiliency
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.app.getAppResiliency

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Get container app resiliency policy. Azure REST API version: 2023-08-01-preview.

Other available API versions: 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview.

Using getAppResiliency

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAppResiliency(args: GetAppResiliencyArgs, opts?: InvokeOptions): Promise<GetAppResiliencyResult>
function getAppResiliencyOutput(args: GetAppResiliencyOutputArgs, opts?: InvokeOptions): Output<GetAppResiliencyResult>
Copy
def get_app_resiliency(app_name: Optional[str] = None,
                       name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetAppResiliencyResult
def get_app_resiliency_output(app_name: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       resource_group_name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetAppResiliencyResult]
Copy
func LookupAppResiliency(ctx *Context, args *LookupAppResiliencyArgs, opts ...InvokeOption) (*LookupAppResiliencyResult, error)
func LookupAppResiliencyOutput(ctx *Context, args *LookupAppResiliencyOutputArgs, opts ...InvokeOption) LookupAppResiliencyResultOutput
Copy

> Note: This function is named LookupAppResiliency in the Go SDK.

public static class GetAppResiliency 
{
    public static Task<GetAppResiliencyResult> InvokeAsync(GetAppResiliencyArgs args, InvokeOptions? opts = null)
    public static Output<GetAppResiliencyResult> Invoke(GetAppResiliencyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAppResiliencyResult> getAppResiliency(GetAppResiliencyArgs args, InvokeOptions options)
public static Output<GetAppResiliencyResult> getAppResiliency(GetAppResiliencyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:app:getAppResiliency
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AppName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Container App.
Name
This property is required.
Changes to this property will trigger replacement.
string
Name of the resiliency policy.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AppName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Container App.
Name
This property is required.
Changes to this property will trigger replacement.
string
Name of the resiliency policy.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
appName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Container App.
name
This property is required.
Changes to this property will trigger replacement.
String
Name of the resiliency policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
appName
This property is required.
Changes to this property will trigger replacement.
string
Name of the Container App.
name
This property is required.
Changes to this property will trigger replacement.
string
Name of the resiliency policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
app_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the Container App.
name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resiliency policy.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
appName
This property is required.
Changes to this property will trigger replacement.
String
Name of the Container App.
name
This property is required.
Changes to this property will trigger replacement.
String
Name of the resiliency policy.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getAppResiliency Result

The following output properties are available:

Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
SystemData Pulumi.AzureNative.App.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
CircuitBreakerPolicy Pulumi.AzureNative.App.Outputs.CircuitBreakerPolicyResponse
Policy that defines circuit breaker conditions
HttpConnectionPool Pulumi.AzureNative.App.Outputs.HttpConnectionPoolResponse
Defines parameters for http connection pooling
HttpRetryPolicy Pulumi.AzureNative.App.Outputs.HttpRetryPolicyResponse
Policy that defines http request retry conditions
TcpConnectionPool Pulumi.AzureNative.App.Outputs.TcpConnectionPoolResponse
Defines parameters for tcp connection pooling
TcpRetryPolicy Pulumi.AzureNative.App.Outputs.TcpRetryPolicyResponse
Policy that defines tcp request retry conditions
TimeoutPolicy Pulumi.AzureNative.App.Outputs.TimeoutPolicyResponse
Policy to set request timeouts
Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
CircuitBreakerPolicy CircuitBreakerPolicyResponse
Policy that defines circuit breaker conditions
HttpConnectionPool HttpConnectionPoolResponse
Defines parameters for http connection pooling
HttpRetryPolicy HttpRetryPolicyResponse
Policy that defines http request retry conditions
TcpConnectionPool TcpConnectionPoolResponse
Defines parameters for tcp connection pooling
TcpRetryPolicy TcpRetryPolicyResponse
Policy that defines tcp request retry conditions
TimeoutPolicy TimeoutPolicyResponse
Policy to set request timeouts
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
circuitBreakerPolicy CircuitBreakerPolicyResponse
Policy that defines circuit breaker conditions
httpConnectionPool HttpConnectionPoolResponse
Defines parameters for http connection pooling
httpRetryPolicy HttpRetryPolicyResponse
Policy that defines http request retry conditions
tcpConnectionPool TcpConnectionPoolResponse
Defines parameters for tcp connection pooling
tcpRetryPolicy TcpRetryPolicyResponse
Policy that defines tcp request retry conditions
timeoutPolicy TimeoutPolicyResponse
Policy to set request timeouts
id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
circuitBreakerPolicy CircuitBreakerPolicyResponse
Policy that defines circuit breaker conditions
httpConnectionPool HttpConnectionPoolResponse
Defines parameters for http connection pooling
httpRetryPolicy HttpRetryPolicyResponse
Policy that defines http request retry conditions
tcpConnectionPool TcpConnectionPoolResponse
Defines parameters for tcp connection pooling
tcpRetryPolicy TcpRetryPolicyResponse
Policy that defines tcp request retry conditions
timeoutPolicy TimeoutPolicyResponse
Policy to set request timeouts
id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
circuit_breaker_policy CircuitBreakerPolicyResponse
Policy that defines circuit breaker conditions
http_connection_pool HttpConnectionPoolResponse
Defines parameters for http connection pooling
http_retry_policy HttpRetryPolicyResponse
Policy that defines http request retry conditions
tcp_connection_pool TcpConnectionPoolResponse
Defines parameters for tcp connection pooling
tcp_retry_policy TcpRetryPolicyResponse
Policy that defines tcp request retry conditions
timeout_policy TimeoutPolicyResponse
Policy to set request timeouts
id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
circuitBreakerPolicy Property Map
Policy that defines circuit breaker conditions
httpConnectionPool Property Map
Defines parameters for http connection pooling
httpRetryPolicy Property Map
Policy that defines http request retry conditions
tcpConnectionPool Property Map
Defines parameters for tcp connection pooling
tcpRetryPolicy Property Map
Policy that defines tcp request retry conditions
timeoutPolicy Property Map
Policy to set request timeouts

Supporting Types

CircuitBreakerPolicyResponse

ConsecutiveErrors int
Number of consecutive errors before the circuit breaker opens
IntervalInSeconds int
The time interval, in seconds, between endpoint checks. This can result in opening the circuit breaker if the check fails as well as closing the circuit breaker if the check succeeds. Defaults to 10s.
MaxEjectionPercent int
Maximum percentage of hosts that will be ejected after failure threshold has been met
ConsecutiveErrors int
Number of consecutive errors before the circuit breaker opens
IntervalInSeconds int
The time interval, in seconds, between endpoint checks. This can result in opening the circuit breaker if the check fails as well as closing the circuit breaker if the check succeeds. Defaults to 10s.
MaxEjectionPercent int
Maximum percentage of hosts that will be ejected after failure threshold has been met
consecutiveErrors Integer
Number of consecutive errors before the circuit breaker opens
intervalInSeconds Integer
The time interval, in seconds, between endpoint checks. This can result in opening the circuit breaker if the check fails as well as closing the circuit breaker if the check succeeds. Defaults to 10s.
maxEjectionPercent Integer
Maximum percentage of hosts that will be ejected after failure threshold has been met
consecutiveErrors number
Number of consecutive errors before the circuit breaker opens
intervalInSeconds number
The time interval, in seconds, between endpoint checks. This can result in opening the circuit breaker if the check fails as well as closing the circuit breaker if the check succeeds. Defaults to 10s.
maxEjectionPercent number
Maximum percentage of hosts that will be ejected after failure threshold has been met
consecutive_errors int
Number of consecutive errors before the circuit breaker opens
interval_in_seconds int
The time interval, in seconds, between endpoint checks. This can result in opening the circuit breaker if the check fails as well as closing the circuit breaker if the check succeeds. Defaults to 10s.
max_ejection_percent int
Maximum percentage of hosts that will be ejected after failure threshold has been met
consecutiveErrors Number
Number of consecutive errors before the circuit breaker opens
intervalInSeconds Number
The time interval, in seconds, between endpoint checks. This can result in opening the circuit breaker if the check fails as well as closing the circuit breaker if the check succeeds. Defaults to 10s.
maxEjectionPercent Number
Maximum percentage of hosts that will be ejected after failure threshold has been met

HeaderMatchResponse

ExactMatch string
Exact value of the header
Header string
Name of the header
PrefixMatch string
Prefix value of the header
RegexMatch string
Regex value of the header
SuffixMatch string
Suffix value of the header
ExactMatch string
Exact value of the header
Header string
Name of the header
PrefixMatch string
Prefix value of the header
RegexMatch string
Regex value of the header
SuffixMatch string
Suffix value of the header
exactMatch String
Exact value of the header
header String
Name of the header
prefixMatch String
Prefix value of the header
regexMatch String
Regex value of the header
suffixMatch String
Suffix value of the header
exactMatch string
Exact value of the header
header string
Name of the header
prefixMatch string
Prefix value of the header
regexMatch string
Regex value of the header
suffixMatch string
Suffix value of the header
exact_match str
Exact value of the header
header str
Name of the header
prefix_match str
Prefix value of the header
regex_match str
Regex value of the header
suffix_match str
Suffix value of the header
exactMatch String
Exact value of the header
header String
Name of the header
prefixMatch String
Prefix value of the header
regexMatch String
Regex value of the header
suffixMatch String
Suffix value of the header

HttpConnectionPoolResponse

Http1MaxPendingRequests int
Maximum number of pending http1 requests allowed
Http2MaxRequests int
Maximum number of http2 requests allowed
Http1MaxPendingRequests int
Maximum number of pending http1 requests allowed
Http2MaxRequests int
Maximum number of http2 requests allowed
http1MaxPendingRequests Integer
Maximum number of pending http1 requests allowed
http2MaxRequests Integer
Maximum number of http2 requests allowed
http1MaxPendingRequests number
Maximum number of pending http1 requests allowed
http2MaxRequests number
Maximum number of http2 requests allowed
http1_max_pending_requests int
Maximum number of pending http1 requests allowed
http2_max_requests int
Maximum number of http2 requests allowed
http1MaxPendingRequests Number
Maximum number of pending http1 requests allowed
http2MaxRequests Number
Maximum number of http2 requests allowed

HttpRetryPolicyResponse

Errors List<string>
Errors that can trigger a retry
Headers List<Pulumi.AzureNative.App.Inputs.HeaderMatchResponse>
Headers that must be present for a request to be retried
HttpStatusCodes List<int>
Additional http status codes that can trigger a retry
InitialDelayInMilliseconds double
Initial delay, in milliseconds, before retrying a request
MaxIntervalInMilliseconds double
Maximum interval, in milliseconds, between retries
MaxRetries int
Maximum number of times a request will retry
Errors []string
Errors that can trigger a retry
Headers []HeaderMatchResponse
Headers that must be present for a request to be retried
HttpStatusCodes []int
Additional http status codes that can trigger a retry
InitialDelayInMilliseconds float64
Initial delay, in milliseconds, before retrying a request
MaxIntervalInMilliseconds float64
Maximum interval, in milliseconds, between retries
MaxRetries int
Maximum number of times a request will retry
errors List<String>
Errors that can trigger a retry
headers List<HeaderMatchResponse>
Headers that must be present for a request to be retried
httpStatusCodes List<Integer>
Additional http status codes that can trigger a retry
initialDelayInMilliseconds Double
Initial delay, in milliseconds, before retrying a request
maxIntervalInMilliseconds Double
Maximum interval, in milliseconds, between retries
maxRetries Integer
Maximum number of times a request will retry
errors string[]
Errors that can trigger a retry
headers HeaderMatchResponse[]
Headers that must be present for a request to be retried
httpStatusCodes number[]
Additional http status codes that can trigger a retry
initialDelayInMilliseconds number
Initial delay, in milliseconds, before retrying a request
maxIntervalInMilliseconds number
Maximum interval, in milliseconds, between retries
maxRetries number
Maximum number of times a request will retry
errors Sequence[str]
Errors that can trigger a retry
headers Sequence[HeaderMatchResponse]
Headers that must be present for a request to be retried
http_status_codes Sequence[int]
Additional http status codes that can trigger a retry
initial_delay_in_milliseconds float
Initial delay, in milliseconds, before retrying a request
max_interval_in_milliseconds float
Maximum interval, in milliseconds, between retries
max_retries int
Maximum number of times a request will retry
errors List<String>
Errors that can trigger a retry
headers List<Property Map>
Headers that must be present for a request to be retried
httpStatusCodes List<Number>
Additional http status codes that can trigger a retry
initialDelayInMilliseconds Number
Initial delay, in milliseconds, before retrying a request
maxIntervalInMilliseconds Number
Maximum interval, in milliseconds, between retries
maxRetries Number
Maximum number of times a request will retry

SystemDataResponse

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

TcpConnectionPoolResponse

MaxConnections int
Maximum number of tcp connections allowed
MaxConnections int
Maximum number of tcp connections allowed
maxConnections Integer
Maximum number of tcp connections allowed
maxConnections number
Maximum number of tcp connections allowed
max_connections int
Maximum number of tcp connections allowed
maxConnections Number
Maximum number of tcp connections allowed

TcpRetryPolicyResponse

MaxConnectAttempts int
Maximum number of attempts to connect to the tcp service
MaxConnectAttempts int
Maximum number of attempts to connect to the tcp service
maxConnectAttempts Integer
Maximum number of attempts to connect to the tcp service
maxConnectAttempts number
Maximum number of attempts to connect to the tcp service
max_connect_attempts int
Maximum number of attempts to connect to the tcp service
maxConnectAttempts Number
Maximum number of attempts to connect to the tcp service

TimeoutPolicyResponse

ConnectionTimeoutInSeconds int
Timeout, in seconds, for a request to initiate a connection
ResponseTimeoutInSeconds int
Timeout, in seconds, for a request to respond
ConnectionTimeoutInSeconds int
Timeout, in seconds, for a request to initiate a connection
ResponseTimeoutInSeconds int
Timeout, in seconds, for a request to respond
connectionTimeoutInSeconds Integer
Timeout, in seconds, for a request to initiate a connection
responseTimeoutInSeconds Integer
Timeout, in seconds, for a request to respond
connectionTimeoutInSeconds number
Timeout, in seconds, for a request to initiate a connection
responseTimeoutInSeconds number
Timeout, in seconds, for a request to respond
connection_timeout_in_seconds int
Timeout, in seconds, for a request to initiate a connection
response_timeout_in_seconds int
Timeout, in seconds, for a request to respond
connectionTimeoutInSeconds Number
Timeout, in seconds, for a request to initiate a connection
responseTimeoutInSeconds Number
Timeout, in seconds, for a request to respond

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi