/// <summary> /// Gets a long term retention backup. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group that contains the resource. You can obtain /// this value from the Azure Resource Manager API or the portal. /// </param> /// <param name='locationName'> /// The location of the database. /// </param> /// <param name='longTermRetentionServerName'> /// The name of the server /// </param> /// <param name='longTermRetentionDatabaseName'> /// The name of the database /// </param> /// <param name='backupName'> /// The backup name. /// </param> public static LongTermRetentionBackup GetByResourceGroup(this ILongTermRetentionBackupsOperations operations, string resourceGroupName, string locationName, string longTermRetentionServerName, string longTermRetentionDatabaseName, string backupName) { return(operations.GetByResourceGroupAsync(resourceGroupName, locationName, longTermRetentionServerName, longTermRetentionDatabaseName, backupName).GetAwaiter().GetResult()); }