Skip to content

azurermSpatialAnchorsAccount

Get information about an Azure Spatial Anchors Account.

Example Usage

import * as cdktf from "cdktf";
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new cdktf.TerraformOutput(this, "account_domain", {
  value: "${data.azurerm_spatial_anchors_account.account_domain}",
});
new azurerm.dataAzurermSpatialAnchorsAccount.DataAzurermSpatialAnchorsAccount(
  this,
  "example",
  {
    name: "example",
    resource_group_name: "${azurerm_resource_group.example.name}",
  }
);

Argument Reference

The following arguments are supported:

  • name - (Required) Specifies the name of the Spatial Anchors Account. Changing this forces a new resource to be created. Must be globally unique.

  • resourceGroupName - (Required) The name of the resource group in which to create the Spatial Anchors Account.

Attributes Reference

The following attributes are exported:

  • id - The ID of the Spatial Anchors Account.

  • accountDomain - The domain of the Spatial Anchors Account.

  • accountId - The account ID of the Spatial Anchors Account.

  • tags - The Tags assigned to this Spatial Anchors Account.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minutes) Used when retrieving the Spatial Anchors Account.