/// <summary> /// Returns list of jobs belonging to a backup vault /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group where the backup vault is present. /// </param> /// <param name='vaultName'> /// The name of the backup vault. /// </param> public static IPage <AzureBackupJobResource> List(this IJobsOperations operations, string resourceGroupName, string vaultName) { return(operations.ListAsync(resourceGroupName, vaultName).GetAwaiter().GetResult()); }
/// <summary> /// List Jobs /// </summary> /// <remarks> /// Lists all of the Jobs for the Transform. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group within the Azure subscription. /// </param> /// <param name='accountName'> /// The Media Services account name. /// </param> /// <param name='transformName'> /// The Transform name. /// </param> /// <param name='odataQuery'> /// OData parameters to apply to the operation. /// </param> public static IPage <Job> List(this IJobsOperations operations, string resourceGroupName, string accountName, string transformName, ODataQuery <Job> odataQuery = default(ODataQuery <Job>)) { return(operations.ListAsync(resourceGroupName, accountName, transformName, odataQuery).GetAwaiter().GetResult()); }
/// <summary> /// Lists all the jobs available under the subscription. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='skipToken'> /// $skipToken is supported on Get list of jobs, which provides the next page /// in the list of jobs. /// </param> public static IPage <JobResource> List(this IJobsOperations operations, string skipToken = default(string)) { return(operations.ListAsync(skipToken).GetAwaiter().GetResult()); }
/// <summary> /// List jobs. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> public static IPage <JobDetails> List(this IJobsOperations operations) { return(operations.ListAsync().GetAwaiter().GetResult()); }