AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateJobQueue operation. Updates a job queue.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Batch.AmazonBatchRequest
      Amazon.Batch.Model.UpdateJobQueueRequest

Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateJobQueueRequest : AmazonBatchRequest
         IAmazonWebServiceRequest

The UpdateJobQueueRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateJobQueueRequest()

Properties

NameTypeDescription
Public Property ComputeEnvironmentOrder System.Collections.Generic.List<Amazon.Batch.Model.ComputeEnvironmentOrder>

Gets and sets the property ComputeEnvironmentOrder.

Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment should execute a given job.

Public Property JobQueue System.String

Gets and sets the property JobQueue.

The name or the Amazon Resource Name (ARN) of the job queue.

Public Property Priority System.Int32

Gets and sets the property Priority.

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the priority parameter) are evaluated first when associated with same compute environment. Priority is determined in descending order, for example, a job queue with a priority value of 10 is given scheduling preference over a job queue with a priority value of 1.

Public Property State Amazon.Batch.JQState

Gets and sets the property State.

Describes the queue's ability to accept new jobs.

Examples

This example disables a job queue so that it can be deleted.

To update a job queue


var response = client.UpdateJobQueue(new UpdateJobQueueRequest 
{
    JobQueue = "GPGPU",
    State = "DISABLED"
});

string jobQueueArn = response.JobQueueArn;
string jobQueueName = response.JobQueueName;

            

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms