object_anchors_accounts
Creates, updates, deletes, gets or lists a object_anchors_accounts
resource.
Overview
Name | object_anchors_accounts |
Type | Resource |
Id | azure.mixed_reality.object_anchors_accounts |
Fields
- vw_object_anchors_accounts
- object_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 an Object Anchors Account. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List Resources by Resource Group |
list_by_subscription | SELECT | subscriptionId | List Object Anchors Accounts by Subscription |
create | INSERT | accountName, resourceGroupName, subscriptionId | Creating or Updating an object anchors Account. |
delete | DELETE | accountName, resourceGroupName, subscriptionId | Delete an Object Anchors Account. |
update | UPDATE | accountName, resourceGroupName, subscriptionId | Updating an Object Anchors Account |
regenerate_keys | EXEC | accountName, resourceGroupName, subscriptionId | Regenerate specified Key of an object anchors Account |
SELECT
examples
List Object Anchors Accounts by Subscription
- vw_object_anchors_accounts
- object_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_object_anchors_accounts
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
identity,
kind,
location,
plan,
properties,
sku,
systemData,
tags
FROM azure.mixed_reality.object_anchors_accounts
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new object_anchors_accounts
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.mixed_reality.object_anchors_accounts (
accountName,
resourceGroupName,
subscriptionId,
tags,
location,
identity,
properties,
plan,
sku,
kind
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ identity }}',
'{{ properties }}',
'{{ plan }}',
'{{ sku }}',
'{{ kind }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: identity
value: string
- name: properties
value:
- name: storageAccountName
value: string
- name: accountId
value: string
- name: accountDomain
value: string
- name: plan
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 object_anchors_accounts
resource.
/*+ update */
UPDATE azure.mixed_reality.object_anchors_accounts
SET
tags = '{{ tags }}',
location = '{{ location }}',
identity = '{{ identity }}',
properties = '{{ properties }}',
plan = '{{ plan }}',
sku = '{{ sku }}',
kind = '{{ kind }}'
WHERE
accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified object_anchors_accounts
resource.
/*+ delete */
DELETE FROM azure.mixed_reality.object_anchors_accounts
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';