Skip to main content

patches

Creates, updates, deletes, gets or lists a patches resource.

Overview

Namepatches
TypeResource
Idazure.container_apps.patches

Fields

NameDatatypeDescription
containerAppNametextfield from the properties object
created_attextfield from the properties object
last_modified_attextfield from the properties object
patchNametextfield from the properties object
patch_apply_statustextfield from the properties object
patch_detailstextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
target_container_app_idtextfield from the properties object
target_environment_idtextfield from the properties object
target_revision_idtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcontainerAppName, patchName, resourceGroupName, subscriptionIdGet details for specific Container Apps Patch by patch name.
list_by_container_appSELECTcontainerAppName, resourceGroupName, subscriptionIdList Container Apps Patch resources by ContainerApp.
deleteDELETEcontainerAppName, patchName, resourceGroupName, subscriptionIdDelete specific Container Apps Patch by patch name.
applyEXECcontainerAppName, patchName, resourceGroupName, subscriptionIdApply a Container Apps Patch resource with patch name.
skip_configureEXECcontainerAppName, patchName, resourceGroupName, subscriptionIdConfigure the Container Apps Patch skip option by patch name.

SELECT examples

List Container Apps Patch resources by ContainerApp.

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 }}';

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 }}';