Delen via


Protection Containers - Inquire

Vraagt alle beveiligbare items onder de opgegeven container op.
Dit is een asynchrone bewerking en de resultaten moeten worden bijgehouden met behulp van locatieheader of Azure-async-URL.

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

URI-parameters

Name In Vereist Type Description
containerName
path True

string

Naam van de container waarin de aanvraag moet worden geactiveerd.

fabricName
path True

string

Infrastructuurnaam die is gekoppeld aan de container.

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
202 Accepted

Geaccepteerd

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

Inquire Azure Storage Protection Containers

Voorbeeldaanvraag

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/inquire?api-version=2024-10-01

Voorbeeldrespons

Location: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationResults/00000000-0000-0000-0000-000000000000?api-version=2016-12-01
Azure-AsyncOperation: https://management.azure.com/Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.RecoveryServices/vaults/testvault/backupFabrics/Azure/protectionContainers/storagecontainer;Storage;test-rg;teststorage/operationsStatus/00000000-0000-0000-0000-000000000000?api-version=2016-12-01
Retry-After: 60

Definities

Name Description
CloudError

Een foutreactie van de Container Instance-service.

CloudErrorBody

Een foutreactie van de Container Instance-service.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

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.