workspaces
Creates, updates, deletes, gets or lists a workspaces
resource.
Overview
Name | workspaces |
Type | Resource |
Id | azure_extras.healthcare.workspaces |
Fields
Name | Datatype | Description |
---|---|---|
properties | object | Workspaces resource specific properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, subscriptionId, workspaceName | Gets the properties of the specified workspace. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists all the available workspaces under the specified resource group. |
list_by_subscription | SELECT | subscriptionId | Lists all the available workspaces under the specified subscription. |
create_or_update | INSERT | resourceGroupName, subscriptionId, workspaceName | Creates or updates a workspace resource with the specified parameters. |
delete | DELETE | resourceGroupName, subscriptionId, workspaceName | Deletes a specified workspace. |
update | UPDATE | resourceGroupName, subscriptionId, workspaceName | Patch workspace details. |
SELECT
examples
Lists all the available workspaces under the specified subscription.
SELECT
properties,
systemData
FROM azure_extras.healthcare.workspaces
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new workspaces
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_extras.healthcare.workspaces (
resourceGroupName,
subscriptionId,
workspaceName,
properties,
systemData
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ properties }}',
'{{ systemData }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: privateEndpointConnections
value:
- - name: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: privateLinkServiceConnectionState
value:
- name: status
value: []
- name: description
value: string
- name: actionsRequired
value: string
- name: provisioningState
value: []
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: publicNetworkAccess
value: []
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
UPDATE
example
Updates a workspaces
resource.
/*+ update */
UPDATE azure_extras.healthcare.workspaces
SET
tags = '{{ tags }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
DELETE
example
Deletes the specified workspaces
resource.
/*+ delete */
DELETE FROM azure_extras.healthcare.workspaces
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';