Set-AzsBackupConfiguration
Een back-uplocatie bijwerken.
Syntax
Set-AzsBackupConfiguration
[-Location <String>]
[-ResourceGroupName <String>]
[-SubscriptionId <String>]
[-BackupFrequencyInHours <Int32>]
[-BackupRetentionPeriodInDays <Int32>]
[-EncryptionCertPath <String>]
[-IsBackupSchedulerEnabled]
[-Password <SecureString>]
[-Path <String>]
[-Tag <Hashtable>]
[-UserName <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Set-AzsBackupConfiguration
-Backup \<IBackupLocation>
[-Location <String>]
[-ResourceGroupName <String>]
[-SubscriptionId <String>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
Description
Een back-uplocatie bijwerken.
Voorbeelden
Voorbeeld 1: Back-upconfiguratie instellen
PS C:\> Set-AzsBackupConfiguration -Path "\\***.***.***.***\Share" -Username "asdomain1\azurestackadmin" -Password $password -EncryptionCertPath $encryptionCertPath
Stel de back-upconfiguratie van Azure Stack in.
Parameters
De opdracht uitvoeren als een taak
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Informatie over de back-uplocatie. Zie de sectie NOTES voor BACKUP-eigenschappen en het maken van een hash-tabel om deze samen te stellen.
| Type: | Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Models.Api20180901.IBackupLocation |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Het interval, in uren, voor de frequentie waarmee de scheduler een back-up maakt.
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De bewaarperiode, in dagen, voor backs in de opslaglocatie.
| Type: | Int32 |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De referenties, het account, de tenant en het abonnement dat wordt gebruikt voor communicatie met Azure.
| Type: | PSObject |
| Aliases: | AzureRMContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Pad naar het versleutelingscertificaatbestand met openbare sleutel (.cer).
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Is waar als de back-upplanner is ingeschakeld.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Naam van de back-uplocatie.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzLocation)[0].Location |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Voer de opdracht asynchroon uit
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Wachtwoord voor toegang tot de locatie.
| Type: | SecureString |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Pad naar de updatelocatie
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
De naam van de resourcegroep.
| Type: | String |
| Position: | Named |
| Default value: | "system.$((Get-AzLocation)[0].Location)" |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Abonnementsreferenties waarmee het Microsoft Azure-abonnement uniek wordt geïdentificeerd. De abonnements-id maakt deel uit van de URI voor elke serviceoproep.
| Type: | String |
| Position: | Named |
| Default value: | (Get-AzContext).Subscription.Id |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Lijst met sleutelwaardeparen.
| Type: | Hashtable |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Gebruikersnaam voor toegang tot de locatie.
| Type: | String |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
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 |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Invoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Models.Api20180901.IBackupLocation
Uitvoerwaarden
Microsoft.Azure.PowerShell.Cmdlets.BackupAdmin.Models.Api20180901.IBackupLocation
Notities
ALIASSEN
EIGENSCHAPPEN VAN COMPLEXE PARAMETERS
Als u de hieronder beschreven parameters wilt maken, maakt u een hash-tabel met de juiste eigenschappen. Voer Get-Help about_Hash_Tables uit voor informatie over hashtabellen.
BACKUP <IBackupLocation>: informatie over de back-uplocatie.
[Location <String>]: Locatie van de resource.[Tag \<IResourceTags>]: Lijst met sleutel-waardeparen.[(Any) <String>]: Hiermee wordt aangegeven dat een eigenschap aan dit object kan worden toegevoegd.
[BackupFrequencyInHours <Int32?>]: Het interval, in uren, voor de frequentie die de scheduler maakt een back-up.[BackupRetentionPeriodInDays <Int32?>]: De bewaarperiode, in dagen, voor backs in de opslaglocatie.[EncryptionCertBase64 <String>]: De onbewerkte base64-gegevens voor het back-upversleutelingscertificaat.[IsBackupSchedulerEnabled <Boolean?>]: Waar als de back-upplanner is ingeschakeld.[Password <String>]: Wachtwoord voor toegang tot de locatie.[Path <String>]: Pad naar de updatelocatie[UserName <String>]: Gebruikersnaam voor toegang tot de locatie.