New-AzRestorePoint

Met deze cmdlet kunt u een nieuw herstelpunt maken

Syntax

New-AzRestorePoint
   [-ResourceGroupName] <String>
   [-RestorePointCollectionName] <String>
   [-Name] <String>
   [[-Location] <String>]
   [-RestorePointId <String>]
   [-DisksToExclude <String[]>]
   [-ConsistencyMode <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Een nieuw herstelpunt maken

Voorbeelden

Voorbeeld 1

New-AzRestorePoint -ResourceGroupName "myRG" -RestorePointCollectionName "myCollection" -Name "myRestorePoint" -ConsistencyMode "CrashConsistent"

Hiermee maakt u een nieuw herstelpunt

Parameters

-Confirm

Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.

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

-ConsistencyMode

ConsistencyMode van het herstelpunt. Kan worden opgegeven in de invoer tijdens het maken van een herstelpunt. Voorlopig wordt alleen CrashConsistent geaccepteerd als een geldige invoer. Raadpleeg voor https://aka.ms/RestorePoints meer informatie.

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

-DefaultProfile

De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.

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

-DisksToExclude

Lijst met waarden voor schijfresource-id's die de klant van het herstelpunt wil uitsluiten. Als er geen schijven zijn opgegeven, worden alle schijven opgenomen.

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

-Location

De regio van het herstelpunt instellen

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

-Name

De naam van het herstelpunt

Type:String
Aliases:RestorePointName
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Resourcegroepnaam waartoe deze resource behoort

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

-RestorePointCollectionName

De naam van de verzameling herstelpunten waarvan dit herstelpunt deel uitmaakt

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

-RestorePointId

ARM-id van het bronherstelpunt

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

-WhatIf

Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.

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

Invoerwaarden

String

String[]

Uitvoerwaarden

Microsoft.Azure.Commands.Compute.Automation.Models.PSRestorePoint