azure-native.app.AppResiliency
Explore with Pulumi AI
Configuration to setup App Resiliency Azure REST API version: 2023-08-01-preview.
Other available API versions: 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview.
Example Usage
Create or Update App Resiliency
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var appResiliency = new AzureNative.App.AppResiliency("appResiliency", new()
{
AppName = "testcontainerApp0",
CircuitBreakerPolicy = new AzureNative.App.Inputs.CircuitBreakerPolicyArgs
{
ConsecutiveErrors = 5,
IntervalInSeconds = 10,
MaxEjectionPercent = 50,
},
HttpConnectionPool = new AzureNative.App.Inputs.HttpConnectionPoolArgs
{
Http1MaxPendingRequests = 1024,
Http2MaxRequests = 1024,
},
HttpRetryPolicy = new AzureNative.App.Inputs.HttpRetryPolicyArgs
{
Errors = new[]
{
"5xx",
"connect-failure",
"reset",
"retriable-headers",
"retriable-status-codes",
},
Headers = new[]
{
new AzureNative.App.Inputs.HeaderMatchArgs
{
Header = "X-Content-Type",
PrefixMatch = "GOATS",
},
},
HttpStatusCodes = new[]
{
502,
503,
},
InitialDelayInMilliseconds = 1000,
MaxIntervalInMilliseconds = 10000,
MaxRetries = 5,
},
Name = "resiliency-policy-1",
ResourceGroupName = "rg",
TcpConnectionPool = new AzureNative.App.Inputs.TcpConnectionPoolArgs
{
MaxConnections = 100,
},
TcpRetryPolicy = new AzureNative.App.Inputs.TcpRetryPolicyArgs
{
MaxConnectAttempts = 3,
},
TimeoutPolicy = new AzureNative.App.Inputs.TimeoutPolicyArgs
{
ConnectionTimeoutInSeconds = 5,
ResponseTimeoutInSeconds = 15,
},
});
});
package main
import (
app "github.com/pulumi/pulumi-azure-native-sdk/app/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := app.NewAppResiliency(ctx, "appResiliency", &app.AppResiliencyArgs{
AppName: pulumi.String("testcontainerApp0"),
CircuitBreakerPolicy: &app.CircuitBreakerPolicyArgs{
ConsecutiveErrors: pulumi.Int(5),
IntervalInSeconds: pulumi.Int(10),
MaxEjectionPercent: pulumi.Int(50),
},
HttpConnectionPool: &app.HttpConnectionPoolArgs{
Http1MaxPendingRequests: pulumi.Int(1024),
Http2MaxRequests: pulumi.Int(1024),
},
HttpRetryPolicy: &app.HttpRetryPolicyArgs{
Errors: pulumi.StringArray{
pulumi.String("5xx"),
pulumi.String("connect-failure"),
pulumi.String("reset"),
pulumi.String("retriable-headers"),
pulumi.String("retriable-status-codes"),
},
Headers: app.HeaderMatchArray{
&app.HeaderMatchArgs{
Header: pulumi.String("X-Content-Type"),
PrefixMatch: pulumi.String("GOATS"),
},
},
HttpStatusCodes: pulumi.IntArray{
pulumi.Int(502),
pulumi.Int(503),
},
InitialDelayInMilliseconds: pulumi.Float64(1000),
MaxIntervalInMilliseconds: pulumi.Float64(10000),
MaxRetries: pulumi.Int(5),
},
Name: pulumi.String("resiliency-policy-1"),
ResourceGroupName: pulumi.String("rg"),
TcpConnectionPool: &app.TcpConnectionPoolArgs{
MaxConnections: pulumi.Int(100),
},
TcpRetryPolicy: &app.TcpRetryPolicyArgs{
MaxConnectAttempts: pulumi.Int(3),
},
TimeoutPolicy: &app.TimeoutPolicyArgs{
ConnectionTimeoutInSeconds: pulumi.Int(5),
ResponseTimeoutInSeconds: pulumi.Int(15),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.app.AppResiliency;
import com.pulumi.azurenative.app.AppResiliencyArgs;
import com.pulumi.azurenative.app.inputs.CircuitBreakerPolicyArgs;
import com.pulumi.azurenative.app.inputs.HttpConnectionPoolArgs;
import com.pulumi.azurenative.app.inputs.HttpRetryPolicyArgs;
import com.pulumi.azurenative.app.inputs.TcpConnectionPoolArgs;
import com.pulumi.azurenative.app.inputs.TcpRetryPolicyArgs;
import com.pulumi.azurenative.app.inputs.TimeoutPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var appResiliency = new AppResiliency("appResiliency", AppResiliencyArgs.builder()
.appName("testcontainerApp0")
.circuitBreakerPolicy(CircuitBreakerPolicyArgs.builder()
.consecutiveErrors(5)
.intervalInSeconds(10)
.maxEjectionPercent(50)
.build())
.httpConnectionPool(HttpConnectionPoolArgs.builder()
.http1MaxPendingRequests(1024)
.http2MaxRequests(1024)
.build())
.httpRetryPolicy(HttpRetryPolicyArgs.builder()
.errors(
"5xx",
"connect-failure",
"reset",
"retriable-headers",
"retriable-status-codes")
.headers(HeaderMatchArgs.builder()
.header("X-Content-Type")
.prefixMatch("GOATS")
.build())
.httpStatusCodes(
502,
503)
.initialDelayInMilliseconds(1000)
.maxIntervalInMilliseconds(10000)
.maxRetries(5)
.build())
.name("resiliency-policy-1")
.resourceGroupName("rg")
.tcpConnectionPool(TcpConnectionPoolArgs.builder()
.maxConnections(100)
.build())
.tcpRetryPolicy(TcpRetryPolicyArgs.builder()
.maxConnectAttempts(3)
.build())
.timeoutPolicy(TimeoutPolicyArgs.builder()
.connectionTimeoutInSeconds(5)
.responseTimeoutInSeconds(15)
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
app_resiliency = azure_native.app.AppResiliency("appResiliency",
app_name="testcontainerApp0",
circuit_breaker_policy={
"consecutive_errors": 5,
"interval_in_seconds": 10,
"max_ejection_percent": 50,
},
http_connection_pool={
"http1_max_pending_requests": 1024,
"http2_max_requests": 1024,
},
http_retry_policy={
"errors": [
"5xx",
"connect-failure",
"reset",
"retriable-headers",
"retriable-status-codes",
],
"headers": [{
"header": "X-Content-Type",
"prefix_match": "GOATS",
}],
"http_status_codes": [
502,
503,
],
"initial_delay_in_milliseconds": 1000,
"max_interval_in_milliseconds": 10000,
"max_retries": 5,
},
name="resiliency-policy-1",
resource_group_name="rg",
tcp_connection_pool={
"max_connections": 100,
},
tcp_retry_policy={
"max_connect_attempts": 3,
},
timeout_policy={
"connection_timeout_in_seconds": 5,
"response_timeout_in_seconds": 15,
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const appResiliency = new azure_native.app.AppResiliency("appResiliency", {
appName: "testcontainerApp0",
circuitBreakerPolicy: {
consecutiveErrors: 5,
intervalInSeconds: 10,
maxEjectionPercent: 50,
},
httpConnectionPool: {
http1MaxPendingRequests: 1024,
http2MaxRequests: 1024,
},
httpRetryPolicy: {
errors: [
"5xx",
"connect-failure",
"reset",
"retriable-headers",
"retriable-status-codes",
],
headers: [{
header: "X-Content-Type",
prefixMatch: "GOATS",
}],
httpStatusCodes: [
502,
503,
],
initialDelayInMilliseconds: 1000,
maxIntervalInMilliseconds: 10000,
maxRetries: 5,
},
name: "resiliency-policy-1",
resourceGroupName: "rg",
tcpConnectionPool: {
maxConnections: 100,
},
tcpRetryPolicy: {
maxConnectAttempts: 3,
},
timeoutPolicy: {
connectionTimeoutInSeconds: 5,
responseTimeoutInSeconds: 15,
},
});
resources:
appResiliency:
type: azure-native:app:AppResiliency
properties:
appName: testcontainerApp0
circuitBreakerPolicy:
consecutiveErrors: 5
intervalInSeconds: 10
maxEjectionPercent: 50
httpConnectionPool:
http1MaxPendingRequests: 1024
http2MaxRequests: 1024
httpRetryPolicy:
errors:
- 5xx
- connect-failure
- reset
- retriable-headers
- retriable-status-codes
headers:
- header: X-Content-Type
prefixMatch: GOATS
httpStatusCodes:
- 502
- 503
initialDelayInMilliseconds: 1000
maxIntervalInMilliseconds: 10000
maxRetries: 5
name: resiliency-policy-1
resourceGroupName: rg
tcpConnectionPool:
maxConnections: 100
tcpRetryPolicy:
maxConnectAttempts: 3
timeoutPolicy:
connectionTimeoutInSeconds: 5
responseTimeoutInSeconds: 15
Create AppResiliency Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppResiliency(name: string, args: AppResiliencyArgs, opts?: CustomResourceOptions);
@overload
def AppResiliency(resource_name: str,
args: AppResiliencyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppResiliency(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
circuit_breaker_policy: Optional[CircuitBreakerPolicyArgs] = None,
http_connection_pool: Optional[HttpConnectionPoolArgs] = None,
http_retry_policy: Optional[HttpRetryPolicyArgs] = None,
name: Optional[str] = None,
tcp_connection_pool: Optional[TcpConnectionPoolArgs] = None,
tcp_retry_policy: Optional[TcpRetryPolicyArgs] = None,
timeout_policy: Optional[TimeoutPolicyArgs] = None)
func NewAppResiliency(ctx *Context, name string, args AppResiliencyArgs, opts ...ResourceOption) (*AppResiliency, error)
public AppResiliency(string name, AppResiliencyArgs args, CustomResourceOptions? opts = null)
public AppResiliency(String name, AppResiliencyArgs args)
public AppResiliency(String name, AppResiliencyArgs args, CustomResourceOptions options)
type: azure-native:app:AppResiliency
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppResiliencyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppResiliencyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppResiliencyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppResiliencyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppResiliencyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appResiliencyResource = new AzureNative.App.AppResiliency("appResiliencyResource", new()
{
AppName = "string",
ResourceGroupName = "string",
CircuitBreakerPolicy = new AzureNative.App.Inputs.CircuitBreakerPolicyArgs
{
ConsecutiveErrors = 0,
IntervalInSeconds = 0,
MaxEjectionPercent = 0,
},
HttpConnectionPool = new AzureNative.App.Inputs.HttpConnectionPoolArgs
{
Http1MaxPendingRequests = 0,
Http2MaxRequests = 0,
},
HttpRetryPolicy = new AzureNative.App.Inputs.HttpRetryPolicyArgs
{
Errors = new[]
{
"string",
},
Headers = new[]
{
new AzureNative.App.Inputs.HeaderMatchArgs
{
ExactMatch = "string",
Header = "string",
PrefixMatch = "string",
RegexMatch = "string",
SuffixMatch = "string",
},
},
HttpStatusCodes = new[]
{
0,
},
InitialDelayInMilliseconds = 0,
MaxIntervalInMilliseconds = 0,
MaxRetries = 0,
},
Name = "string",
TcpConnectionPool = new AzureNative.App.Inputs.TcpConnectionPoolArgs
{
MaxConnections = 0,
},
TcpRetryPolicy = new AzureNative.App.Inputs.TcpRetryPolicyArgs
{
MaxConnectAttempts = 0,
},
TimeoutPolicy = new AzureNative.App.Inputs.TimeoutPolicyArgs
{
ConnectionTimeoutInSeconds = 0,
ResponseTimeoutInSeconds = 0,
},
});
example, err := app.NewAppResiliency(ctx, "appResiliencyResource", &app.AppResiliencyArgs{
AppName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
CircuitBreakerPolicy: &app.CircuitBreakerPolicyArgs{
ConsecutiveErrors: pulumi.Int(0),
IntervalInSeconds: pulumi.Int(0),
MaxEjectionPercent: pulumi.Int(0),
},
HttpConnectionPool: &app.HttpConnectionPoolArgs{
Http1MaxPendingRequests: pulumi.Int(0),
Http2MaxRequests: pulumi.Int(0),
},
HttpRetryPolicy: &app.HttpRetryPolicyArgs{
Errors: pulumi.StringArray{
pulumi.String("string"),
},
Headers: app.HeaderMatchArray{
&app.HeaderMatchArgs{
ExactMatch: pulumi.String("string"),
Header: pulumi.String("string"),
PrefixMatch: pulumi.String("string"),
RegexMatch: pulumi.String("string"),
SuffixMatch: pulumi.String("string"),
},
},
HttpStatusCodes: pulumi.IntArray{
pulumi.Int(0),
},
InitialDelayInMilliseconds: pulumi.Float64(0),
MaxIntervalInMilliseconds: pulumi.Float64(0),
MaxRetries: pulumi.Int(0),
},
Name: pulumi.String("string"),
TcpConnectionPool: &app.TcpConnectionPoolArgs{
MaxConnections: pulumi.Int(0),
},
TcpRetryPolicy: &app.TcpRetryPolicyArgs{
MaxConnectAttempts: pulumi.Int(0),
},
TimeoutPolicy: &app.TimeoutPolicyArgs{
ConnectionTimeoutInSeconds: pulumi.Int(0),
ResponseTimeoutInSeconds: pulumi.Int(0),
},
})
var appResiliencyResource = new AppResiliency("appResiliencyResource", AppResiliencyArgs.builder()
.appName("string")
.resourceGroupName("string")
.circuitBreakerPolicy(CircuitBreakerPolicyArgs.builder()
.consecutiveErrors(0)
.intervalInSeconds(0)
.maxEjectionPercent(0)
.build())
.httpConnectionPool(HttpConnectionPoolArgs.builder()
.http1MaxPendingRequests(0)
.http2MaxRequests(0)
.build())
.httpRetryPolicy(HttpRetryPolicyArgs.builder()
.errors("string")
.headers(HeaderMatchArgs.builder()
.exactMatch("string")
.header("string")
.prefixMatch("string")
.regexMatch("string")
.suffixMatch("string")
.build())
.httpStatusCodes(0)
.initialDelayInMilliseconds(0)
.maxIntervalInMilliseconds(0)
.maxRetries(0)
.build())
.name("string")
.tcpConnectionPool(TcpConnectionPoolArgs.builder()
.maxConnections(0)
.build())
.tcpRetryPolicy(TcpRetryPolicyArgs.builder()
.maxConnectAttempts(0)
.build())
.timeoutPolicy(TimeoutPolicyArgs.builder()
.connectionTimeoutInSeconds(0)
.responseTimeoutInSeconds(0)
.build())
.build());
app_resiliency_resource = azure_native.app.AppResiliency("appResiliencyResource",
app_name="string",
resource_group_name="string",
circuit_breaker_policy={
"consecutive_errors": 0,
"interval_in_seconds": 0,
"max_ejection_percent": 0,
},
http_connection_pool={
"http1_max_pending_requests": 0,
"http2_max_requests": 0,
},
http_retry_policy={
"errors": ["string"],
"headers": [{
"exact_match": "string",
"header": "string",
"prefix_match": "string",
"regex_match": "string",
"suffix_match": "string",
}],
"http_status_codes": [0],
"initial_delay_in_milliseconds": 0,
"max_interval_in_milliseconds": 0,
"max_retries": 0,
},
name="string",
tcp_connection_pool={
"max_connections": 0,
},
tcp_retry_policy={
"max_connect_attempts": 0,
},
timeout_policy={
"connection_timeout_in_seconds": 0,
"response_timeout_in_seconds": 0,
})
const appResiliencyResource = new azure_native.app.AppResiliency("appResiliencyResource", {
appName: "string",
resourceGroupName: "string",
circuitBreakerPolicy: {
consecutiveErrors: 0,
intervalInSeconds: 0,
maxEjectionPercent: 0,
},
httpConnectionPool: {
http1MaxPendingRequests: 0,
http2MaxRequests: 0,
},
httpRetryPolicy: {
errors: ["string"],
headers: [{
exactMatch: "string",
header: "string",
prefixMatch: "string",
regexMatch: "string",
suffixMatch: "string",
}],
httpStatusCodes: [0],
initialDelayInMilliseconds: 0,
maxIntervalInMilliseconds: 0,
maxRetries: 0,
},
name: "string",
tcpConnectionPool: {
maxConnections: 0,
},
tcpRetryPolicy: {
maxConnectAttempts: 0,
},
timeoutPolicy: {
connectionTimeoutInSeconds: 0,
responseTimeoutInSeconds: 0,
},
});
type: azure-native:app:AppResiliency
properties:
appName: string
circuitBreakerPolicy:
consecutiveErrors: 0
intervalInSeconds: 0
maxEjectionPercent: 0
httpConnectionPool:
http1MaxPendingRequests: 0
http2MaxRequests: 0
httpRetryPolicy:
errors:
- string
headers:
- exactMatch: string
header: string
prefixMatch: string
regexMatch: string
suffixMatch: string
httpStatusCodes:
- 0
initialDelayInMilliseconds: 0
maxIntervalInMilliseconds: 0
maxRetries: 0
name: string
resourceGroupName: string
tcpConnectionPool:
maxConnections: 0
tcpRetryPolicy:
maxConnectAttempts: 0
timeoutPolicy:
connectionTimeoutInSeconds: 0
responseTimeoutInSeconds: 0
AppResiliency Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppResiliency resource accepts the following input properties:
- App
Name string - Name of the Container App.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Circuit
Breaker Pulumi.Policy Azure Native. App. Inputs. Circuit Breaker Policy - Policy that defines circuit breaker conditions
- Http
Connection Pulumi.Pool Azure Native. App. Inputs. Http Connection Pool - Defines parameters for http connection pooling
- Http
Retry Pulumi.Policy Azure Native. App. Inputs. Http Retry Policy - Policy that defines http request retry conditions
- Name string
- Name of the resiliency policy.
- Tcp
Connection Pulumi.Pool Azure Native. App. Inputs. Tcp Connection Pool - Defines parameters for tcp connection pooling
- Tcp
Retry Pulumi.Policy Azure Native. App. Inputs. Tcp Retry Policy - Policy that defines tcp request retry conditions
- Timeout
Policy Pulumi.Azure Native. App. Inputs. Timeout Policy - Policy to set request timeouts
- App
Name string - Name of the Container App.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Circuit
Breaker CircuitPolicy Breaker Policy Args - Policy that defines circuit breaker conditions
- Http
Connection HttpPool Connection Pool Args - Defines parameters for http connection pooling
- Http
Retry HttpPolicy Retry Policy Args - Policy that defines http request retry conditions
- Name string
- Name of the resiliency policy.
- Tcp
Connection TcpPool Connection Pool Args - Defines parameters for tcp connection pooling
- Tcp
Retry TcpPolicy Retry Policy Args - Policy that defines tcp request retry conditions
- Timeout
Policy TimeoutPolicy Args - Policy to set request timeouts
- app
Name String - Name of the Container App.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- circuit
Breaker CircuitPolicy Breaker Policy - Policy that defines circuit breaker conditions
- http
Connection HttpPool Connection Pool - Defines parameters for http connection pooling
- http
Retry HttpPolicy Retry Policy - Policy that defines http request retry conditions
- name String
- Name of the resiliency policy.
- tcp
Connection TcpPool Connection Pool - Defines parameters for tcp connection pooling
- tcp
Retry TcpPolicy Retry Policy - Policy that defines tcp request retry conditions
- timeout
Policy TimeoutPolicy - Policy to set request timeouts
- app
Name string - Name of the Container App.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- circuit
Breaker CircuitPolicy Breaker Policy - Policy that defines circuit breaker conditions
- http
Connection HttpPool Connection Pool - Defines parameters for http connection pooling
- http
Retry HttpPolicy Retry Policy - Policy that defines http request retry conditions
- name string
- Name of the resiliency policy.
- tcp
Connection TcpPool Connection Pool - Defines parameters for tcp connection pooling
- tcp
Retry TcpPolicy Retry Policy - Policy that defines tcp request retry conditions
- timeout
Policy TimeoutPolicy - Policy to set request timeouts
- app_
name str - Name of the Container App.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- circuit_
breaker_ Circuitpolicy Breaker Policy Args - Policy that defines circuit breaker conditions
- http_
connection_ Httppool Connection Pool Args - Defines parameters for http connection pooling
- http_
retry_ Httppolicy Retry Policy Args - Policy that defines http request retry conditions
- name str
- Name of the resiliency policy.
- tcp_
connection_ Tcppool Connection Pool Args - Defines parameters for tcp connection pooling
- tcp_
retry_ Tcppolicy Retry Policy Args - Policy that defines tcp request retry conditions
- timeout_
policy TimeoutPolicy Args - Policy to set request timeouts
- app
Name String - Name of the Container App.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- circuit
Breaker Property MapPolicy - Policy that defines circuit breaker conditions
- http
Connection Property MapPool - Defines parameters for http connection pooling
- http
Retry Property MapPolicy - Policy that defines http request retry conditions
- name String
- Name of the resiliency policy.
- tcp
Connection Property MapPool - Defines parameters for tcp connection pooling
- tcp
Retry Property MapPolicy - Policy that defines tcp request retry conditions
- timeout
Policy Property Map - Policy to set request timeouts
Outputs
All input properties are implicitly available as output properties. Additionally, the AppResiliency resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data Pulumi.Azure Native. App. Outputs. System Data Response - 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"
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data SystemData Response - 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"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - 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"
- id string
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - 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"
- id str
- The provider-assigned unique ID for this managed resource.
- system_
data SystemData Response - 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"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data 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"
Supporting Types
CircuitBreakerPolicy, CircuitBreakerPolicyArgs
- Consecutive
Errors int - Number of consecutive errors before the circuit breaker opens
- Interval
In intSeconds - 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 intPercent - 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 intSeconds - 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 intPercent - Maximum percentage of hosts that will be ejected after failure threshold has been met
- consecutive
Errors Integer - Number of consecutive errors before the circuit breaker opens
- interval
In IntegerSeconds - 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 IntegerPercent - Maximum percentage of hosts that will be ejected after failure threshold has been met
- consecutive
Errors number - Number of consecutive errors before the circuit breaker opens
- interval
In numberSeconds - 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 numberPercent - 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_ intseconds - 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_ intpercent - Maximum percentage of hosts that will be ejected after failure threshold has been met
- consecutive
Errors Number - Number of consecutive errors before the circuit breaker opens
- interval
In NumberSeconds - 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 NumberPercent - Maximum percentage of hosts that will be ejected after failure threshold has been met
CircuitBreakerPolicyResponse, CircuitBreakerPolicyResponseArgs
- Consecutive
Errors int - Number of consecutive errors before the circuit breaker opens
- Interval
In intSeconds - 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 intPercent - 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 intSeconds - 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 intPercent - Maximum percentage of hosts that will be ejected after failure threshold has been met
- consecutive
Errors Integer - Number of consecutive errors before the circuit breaker opens
- interval
In IntegerSeconds - 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 IntegerPercent - Maximum percentage of hosts that will be ejected after failure threshold has been met
- consecutive
Errors number - Number of consecutive errors before the circuit breaker opens
- interval
In numberSeconds - 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 numberPercent - 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_ intseconds - 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_ intpercent - Maximum percentage of hosts that will be ejected after failure threshold has been met
- consecutive
Errors Number - Number of consecutive errors before the circuit breaker opens
- interval
In NumberSeconds - 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 NumberPercent - Maximum percentage of hosts that will be ejected after failure threshold has been met
HeaderMatch, HeaderMatchArgs
- Exact
Match string - Exact value of the header
- Header string
- Name of the header
- Prefix
Match string - Prefix value of the header
- Regex
Match string - Regex value of the header
- Suffix
Match string - Suffix value of the header
- Exact
Match string - Exact value of the header
- Header string
- Name of the header
- Prefix
Match string - Prefix value of the header
- Regex
Match string - Regex value of the header
- Suffix
Match string - Suffix value of the header
- exact
Match String - Exact value of the header
- header String
- Name of the header
- prefix
Match String - Prefix value of the header
- regex
Match String - Regex value of the header
- suffix
Match String - Suffix value of the header
- exact
Match string - Exact value of the header
- header string
- Name of the header
- prefix
Match string - Prefix value of the header
- regex
Match string - Regex value of the header
- suffix
Match 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
- exact
Match String - Exact value of the header
- header String
- Name of the header
- prefix
Match String - Prefix value of the header
- regex
Match String - Regex value of the header
- suffix
Match String - Suffix value of the header
HeaderMatchResponse, HeaderMatchResponseArgs
- Exact
Match string - Exact value of the header
- Header string
- Name of the header
- Prefix
Match string - Prefix value of the header
- Regex
Match string - Regex value of the header
- Suffix
Match string - Suffix value of the header
- Exact
Match string - Exact value of the header
- Header string
- Name of the header
- Prefix
Match string - Prefix value of the header
- Regex
Match string - Regex value of the header
- Suffix
Match string - Suffix value of the header
- exact
Match String - Exact value of the header
- header String
- Name of the header
- prefix
Match String - Prefix value of the header
- regex
Match String - Regex value of the header
- suffix
Match String - Suffix value of the header
- exact
Match string - Exact value of the header
- header string
- Name of the header
- prefix
Match string - Prefix value of the header
- regex
Match string - Regex value of the header
- suffix
Match 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
- exact
Match String - Exact value of the header
- header String
- Name of the header
- prefix
Match String - Prefix value of the header
- regex
Match String - Regex value of the header
- suffix
Match String - Suffix value of the header
HttpConnectionPool, HttpConnectionPoolArgs
- Http1Max
Pending intRequests - Maximum number of pending http1 requests allowed
- Http2Max
Requests int - Maximum number of http2 requests allowed
- Http1Max
Pending intRequests - Maximum number of pending http1 requests allowed
- Http2Max
Requests int - Maximum number of http2 requests allowed
- http1Max
Pending IntegerRequests - Maximum number of pending http1 requests allowed
- http2Max
Requests Integer - Maximum number of http2 requests allowed
- http1Max
Pending numberRequests - Maximum number of pending http1 requests allowed
- http2Max
Requests number - Maximum number of http2 requests allowed
- http1_
max_ intpending_ requests - Maximum number of pending http1 requests allowed
- http2_
max_ intrequests - Maximum number of http2 requests allowed
- http1Max
Pending NumberRequests - Maximum number of pending http1 requests allowed
- http2Max
Requests Number - Maximum number of http2 requests allowed
HttpConnectionPoolResponse, HttpConnectionPoolResponseArgs
- Http1Max
Pending intRequests - Maximum number of pending http1 requests allowed
- Http2Max
Requests int - Maximum number of http2 requests allowed
- Http1Max
Pending intRequests - Maximum number of pending http1 requests allowed
- Http2Max
Requests int - Maximum number of http2 requests allowed
- http1Max
Pending IntegerRequests - Maximum number of pending http1 requests allowed
- http2Max
Requests Integer - Maximum number of http2 requests allowed
- http1Max
Pending numberRequests - Maximum number of pending http1 requests allowed
- http2Max
Requests number - Maximum number of http2 requests allowed
- http1_
max_ intpending_ requests - Maximum number of pending http1 requests allowed
- http2_
max_ intrequests - Maximum number of http2 requests allowed
- http1Max
Pending NumberRequests - Maximum number of pending http1 requests allowed
- http2Max
Requests Number - Maximum number of http2 requests allowed
HttpRetryPolicy, HttpRetryPolicyArgs
- Errors List<string>
- Errors that can trigger a retry
- Headers
List<Pulumi.
Azure Native. App. Inputs. Header Match> - Headers that must be present for a request to be retried
- Http
Status List<int>Codes - Additional http status codes that can trigger a retry
- Initial
Delay doubleIn Milliseconds - Initial delay, in milliseconds, before retrying a request
- Max
Interval doubleIn Milliseconds - Maximum interval, in milliseconds, between retries
- Max
Retries int - Maximum number of times a request will retry
- Errors []string
- Errors that can trigger a retry
- Headers
[]Header
Match - Headers that must be present for a request to be retried
- Http
Status []intCodes - Additional http status codes that can trigger a retry
- Initial
Delay float64In Milliseconds - Initial delay, in milliseconds, before retrying a request
- Max
Interval float64In Milliseconds - 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<Header
Match> - Headers that must be present for a request to be retried
- http
Status List<Integer>Codes - Additional http status codes that can trigger a retry
- initial
Delay DoubleIn Milliseconds - Initial delay, in milliseconds, before retrying a request
- max
Interval DoubleIn Milliseconds - Maximum interval, in milliseconds, between retries
- max
Retries Integer - Maximum number of times a request will retry
- errors string[]
- Errors that can trigger a retry
- headers
Header
Match[] - Headers that must be present for a request to be retried
- http
Status number[]Codes - Additional http status codes that can trigger a retry
- initial
Delay numberIn Milliseconds - Initial delay, in milliseconds, before retrying a request
- max
Interval numberIn Milliseconds - Maximum interval, in milliseconds, between retries
- max
Retries number - Maximum number of times a request will retry
- errors Sequence[str]
- Errors that can trigger a retry
- headers
Sequence[Header
Match] - Headers that must be present for a request to be retried
- http_
status_ Sequence[int]codes - Additional http status codes that can trigger a retry
- initial_
delay_ floatin_ milliseconds - Initial delay, in milliseconds, before retrying a request
- max_
interval_ floatin_ milliseconds - 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
- http
Status List<Number>Codes - Additional http status codes that can trigger a retry
- initial
Delay NumberIn Milliseconds - Initial delay, in milliseconds, before retrying a request
- max
Interval NumberIn Milliseconds - Maximum interval, in milliseconds, between retries
- max
Retries Number - Maximum number of times a request will retry
HttpRetryPolicyResponse, HttpRetryPolicyResponseArgs
- Errors List<string>
- Errors that can trigger a retry
- Headers
List<Pulumi.
Azure Native. App. Inputs. Header Match Response> - Headers that must be present for a request to be retried
- Http
Status List<int>Codes - Additional http status codes that can trigger a retry
- Initial
Delay doubleIn Milliseconds - Initial delay, in milliseconds, before retrying a request
- Max
Interval doubleIn Milliseconds - Maximum interval, in milliseconds, between retries
- Max
Retries int - Maximum number of times a request will retry
- Errors []string
- Errors that can trigger a retry
- Headers
[]Header
Match Response - Headers that must be present for a request to be retried
- Http
Status []intCodes - Additional http status codes that can trigger a retry
- Initial
Delay float64In Milliseconds - Initial delay, in milliseconds, before retrying a request
- Max
Interval float64In Milliseconds - 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<Header
Match Response> - Headers that must be present for a request to be retried
- http
Status List<Integer>Codes - Additional http status codes that can trigger a retry
- initial
Delay DoubleIn Milliseconds - Initial delay, in milliseconds, before retrying a request
- max
Interval DoubleIn Milliseconds - Maximum interval, in milliseconds, between retries
- max
Retries Integer - Maximum number of times a request will retry
- errors string[]
- Errors that can trigger a retry
- headers
Header
Match Response[] - Headers that must be present for a request to be retried
- http
Status number[]Codes - Additional http status codes that can trigger a retry
- initial
Delay numberIn Milliseconds - Initial delay, in milliseconds, before retrying a request
- max
Interval numberIn Milliseconds - Maximum interval, in milliseconds, between retries
- max
Retries number - Maximum number of times a request will retry
- errors Sequence[str]
- Errors that can trigger a retry
- headers
Sequence[Header
Match Response] - Headers that must be present for a request to be retried
- http_
status_ Sequence[int]codes - Additional http status codes that can trigger a retry
- initial_
delay_ floatin_ milliseconds - Initial delay, in milliseconds, before retrying a request
- max_
interval_ floatin_ milliseconds - 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
- http
Status List<Number>Codes - Additional http status codes that can trigger a retry
- initial
Delay NumberIn Milliseconds - Initial delay, in milliseconds, before retrying a request
- max
Interval NumberIn Milliseconds - Maximum interval, in milliseconds, between retries
- max
Retries Number - Maximum number of times a request will retry
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TcpConnectionPool, TcpConnectionPoolArgs
- Max
Connections int - Maximum number of tcp connections allowed
- Max
Connections int - Maximum number of tcp connections allowed
- max
Connections Integer - Maximum number of tcp connections allowed
- max
Connections number - Maximum number of tcp connections allowed
- max_
connections int - Maximum number of tcp connections allowed
- max
Connections Number - Maximum number of tcp connections allowed
TcpConnectionPoolResponse, TcpConnectionPoolResponseArgs
- Max
Connections int - Maximum number of tcp connections allowed
- Max
Connections int - Maximum number of tcp connections allowed
- max
Connections Integer - Maximum number of tcp connections allowed
- max
Connections number - Maximum number of tcp connections allowed
- max_
connections int - Maximum number of tcp connections allowed
- max
Connections Number - Maximum number of tcp connections allowed
TcpRetryPolicy, TcpRetryPolicyArgs
- Max
Connect intAttempts - Maximum number of attempts to connect to the tcp service
- Max
Connect intAttempts - Maximum number of attempts to connect to the tcp service
- max
Connect IntegerAttempts - Maximum number of attempts to connect to the tcp service
- max
Connect numberAttempts - Maximum number of attempts to connect to the tcp service
- max_
connect_ intattempts - Maximum number of attempts to connect to the tcp service
- max
Connect NumberAttempts - Maximum number of attempts to connect to the tcp service
TcpRetryPolicyResponse, TcpRetryPolicyResponseArgs
- Max
Connect intAttempts - Maximum number of attempts to connect to the tcp service
- Max
Connect intAttempts - Maximum number of attempts to connect to the tcp service
- max
Connect IntegerAttempts - Maximum number of attempts to connect to the tcp service
- max
Connect numberAttempts - Maximum number of attempts to connect to the tcp service
- max_
connect_ intattempts - Maximum number of attempts to connect to the tcp service
- max
Connect NumberAttempts - Maximum number of attempts to connect to the tcp service
TimeoutPolicy, TimeoutPolicyArgs
- Connection
Timeout intIn Seconds - Timeout, in seconds, for a request to initiate a connection
- Response
Timeout intIn Seconds - Timeout, in seconds, for a request to respond
- Connection
Timeout intIn Seconds - Timeout, in seconds, for a request to initiate a connection
- Response
Timeout intIn Seconds - Timeout, in seconds, for a request to respond
- connection
Timeout IntegerIn Seconds - Timeout, in seconds, for a request to initiate a connection
- response
Timeout IntegerIn Seconds - Timeout, in seconds, for a request to respond
- connection
Timeout numberIn Seconds - Timeout, in seconds, for a request to initiate a connection
- response
Timeout numberIn Seconds - Timeout, in seconds, for a request to respond
- connection_
timeout_ intin_ seconds - Timeout, in seconds, for a request to initiate a connection
- response_
timeout_ intin_ seconds - Timeout, in seconds, for a request to respond
- connection
Timeout NumberIn Seconds - Timeout, in seconds, for a request to initiate a connection
- response
Timeout NumberIn Seconds - Timeout, in seconds, for a request to respond
TimeoutPolicyResponse, TimeoutPolicyResponseArgs
- Connection
Timeout intIn Seconds - Timeout, in seconds, for a request to initiate a connection
- Response
Timeout intIn Seconds - Timeout, in seconds, for a request to respond
- Connection
Timeout intIn Seconds - Timeout, in seconds, for a request to initiate a connection
- Response
Timeout intIn Seconds - Timeout, in seconds, for a request to respond
- connection
Timeout IntegerIn Seconds - Timeout, in seconds, for a request to initiate a connection
- response
Timeout IntegerIn Seconds - Timeout, in seconds, for a request to respond
- connection
Timeout numberIn Seconds - Timeout, in seconds, for a request to initiate a connection
- response
Timeout numberIn Seconds - Timeout, in seconds, for a request to respond
- connection_
timeout_ intin_ seconds - Timeout, in seconds, for a request to initiate a connection
- response_
timeout_ intin_ seconds - Timeout, in seconds, for a request to respond
- connection
Timeout NumberIn Seconds - Timeout, in seconds, for a request to initiate a connection
- response
Timeout NumberIn Seconds - Timeout, in seconds, for a request to respond
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:app:AppResiliency resiliency-policy-1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{appName}/resiliencyPolicies/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0