1. Packages
  2. Azure Native
  3. API Docs
  4. mixedreality
  5. listSpatialAnchorsAccountKeys
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.mixedreality.listSpatialAnchorsAccountKeys

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

[!NOTE]

Mixed Reality retirement

The Mixed Reality service is now deprecated and will be retired.

List Both of the 2 Keys of a Spatial Anchors Account

Uses Azure REST API version 2021-03-01-preview.

Other available API versions: 2021-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native mixedreality [ApiVersion]. See the version guide for details.

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?: InvokeOptions): Output<ListSpatialAnchorsAccountKeysResult>
Copy
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: Optional[pulumi.Input[str]] = None,
                                      resource_group_name: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[ListSpatialAnchorsAccountKeysResult]
Copy
func ListSpatialAnchorsAccountKeys(ctx *Context, args *ListSpatialAnchorsAccountKeysArgs, opts ...InvokeOption) (*ListSpatialAnchorsAccountKeysResult, error)
func ListSpatialAnchorsAccountKeysOutput(ctx *Context, args *ListSpatialAnchorsAccountKeysOutputArgs, opts ...InvokeOption) ListSpatialAnchorsAccountKeysResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListSpatialAnchorsAccountKeysResult> listSpatialAnchorsAccountKeys(ListSpatialAnchorsAccountKeysArgs args, InvokeOptions options)
public static Output<ListSpatialAnchorsAccountKeysResult> listSpatialAnchorsAccountKeys(ListSpatialAnchorsAccountKeysArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:mixedreality:listSpatialAnchorsAccountKeys
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Mixed Reality Account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure resource group.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Mixed Reality Account.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure resource group.
accountName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Mixed Reality Account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Azure resource group.
accountName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Mixed Reality Account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of an Azure resource group.
account_name
This property is required.
Changes to this property will trigger replacement.
str
Name of an Mixed Reality Account.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of an Azure resource group.
accountName
This property is required.
Changes to this property will trigger replacement.
String
Name of an Mixed Reality Account.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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.
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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi