Class CreateSchedulingPlanDetails
Request to create Scheduling Plan.
Inherited Members
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class CreateSchedulingPlanDetails
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. |
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.
|
IsUsingRecommendedScheduledActions
Declaration
[JsonProperty(PropertyName = "isUsingRecommendedScheduledActions")]
public bool? IsUsingRecommendedScheduledActions { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, recommended scheduled actions will be generated for the scheduling plan. |
ResourceId
Declaration
[Required(ErrorMessage = "ResourceId is required.")]
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource. |
Remarks
Required
SchedulingPolicyId
Declaration
[Required(ErrorMessage = "SchedulingPolicyId is required.")]
[JsonProperty(PropertyName = "schedulingPolicyId")]
public string SchedulingPolicyId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the Scheduling Policy. |
Remarks
Required
ServiceType
Declaration
[Required(ErrorMessage = "ServiceType is required.")]
[JsonProperty(PropertyName = "serviceType")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateSchedulingPlanDetails.ServiceTypeEnum? ServiceType { get; set; }
Property Value
Type | Description |
---|---|
CreateSchedulingPlanDetails.ServiceTypeEnum? | The service type of the Scheduling Plan. |
Remarks
Required