Get-AzCosmosDBMongoDBCollectionBackupInformation
Hiermee haalt u de meest recente terug te plaatsen tijdstempel voor een mongodb-verzameling.
Syntaxis
Get-AzCosmosDBMongoDBCollectionBackupInformation
-ResourceGroupName <String>
-AccountName <String>
-DatabaseName <String>
-Name <String>
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Hiermee haalt u de meest recente terug te plaatsen tijdstempel voor een mongodb-verzameling. Dit is de meest recente tijdstempel tot aan welke gebruiker deze verzameling kan herstellen.
Voorbeelden
Voorbeeld 1
Get-AzCosmosDBMongoDBCollectionBackupInformation -ResourceGroupName CosmosDBResourceGroup3668 -AccountName pitr-sql-stage-source -DatabaseName TestDB1 -Name TestCollectionInDB1 -Location "EAST US 2"
LatestRestorableTimestamp
-------------------------
1623042210
Hiermee haalt u de meest recente terug te plaatsen tijdstempel voor een mongodb-verzameling. Dit is de meest recente tijdstempel tot aan welke gebruiker deze verzameling kan herstellen.
Parameters
-AccountName
Naam van het Cosmos DB-databaseaccount.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-DatabaseName
Databasenaam.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-DefaultProfile
De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.
Type: | IAzureContextContainer |
Aliassen: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Location
-Naam van de locatie in tekenreeks.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Name
Naam van verzameling.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ResourceGroupName
Naam van resourcegroep.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Invoerwaarden
None
Uitvoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.CosmosDB.Models.Restore.MongoDB.PSMongoDBBackupInformation
Azure PowerShell