ProtectionContainersOperationsExtensions.InquireAsync Method

Definition

Inquires all the protectable items under the given container.

public static System.Threading.Tasks.Task InquireAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionContainersOperations operations, string vaultName, string resourceGroupName, string fabricName, string containerName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSContainersInquiryQueryObject> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member InquireAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionContainersOperations * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.RecoveryServices.Backup.Models.BMSContainersInquiryQueryObject> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function InquireAsync (operations As IProtectionContainersOperations, vaultName As String, resourceGroupName As String, fabricName As String, containerName As String, Optional odataQuery As ODataQuery(Of BMSContainersInquiryQueryObject) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IProtectionContainersOperations

The operations group for this extension method.

vaultName
String

The name of the recovery services vault.

resourceGroupName
String

The name of the resource group where the recovery services vault is present.

fabricName
String

Fabric Name associated with the container.

containerName
String

Name of the container in which inquiry needs to be triggered.

odataQuery
ODataQuery<BMSContainersInquiryQueryObject>

OData parameters to apply to the operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This is an async operation and the results should be tracked using location header or Azure-async-url.

Applies to