/// <summary> /// Backup the backup policy now. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name /// </param> /// <param name='backupPolicyName'> /// The backup policy name. /// </param> /// <param name='backupType'> /// The backup Type. This can be cloudSnapshot or localSnapshot. /// </param> /// <param name='resourceGroupName'> /// The resource group name /// </param> /// <param name='managerName'> /// The manager name /// </param> public static void BeginBackupNow(this IBackupPoliciesOperations operations, string deviceName, string backupPolicyName, string backupType, string resourceGroupName, string managerName) { operations.BeginBackupNowAsync(deviceName, backupPolicyName, backupType, resourceGroupName, managerName).GetAwaiter().GetResult(); }