connected_environments_storages
Creates, updates, deletes, gets or lists a connected_environments_storages
resource.
Overview
Name | connected_environments_storages |
Type | Resource |
Id | azure.container_apps.connected_environments_storages |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | Storage properties |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | connectedEnvironmentName, resourceGroupName, storageName, subscriptionId | Get storage for a connectedEnvironment. |
list | SELECT | connectedEnvironmentName, resourceGroupName, subscriptionId | Get all storages for a connectedEnvironment. |
create_or_update | INSERT | connectedEnvironmentName, resourceGroupName, storageName, subscriptionId | Create or update storage for a connectedEnvironment. |
delete | DELETE | connectedEnvironmentName, resourceGroupName, storageName, subscriptionId | Delete 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.connected_environments_storages (
connectedEnvironmentName,
resourceGroupName,
storageName,
subscriptionId,
properties
)
SELECT
'{{ connectedEnvironmentName }}',
'{{ resourceGroupName }}',
'{{ storageName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: azureFile
value:
- name: accountName
value: string
- name: accountKey
value: string
- name: accessMode
value: string
- name: shareName
value: string
- name: smb
value:
- name: host
value: string
- name: shareName
value: string
- name: username
value: string
- name: domain
value: string
- name: password
value: string
- name: accessMode
value: string
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 }}';