Delen via


Protectable Containers - List

Geeft een lijst weer van de containers die kunnen worden geregistreerd bij Recovery Services Vault.

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

URI-parameters

Name In Vereist Type Description
fabricName
path True

string

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.

$filter
query

string

OData-filteropties.

Antwoorden

Name Type Description
200 OK

ProtectableContainerResourceList

OK

Other Status Codes

CloudError

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

List protectable items with backupManagementType filter as AzureStorage

Voorbeeldaanvraag

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

Voorbeeldrespons

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

Definities

Name Description
AzureStorageProtectableContainer

Azure Storage-specifieke beveiligbare containers

AzureVMAppContainerProtectableContainer

Azure-workloadspecifieke container

BackupManagementType

Type back-upbeheer voor het back-upitem.

CloudError

Een foutreactie van de Container Instance-service.

CloudErrorBody

Een foutreactie van de Container Instance-service.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ProtectableContainerResource

Beveiligbare containerklasse.

ProtectableContainerResourceList

Lijst met ProtectableContainer-resources

AzureStorageProtectableContainer

Azure Storage-specifieke beveiligbare containers

Name Type Description
backupManagementType

BackupManagementType

Type back-upbeheer voor de container.

containerId

string

Infrastructuur-id van de container, zoals ARM-id.

friendlyName

string

Beschrijvende naam van de container.

healthStatus

string

Status van de container.

protectableContainerType string:

StorageContainer

Type van de container. De waarde van deze eigenschap voor

  1. Compute Azure VM is Microsoft.Compute/virtualMachines
  2. Klassieke Compute Azure-VM is Microsoft.ClassicCompute/virtualMachines

AzureVMAppContainerProtectableContainer

Azure-workloadspecifieke container

Name Type Description
backupManagementType

BackupManagementType

Type back-upbeheer voor de container.

containerId

string

Infrastructuur-id van de container, zoals ARM-id.

friendlyName

string

Beschrijvende naam van de container.

healthStatus

string

Status van de container.

protectableContainerType string:

VMAppContainer

Type van de container. De waarde van deze eigenschap voor

  1. Compute Azure VM is Microsoft.Compute/virtualMachines
  2. Klassieke Compute Azure-VM is Microsoft.ClassicCompute/virtualMachines

BackupManagementType

Type back-upbeheer voor het back-upitem.

Name Type Description
AzureBackupServer

string

AzureIaasVM

string

AzureSql

string

AzureStorage

string

AzureWorkload

string

DPM

string

DefaultBackup

string

Invalid

string

MAB

string

CloudError

Een foutreactie van de Container Instance-service.

Name Type Description
error

CloudErrorBody

Het foutobject.

CloudErrorBody

Een foutreactie van de Container Instance-service.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

De fout bevat aanvullende informatie.

code

string

Een id voor de fout. Codes zijn invariant en zijn bedoeld om programmatisch te worden gebruikt.

details

CloudErrorBody[]

Een lijst met aanvullende informatie over de fout.

message

string

Een bericht met een beschrijving van de fout, bedoeld om te worden weergegeven in een gebruikersinterface.

target

string

Het doel van de specifieke fout. Bijvoorbeeld de naam van de eigenschap in fout.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het extra informatietype.

ProtectableContainerResource

Beveiligbare containerklasse.

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 ProtectableContainer:

Eigenschappen van ProtectableContainerResource

tags

object

Resourcetags.

type

string

Resourcetype vertegenwoordigt het volledige pad van de formuliernaamruimte/ResourceType/ResourceType/...

ProtectableContainerResourceList

Lijst met ProtectableContainer-resources

Name Type Description
nextLink

string

De URI voor het ophalen van de volgende pagina met resources. Call ListNext() haalt de volgende pagina met resources op.

value

ProtectableContainerResource[]

Lijst met resources.