/// <summary>
 /// Gets a job with id in 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>
 /// <param name='jobId'>
 /// The Job ID. This is a GUID-formatted string (e.g.
 /// 00000000-0000-0000-0000-000000000000).
 /// </param>
 public static AzureBackupJobResource Get(this IJobsOperations operations, string resourceGroupName, string vaultName, string jobId)
 {
     return(operations.GetAsync(resourceGroupName, vaultName, jobId).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets information about the specified job.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The Resource Group Name
 /// </param>
 /// <param name='jobName'>
 /// The name of the job Resource within the specified resource group. job names
 /// must be between 3 and 24 characters in length and use any alphanumeric and
 /// underscore only
 /// </param>
 /// <param name='expand'>
 /// $expand is supported on details parameter for job, which provides details
 /// on the job stages.
 /// </param>
 public static JobResource Get(this IJobsOperations operations, string resourceGroupName, string jobName, string expand = default(string))
 {
     return(operations.GetAsync(resourceGroupName, jobName, expand).GetAwaiter().GetResult());
 }
Пример #3
0
 /// <summary>
 /// Gets the details of a specified job on a data box edge/gateway device.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='deviceName'>
 /// The device name.
 /// </param>
 /// <param name='name'>
 /// The job name.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The resource group name.
 /// </param>
 public static Job Get(this IJobsOperations operations, string deviceName, string name, string resourceGroupName)
 {
     return(operations.GetAsync(deviceName, name, resourceGroupName).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets information about a Job.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceGroupName'>
 /// Name of the resource group to which the resource belongs.
 /// </param>
 /// <param name='workspaceName'>
 /// The name of the workspace. Workspace names can only contain a combination
 /// of alphanumeric characters along with dash (-) and underscore (_). The name
 /// must be from 1 through 64 characters long.
 /// </param>
 /// <param name='experimentName'>
 /// The name of the experiment. Experiment names can only contain a combination
 /// of alphanumeric characters along with dash (-) and underscore (_). The name
 /// must be from 1 through 64 characters long.
 /// </param>
 /// <param name='jobName'>
 /// The name of the job within the specified resource group. Job names can only
 /// contain a combination of alphanumeric characters along with dash (-) and
 /// underscore (_). The name must be from 1 through 64 characters long.
 /// </param>
 public static Job Get(this IJobsOperations operations, string resourceGroupName, string workspaceName, string experimentName, string jobName)
 {
     return(operations.GetAsync(resourceGroupName, workspaceName, experimentName, jobName).GetAwaiter().GetResult());
 }
Пример #5
0
 /// <summary>
 /// This method gets a data manager job given the jobId.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dataServiceName'>
 /// The name of the data service of the job definition.
 /// </param>
 /// <param name='jobDefinitionName'>
 /// The name of the job definition of the job.
 /// </param>
 /// <param name='jobId'>
 /// The job id of the job queried.
 /// </param>
 /// <param name='resourceGroupName'>
 /// The Resource Group Name
 /// </param>
 /// <param name='dataManagerName'>
 /// The name of the DataManager Resource within the specified resource group.
 /// DataManager names must be between 3 and 24 characters in length and use any
 /// alphanumeric and underscore only
 /// </param>
 /// <param name='expand'>
 /// $expand is supported on details parameter for job, which provides details
 /// on the job stages.
 /// </param>
 public static Job Get(this IJobsOperations operations, string dataServiceName, string jobDefinitionName, string jobId, string resourceGroupName, string dataManagerName, string expand = default(string))
 {
     return(operations.GetAsync(dataServiceName, jobDefinitionName, jobId, resourceGroupName, dataManagerName, expand).GetAwaiter().GetResult());
 }
 /// <summary>
 /// Gets a job.
 /// </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='serverName'>
 /// The name of the server.
 /// </param>
 /// <param name='jobAgentName'>
 /// The name of the job agent.
 /// </param>
 /// <param name='jobName'>
 /// The name of the job to get.
 /// </param>
 public static Job Get(this IJobsOperations operations, string resourceGroupName, string serverName, string jobAgentName, string jobName)
 {
     return(operations.GetAsync(resourceGroupName, serverName, jobAgentName, jobName).GetAwaiter().GetResult());
 }
Пример #7
0
 /// <summary>
 /// Get Job
 /// </summary>
 /// <remarks>
 /// Gets a Job.
 /// </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='jobName'>
 /// The Job name.
 /// </param>
 public static Job Get(this IJobsOperations operations, string resourceGroupName, string accountName, string transformName, string jobName)
 {
     return(operations.GetAsync(resourceGroupName, accountName, transformName, jobName).GetAwaiter().GetResult());
 }
Пример #8
0
 /// <summary>
 /// Get job by id
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='jobId'>
 /// Id of the job.
 /// </param>
 public static JobDetails Get(this IJobsOperations operations, string jobId)
 {
     return(operations.GetAsync(jobId).GetAwaiter().GetResult());
 }