Class MaintenanceWindowSummary
General information of a Maintenance Window
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class MaintenanceWindowSummary
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | Compartment Identifier OCID. |
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"}} |
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"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of maintenance window. |
Remarks
Required
LifecycleDetails
Declaration
[JsonProperty(PropertyName = "lifecycleDetails")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceWindowLifecycleDetails? LifecycleDetails { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceWindowLifecycleDetails? | Lifecycle Details of the Maintenance Window. |
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceWindowLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceWindowLifecycleState? | Lifecycle state of the monitored resource. |
Name
Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | Maintenance Window name. |
Remarks
Required
NumberOfResources
Declaration
[JsonProperty(PropertyName = "numberOfResources")]
public int? NumberOfResources { get; set; }
Property Value
Type | Description |
---|---|
int? | Number of resources of the Maintenance window. |
OperationStatus
Declaration
[JsonProperty(PropertyName = "operationStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceWindowOperationStatus? OperationStatus { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceWindowOperationStatus? | Status of the most recent operation of the Maintenance Window. |
OperationType
Declaration
[JsonProperty(PropertyName = "operationType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MaintenanceWindowOperationType? OperationType { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceWindowOperationType? | The name of the most recent operation of the Maintenance window. |
Schedule
Declaration
[JsonProperty(PropertyName = "schedule")]
public MaintenanceWindowSchedule Schedule { get; set; }
Property Value
Type | Description |
---|---|
MaintenanceWindowSchedule |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |