Backup Resource Vault Configs - Update
Hiermee werkt u de beveiligingsconfiguratie van de kluis bij.
PATCH https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig?api-version=2024-10-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
De naam van de resourcegroep waarin de Recovery Services-kluis aanwezig is. |
subscription
|
path | True |
string |
De abonnements-id. |
vault
|
path | True |
string |
De naam van de Recovery Services-kluis. |
api-version
|
query | True |
string |
Client-API-versie. |
Aanvraagkoptekst
Name | Vereist | Type | Description |
---|---|---|---|
x-ms-authorization-auxiliary |
string |
Aanvraagbody
Name | Type | Description |
---|---|---|
eTag |
string |
Optionele ETag. |
location |
string |
Resourcelocatie. |
properties |
Eigenschappen van BackupResourceVaultConfigResource |
|
tags |
object |
Resourcetags. |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Foutreactie waarin wordt beschreven waarom de bewerking is mislukt. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | Imitatie van uw gebruikersaccount. |
Voorbeelden
Update Vault Security Config
Voorbeeldaanvraag
PATCH https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig?api-version=2024-10-01
{
"properties": {
"enhancedSecurityState": "Enabled"
}
}
Voorbeeldrespons
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig",
"name": "vaultconfig",
"type": "Microsoft.RecoveryServices/vaults/backupconfig",
"properties": {
"enhancedSecurityState": "Enabled"
}
}
Definities
Name | Description |
---|---|
Backup |
Configuratiedetails van de resourcekluis van de back-up. |
Backup |
Configuratiedetails van de resourcekluis van de back-up. |
Enhanced |
Ingeschakeld of uitgeschakeld. |
Error |
Het foutobject. |
Error |
Aanvullende informatie over de resourcebeheerfout. |
New |
Het antwoord van het resourcebeheerfout. |
Soft |
Functiestatus voorlopig verwijderen |
Storage |
Opslagtype |
Storage |
Vergrendeld of ontgrendeld. Zodra een machine is geregistreerd bij een resource, wordt de storageTypeState altijd vergrendeld. |
BackupResourceVaultConfig
Configuratiedetails van de resourcekluis van de back-up.
Name | Type | Description |
---|---|---|
enhancedSecurityState |
Ingeschakeld of uitgeschakeld. |
|
isSoftDeleteFeatureStateEditable |
boolean |
Deze vlag wordt niet meer gebruikt. Gebruik softDeleteFeatureState om de status voor voorlopig verwijderen voor de kluis in te stellen |
resourceGuardOperationRequests |
string[] |
ResourceGuard-bewerkingsaanvragen |
softDeleteFeatureState |
Functiestatus voorlopig verwijderen |
|
softDeleteRetentionPeriodInDays |
integer |
Bewaarperiode voor voorlopig verwijderen in dagen |
storageModelType |
Opslagtype. |
|
storageType |
Opslagtype. |
|
storageTypeState |
Vergrendeld of ontgrendeld. Zodra een machine is geregistreerd bij een resource, wordt de storageTypeState altijd vergrendeld. |
BackupResourceVaultConfigResource
Configuratiedetails van de resourcekluis van de back-up.
Name | Type | Description |
---|---|---|
eTag |
string |
Optionele ETag. |
id |
string |
Resource-id vertegenwoordigt het volledige pad naar de resource. |
location |
string |
Resourcelocatie. |
name |
string |
Resourcenaam die is gekoppeld aan de resource. |
properties |
Eigenschappen van BackupResourceVaultConfigResource |
|
tags |
object |
Resourcetags. |
type |
string |
Resourcetype vertegenwoordigt het volledige pad van de formuliernaamruimte/ResourceType/ResourceType/... |
EnhancedSecurityState
Ingeschakeld of uitgeschakeld.
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
|
Invalid |
string |
Error
Het foutobject.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
De foutcode. |
details |
De foutdetails. |
|
message |
string |
Het foutbericht. |
target |
string |
Het foutdoel. |
ErrorAdditionalInfo
Aanvullende informatie over de resourcebeheerfout.
Name | Type | Description |
---|---|---|
info |
object |
De aanvullende informatie. |
type |
string |
Het extra informatietype. |
NewErrorResponse
Het antwoord van het resourcebeheerfout.
Name | Type | Description |
---|---|---|
error |
Het foutobject. |
SoftDeleteFeatureState
Functiestatus voorlopig verwijderen
Name | Type | Description |
---|---|---|
AlwaysON |
string |
|
Disabled |
string |
|
Enabled |
string |
|
Invalid |
string |
StorageType
Opslagtype
Name | Type | Description |
---|---|---|
GeoRedundant |
string |
|
Invalid |
string |
|
LocallyRedundant |
string |
|
ReadAccessGeoZoneRedundant |
string |
|
ZoneRedundant |
string |
StorageTypeState
Vergrendeld of ontgrendeld. Zodra een machine is geregistreerd bij een resource, wordt de storageTypeState altijd vergrendeld.
Name | Type | Description |
---|---|---|
Invalid |
string |
|
Locked |
string |
|
Unlocked |
string |