Skip to main content

connected_environments_storages

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

Overview

Nameconnected_environments_storages
TypeResource
Idazure.container_apps.connected_environments_storages

Fields

NameDatatypeDescription
propertiesobjectStorage properties

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectedEnvironmentName, resourceGroupName, storageName, subscriptionIdGet storage for a connectedEnvironment.
listSELECTconnectedEnvironmentName, resourceGroupName, subscriptionIdGet all storages for a connectedEnvironment.
create_or_updateINSERTconnectedEnvironmentName, resourceGroupName, storageName, subscriptionIdCreate or update storage for a connectedEnvironment.
deleteDELETEconnectedEnvironmentName, resourceGroupName, storageName, subscriptionIdDelete storage for a connectedEnvironment.

SELECT examples

Get all storages for a connectedEnvironment.

SELECT
properties
FROM azure.container_apps.connected_environments_storages
WHERE connectedEnvironmentName = '{{ connectedEnvironmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new connected_environments_storages resource.

/*+ create */
INSERT INTO azure.container_apps.connected_environments_storages (
connectedEnvironmentName,
resourceGroupName,
storageName,
subscriptionId,
properties
)
SELECT
'{{ connectedEnvironmentName }}',
'{{ resourceGroupName }}',
'{{ storageName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified connected_environments_storages resource.

/*+ delete */
DELETE FROM azure.container_apps.connected_environments_storages
WHERE connectedEnvironmentName = '{{ connectedEnvironmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND storageName = '{{ storageName }}'
AND subscriptionId = '{{ subscriptionId }}';