app_resiliencies
Creates, updates, deletes, gets or lists a app_resiliencies
resource.
Overview
Name | app_resiliencies |
Type | Resource |
Id | azure.container_apps.app_resiliencies |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | App Resiliency resource specific properties |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | appName, name, resourceGroupName, subscriptionId | Get container app resiliency policy. |
list | SELECT | appName, resourceGroupName, subscriptionId | List container app resiliency policies. |
create_or_update | INSERT | appName, name, resourceGroupName, subscriptionId | Create or update container app resiliency policy. |
delete | DELETE | appName, name, resourceGroupName, subscriptionId | Delete container app resiliency policy. |
update | UPDATE | appName, name, resourceGroupName, subscriptionId | Update container app resiliency policy. |
SELECT
examples
List container app resiliency policies.
SELECT
properties
FROM azure.container_apps.app_resiliencies
WHERE appName = '{{ appName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new app_resiliencies
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.app_resiliencies (
appName,
name,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ appName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: timeoutPolicy
value:
- name: responseTimeoutInSeconds
value: integer
- name: connectionTimeoutInSeconds
value: integer
- name: httpRetryPolicy
value:
- name: maxRetries
value: integer
- name: retryBackOff
value:
- name: initialDelayInMilliseconds
value: integer
- name: maxIntervalInMilliseconds
value: integer
- name: matches
value:
- name: headers
value:
- - name: header
value: string
- name: match
value:
- name: exactMatch
value: string
- name: prefixMatch
value: string
- name: suffixMatch
value: string
- name: regexMatch
value: string
- name: httpStatusCodes
value:
- integer
- name: errors
value:
- string
- name: tcpRetryPolicy
value:
- name: maxConnectAttempts
value: integer
- name: circuitBreakerPolicy
value:
- name: consecutiveErrors
value: integer
- name: intervalInSeconds
value: integer
- name: maxEjectionPercent
value: integer
- name: httpConnectionPool
value:
- name: http1MaxPendingRequests
value: integer
- name: http2MaxRequests
value: integer
- name: tcpConnectionPool
value:
- name: maxConnections
value: integer
UPDATE
example
Updates a app_resiliencies
resource.
/*+ update */
UPDATE azure.container_apps.app_resiliencies
SET
properties = '{{ properties }}'
WHERE
appName = '{{ appName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified app_resiliencies
resource.
/*+ delete */
DELETE FROM azure.container_apps.app_resiliencies
WHERE appName = '{{ appName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';