managed_environments_storages
Creates, updates, deletes, gets or lists a managed_environments_storages
resource.
Overview
Name | managed_environments_storages |
Type | Resource |
Id | azure.container_apps.managed_environments_storages |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | Storage properties |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | environmentName, resourceGroupName, storageName, subscriptionId | Get storage for a managedEnvironment. |
list | SELECT | environmentName, resourceGroupName, subscriptionId | Get all storages for a managedEnvironment. |
create_or_update | INSERT | environmentName, resourceGroupName, storageName, subscriptionId | Create or update storage for a managedEnvironment. |
delete | DELETE | environmentName, resourceGroupName, storageName, subscriptionId | Delete storage for a managedEnvironment. |
SELECT
examples
Get all storages for a managedEnvironment.
SELECT
properties
FROM azure.container_apps.managed_environments_storages
WHERE environmentName = '{{ environmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new managed_environments_storages
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.container_apps.managed_environments_storages (
environmentName,
resourceGroupName,
storageName,
subscriptionId,
properties
)
SELECT
'{{ environmentName }}',
'{{ 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: nfsAzureFile
value:
- name: server
value: string
- name: accessMode
value: string
- name: shareName
value: string
DELETE
example
Deletes the specified managed_environments_storages
resource.
/*+ delete */
DELETE FROM azure.container_apps.managed_environments_storages
WHERE environmentName = '{{ environmentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND storageName = '{{ storageName }}'
AND subscriptionId = '{{ subscriptionId }}';