patches
Creates, updates, deletes, gets or lists a patches
resource.
Overview
Name | patches |
Type | Resource |
Id | azure.container_apps.patches |
Fields
- vw_patches
- patches
Name | Datatype | Description |
---|---|---|
containerAppName | text | field from the properties object |
created_at | text | field from the properties object |
last_modified_at | text | field from the properties object |
patchName | text | field from the properties object |
patch_apply_status | text | field from the properties object |
patch_details | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
target_container_app_id | text | field from the properties object |
target_environment_id | text | field from the properties object |
target_revision_id | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Top level properties that describes current states of the patch resource |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | containerAppName, patchName, resourceGroupName, subscriptionId | Get details for specific Container Apps Patch by patch name. |
list_by_container_app | SELECT | containerAppName, resourceGroupName, subscriptionId | List Container Apps Patch resources by ContainerApp. |
delete | DELETE | containerAppName, patchName, resourceGroupName, subscriptionId | Delete specific Container Apps Patch by patch name. |
apply | EXEC | containerAppName, patchName, resourceGroupName, subscriptionId | Apply a Container Apps Patch resource with patch name. |
skip_configure | EXEC | containerAppName, patchName, resourceGroupName, subscriptionId | Configure the Container Apps Patch skip option by patch name. |
SELECT
examples
List Container Apps Patch resources by ContainerApp.
- vw_patches
- patches
SELECT
containerAppName,
created_at,
last_modified_at,
patchName,
patch_apply_status,
patch_details,
resourceGroupName,
subscriptionId,
target_container_app_id,
target_environment_id,
target_revision_id
FROM azure.container_apps.vw_patches
WHERE containerAppName = '{{ containerAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.container_apps.patches
WHERE containerAppName = '{{ containerAppName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified patches
resource.
/*+ delete */
DELETE FROM azure.container_apps.patches
WHERE containerAppName = '{{ containerAppName }}'
AND patchName = '{{ patchName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';