Show / Hide Table of Contents

Class CreateBatchContextDetails

The data to create a batch context. If the value for a collection is absent or is explicitly provided as null, it will be converted to an empty value, i.e. "[]" or "{}" in json notation. This applies to nested collections as well.

Inheritance
object
CreateBatchContextDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.BatchService.Models
Assembly: OCI.DotNetSDK.Batch.dll
Syntax
public class CreateBatchContextDetails

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

Summarized information about the batch context.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Entitlements

Declaration
[JsonProperty(PropertyName = "entitlements")]
public Dictionary<string, int> Entitlements { get; set; }
Property Value
Type Description
Dictionary<string, int>

Mapping of concurrent/shared resources used in job tasks to their limits.

Fleets

Declaration
[Required(ErrorMessage = "Fleets is required.")]
[JsonProperty(PropertyName = "fleets")]
public List<CreateFleetDetails> Fleets { get; set; }
Property Value
Type Description
List<CreateFleetDetails>

List of fleet configurations related to the batch context.

Remarks

Required

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}

JobPriorityConfigurations

Declaration
[JsonProperty(PropertyName = "jobPriorityConfigurations")]
public List<JobPriorityConfiguration> JobPriorityConfigurations { get; set; }
Property Value
Type Description
List<JobPriorityConfiguration>

List of job priority configurations related to the batch context.

LoggingConfiguration

Declaration
[JsonProperty(PropertyName = "loggingConfiguration")]
public LoggingConfiguration LoggingConfiguration { get; set; }
Property Value
Type Description
LoggingConfiguration

Network

Declaration
[Required(ErrorMessage = "Network is required.")]
[JsonProperty(PropertyName = "network")]
public CreateNetworkDetails Network { get; set; }
Property Value
Type Description
CreateNetworkDetails
Remarks

Required

In this article
Back to top