Sdílet prostřednictvím


ProtectionIntentOperationsExtensions.GetAsync Method

Definition

Provides the details of the protection intent up item. This is an asynchronous operation. To know the status of the operation, call the GetItemOperationResult API.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource> GetAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations operations, string vaultName, string resourceGroupName, string fabricName, string intentObjectName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IProtectionIntentOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.ProtectionIntentResource>
<Extension()>
Public Function GetAsync (operations As IProtectionIntentOperations, vaultName As String, resourceGroupName As String, fabricName As String, intentObjectName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProtectionIntentResource)

Parameters

operations
IProtectionIntentOperations

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 backed up item.

intentObjectName
String

Backed up item name whose details are to be fetched.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to