Class JobSummary
A summary of the job.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class JobSummary
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(ResponseEnumConverter))]
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. |
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 | The description of the job. |
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"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the job. |
Remarks
Required
JobType
Declaration
[Required(ErrorMessage = "JobType is required.")]
[JsonProperty(PropertyName = "jobType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public JobTypes? JobType { get; set; }
Property Value
Type | Description |
---|---|
JobTypes? | The type of job. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Job.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
Job.LifecycleStateEnum? | The lifecycle state of the job. |
Remarks
Required
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 display name of the job. |
Remarks
Required
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(ResponseEnumConverter))]
public Job.ScheduleTypeEnum? ScheduleType { get; set; }
Property Value
Type | Description |
---|---|
Job.ScheduleTypeEnum? | The schedule type of the job. |
Remarks
Required
SubmissionErrorMessage
Declaration
[JsonProperty(PropertyName = "submissionErrorMessage")]
public string SubmissionErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string | The error message that is returned if the job submission fails. Null is returned in all other scenarios. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
System tags can be viewed by users, but can only be created by the system.
|
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time when the job was created. |
Remarks
Required
TimeUpdated
Declaration
[Required(ErrorMessage = "TimeUpdated is required.")]
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time when the job was last updated. |
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". |