Skip to main content

object_anchors_accounts

Creates, updates, deletes, gets or lists a object_anchors_accounts resource.

Overview

Nameobject_anchors_accounts
TypeResource
Idazure.mixed_reality.object_anchors_accounts

Fields

NameDatatypeDescription
accountNametextfield from the properties object
account_domaintextfield from the properties object
account_idtextfield from the properties object
identitytextIdentity for the resource.
kindtextThe resource model definition representing SKU
locationtextThe geo-location where the resource lives
plantextIdentity for the resource.
resourceGroupNametextfield from the properties object
skutextThe resource model definition representing SKU
storage_account_nametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, subscriptionIdRetrieve an Object Anchors Account.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList Resources by Resource Group
list_by_subscriptionSELECTsubscriptionIdList Object Anchors Accounts by Subscription
createINSERTaccountName, resourceGroupName, subscriptionIdCreating or Updating an object anchors Account.
deleteDELETEaccountName, resourceGroupName, subscriptionIdDelete an Object Anchors Account.
updateUPDATEaccountName, resourceGroupName, subscriptionIdUpdating an Object Anchors Account
regenerate_keysEXECaccountName, resourceGroupName, subscriptionIdRegenerate specified Key of an object anchors Account

SELECT examples

List Object Anchors Accounts by Subscription

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new object_anchors_accounts resource.

/*+ 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 }}'
;

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 }}';