你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzMixedRealitySpatialAnchorsAccount

Retrieve a Spatial Anchors Account.

Syntax

Get-AzMixedRealitySpatialAnchorsAccount
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMixedRealitySpatialAnchorsAccount
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMixedRealitySpatialAnchorsAccount
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMixedRealitySpatialAnchorsAccount
   -InputObject <IMixedRealityIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Retrieve a Spatial Anchors Account.

Examples

Example 1: List Spatial Anchors Accounts by Subscription.

Get-AzMixedRealitySpatialAnchorsAccount

Location Name                   ResourceGroupName
-------- ----                   -----------------
eastus   azpstestanchorsaccount azps_test_group

List Spatial Anchors Accounts by Subscription.

Example 2: List Spatial Anchors Accounts by Resource Group.

Get-AzMixedRealitySpatialAnchorsAccount -ResourceGroupName azps_test_group

Location Name                   ResourceGroupName
-------- ----                   -----------------
eastus   azpstestanchorsaccount azps_test_group

List Spatial Anchors Accounts by Resource Group.

Example 3: Retrieve a Spatial Anchors Account.

Get-AzMixedRealitySpatialAnchorsAccount -Name azpstestanchorsaccount -ResourceGroupName azps_test_group

Location Name                   ResourceGroupName
-------- ----                   -----------------
eastus   azpstestanchorsaccount azps_test_group

Retrieve a Spatial Anchors Account.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:IMixedRealityIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Name of an Mixed Reality Account.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Name of an Azure resource group.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

IMixedRealityIdentity

Outputs

ISpatialAnchorsAccount