Remove-AzSpatialAnchorsAccount

Delete Spatial Anchors Account

Syntax

Remove-AzSpatialAnchorsAccount
      -ResourceGroupName <String>
      -Name <String>
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzSpatialAnchorsAccount
      -ResourceId <String>
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzSpatialAnchorsAccount
      -InputObject <PSSpatialAnchorsAccount>
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Delete specified Spatial Anchors Account from certain Subscription and Resource Group.

Examples

Example 1

PS C:\> Remove-AzSpatialAnchorsAccount -ResourceGroup rg1 -Name example

Delete Spatial Anchors Account "example" from current Subscription and Resource Group "rg1".

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

The custom domain object.

Type:PSSpatialAnchorsAccount
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-Name

Spatial Anchors Account Name.

Type:String
Aliases:SpatialAnchorsAccountName, AccountName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Return object if specified.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-ResourceGroupName

Resource Group Name.

Type:String
Aliases:ResourceGroup
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ResourceId

Resource ID of Spatial Anchors Account.

Type:String
Aliases:Id
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

PSSpatialAnchorsAccount

SwitchParameter

Outputs

Boolean