Class CreateJobDetails
The details required to create a job.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
[JsonConverter(typeof(CreateJobDetailsModelConverter))]
public class CreateJobDetails
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 in which the job resides. |
Remarks
Required
DatabaseSubType
Declaration
[JsonProperty(PropertyName = "databaseSubType")]
[JsonConverter(typeof(StringEnumConverter))]
public DatabaseSubType? DatabaseSubType { get; set; }
Property Value
Type | Description |
---|---|
DatabaseSubType? | The subtype of the Oracle Database where the job has to be executed. Only applicable when managedDatabaseGroupId is provided. |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | The description of the job. |
ManagedDatabaseGroupId
Declaration
[JsonProperty(PropertyName = "managedDatabaseGroupId")]
public string ManagedDatabaseGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Managed Database Group where the job has to be executed. |
ManagedDatabaseId
Declaration
[JsonProperty(PropertyName = "managedDatabaseId")]
public string ManagedDatabaseId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Managed Database where the job has to be executed. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the job. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the job cannot be modified. It must be unique in the compartment and must begin with an alphabetic character. |
Remarks
Required
ResultLocation
Declaration
[JsonProperty(PropertyName = "resultLocation")]
public JobExecutionResultLocation ResultLocation { get; set; }
Property Value
Type | Description |
---|---|
JobExecutionResultLocation |
ScheduleDetails
Declaration
[JsonProperty(PropertyName = "scheduleDetails")]
public JobScheduleDetails ScheduleDetails { get; set; }
Property Value
Type | Description |
---|---|
JobScheduleDetails |
ScheduleType
Declaration
[Required(ErrorMessage = "ScheduleType is required.")]
[JsonProperty(PropertyName = "scheduleType")]
[JsonConverter(typeof(StringEnumConverter))]
public Job.ScheduleTypeEnum? ScheduleType { get; set; }
Property Value
Type | Description |
---|---|
Job.ScheduleTypeEnum? | The schedule type of the job. |
Remarks
Required
Timeout
Declaration
[JsonProperty(PropertyName = "timeout")]
public string Timeout { get; set; }
Property Value
Type | Description |
---|---|
string | The job timeout duration, which is expressed like "1h 10m 15s". |