Class MaintenanceWindow
Details of Maintenance Window in Fleet Application Management.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class MaintenanceWindow
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
[Required(ErrorMessage = "DefinedTags is required.")]
[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"}} |
Remarks
Required
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
[Required(ErrorMessage = "DisplayName is required.")]
[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.
|
Remarks
Required
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
[Required(ErrorMessage = "FreeformTags is required.")]
[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"} |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource. |
Remarks
Required
IsOutage
Declaration
[Required(ErrorMessage = "IsOutage is required.")]
[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. |
Remarks
Required
IsRecurring
Declaration
[Required(ErrorMessage = "IsRecurring is required.")]
[JsonProperty(PropertyName = "isRecurring")]
public bool? IsRecurring { get; set; }
Property Value
Type | Description |
---|---|
bool? | Is this a recurring maintenance window? |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
public string LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
string | A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceWindow.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceWindow.LifecycleStateEnum? | The current state of the MaintenanceWindow. |
Remarks
Required
MaintenanceWindowType
Declaration
[JsonProperty(PropertyName = "maintenanceWindowType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceWindowType? MaintenanceWindowType { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceWindowType? | Type of the MaintenanceWindow. |
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. |
ResourceRegion
Declaration
[JsonProperty(PropertyName = "resourceRegion")]
public string ResourceRegion { get; set; }
Property Value
Type | Description |
---|---|
string | Associated region |
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. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
TaskInitiationCutoff
Declaration
[Required(ErrorMessage = "TaskInitiationCutoff is required.")]
[JsonProperty(PropertyName = "taskInitiationCutoff")]
public int? TaskInitiationCutoff { get; set; }
Property Value
Type | Description |
---|---|
int? | Task initiation cutoff time for the maintenance window. |
Remarks
Required
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time this resource was created. An RFC3339 formatted datetime string. |
Remarks
Required
TimeScheduleStart
Declaration
[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. |
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The time this resource was last updated. An RFC3339 formatted datetime string. |