workspaces
Creates, updates, deletes, gets or lists a workspaces
resource.
Overview
Name | workspaces |
Type | Resource |
Id | azure.iot_firmware_defense.workspaces |
Fields
- vw_workspaces
- workspaces
Name | Datatype | Description |
---|---|---|
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
workspaceName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Workspace properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, subscriptionId, workspaceName | Get firmware analysis workspace. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists all of the firmware analysis workspaces in the specified resource group. |
list_by_subscription | SELECT | subscriptionId | Lists all of the firmware analysis workspaces in the specified subscription. |
create | INSERT | resourceGroupName, subscriptionId, workspaceName | The operation to create or update a firmware analysis workspace. |
delete | DELETE | resourceGroupName, subscriptionId, workspaceName | The operation to delete a firmware analysis workspace. |
update | UPDATE | resourceGroupName, subscriptionId, workspaceName | The operation to update a firmware analysis workspaces. |
generate_upload_url | EXEC | resourceGroupName, subscriptionId, workspaceName | The operation to get a url for file upload. |
SELECT
examples
Lists all of the firmware analysis workspaces in the specified subscription.
- vw_workspaces
- workspaces
SELECT
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
workspaceName
FROM azure.iot_firmware_defense.vw_workspaces
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.iot_firmware_defense.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.iot_firmware_defense.workspaces (
resourceGroupName,
subscriptionId,
workspaceName,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: string
- name: tags
value: object
- name: location
value: string
UPDATE
example
Updates a workspaces
resource.
/*+ update */
UPDATE azure.iot_firmware_defense.workspaces
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';
DELETE
example
Deletes the specified workspaces
resource.
/*+ delete */
DELETE FROM azure.iot_firmware_defense.workspaces
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';