Compartir a través de


IProtectionContainersOperations.InquireWithHttpMessagesAsync Método

Definición

Consulta todos los elementos que se pueden proteger en el contenedor especificado.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse> InquireWithHttpMessagesAsync (string vaultName, string resourceGroupName, string fabricName, string containerName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSContainersInquiryQueryObject> odataQuery = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member InquireWithHttpMessagesAsync : string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSContainersInquiryQueryObject> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse>
Public Function InquireWithHttpMessagesAsync (vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, Optional odataQuery As ODataQuery(Of BMSContainersInquiryQueryObject) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse)

Parámetros

vaultName
String

Nombre del almacén de Recovery Services.

resourceGroupName
String

Nombre del grupo de recursos donde está presente el almacén de Recovery Services.

fabricName
String

Nombre del tejido asociado al contenedor.

containerName
String

Nombre del contenedor en el que se debe desencadenar la consulta.

odataQuery
ODataQuery<BMSContainersInquiryQueryObject>

Parámetros de OData que se van a aplicar a la operación.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando un parámetro obligatorio es NULL

Comentarios

Se trata de una operación asincrónica y se debe realizar un seguimiento de los resultados mediante el encabezado de ubicación o Azure-async-url.

Se aplica a