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
   -InputObject <IMixedRealityIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzMixedRealitySpatialAnchorsAccount
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-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 credentials, account, tenant, and subscription used for communication with Azure.

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

Notes

ALIASES

COMPLEX PARAMETER PROPERTIES

To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.

INPUTOBJECT <IMixedRealityIdentity>: Identity Parameter

  • [AccountName <String>]: Name of an Mixed Reality Account.
  • [Id <String>]: Resource identity path
  • [Location <String>]: The location in which uniqueness will be verified.
  • [ResourceGroupName <String>]: Name of an Azure resource group.
  • [SubscriptionId <String>]: The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)