Remove-AzNetAppFilesSnapshotPolicy
Löscht eine Azure NetApp Files (ANF)-Momentaufnahmerichtlinie.
Syntax
Remove-AzNetAppFilesSnapshotPolicy
-ResourceGroupName <String>
-AccountName <String>
-Name <String>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzNetAppFilesSnapshotPolicy
-Name <String>
-AccountObject <PSNetAppFilesAccount>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzNetAppFilesSnapshotPolicy
-ResourceId <String>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Remove-AzNetAppFilesSnapshotPolicy
-InputObject <PSNetAppFilesSnapshotPolicy>
[-PassThru]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Beschreibung
Das cmdlet Remove-AzNetAppFilesSnapshotPolicy eine ANF-Momentaufnahmerichtlinie löscht.
Beispiele
Beispiel 1
Remove-AzNetAppFilesSnapshotPolicy -ResourceGroupName "MyRG" -AccountName "MyAccount" -Name "MySnapshotPolicy"
Mit diesem Befehl wird die neue ANF-Sicherungsrichtlinie mit dem Namen "MyBackupPolicy" für das Konto "MyAccount" gelöscht.
Parameter
-AccountName
Der Name des ANF-Kontos
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-AccountObject
Das Account für das neue Snapshot-Richtlinienobjekt
Typ: | PSNetAppFilesAccount |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-Confirm
Fordert Sie vor dem Ausführen des Cmdlets zur Bestätigung auf.
Typ: | SwitchParameter |
Aliase: | cf |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-DefaultProfile
Die Anmeldeinformationen, Konten, Mandanten und Abonnements, die für die Kommunikation mit Azure verwendet werden.
Typ: | IAzureContextContainer |
Aliase: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-InputObject
Das snapshotPolicy-Objekt, das entfernt werden soll
Typ: | PSNetAppFilesSnapshotPolicy |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-Name
Der Name der ANF-Momentaufnahmerichtlinie
Typ: | String |
Aliase: | SnapshotPolicyName |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-PassThru
Gibt zurück, ob das angegebene Konto erfolgreich entfernt wurde.
Typ: | SwitchParameter |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-ResourceGroupName
Die Ressourcengruppe des ANF-Kontos
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
-ResourceId
Die Ressourcen-ID der ANF-Momentaufnahmerichtlinie
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
-WhatIf
Zeigt, was passiert, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.
Typ: | SwitchParameter |
Aliase: | wi |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
Eingaben
Ausgaben
Ähnliche Themen
- Get-AzNetAppFilesSnapshotPolicy
- New-AzNetAppFilesSnapshotPolicy
- Update-AzNetAppFilesSnapshotPolicy
- Set-AzNetAppFilesSnapshotPolicy
- Get-AzNetAppFilesSnapshot
- New-AzNetAppFilesSnapshot
- Remove-AzNetAppFilesSnapshot
- Get-AzNetAppFilesVolume
- New-AzNetAppFilesVolume
- Update-AzNetAppFilesVolume
- Remove-AzNetAppFilesVolume
Azure PowerShell