patches
Creates, updates, deletes, gets or lists a patches
resource.
Overview
Name | patches |
Type | Resource |
Id | azure.container_apps.patches |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_container_app
Patch information retrieved successfully.
Name | Datatype | Description |
---|---|---|
properties | object | Properties that describes current states of the patch resource. |
ARM operation completed successfully.
Name | Datatype | Description |
---|---|---|
properties | object | Properties that describes current states of the patch resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , containerAppName , patchName | Get details for specific Container Apps Patch by patch name. | |
list_by_container_app | select | subscriptionId , resourceGroupName , containerAppName | $filter | List Container Apps Patch resources by ContainerApp. |
delete | delete | subscriptionId , resourceGroupName , containerAppName , patchName | Delete specific Container Apps Patch by patch name. | |
skip_configure | exec | subscriptionId , resourceGroupName , containerAppName , patchName | Configure the Container Apps Patch skip option by patch name. | |
apply | exec | subscriptionId , resourceGroupName , containerAppName , patchName | Apply a Container Apps Patch resource with patch name. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
containerAppName | string | Name of the Container App the Build is associated. |
patchName | string | The name of the patch |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
$filter | string | The filter to apply on the operation. For example, $filter=properties/patchApplyStatus eq 'Succeeded' |
SELECT
examples
- get
- list_by_container_app
Get details for specific Container Apps Patch by patch name.
SELECT
properties
FROM azure.container_apps.patches
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND containerAppName = '{{ containerAppName }}' -- required
AND patchName = '{{ patchName }}' -- required
;
List Container Apps Patch resources by ContainerApp.
SELECT
properties
FROM azure.container_apps.patches
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND containerAppName = '{{ containerAppName }}' -- required
AND $filter = '{{ $filter }}'
;
DELETE
examples
- delete
Delete specific Container Apps Patch by patch name.
DELETE FROM azure.container_apps.patches
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND containerAppName = '{{ containerAppName }}' --required
AND patchName = '{{ patchName }}' --required
;
Lifecycle Methods
- skip_configure
- apply
Configure the Container Apps Patch skip option by patch name.
EXEC azure.container_apps.patches.skip_configure
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@containerAppName='{{ containerAppName }}' --required,
@patchName='{{ patchName }}' --required
@@json=
'{
"skip": {{ skip }}
}'
;
Apply a Container Apps Patch resource with patch name.
EXEC azure.container_apps.patches.apply
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@containerAppName='{{ containerAppName }}' --required,
@patchName='{{ patchName }}' --required
;