Delen via


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
resourceGroupName
path True

string

De naam van de resourcegroep waarin de Recovery Services-kluis aanwezig is.

subscriptionId
path True

string

De abonnements-id.

vaultName
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

BackupResourceVaultConfig

Eigenschappen van BackupResourceVaultConfigResource

tags

object

Resourcetags.

Antwoorden

Name Type Description
200 OK

BackupResourceVaultConfigResource

OK

Other Status Codes

NewErrorResponse

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
BackupResourceVaultConfig

Configuratiedetails van de resourcekluis van de back-up.

BackupResourceVaultConfigResource

Configuratiedetails van de resourcekluis van de back-up.

EnhancedSecurityState

Ingeschakeld of uitgeschakeld.

Error

Het foutobject.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

NewErrorResponse

Het antwoord van het resourcebeheerfout.

SoftDeleteFeatureState

Functiestatus voorlopig verwijderen

StorageType

Opslagtype

StorageTypeState

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

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

SoftDeleteFeatureState

Functiestatus voorlopig verwijderen

softDeleteRetentionPeriodInDays

integer

Bewaarperiode voor voorlopig verwijderen in dagen

storageModelType

StorageType

Opslagtype.

storageType

StorageType

Opslagtype.

storageTypeState

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

BackupResourceVaultConfig

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

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

De foutcode.

details

NewErrorResponse[]

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

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