file_workspaces
Creates, updates, deletes, gets or lists a file_workspaces
resource.
Overview
Name | file_workspaces |
Type | Resource |
Id | azure.support.file_workspaces |
Fields
- vw_file_workspaces
- file_workspaces
Name | Datatype | Description |
---|---|---|
created_on | text | field from the properties object |
expiration_time | text | field from the properties object |
fileWorkspaceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Describes the properties of a file workspace. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | fileWorkspaceName, subscriptionId | Gets details for a specific file workspace in an Azure subscription. |
create | INSERT | fileWorkspaceName, subscriptionId | Creates a new file workspace for the specified subscription. |
SELECT
examples
Gets details for a specific file workspace in an Azure subscription.
- vw_file_workspaces
- file_workspaces
SELECT
created_on,
expiration_time,
fileWorkspaceName,
subscriptionId
FROM azure.support.vw_file_workspaces
WHERE fileWorkspaceName = '{{ fileWorkspaceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.support.file_workspaces
WHERE fileWorkspaceName = '{{ fileWorkspaceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new file_workspaces
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.support.file_workspaces (
fileWorkspaceName,
subscriptionId
)
SELECT
'{{ fileWorkspaceName }}',
'{{ subscriptionId }}'
;
- name: your_resource_model_name
props: []