共用方式為


JobPreparationTask.Id Property

Definition

Gets or sets a string that uniquely identifies the Job Preparation Task within the Job.

[Newtonsoft.Json.JsonProperty(PropertyName="id")]
public string Id { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="id")>]
member this.Id : string with get, set
Public Property Id As String

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The ID can contain any combination of alphanumeric characters including hyphens and underscores and cannot contain more than 64 characters. If you do not specify this property, the Batch service assigns a default value of 'jobpreparation'. No other Task in the Job can have the same ID as the Job Preparation Task. If you try to submit a Task with the same id, the Batch service rejects the request with error code TaskIdSameAsJobPreparationTask; if you are calling the REST API directly, the HTTP status code is 409 (Conflict).

Applies to