Share via


BackupPoliciesOperationsExtensions.GetAsync Method

Definition

Gets the properties of the specified backup policy name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy> GetAsync (this Microsoft.Azure.Management.StorSimple8000Series.IBackupPoliciesOperations operations, string deviceName, string backupPolicyName, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.StorSimple8000Series.IBackupPoliciesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.BackupPolicy>
<Extension()>
Public Function GetAsync (operations As IBackupPoliciesOperations, deviceName As String, backupPolicyName As String, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of BackupPolicy)

Parameters

operations
IBackupPoliciesOperations

The operations group for this extension method.

deviceName
String

The device name

backupPolicyName
String

The name of backup policy to be fetched.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to