Aracılığıyla paylaş


Backup Resource Vault Configs - Put

Kasa güvenlik yapılandırması Güncelleştirmeler.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupconfig/vaultconfig?api-version=2023-02-01

URI Parametreleri

Name İçinde Gerekli Tür Description
resourceGroupName
path True

string

Kurtarma hizmetleri kasasının bulunduğu kaynak grubunun adı.

subscriptionId
path True

string

Abonelik kimliği.

vaultName
path True

string

Kurtarma hizmetleri kasasının adı.

api-version
query True

string

İstemci Api Sürümü.

İstek Gövdesi

Name Tür Description
eTag

string

İsteğe bağlı ETag.

location

string

Kaynak konumu.

properties

BackupResourceVaultConfig

BackupResourceVaultConfigResource özellikleri

tags

object

Kaynak etiketleri.

Yanıtlar

Name Tür Description
200 OK

BackupResourceVaultConfigResource

Tamam

Other Status Codes

NewErrorResponse

İşlemin neden başarısız olduğunu açıklayan hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation kullanıcı hesabınızın kimliğine bürünme.

Örnekler

Update Vault Security Config

Sample Request

PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/SwaggerTest/backupconfig/vaultconfig?api-version=2023-02-01

{
  "properties": {
    "enhancedSecurityState": "Enabled",
    "softDeleteFeatureState": "Enabled"
  }
}

Sample Response

{
  "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",
    "softDeleteFeatureState": "Enabled"
  }
}

Tanımlar

Name Description
BackupResourceVaultConfig

Yedekleme kaynak kasası yapılandırma ayrıntıları.

BackupResourceVaultConfigResource

Yedekleme kaynak kasası yapılandırma ayrıntıları.

EnhancedSecurityState

Etkin veya Devre Dışı.

Error

Hata nesnesi.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

NewErrorResponse

Kaynak yönetimi hata yanıtı.

SoftDeleteFeatureState

Geçici Silme özelliği durumu

StorageType

Depolama türü

StorageTypeState

Kilitli veya Kilitli Değil. Bir makine bir kaynağa kaydedildikten sonra storageTypeState her zaman Kilitli durumdadır.

BackupResourceVaultConfig

Yedekleme kaynak kasası yapılandırma ayrıntıları.

Name Tür Description
enhancedSecurityState

EnhancedSecurityState

Etkin veya Devre Dışı.

isSoftDeleteFeatureStateEditable

boolean

Bu bayrak artık kullanımda değil. Kasanın geçici silme durumunu ayarlamak için lütfen 'softDeleteFeatureState' kullanın

resourceGuardOperationRequests

string[]

ResourceGuard İşlem İstekleri

softDeleteFeatureState

SoftDeleteFeatureState

Geçici Silme özelliği durumu

softDeleteRetentionPeriodInDays

integer

Geçici silme saklama süresi (gün cinsinden)

storageModelType

StorageType

Depolama türü.

storageType

StorageType

Depolama türü.

storageTypeState

StorageTypeState

Kilitli veya Kilitli Değil. Bir makine bir kaynağa kaydedildikten sonra storageTypeState her zaman Kilitli durumdadır.

BackupResourceVaultConfigResource

Yedekleme kaynak kasası yapılandırma ayrıntıları.

Name Tür Description
eTag

string

İsteğe bağlı ETag.

id

string

Kaynak Kimliği, kaynağın tam yolunu temsil eder.

location

string

Kaynak konumu.

name

string

Kaynakla ilişkili kaynak adı.

properties

BackupResourceVaultConfig

BackupResourceVaultConfigResource özellikleri

tags

object

Kaynak etiketleri.

type

string

Kaynak türü, Namespace/ResourceType/ResourceType/... formunun tam yolunu temsil eder.

EnhancedSecurityState

Etkin veya Devre Dışı.

Name Tür Description
Disabled

string

Enabled

string

Invalid

string

Error

Hata nesnesi.

Name Tür Description
additionalInfo

ErrorAdditionalInfo[]

Hata ek bilgileri.

code

string

Hata kodu.

details

NewErrorResponse[]

Hata ayrıntıları.

message

string

Hata iletisi.

target

string

Hata hedefi.

ErrorAdditionalInfo

Kaynak yönetimi hatası ek bilgileri.

Name Tür Description
info

object

Ek bilgiler.

type

string

Ek bilgi türü.

NewErrorResponse

Kaynak yönetimi hata yanıtı.

Name Tür Description
error

Error

Hata nesnesi.

SoftDeleteFeatureState

Geçici Silme özelliği durumu

Name Tür Description
AlwaysON

string

Disabled

string

Enabled

string

Invalid

string

StorageType

Depolama türü

Name Tür Description
GeoRedundant

string

Invalid

string

LocallyRedundant

string

ReadAccessGeoZoneRedundant

string

ZoneRedundant

string

StorageTypeState

Kilitli veya Kilitli Değil. Bir makine bir kaynağa kaydedildikten sonra storageTypeState her zaman Kilitli durumdadır.

Name Tür Description
Invalid

string

Locked

string

Unlocked

string