Class CreateMaintenanceWindowDetails
The information about the 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 | Compartment 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 of the maintenance window. Specify how long the maintenance window remains open. |
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? An outage indicates whether a maintenance window can consider operations that require downtime. It means a period when the application is not accessible. |
IsRecurring
Declaration
[JsonProperty(PropertyName = "isRecurring")]
public bool? IsRecurring { get; set; }
Property Value
Type | Description |
---|---|
bool? | Is this a recurring maintenance window? |
Recurrences
Declaration
[JsonProperty(PropertyName = "recurrences")]
public string Recurrences { get; set; }
Property Value
Type | Description |
---|---|
string | Recurrence rule specification if maintenance window recurring. Specify the frequency of running the maintenance window. |
TimeScheduleStart
Declaration
[Required(ErrorMessage = "TimeScheduleStart is required.")]
[JsonProperty(PropertyName = "timeScheduleStart")]
public DateTime? TimeScheduleStart { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Specify the date and time of the day that the maintenance window starts. |
Remarks
Required