1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. mixedreality
  6. listSpatialAnchorsAccountKeys
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Tuesday, Oct 27, 2026 by Pulumi
azure-native logo Azure Native
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Tuesday, Oct 27, 2026 by Pulumi

    List Both of the 2 Keys of a Spatial Anchors Account API Version: 2021-01-01.

    Using listSpatialAnchorsAccountKeys

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function listSpatialAnchorsAccountKeys(args: ListSpatialAnchorsAccountKeysArgs, opts?: InvokeOptions): Promise<ListSpatialAnchorsAccountKeysResult>
    function listSpatialAnchorsAccountKeysOutput(args: ListSpatialAnchorsAccountKeysOutputArgs, opts?: InvokeOutputOptions): Output<ListSpatialAnchorsAccountKeysResult>
    def list_spatial_anchors_account_keys(account_name: Optional[str] = None,
                                          resource_group_name: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> ListSpatialAnchorsAccountKeysResult
    def list_spatial_anchors_account_keys_output(account_name: pulumi.Input[Optional[str]] = None,
                                          resource_group_name: pulumi.Input[Optional[str]] = None,
                                          opts: Optional[InvokeOutputOptions] = None) -> Output[ListSpatialAnchorsAccountKeysResult]
    func ListSpatialAnchorsAccountKeys(ctx *Context, args *ListSpatialAnchorsAccountKeysArgs, opts ...InvokeOption) (*ListSpatialAnchorsAccountKeysResult, error)
    func ListSpatialAnchorsAccountKeysOutput(ctx *Context, args *ListSpatialAnchorsAccountKeysOutputArgs, opts ...InvokeOption) ListSpatialAnchorsAccountKeysResultOutput

    > Note: This function is named ListSpatialAnchorsAccountKeys in the Go SDK.

    public static class ListSpatialAnchorsAccountKeys 
    {
        public static Task<ListSpatialAnchorsAccountKeysResult> InvokeAsync(ListSpatialAnchorsAccountKeysArgs args, InvokeOptions? opts = null)
        public static Output<ListSpatialAnchorsAccountKeysResult> Invoke(ListSpatialAnchorsAccountKeysInvokeArgs args, InvokeOptions? opts = null)
        public static Output<ListSpatialAnchorsAccountKeysResult> Invoke(ListSpatialAnchorsAccountKeysInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<ListSpatialAnchorsAccountKeysResult> listSpatialAnchorsAccountKeys(ListSpatialAnchorsAccountKeysArgs args, InvokeOptions options)
    public static Output<ListSpatialAnchorsAccountKeysResult> listSpatialAnchorsAccountKeys(ListSpatialAnchorsAccountKeysArgs args, InvokeOptions options)
    public static Output<ListSpatialAnchorsAccountKeysResult> listSpatialAnchorsAccountKeys(ListSpatialAnchorsAccountKeysArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: azure-native:mixedreality:listSpatialAnchorsAccountKeys
      arguments:
        # arguments dictionary
    data "azure-native_mixedreality_list_spatial_anchors_account_keys" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountName string
    Name of an Mixed Reality Account.
    ResourceGroupName string
    Name of an Azure resource group.
    AccountName string
    Name of an Mixed Reality Account.
    ResourceGroupName string
    Name of an Azure resource group.
    account_name string
    Name of an Mixed Reality Account.
    resource_group_name string
    Name of an Azure resource group.
    accountName String
    Name of an Mixed Reality Account.
    resourceGroupName String
    Name of an Azure resource group.
    accountName string
    Name of an Mixed Reality Account.
    resourceGroupName string
    Name of an Azure resource group.
    account_name str
    Name of an Mixed Reality Account.
    resource_group_name str
    Name of an Azure resource group.
    accountName String
    Name of an Mixed Reality Account.
    resourceGroupName String
    Name of an Azure resource group.

    listSpatialAnchorsAccountKeys Result

    The following output properties are available:

    PrimaryKey string
    value of primary key.
    SecondaryKey string
    value of secondary key.
    PrimaryKey string
    value of primary key.
    SecondaryKey string
    value of secondary key.
    primary_key string
    value of primary key.
    secondary_key string
    value of secondary key.
    primaryKey String
    value of primary key.
    secondaryKey String
    value of secondary key.
    primaryKey string
    value of primary key.
    secondaryKey string
    value of secondary key.
    primary_key str
    value of primary key.
    secondary_key str
    value of secondary key.
    primaryKey String
    value of primary key.
    secondaryKey String
    value of secondary key.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo Azure Native
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v1.103.0 (Older version)
    published on Tuesday, Oct 27, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial