Aracılığıyla paylaş


Protectable Containers - List

Kurtarma Hizmetleri Kasası'na kaydedilebilecek kapsayıcıları listeler.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectableContainers?api-version=2025-08-01
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectableContainers?api-version=2025-08-01&$filter={$filter}

URI Parametreleri

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

string

resourceGroupName
path True

string

minLength: 1
maxLength: 90

Kaynak grubunun adı. Ad büyük/küçük harfe duyarsız.

subscriptionId
path True

string

minLength: 1

Hedef aboneliğin kimliği.

vaultName
path True

string

Kurtarma hizmetleri kasasının adı.

api-version
query True

string

minLength: 1

Bu işlem için kullanılacak API sürümü.

$filter
query

string

OData filtre seçenekleri.

Yanıtlar

Name Tür Description
200 OK

ProtectableContainerResourceList

Azure işlemi başarıyla tamamlandı.

Other Status Codes

ErrorResponse

Beklenmeyen bir hata yanıtı.

Güvenlik

azure_auth

Azure Active Directory OAuth2 Akışı.

Tür: oauth2
Akış: implicit
Yetkilendirme URL’si: https://login.microsoftonline.com/common/oauth2/authorize

Kapsamlar

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

Örnekler

List protectable items with backupManagementType filter as AzureStorage

Örnek isteği

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectableContainers?api-version=2025-08-01&$filter=backupManagementType eq 'AzureStorage' and workloadType eq 'AzureFileShare'

Örnek yanıt

{
  "value": [
    {
      "name": "StorageContainer;storage;test-rg;testst",
      "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectableContainers",
      "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectableContainers/StorageContainer;storage;test-rg;teststorage",
      "properties": {
        "backupManagementType": "AzureStorage",
        "containerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorage",
        "friendlyName": "teststorage",
        "healthStatus": "Healthy",
        "protectableContainerType": "StorageContainer"
      }
    },
    {
      "name": "StorageContainer;ClassicStorage;test-rg;teststorage",
      "type": "Microsoft.RecoveryServices/vaults/backupFabrics/protectableContainers",
      "id": "/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectableContainers/StorageContainer;ClassicStorage;test-rg;teststorage",
      "properties": {
        "backupManagementType": "AzureStorage",
        "containerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.ClassicStorage/storageAccounts/teststorage",
        "friendlyName": "teststorage",
        "healthStatus": "Healthy",
        "protectableContainerType": "StorageContainer"
      }
    }
  ]
}

Tanımlar

Name Description
AzureStorageProtectableContainer

Azure Depolama'ya özgü korunabilir kapsayıcılar

AzureVMAppContainerProtectableContainer

Azure iş yüküne özgü kapsayıcı

BackupManagementType

Geçerli işi yürütmek için yedekleme yönetimi türü.

createdByType

Kaynağı oluşturan kimliğin türü.

ErrorDetail

Hata Ayrıntısı Kod, Mesaj ve Önerileri kapsülleyen sınıf.

ErrorResponse

Hata yanıtı

ProtectableContainerResource

Korunabilir Kapsayıcı Sınıfı.

ProtectableContainerResourceList

ProtectableContainer kaynaklarının listesi

ProtectableContainerType

Kapsayıcının türü. Bu özelliğin değeri

  1. İşlem Azure VM'si Microsoft.Compute/virtualMachines'dir
  2. Klasik İşlem Azure VM'si Microsoft.ClassicCompute/virtualMachines'dir
systemData

Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.

AzureStorageProtectableContainer

Azure Depolama'ya özgü korunabilir kapsayıcılar

Name Tür Description
backupManagementType

BackupManagementType

Kapsayıcı için yedekleme yönetimi türü.

containerId

string

ARM Kimliği gibi kapsayıcının Doku Kimliği.

friendlyName

string

Kapsayıcının kolay adı.

healthStatus

string

Kapsayıcının sistem durumu.

protectableContainerType string:

StorageContainer

Kapsayıcının türü. Bu özelliğin değeri

  1. İşlem Azure VM'si Microsoft.Compute/virtualMachines'dir
  2. Klasik İşlem Azure VM'si Microsoft.ClassicCompute/virtualMachines'dir

AzureVMAppContainerProtectableContainer

Azure iş yüküne özgü kapsayıcı

Name Tür Description
backupManagementType

BackupManagementType

Kapsayıcı için yedekleme yönetimi türü.

containerId

string

ARM Kimliği gibi kapsayıcının Doku Kimliği.

friendlyName

string

Kapsayıcının kolay adı.

healthStatus

string

Kapsayıcının sistem durumu.

protectableContainerType string:

VMAppContainer

Kapsayıcının türü. Bu özelliğin değeri

  1. İşlem Azure VM'si Microsoft.Compute/virtualMachines'dir
  2. Klasik İşlem Azure VM'si Microsoft.ClassicCompute/virtualMachines'dir

BackupManagementType

Geçerli işi yürütmek için yedekleme yönetimi türü.

Değer Description
Invalid
AzureIaasVM
MAB
DPM
AzureBackupServer
AzureSql
AzureStorage
AzureWorkload
DefaultBackup

createdByType

Kaynağı oluşturan kimliğin türü.

Değer Description
User
Application
ManagedIdentity
Key

ErrorDetail

Hata Ayrıntısı Kod, Mesaj ve Önerileri kapsülleyen sınıf.

Name Tür Description
code

string

Hata kodu.

message

string

Kodla ilgili Hata Mesajı.

recommendations

string[]

Öneri dizelerinin listesi.

ErrorResponse

Hata yanıtı

Name Tür Description
error

ErrorDetail

Hata nesnesi.

ProtectableContainerResource

Korunabilir Kapsayıcı Sınıfı.

Name Tür Description
eTag

string

İsteğe bağlı ETag.

id

string

Kaynağın tam kaynak kimliği. Örn - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

location

string

Kaynak konumu.

name

string

Kaynağın adı

properties ProtectableContainer:

ProtectableContainerResource özellikleri

systemData

systemData

createdBy ve modifiedBy bilgilerini içeren Azure Resource Manager meta verileri.

tags

object

Kaynak etiketleri.

type

string

Kaynağın türü. Örneğin, "Microsoft.Compute/virtualMachines" veya "Microsoft.Storage/storageAccounts"

ProtectableContainerResourceList

ProtectableContainer kaynaklarının listesi

Name Tür Description
nextLink

string

Her API çağrısının sayfa başına en fazla 200 kaynak döndüreceği bir sonraki kaynak sayfasını getirmek için URI. Toplam kaynak sayısı 200'ü aşarsa sonraki sayfayı getirmek için ListNext() kullanın.

value

ProtectableContainerResource[]

Kaynak listesi.

ProtectableContainerType

Kapsayıcının türü. Bu özelliğin değeri

  1. İşlem Azure VM'si Microsoft.Compute/virtualMachines'dir
  2. Klasik İşlem Azure VM'si Microsoft.ClassicCompute/virtualMachines'dir
Değer Description
Invalid
Unknown
IaasVMContainer
IaasVMServiceContainer
DPMContainer
AzureBackupServerContainer
MABContainer
Cluster
AzureSqlContainer
Windows
VCenter
VMAppContainer
SQLAGWorkLoadContainer
StorageContainer
GenericContainer
Microsoft.ClassicCompute/virtualMachines
Microsoft.Compute/virtualMachines
AzureWorkloadContainer

systemData

Kaynağın oluşturulması ve son değiştirilmesiyle ilgili meta veriler.

Name Tür Description
createdAt

string (date-time)

Kaynak oluşturma (UTC) zaman damgası.

createdBy

string

Kaynağı oluşturan kimlik.

createdByType

createdByType

Kaynağı oluşturan kimliğin türü.

lastModifiedAt

string (date-time)

Kaynağın son değişikliğinin zaman damgası (UTC)

lastModifiedBy

string

Kaynağı en son değiştiren kimlik.

lastModifiedByType

createdByType

Kaynağı en son değiştiren kimlik türü.