ComputeBatchModelFactory.BatchJobScheduleCreateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BatchJobScheduleCreateContent.
public static Azure.Compute.Batch.BatchJobScheduleCreateContent BatchJobScheduleCreateContent (string id = default, string displayName = default, Azure.Compute.Batch.BatchJobScheduleConfiguration schedule = default, Azure.Compute.Batch.BatchJobSpecification jobSpecification = default, System.Collections.Generic.IEnumerable<Azure.Compute.Batch.MetadataItem> metadata = default);
static member BatchJobScheduleCreateContent : string * string * Azure.Compute.Batch.BatchJobScheduleConfiguration * Azure.Compute.Batch.BatchJobSpecification * seq<Azure.Compute.Batch.MetadataItem> -> Azure.Compute.Batch.BatchJobScheduleCreateContent
Public Shared Function BatchJobScheduleCreateContent (Optional id As String = Nothing, Optional displayName As String = Nothing, Optional schedule As BatchJobScheduleConfiguration = Nothing, Optional jobSpecification As BatchJobSpecification = Nothing, Optional metadata As IEnumerable(Of MetadataItem) = Nothing) As BatchJobScheduleCreateContent
Parameters
- id
- String
A string that uniquely identifies the schedule within the Account. The ID can contain any combination of alphanumeric characters including hyphens and underscores, and cannot contain more than 64 characters. The ID is case-preserving and case-insensitive (that is, you may not have two IDs within an Account that differ only by case).
- displayName
- String
The display name for the schedule. The display name need not be unique and can contain any Unicode characters up to a maximum length of 1024.
- schedule
- BatchJobScheduleConfiguration
The schedule according to which Jobs will be created. All times are fixed respective to UTC and are not impacted by daylight saving time.
- jobSpecification
- BatchJobSpecification
The details of the Jobs to be created on this schedule.
- metadata
- IEnumerable<MetadataItem>
A list of name-value pairs associated with the schedule as metadata. The Batch service does not assign any meaning to metadata; it is solely for the use of user code.
Returns
A new BatchJobScheduleCreateContent instance for mocking.
Applies to
Azure SDK for .NET