spatial_anchors_accounts
Creates, updates, deletes, gets or lists a spatial_anchors_accounts
resource.
Overview
Name | spatial_anchors_accounts |
Type | Resource |
Id | azure.mixed_reality.spatial_anchors_accounts |
Fields
- vw_spatial_anchors_accounts
- spatial_anchors_accounts
Name | Datatype | Description |
---|---|---|
accountName | text | field from the properties object |
account_domain | text | field from the properties object |
account_id | text | field from the properties object |
identity | text | Identity for the resource. |
kind | text | The resource model definition representing SKU |
location | text | The geo-location where the resource lives |
plan | text | Identity for the resource. |
resourceGroupName | text | field from the properties object |
sku | text | The resource model definition representing SKU |
storage_account_name | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | Identity for the resource. |
kind | object | The resource model definition representing SKU |
location | string | The geo-location where the resource lives |
plan | object | Identity for the resource. |
properties | object | Common Properties shared by Mixed Reality Accounts |
sku | object | The resource model definition representing SKU |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, resourceGroupName, subscriptionId | Retrieve a Spatial Anchors Account. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List Resources by Resource Group |
list_by_subscription | SELECT | subscriptionId | List Spatial Anchors Accounts by Subscription |
create | INSERT | accountName, resourceGroupName, subscriptionId | Creating or Updating a Spatial Anchors Account. |
delete | DELETE | accountName, resourceGroupName, subscriptionId | Delete a Spatial Anchors Account. |
update | UPDATE | accountName, resourceGroupName, subscriptionId | Updating a Spatial Anchors Account |
regenerate_keys | EXEC | accountName, resourceGroupName, subscriptionId | Regenerate specified Key of a Spatial Anchors Account |
SELECT
examples
List Spatial Anchors Accounts by Subscription
- vw_spatial_anchors_accounts
- spatial_anchors_accounts
SELECT
accountName,
account_domain,
account_id,
identity,
kind,
location,
plan,
resourceGroupName,
sku,
storage_account_name,
subscriptionId,
system_data,
tags
FROM azure.mixed_reality.vw_spatial_anchors_accounts
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
identity,
kind,
location,
plan,
properties,
sku,
systemData,
tags
FROM azure.mixed_reality.spatial_anchors_accounts
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new spatial_anchors_accounts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.mixed_reality.spatial_anchors_accounts (
accountName,
resourceGroupName,
subscriptionId,
tags,
location,
properties,
identity,
plan,
sku,
kind,
systemData
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}',
'{{ identity }}',
'{{ plan }}',
'{{ sku }}',
'{{ kind }}',
'{{ systemData }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: storageAccountName
value: string
- name: accountId
value: string
- name: accountDomain
value: string
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: string
- name: sku
value:
- name: name
value: string
- name: tier
value: string
- name: size
value: string
- name: family
value: string
- name: capacity
value: integer
- 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 spatial_anchors_accounts
resource.
/*+ update */
UPDATE azure.mixed_reality.spatial_anchors_accounts
SET
tags = '{{ tags }}',
location = '{{ location }}',
properties = '{{ properties }}',
identity = '{{ identity }}',
plan = '{{ plan }}',
sku = '{{ sku }}',
kind = '{{ kind }}',
systemData = '{{ systemData }}'
WHERE
accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified spatial_anchors_accounts
resource.
/*+ delete */
DELETE FROM azure.mixed_reality.spatial_anchors_accounts
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';