Class CreateMaintenanceWindowDetails
The information about new MaintenanceWindow.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class CreateMaintenanceWindowDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Tenancy OCID |
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. Example: {"foo-namespace": {"bar-key": "value"}} |
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly description. To provide some insight about the resource. Avoid entering confidential information. |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. Does not have to be unique, and it's changeable.
Avoid entering confidential information.
|
Duration
Declaration
[Required(ErrorMessage = "Duration is required.")]
[JsonProperty(PropertyName = "duration")]
public string Duration { get; set; }
Property Value
Type | Description |
---|---|
string | Duration if schedule type is Custom |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
IsOutage
Declaration
[JsonProperty(PropertyName = "isOutage")]
public bool? IsOutage { get; set; }
Property Value
Type | Description |
---|---|
bool? | Does the maintenenace window cause outage? |
IsRecurring
Declaration
[JsonProperty(PropertyName = "isRecurring")]
public bool? IsRecurring { get; set; }
Property Value
Type | Description |
---|---|
bool? | Is this is a recurring maintenance window |
MaintenanceWindowType
Declaration
[JsonProperty(PropertyName = "maintenanceWindowType")]
[JsonConverter(typeof(StringEnumConverter))]
public MaintenanceWindowType? MaintenanceWindowType { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceWindowType? | Type of maintenenace window |
Recurrences
Declaration
[JsonProperty(PropertyName = "recurrences")]
public string Recurrences { get; set; }
Property Value
Type | Description |
---|---|
string | Recurrence rule specification if recurring |
TaskInitiationCutoff
Declaration
[JsonProperty(PropertyName = "taskInitiationCutoff")]
public int? TaskInitiationCutoff { get; set; }
Property Value
Type | Description |
---|---|
int? | Task initiation cutoff |
TimeScheduleStart
Declaration
[JsonProperty(PropertyName = "timeScheduleStart")]
public DateTime? TimeScheduleStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Start time of schedule |