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 |
---|---|---|---|---|
fabric
|
path | True |
string |
|
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. |
$filter
|
query |
string |
OData-filteropties. |
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
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 |
---|---|
Azure |
Azure Storage-specifieke beveiligbare containers |
Azure |
Azure-workloadspecifieke container |
Backup |
Type back-upbeheer voor het back-upitem. |
Cloud |
Een foutreactie van de Container Instance-service. |
Cloud |
Een foutreactie van de Container Instance-service. |
Error |
Aanvullende informatie over de resourcebeheerfout. |
Protectable |
Beveiligbare containerklasse. |
Protectable |
Lijst met ProtectableContainer-resources |
AzureStorageProtectableContainer
Azure Storage-specifieke beveiligbare containers
Name | Type | Description |
---|---|---|
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:
Storage |
Type van de container. De waarde van deze eigenschap voor
|
AzureVMAppContainerProtectableContainer
Azure-workloadspecifieke container
Name | Type | Description |
---|---|---|
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:
VMApp |
Type van de container. De waarde van deze eigenschap voor
|
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 |
Het foutobject. |
CloudErrorBody
Een foutreactie van de Container Instance-service.
Name | Type | Description |
---|---|---|
additionalInfo |
De fout bevat aanvullende informatie. |
|
code |
string |
Een id voor de fout. Codes zijn invariant en zijn bedoeld om programmatisch te worden gebruikt. |
details |
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 |
Lijst met resources. |