Documentation
¶
Index ¶
- type Alarm
- type AlarmArgs
- type AlarmArray
- type AlarmArrayInput
- type AlarmArrayOutput
- type AlarmInput
- type AlarmMap
- type AlarmMapInput
- type AlarmMapOutput
- type AlarmOutput
- func (o AlarmOutput) AlarmSummary() pulumi.StringOutput
- func (o AlarmOutput) Body() pulumi.StringOutput
- func (o AlarmOutput) CompartmentId() pulumi.StringOutput
- func (o AlarmOutput) DefinedTags() pulumi.StringMapOutput
- func (o AlarmOutput) Destinations() pulumi.StringArrayOutput
- func (o AlarmOutput) DisplayName() pulumi.StringOutput
- func (AlarmOutput) ElementType() reflect.Type
- func (o AlarmOutput) EvaluationSlackDuration() pulumi.StringOutput
- func (o AlarmOutput) FreeformTags() pulumi.StringMapOutput
- func (o AlarmOutput) IsEnabled() pulumi.BoolOutput
- func (o AlarmOutput) IsNotificationsPerMetricDimensionEnabled() pulumi.BoolOutput
- func (o AlarmOutput) MessageFormat() pulumi.StringOutput
- func (o AlarmOutput) MetricCompartmentId() pulumi.StringOutput
- func (o AlarmOutput) MetricCompartmentIdInSubtree() pulumi.BoolOutput
- func (o AlarmOutput) Namespace() pulumi.StringOutput
- func (o AlarmOutput) NotificationTitle() pulumi.StringOutput
- func (o AlarmOutput) NotificationVersion() pulumi.StringOutput
- func (o AlarmOutput) Overrides() AlarmOverrideArrayOutput
- func (o AlarmOutput) PendingDuration() pulumi.StringOutput
- func (o AlarmOutput) Query() pulumi.StringOutput
- func (o AlarmOutput) RepeatNotificationDuration() pulumi.StringOutput
- func (o AlarmOutput) Resolution() pulumi.StringOutput
- func (o AlarmOutput) ResourceGroup() pulumi.StringOutput
- func (o AlarmOutput) RuleName() pulumi.StringOutput
- func (o AlarmOutput) Severity() pulumi.StringOutput
- func (o AlarmOutput) State() pulumi.StringOutput
- func (o AlarmOutput) Suppression() AlarmSuppressionTypeOutput
- func (o AlarmOutput) TimeCreated() pulumi.StringOutput
- func (o AlarmOutput) TimeUpdated() pulumi.StringOutput
- func (o AlarmOutput) ToAlarmOutput() AlarmOutput
- func (o AlarmOutput) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
- type AlarmOverride
- type AlarmOverrideArgs
- type AlarmOverrideArray
- type AlarmOverrideArrayInput
- type AlarmOverrideArrayOutput
- func (AlarmOverrideArrayOutput) ElementType() reflect.Type
- func (o AlarmOverrideArrayOutput) Index(i pulumi.IntInput) AlarmOverrideOutput
- func (o AlarmOverrideArrayOutput) ToAlarmOverrideArrayOutput() AlarmOverrideArrayOutput
- func (o AlarmOverrideArrayOutput) ToAlarmOverrideArrayOutputWithContext(ctx context.Context) AlarmOverrideArrayOutput
- type AlarmOverrideInput
- type AlarmOverrideOutput
- func (o AlarmOverrideOutput) Body() pulumi.StringPtrOutput
- func (AlarmOverrideOutput) ElementType() reflect.Type
- func (o AlarmOverrideOutput) PendingDuration() pulumi.StringPtrOutput
- func (o AlarmOverrideOutput) Query() pulumi.StringPtrOutput
- func (o AlarmOverrideOutput) RuleName() pulumi.StringPtrOutput
- func (o AlarmOverrideOutput) Severity() pulumi.StringPtrOutput
- func (o AlarmOverrideOutput) ToAlarmOverrideOutput() AlarmOverrideOutput
- func (o AlarmOverrideOutput) ToAlarmOverrideOutputWithContext(ctx context.Context) AlarmOverrideOutput
- type AlarmState
- type AlarmSuppression
- type AlarmSuppressionAlarmSuppressionTarget
- type AlarmSuppressionAlarmSuppressionTargetArgs
- func (AlarmSuppressionAlarmSuppressionTargetArgs) ElementType() reflect.Type
- func (i AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetOutput() AlarmSuppressionAlarmSuppressionTargetOutput
- func (i AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetOutput
- func (i AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput() AlarmSuppressionAlarmSuppressionTargetPtrOutput
- func (i AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetPtrOutput
- type AlarmSuppressionAlarmSuppressionTargetInput
- type AlarmSuppressionAlarmSuppressionTargetOutput
- func (o AlarmSuppressionAlarmSuppressionTargetOutput) AlarmId() pulumi.StringPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetOutput) CompartmentId() pulumi.StringPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
- func (AlarmSuppressionAlarmSuppressionTargetOutput) ElementType() reflect.Type
- func (o AlarmSuppressionAlarmSuppressionTargetOutput) TargetType() pulumi.StringOutput
- func (o AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetOutput() AlarmSuppressionAlarmSuppressionTargetOutput
- func (o AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetOutput
- func (o AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput() AlarmSuppressionAlarmSuppressionTargetPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetPtrOutput
- type AlarmSuppressionAlarmSuppressionTargetPtrInput
- type AlarmSuppressionAlarmSuppressionTargetPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) AlarmId() pulumi.StringPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) CompartmentId() pulumi.StringPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) Elem() AlarmSuppressionAlarmSuppressionTargetOutput
- func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) ElementType() reflect.Type
- func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) TargetType() pulumi.StringPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput() AlarmSuppressionAlarmSuppressionTargetPtrOutput
- func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetPtrOutput
- type AlarmSuppressionArgs
- type AlarmSuppressionArray
- type AlarmSuppressionArrayInput
- type AlarmSuppressionArrayOutput
- func (AlarmSuppressionArrayOutput) ElementType() reflect.Type
- func (o AlarmSuppressionArrayOutput) Index(i pulumi.IntInput) AlarmSuppressionOutput
- func (o AlarmSuppressionArrayOutput) ToAlarmSuppressionArrayOutput() AlarmSuppressionArrayOutput
- func (o AlarmSuppressionArrayOutput) ToAlarmSuppressionArrayOutputWithContext(ctx context.Context) AlarmSuppressionArrayOutput
- type AlarmSuppressionInput
- type AlarmSuppressionMap
- type AlarmSuppressionMapInput
- type AlarmSuppressionMapOutput
- func (AlarmSuppressionMapOutput) ElementType() reflect.Type
- func (o AlarmSuppressionMapOutput) MapIndex(k pulumi.StringInput) AlarmSuppressionOutput
- func (o AlarmSuppressionMapOutput) ToAlarmSuppressionMapOutput() AlarmSuppressionMapOutput
- func (o AlarmSuppressionMapOutput) ToAlarmSuppressionMapOutputWithContext(ctx context.Context) AlarmSuppressionMapOutput
- type AlarmSuppressionOutput
- func (o AlarmSuppressionOutput) AlarmSuppressionTarget() AlarmSuppressionAlarmSuppressionTargetOutput
- func (o AlarmSuppressionOutput) CompartmentId() pulumi.StringOutput
- func (o AlarmSuppressionOutput) DefinedTags() pulumi.StringMapOutput
- func (o AlarmSuppressionOutput) Description() pulumi.StringOutput
- func (o AlarmSuppressionOutput) Dimensions() pulumi.StringMapOutput
- func (o AlarmSuppressionOutput) DisplayName() pulumi.StringOutput
- func (AlarmSuppressionOutput) ElementType() reflect.Type
- func (o AlarmSuppressionOutput) FreeformTags() pulumi.StringMapOutput
- func (o AlarmSuppressionOutput) Level() pulumi.StringOutput
- func (o AlarmSuppressionOutput) State() pulumi.StringOutput
- func (o AlarmSuppressionOutput) SuppressionConditions() AlarmSuppressionSuppressionConditionArrayOutput
- func (o AlarmSuppressionOutput) TimeCreated() pulumi.StringOutput
- func (o AlarmSuppressionOutput) TimeSuppressFrom() pulumi.StringOutput
- func (o AlarmSuppressionOutput) TimeSuppressUntil() pulumi.StringOutput
- func (o AlarmSuppressionOutput) TimeUpdated() pulumi.StringOutput
- func (o AlarmSuppressionOutput) ToAlarmSuppressionOutput() AlarmSuppressionOutput
- func (o AlarmSuppressionOutput) ToAlarmSuppressionOutputWithContext(ctx context.Context) AlarmSuppressionOutput
- type AlarmSuppressionState
- type AlarmSuppressionSuppressionCondition
- type AlarmSuppressionSuppressionConditionArgs
- func (AlarmSuppressionSuppressionConditionArgs) ElementType() reflect.Type
- func (i AlarmSuppressionSuppressionConditionArgs) ToAlarmSuppressionSuppressionConditionOutput() AlarmSuppressionSuppressionConditionOutput
- func (i AlarmSuppressionSuppressionConditionArgs) ToAlarmSuppressionSuppressionConditionOutputWithContext(ctx context.Context) AlarmSuppressionSuppressionConditionOutput
- type AlarmSuppressionSuppressionConditionArray
- func (AlarmSuppressionSuppressionConditionArray) ElementType() reflect.Type
- func (i AlarmSuppressionSuppressionConditionArray) ToAlarmSuppressionSuppressionConditionArrayOutput() AlarmSuppressionSuppressionConditionArrayOutput
- func (i AlarmSuppressionSuppressionConditionArray) ToAlarmSuppressionSuppressionConditionArrayOutputWithContext(ctx context.Context) AlarmSuppressionSuppressionConditionArrayOutput
- type AlarmSuppressionSuppressionConditionArrayInput
- type AlarmSuppressionSuppressionConditionArrayOutput
- func (AlarmSuppressionSuppressionConditionArrayOutput) ElementType() reflect.Type
- func (o AlarmSuppressionSuppressionConditionArrayOutput) Index(i pulumi.IntInput) AlarmSuppressionSuppressionConditionOutput
- func (o AlarmSuppressionSuppressionConditionArrayOutput) ToAlarmSuppressionSuppressionConditionArrayOutput() AlarmSuppressionSuppressionConditionArrayOutput
- func (o AlarmSuppressionSuppressionConditionArrayOutput) ToAlarmSuppressionSuppressionConditionArrayOutputWithContext(ctx context.Context) AlarmSuppressionSuppressionConditionArrayOutput
- type AlarmSuppressionSuppressionConditionInput
- type AlarmSuppressionSuppressionConditionOutput
- func (o AlarmSuppressionSuppressionConditionOutput) ConditionType() pulumi.StringOutput
- func (AlarmSuppressionSuppressionConditionOutput) ElementType() reflect.Type
- func (o AlarmSuppressionSuppressionConditionOutput) SuppressionDuration() pulumi.StringOutput
- func (o AlarmSuppressionSuppressionConditionOutput) SuppressionRecurrence() pulumi.StringOutput
- func (o AlarmSuppressionSuppressionConditionOutput) ToAlarmSuppressionSuppressionConditionOutput() AlarmSuppressionSuppressionConditionOutput
- func (o AlarmSuppressionSuppressionConditionOutput) ToAlarmSuppressionSuppressionConditionOutputWithContext(ctx context.Context) AlarmSuppressionSuppressionConditionOutput
- type AlarmSuppressionType
- type AlarmSuppressionTypeArgs
- func (AlarmSuppressionTypeArgs) ElementType() reflect.Type
- func (i AlarmSuppressionTypeArgs) ToAlarmSuppressionTypeOutput() AlarmSuppressionTypeOutput
- func (i AlarmSuppressionTypeArgs) ToAlarmSuppressionTypeOutputWithContext(ctx context.Context) AlarmSuppressionTypeOutput
- func (i AlarmSuppressionTypeArgs) ToAlarmSuppressionTypePtrOutput() AlarmSuppressionTypePtrOutput
- func (i AlarmSuppressionTypeArgs) ToAlarmSuppressionTypePtrOutputWithContext(ctx context.Context) AlarmSuppressionTypePtrOutput
- type AlarmSuppressionTypeInput
- type AlarmSuppressionTypeOutput
- func (o AlarmSuppressionTypeOutput) Description() pulumi.StringPtrOutput
- func (AlarmSuppressionTypeOutput) ElementType() reflect.Type
- func (o AlarmSuppressionTypeOutput) TimeSuppressFrom() pulumi.StringOutput
- func (o AlarmSuppressionTypeOutput) TimeSuppressUntil() pulumi.StringOutput
- func (o AlarmSuppressionTypeOutput) ToAlarmSuppressionTypeOutput() AlarmSuppressionTypeOutput
- func (o AlarmSuppressionTypeOutput) ToAlarmSuppressionTypeOutputWithContext(ctx context.Context) AlarmSuppressionTypeOutput
- func (o AlarmSuppressionTypeOutput) ToAlarmSuppressionTypePtrOutput() AlarmSuppressionTypePtrOutput
- func (o AlarmSuppressionTypeOutput) ToAlarmSuppressionTypePtrOutputWithContext(ctx context.Context) AlarmSuppressionTypePtrOutput
- type AlarmSuppressionTypePtrInput
- type AlarmSuppressionTypePtrOutput
- func (o AlarmSuppressionTypePtrOutput) Description() pulumi.StringPtrOutput
- func (o AlarmSuppressionTypePtrOutput) Elem() AlarmSuppressionTypeOutput
- func (AlarmSuppressionTypePtrOutput) ElementType() reflect.Type
- func (o AlarmSuppressionTypePtrOutput) TimeSuppressFrom() pulumi.StringPtrOutput
- func (o AlarmSuppressionTypePtrOutput) TimeSuppressUntil() pulumi.StringPtrOutput
- func (o AlarmSuppressionTypePtrOutput) ToAlarmSuppressionTypePtrOutput() AlarmSuppressionTypePtrOutput
- func (o AlarmSuppressionTypePtrOutput) ToAlarmSuppressionTypePtrOutputWithContext(ctx context.Context) AlarmSuppressionTypePtrOutput
- type GetAlarmHistoryCollectionArgs
- type GetAlarmHistoryCollectionEntry
- type GetAlarmHistoryCollectionEntryArgs
- func (GetAlarmHistoryCollectionEntryArgs) ElementType() reflect.Type
- func (i GetAlarmHistoryCollectionEntryArgs) ToGetAlarmHistoryCollectionEntryOutput() GetAlarmHistoryCollectionEntryOutput
- func (i GetAlarmHistoryCollectionEntryArgs) ToGetAlarmHistoryCollectionEntryOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionEntryOutput
- type GetAlarmHistoryCollectionEntryArray
- func (GetAlarmHistoryCollectionEntryArray) ElementType() reflect.Type
- func (i GetAlarmHistoryCollectionEntryArray) ToGetAlarmHistoryCollectionEntryArrayOutput() GetAlarmHistoryCollectionEntryArrayOutput
- func (i GetAlarmHistoryCollectionEntryArray) ToGetAlarmHistoryCollectionEntryArrayOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionEntryArrayOutput
- type GetAlarmHistoryCollectionEntryArrayInput
- type GetAlarmHistoryCollectionEntryArrayOutput
- func (GetAlarmHistoryCollectionEntryArrayOutput) ElementType() reflect.Type
- func (o GetAlarmHistoryCollectionEntryArrayOutput) Index(i pulumi.IntInput) GetAlarmHistoryCollectionEntryOutput
- func (o GetAlarmHistoryCollectionEntryArrayOutput) ToGetAlarmHistoryCollectionEntryArrayOutput() GetAlarmHistoryCollectionEntryArrayOutput
- func (o GetAlarmHistoryCollectionEntryArrayOutput) ToGetAlarmHistoryCollectionEntryArrayOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionEntryArrayOutput
- type GetAlarmHistoryCollectionEntryInput
- type GetAlarmHistoryCollectionEntryOutput
- func (o GetAlarmHistoryCollectionEntryOutput) AlarmSummary() pulumi.StringOutput
- func (GetAlarmHistoryCollectionEntryOutput) ElementType() reflect.Type
- func (o GetAlarmHistoryCollectionEntryOutput) Summary() pulumi.StringOutput
- func (o GetAlarmHistoryCollectionEntryOutput) Timestamp() pulumi.StringOutput
- func (o GetAlarmHistoryCollectionEntryOutput) TimestampTriggered() pulumi.StringOutput
- func (o GetAlarmHistoryCollectionEntryOutput) ToGetAlarmHistoryCollectionEntryOutput() GetAlarmHistoryCollectionEntryOutput
- func (o GetAlarmHistoryCollectionEntryOutput) ToGetAlarmHistoryCollectionEntryOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionEntryOutput
- type GetAlarmHistoryCollectionOutputArgs
- type GetAlarmHistoryCollectionResult
- type GetAlarmHistoryCollectionResultOutput
- func (o GetAlarmHistoryCollectionResultOutput) AlarmHistorytype() pulumi.StringPtrOutput
- func (o GetAlarmHistoryCollectionResultOutput) AlarmId() pulumi.StringOutput
- func (GetAlarmHistoryCollectionResultOutput) ElementType() reflect.Type
- func (o GetAlarmHistoryCollectionResultOutput) Entries() GetAlarmHistoryCollectionEntryArrayOutput
- func (o GetAlarmHistoryCollectionResultOutput) Id() pulumi.StringOutput
- func (o GetAlarmHistoryCollectionResultOutput) IsEnabled() pulumi.BoolOutput
- func (o GetAlarmHistoryCollectionResultOutput) TimestampGreaterThanOrEqualTo() pulumi.StringPtrOutput
- func (o GetAlarmHistoryCollectionResultOutput) TimestampLessThan() pulumi.StringPtrOutput
- func (o GetAlarmHistoryCollectionResultOutput) ToGetAlarmHistoryCollectionResultOutput() GetAlarmHistoryCollectionResultOutput
- func (o GetAlarmHistoryCollectionResultOutput) ToGetAlarmHistoryCollectionResultOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionResultOutput
- type GetAlarmOverride
- type GetAlarmOverrideArgs
- type GetAlarmOverrideArray
- type GetAlarmOverrideArrayInput
- type GetAlarmOverrideArrayOutput
- func (GetAlarmOverrideArrayOutput) ElementType() reflect.Type
- func (o GetAlarmOverrideArrayOutput) Index(i pulumi.IntInput) GetAlarmOverrideOutput
- func (o GetAlarmOverrideArrayOutput) ToGetAlarmOverrideArrayOutput() GetAlarmOverrideArrayOutput
- func (o GetAlarmOverrideArrayOutput) ToGetAlarmOverrideArrayOutputWithContext(ctx context.Context) GetAlarmOverrideArrayOutput
- type GetAlarmOverrideInput
- type GetAlarmOverrideOutput
- func (o GetAlarmOverrideOutput) Body() pulumi.StringOutput
- func (GetAlarmOverrideOutput) ElementType() reflect.Type
- func (o GetAlarmOverrideOutput) PendingDuration() pulumi.StringOutput
- func (o GetAlarmOverrideOutput) Query() pulumi.StringOutput
- func (o GetAlarmOverrideOutput) RuleName() pulumi.StringOutput
- func (o GetAlarmOverrideOutput) Severity() pulumi.StringOutput
- func (o GetAlarmOverrideOutput) ToGetAlarmOverrideOutput() GetAlarmOverrideOutput
- func (o GetAlarmOverrideOutput) ToGetAlarmOverrideOutputWithContext(ctx context.Context) GetAlarmOverrideOutput
- type GetAlarmStatusesAlarmStatus
- type GetAlarmStatusesAlarmStatusArgs
- func (GetAlarmStatusesAlarmStatusArgs) ElementType() reflect.Type
- func (i GetAlarmStatusesAlarmStatusArgs) ToGetAlarmStatusesAlarmStatusOutput() GetAlarmStatusesAlarmStatusOutput
- func (i GetAlarmStatusesAlarmStatusArgs) ToGetAlarmStatusesAlarmStatusOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusOutput
- type GetAlarmStatusesAlarmStatusArray
- func (GetAlarmStatusesAlarmStatusArray) ElementType() reflect.Type
- func (i GetAlarmStatusesAlarmStatusArray) ToGetAlarmStatusesAlarmStatusArrayOutput() GetAlarmStatusesAlarmStatusArrayOutput
- func (i GetAlarmStatusesAlarmStatusArray) ToGetAlarmStatusesAlarmStatusArrayOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusArrayOutput
- type GetAlarmStatusesAlarmStatusArrayInput
- type GetAlarmStatusesAlarmStatusArrayOutput
- func (GetAlarmStatusesAlarmStatusArrayOutput) ElementType() reflect.Type
- func (o GetAlarmStatusesAlarmStatusArrayOutput) Index(i pulumi.IntInput) GetAlarmStatusesAlarmStatusOutput
- func (o GetAlarmStatusesAlarmStatusArrayOutput) ToGetAlarmStatusesAlarmStatusArrayOutput() GetAlarmStatusesAlarmStatusArrayOutput
- func (o GetAlarmStatusesAlarmStatusArrayOutput) ToGetAlarmStatusesAlarmStatusArrayOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusArrayOutput
- type GetAlarmStatusesAlarmStatusInput
- type GetAlarmStatusesAlarmStatusOutput
- func (o GetAlarmStatusesAlarmStatusOutput) AlarmSummary() pulumi.StringOutput
- func (o GetAlarmStatusesAlarmStatusOutput) DisplayName() pulumi.StringOutput
- func (GetAlarmStatusesAlarmStatusOutput) ElementType() reflect.Type
- func (o GetAlarmStatusesAlarmStatusOutput) Id() pulumi.StringOutput
- func (o GetAlarmStatusesAlarmStatusOutput) RuleName() pulumi.StringOutput
- func (o GetAlarmStatusesAlarmStatusOutput) Severity() pulumi.StringOutput
- func (o GetAlarmStatusesAlarmStatusOutput) Status() pulumi.StringOutput
- func (o GetAlarmStatusesAlarmStatusOutput) Suppressions() GetAlarmStatusesAlarmStatusSuppressionArrayOutput
- func (o GetAlarmStatusesAlarmStatusOutput) TimestampTriggered() pulumi.StringOutput
- func (o GetAlarmStatusesAlarmStatusOutput) ToGetAlarmStatusesAlarmStatusOutput() GetAlarmStatusesAlarmStatusOutput
- func (o GetAlarmStatusesAlarmStatusOutput) ToGetAlarmStatusesAlarmStatusOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusOutput
- type GetAlarmStatusesAlarmStatusSuppression
- type GetAlarmStatusesAlarmStatusSuppressionArgs
- func (GetAlarmStatusesAlarmStatusSuppressionArgs) ElementType() reflect.Type
- func (i GetAlarmStatusesAlarmStatusSuppressionArgs) ToGetAlarmStatusesAlarmStatusSuppressionOutput() GetAlarmStatusesAlarmStatusSuppressionOutput
- func (i GetAlarmStatusesAlarmStatusSuppressionArgs) ToGetAlarmStatusesAlarmStatusSuppressionOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusSuppressionOutput
- type GetAlarmStatusesAlarmStatusSuppressionArray
- func (GetAlarmStatusesAlarmStatusSuppressionArray) ElementType() reflect.Type
- func (i GetAlarmStatusesAlarmStatusSuppressionArray) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutput() GetAlarmStatusesAlarmStatusSuppressionArrayOutput
- func (i GetAlarmStatusesAlarmStatusSuppressionArray) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusSuppressionArrayOutput
- type GetAlarmStatusesAlarmStatusSuppressionArrayInput
- type GetAlarmStatusesAlarmStatusSuppressionArrayOutput
- func (GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ElementType() reflect.Type
- func (o GetAlarmStatusesAlarmStatusSuppressionArrayOutput) Index(i pulumi.IntInput) GetAlarmStatusesAlarmStatusSuppressionOutput
- func (o GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutput() GetAlarmStatusesAlarmStatusSuppressionArrayOutput
- func (o GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusSuppressionArrayOutput
- type GetAlarmStatusesAlarmStatusSuppressionInput
- type GetAlarmStatusesAlarmStatusSuppressionOutput
- func (o GetAlarmStatusesAlarmStatusSuppressionOutput) Description() pulumi.StringOutput
- func (GetAlarmStatusesAlarmStatusSuppressionOutput) ElementType() reflect.Type
- func (o GetAlarmStatusesAlarmStatusSuppressionOutput) TimeSuppressFrom() pulumi.StringOutput
- func (o GetAlarmStatusesAlarmStatusSuppressionOutput) TimeSuppressUntil() pulumi.StringOutput
- func (o GetAlarmStatusesAlarmStatusSuppressionOutput) ToGetAlarmStatusesAlarmStatusSuppressionOutput() GetAlarmStatusesAlarmStatusSuppressionOutput
- func (o GetAlarmStatusesAlarmStatusSuppressionOutput) ToGetAlarmStatusesAlarmStatusSuppressionOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusSuppressionOutput
- type GetAlarmStatusesArgs
- type GetAlarmStatusesFilter
- type GetAlarmStatusesFilterArgs
- type GetAlarmStatusesFilterArray
- func (GetAlarmStatusesFilterArray) ElementType() reflect.Type
- func (i GetAlarmStatusesFilterArray) ToGetAlarmStatusesFilterArrayOutput() GetAlarmStatusesFilterArrayOutput
- func (i GetAlarmStatusesFilterArray) ToGetAlarmStatusesFilterArrayOutputWithContext(ctx context.Context) GetAlarmStatusesFilterArrayOutput
- type GetAlarmStatusesFilterArrayInput
- type GetAlarmStatusesFilterArrayOutput
- func (GetAlarmStatusesFilterArrayOutput) ElementType() reflect.Type
- func (o GetAlarmStatusesFilterArrayOutput) Index(i pulumi.IntInput) GetAlarmStatusesFilterOutput
- func (o GetAlarmStatusesFilterArrayOutput) ToGetAlarmStatusesFilterArrayOutput() GetAlarmStatusesFilterArrayOutput
- func (o GetAlarmStatusesFilterArrayOutput) ToGetAlarmStatusesFilterArrayOutputWithContext(ctx context.Context) GetAlarmStatusesFilterArrayOutput
- type GetAlarmStatusesFilterInput
- type GetAlarmStatusesFilterOutput
- func (GetAlarmStatusesFilterOutput) ElementType() reflect.Type
- func (o GetAlarmStatusesFilterOutput) Name() pulumi.StringOutput
- func (o GetAlarmStatusesFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetAlarmStatusesFilterOutput) ToGetAlarmStatusesFilterOutput() GetAlarmStatusesFilterOutput
- func (o GetAlarmStatusesFilterOutput) ToGetAlarmStatusesFilterOutputWithContext(ctx context.Context) GetAlarmStatusesFilterOutput
- func (o GetAlarmStatusesFilterOutput) Values() pulumi.StringArrayOutput
- type GetAlarmStatusesOutputArgs
- type GetAlarmStatusesResult
- type GetAlarmStatusesResultOutput
- func (o GetAlarmStatusesResultOutput) AlarmStatuses() GetAlarmStatusesAlarmStatusArrayOutput
- func (o GetAlarmStatusesResultOutput) CompartmentId() pulumi.StringOutput
- func (o GetAlarmStatusesResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
- func (o GetAlarmStatusesResultOutput) DisplayName() pulumi.StringPtrOutput
- func (GetAlarmStatusesResultOutput) ElementType() reflect.Type
- func (o GetAlarmStatusesResultOutput) EntityId() pulumi.StringPtrOutput
- func (o GetAlarmStatusesResultOutput) Filters() GetAlarmStatusesFilterArrayOutput
- func (o GetAlarmStatusesResultOutput) Id() pulumi.StringOutput
- func (o GetAlarmStatusesResultOutput) ResourceId() pulumi.StringPtrOutput
- func (o GetAlarmStatusesResultOutput) ServiceName() pulumi.StringPtrOutput
- func (o GetAlarmStatusesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetAlarmStatusesResultOutput) ToGetAlarmStatusesResultOutput() GetAlarmStatusesResultOutput
- func (o GetAlarmStatusesResultOutput) ToGetAlarmStatusesResultOutputWithContext(ctx context.Context) GetAlarmStatusesResultOutput
- type GetAlarmSuppressionAlarmSuppressionTarget
- type GetAlarmSuppressionAlarmSuppressionTargetArgs
- func (GetAlarmSuppressionAlarmSuppressionTargetArgs) ElementType() reflect.Type
- func (i GetAlarmSuppressionAlarmSuppressionTargetArgs) ToGetAlarmSuppressionAlarmSuppressionTargetOutput() GetAlarmSuppressionAlarmSuppressionTargetOutput
- func (i GetAlarmSuppressionAlarmSuppressionTargetArgs) ToGetAlarmSuppressionAlarmSuppressionTargetOutputWithContext(ctx context.Context) GetAlarmSuppressionAlarmSuppressionTargetOutput
- type GetAlarmSuppressionAlarmSuppressionTargetArray
- func (GetAlarmSuppressionAlarmSuppressionTargetArray) ElementType() reflect.Type
- func (i GetAlarmSuppressionAlarmSuppressionTargetArray) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutput() GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
- func (i GetAlarmSuppressionAlarmSuppressionTargetArray) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
- type GetAlarmSuppressionAlarmSuppressionTargetArrayInput
- type GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
- func (GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionAlarmSuppressionTargetOutput
- func (o GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutput() GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
- func (o GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
- type GetAlarmSuppressionAlarmSuppressionTargetInput
- type GetAlarmSuppressionAlarmSuppressionTargetOutput
- func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) AlarmId() pulumi.StringOutput
- func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) CompartmentId() pulumi.StringOutput
- func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) CompartmentIdInSubtree() pulumi.BoolOutput
- func (GetAlarmSuppressionAlarmSuppressionTargetOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) TargetType() pulumi.StringOutput
- func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) ToGetAlarmSuppressionAlarmSuppressionTargetOutput() GetAlarmSuppressionAlarmSuppressionTargetOutput
- func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) ToGetAlarmSuppressionAlarmSuppressionTargetOutputWithContext(ctx context.Context) GetAlarmSuppressionAlarmSuppressionTargetOutput
- type GetAlarmSuppressionSuppressionCondition
- type GetAlarmSuppressionSuppressionConditionArgs
- func (GetAlarmSuppressionSuppressionConditionArgs) ElementType() reflect.Type
- func (i GetAlarmSuppressionSuppressionConditionArgs) ToGetAlarmSuppressionSuppressionConditionOutput() GetAlarmSuppressionSuppressionConditionOutput
- func (i GetAlarmSuppressionSuppressionConditionArgs) ToGetAlarmSuppressionSuppressionConditionOutputWithContext(ctx context.Context) GetAlarmSuppressionSuppressionConditionOutput
- type GetAlarmSuppressionSuppressionConditionArray
- func (GetAlarmSuppressionSuppressionConditionArray) ElementType() reflect.Type
- func (i GetAlarmSuppressionSuppressionConditionArray) ToGetAlarmSuppressionSuppressionConditionArrayOutput() GetAlarmSuppressionSuppressionConditionArrayOutput
- func (i GetAlarmSuppressionSuppressionConditionArray) ToGetAlarmSuppressionSuppressionConditionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionSuppressionConditionArrayOutput
- type GetAlarmSuppressionSuppressionConditionArrayInput
- type GetAlarmSuppressionSuppressionConditionArrayOutput
- func (GetAlarmSuppressionSuppressionConditionArrayOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionSuppressionConditionArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionSuppressionConditionOutput
- func (o GetAlarmSuppressionSuppressionConditionArrayOutput) ToGetAlarmSuppressionSuppressionConditionArrayOutput() GetAlarmSuppressionSuppressionConditionArrayOutput
- func (o GetAlarmSuppressionSuppressionConditionArrayOutput) ToGetAlarmSuppressionSuppressionConditionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionSuppressionConditionArrayOutput
- type GetAlarmSuppressionSuppressionConditionInput
- type GetAlarmSuppressionSuppressionConditionOutput
- func (o GetAlarmSuppressionSuppressionConditionOutput) ConditionType() pulumi.StringOutput
- func (GetAlarmSuppressionSuppressionConditionOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionSuppressionConditionOutput) SuppressionDuration() pulumi.StringOutput
- func (o GetAlarmSuppressionSuppressionConditionOutput) SuppressionRecurrence() pulumi.StringOutput
- func (o GetAlarmSuppressionSuppressionConditionOutput) ToGetAlarmSuppressionSuppressionConditionOutput() GetAlarmSuppressionSuppressionConditionOutput
- func (o GetAlarmSuppressionSuppressionConditionOutput) ToGetAlarmSuppressionSuppressionConditionOutputWithContext(ctx context.Context) GetAlarmSuppressionSuppressionConditionOutput
- type GetAlarmSuppressionType
- type GetAlarmSuppressionTypeArgs
- type GetAlarmSuppressionTypeArray
- func (GetAlarmSuppressionTypeArray) ElementType() reflect.Type
- func (i GetAlarmSuppressionTypeArray) ToGetAlarmSuppressionTypeArrayOutput() GetAlarmSuppressionTypeArrayOutput
- func (i GetAlarmSuppressionTypeArray) ToGetAlarmSuppressionTypeArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionTypeArrayOutput
- type GetAlarmSuppressionTypeArrayInput
- type GetAlarmSuppressionTypeArrayOutput
- func (GetAlarmSuppressionTypeArrayOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionTypeArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionTypeOutput
- func (o GetAlarmSuppressionTypeArrayOutput) ToGetAlarmSuppressionTypeArrayOutput() GetAlarmSuppressionTypeArrayOutput
- func (o GetAlarmSuppressionTypeArrayOutput) ToGetAlarmSuppressionTypeArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionTypeArrayOutput
- type GetAlarmSuppressionTypeInput
- type GetAlarmSuppressionTypeOutput
- func (o GetAlarmSuppressionTypeOutput) Description() pulumi.StringOutput
- func (GetAlarmSuppressionTypeOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionTypeOutput) TimeSuppressFrom() pulumi.StringOutput
- func (o GetAlarmSuppressionTypeOutput) TimeSuppressUntil() pulumi.StringOutput
- func (o GetAlarmSuppressionTypeOutput) ToGetAlarmSuppressionTypeOutput() GetAlarmSuppressionTypeOutput
- func (o GetAlarmSuppressionTypeOutput) ToGetAlarmSuppressionTypeOutputWithContext(ctx context.Context) GetAlarmSuppressionTypeOutput
- type GetAlarmSuppressionsAlarmSuppressionCollection
- type GetAlarmSuppressionsAlarmSuppressionCollectionArgs
- func (GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ElementType() reflect.Type
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionOutput
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionArray
- func (GetAlarmSuppressionsAlarmSuppressionCollectionArray) ElementType() reflect.Type
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionArrayInput
- type GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
- func (GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionsAlarmSuppressionCollectionOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionInput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItem
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTarget
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ElementType() reflect.Type
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ElementType() reflect.Type
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput() ...
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutputWithContext(ctx context.Context) ...
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayInput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput() ...
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutputWithContext(ctx context.Context) ...
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetInput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) AlarmId() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) CompartmentId() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) CompartmentIdInSubtree() pulumi.BoolOutput
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) TargetType() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ElementType() reflect.Type
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemArray
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ElementType() reflect.Type
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayInput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemInput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) AlarmSuppressionTargets() ...
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) CompartmentId() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) DefinedTags() pulumi.StringMapOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Description() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Dimensions() pulumi.StringMapOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) DisplayName() pulumi.StringOutput
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) FreeformTags() pulumi.StringMapOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Id() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Level() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) State() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) SuppressionConditions() ...
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeCreated() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeSuppressFrom() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeSuppressUntil() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeUpdated() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionCondition
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ElementType() reflect.Type
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ElementType() reflect.Type
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput() ...
- func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutputWithContext(ctx context.Context) ...
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayInput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput() ...
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutputWithContext(ctx context.Context) ...
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionInput
- type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ConditionType() pulumi.StringOutput
- func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) SuppressionDuration() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) SuppressionRecurrence() pulumi.StringOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
- type GetAlarmSuppressionsAlarmSuppressionCollectionOutput
- func (GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionOutput) Items() GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionOutput
- func (o GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionOutput
- type GetAlarmSuppressionsArgs
- type GetAlarmSuppressionsFilter
- type GetAlarmSuppressionsFilterArgs
- func (GetAlarmSuppressionsFilterArgs) ElementType() reflect.Type
- func (i GetAlarmSuppressionsFilterArgs) ToGetAlarmSuppressionsFilterOutput() GetAlarmSuppressionsFilterOutput
- func (i GetAlarmSuppressionsFilterArgs) ToGetAlarmSuppressionsFilterOutputWithContext(ctx context.Context) GetAlarmSuppressionsFilterOutput
- type GetAlarmSuppressionsFilterArray
- func (GetAlarmSuppressionsFilterArray) ElementType() reflect.Type
- func (i GetAlarmSuppressionsFilterArray) ToGetAlarmSuppressionsFilterArrayOutput() GetAlarmSuppressionsFilterArrayOutput
- func (i GetAlarmSuppressionsFilterArray) ToGetAlarmSuppressionsFilterArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsFilterArrayOutput
- type GetAlarmSuppressionsFilterArrayInput
- type GetAlarmSuppressionsFilterArrayOutput
- func (GetAlarmSuppressionsFilterArrayOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsFilterArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionsFilterOutput
- func (o GetAlarmSuppressionsFilterArrayOutput) ToGetAlarmSuppressionsFilterArrayOutput() GetAlarmSuppressionsFilterArrayOutput
- func (o GetAlarmSuppressionsFilterArrayOutput) ToGetAlarmSuppressionsFilterArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsFilterArrayOutput
- type GetAlarmSuppressionsFilterInput
- type GetAlarmSuppressionsFilterOutput
- func (GetAlarmSuppressionsFilterOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsFilterOutput) Name() pulumi.StringOutput
- func (o GetAlarmSuppressionsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetAlarmSuppressionsFilterOutput) ToGetAlarmSuppressionsFilterOutput() GetAlarmSuppressionsFilterOutput
- func (o GetAlarmSuppressionsFilterOutput) ToGetAlarmSuppressionsFilterOutputWithContext(ctx context.Context) GetAlarmSuppressionsFilterOutput
- func (o GetAlarmSuppressionsFilterOutput) Values() pulumi.StringArrayOutput
- type GetAlarmSuppressionsOutputArgs
- type GetAlarmSuppressionsResult
- type GetAlarmSuppressionsResultOutput
- func (o GetAlarmSuppressionsResultOutput) AlarmId() pulumi.StringPtrOutput
- func (o GetAlarmSuppressionsResultOutput) AlarmSuppressionCollections() GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
- func (o GetAlarmSuppressionsResultOutput) CompartmentId() pulumi.StringPtrOutput
- func (o GetAlarmSuppressionsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
- func (o GetAlarmSuppressionsResultOutput) DisplayName() pulumi.StringPtrOutput
- func (GetAlarmSuppressionsResultOutput) ElementType() reflect.Type
- func (o GetAlarmSuppressionsResultOutput) Filters() GetAlarmSuppressionsFilterArrayOutput
- func (o GetAlarmSuppressionsResultOutput) Id() pulumi.StringOutput
- func (o GetAlarmSuppressionsResultOutput) IsAllSuppressions() pulumi.BoolPtrOutput
- func (o GetAlarmSuppressionsResultOutput) Level() pulumi.StringPtrOutput
- func (o GetAlarmSuppressionsResultOutput) State() pulumi.StringPtrOutput
- func (o GetAlarmSuppressionsResultOutput) TargetType() pulumi.StringPtrOutput
- func (o GetAlarmSuppressionsResultOutput) ToGetAlarmSuppressionsResultOutput() GetAlarmSuppressionsResultOutput
- func (o GetAlarmSuppressionsResultOutput) ToGetAlarmSuppressionsResultOutputWithContext(ctx context.Context) GetAlarmSuppressionsResultOutput
- type GetAlarmsAlarm
- type GetAlarmsAlarmArgs
- type GetAlarmsAlarmArray
- type GetAlarmsAlarmArrayInput
- type GetAlarmsAlarmArrayOutput
- func (GetAlarmsAlarmArrayOutput) ElementType() reflect.Type
- func (o GetAlarmsAlarmArrayOutput) Index(i pulumi.IntInput) GetAlarmsAlarmOutput
- func (o GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutput() GetAlarmsAlarmArrayOutput
- func (o GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmArrayOutput
- type GetAlarmsAlarmInput
- type GetAlarmsAlarmOutput
- func (o GetAlarmsAlarmOutput) AlarmSummary() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) Body() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) CompartmentId() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) DefinedTags() pulumi.StringMapOutput
- func (o GetAlarmsAlarmOutput) Destinations() pulumi.StringArrayOutput
- func (o GetAlarmsAlarmOutput) DisplayName() pulumi.StringOutput
- func (GetAlarmsAlarmOutput) ElementType() reflect.Type
- func (o GetAlarmsAlarmOutput) EvaluationSlackDuration() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) FreeformTags() pulumi.StringMapOutput
- func (o GetAlarmsAlarmOutput) Id() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) IsEnabled() pulumi.BoolOutput
- func (o GetAlarmsAlarmOutput) IsNotificationsPerMetricDimensionEnabled() pulumi.BoolOutput
- func (o GetAlarmsAlarmOutput) MessageFormat() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) MetricCompartmentId() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) MetricCompartmentIdInSubtree() pulumi.BoolOutput
- func (o GetAlarmsAlarmOutput) Namespace() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) NotificationTitle() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) NotificationVersion() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) Overrides() GetAlarmsAlarmOverrideArrayOutput
- func (o GetAlarmsAlarmOutput) PendingDuration() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) Query() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) RepeatNotificationDuration() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) Resolution() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) ResourceGroup() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) RuleName() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) Severity() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) State() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) Suppressions() GetAlarmsAlarmSuppressionArrayOutput
- func (o GetAlarmsAlarmOutput) TimeCreated() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) TimeUpdated() pulumi.StringOutput
- func (o GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutput() GetAlarmsAlarmOutput
- func (o GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutputWithContext(ctx context.Context) GetAlarmsAlarmOutput
- type GetAlarmsAlarmOverride
- type GetAlarmsAlarmOverrideArgs
- type GetAlarmsAlarmOverrideArray
- func (GetAlarmsAlarmOverrideArray) ElementType() reflect.Type
- func (i GetAlarmsAlarmOverrideArray) ToGetAlarmsAlarmOverrideArrayOutput() GetAlarmsAlarmOverrideArrayOutput
- func (i GetAlarmsAlarmOverrideArray) ToGetAlarmsAlarmOverrideArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmOverrideArrayOutput
- type GetAlarmsAlarmOverrideArrayInput
- type GetAlarmsAlarmOverrideArrayOutput
- func (GetAlarmsAlarmOverrideArrayOutput) ElementType() reflect.Type
- func (o GetAlarmsAlarmOverrideArrayOutput) Index(i pulumi.IntInput) GetAlarmsAlarmOverrideOutput
- func (o GetAlarmsAlarmOverrideArrayOutput) ToGetAlarmsAlarmOverrideArrayOutput() GetAlarmsAlarmOverrideArrayOutput
- func (o GetAlarmsAlarmOverrideArrayOutput) ToGetAlarmsAlarmOverrideArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmOverrideArrayOutput
- type GetAlarmsAlarmOverrideInput
- type GetAlarmsAlarmOverrideOutput
- func (o GetAlarmsAlarmOverrideOutput) Body() pulumi.StringOutput
- func (GetAlarmsAlarmOverrideOutput) ElementType() reflect.Type
- func (o GetAlarmsAlarmOverrideOutput) PendingDuration() pulumi.StringOutput
- func (o GetAlarmsAlarmOverrideOutput) Query() pulumi.StringOutput
- func (o GetAlarmsAlarmOverrideOutput) RuleName() pulumi.StringOutput
- func (o GetAlarmsAlarmOverrideOutput) Severity() pulumi.StringOutput
- func (o GetAlarmsAlarmOverrideOutput) ToGetAlarmsAlarmOverrideOutput() GetAlarmsAlarmOverrideOutput
- func (o GetAlarmsAlarmOverrideOutput) ToGetAlarmsAlarmOverrideOutputWithContext(ctx context.Context) GetAlarmsAlarmOverrideOutput
- type GetAlarmsAlarmSuppression
- type GetAlarmsAlarmSuppressionArgs
- func (GetAlarmsAlarmSuppressionArgs) ElementType() reflect.Type
- func (i GetAlarmsAlarmSuppressionArgs) ToGetAlarmsAlarmSuppressionOutput() GetAlarmsAlarmSuppressionOutput
- func (i GetAlarmsAlarmSuppressionArgs) ToGetAlarmsAlarmSuppressionOutputWithContext(ctx context.Context) GetAlarmsAlarmSuppressionOutput
- type GetAlarmsAlarmSuppressionArray
- func (GetAlarmsAlarmSuppressionArray) ElementType() reflect.Type
- func (i GetAlarmsAlarmSuppressionArray) ToGetAlarmsAlarmSuppressionArrayOutput() GetAlarmsAlarmSuppressionArrayOutput
- func (i GetAlarmsAlarmSuppressionArray) ToGetAlarmsAlarmSuppressionArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmSuppressionArrayOutput
- type GetAlarmsAlarmSuppressionArrayInput
- type GetAlarmsAlarmSuppressionArrayOutput
- func (GetAlarmsAlarmSuppressionArrayOutput) ElementType() reflect.Type
- func (o GetAlarmsAlarmSuppressionArrayOutput) Index(i pulumi.IntInput) GetAlarmsAlarmSuppressionOutput
- func (o GetAlarmsAlarmSuppressionArrayOutput) ToGetAlarmsAlarmSuppressionArrayOutput() GetAlarmsAlarmSuppressionArrayOutput
- func (o GetAlarmsAlarmSuppressionArrayOutput) ToGetAlarmsAlarmSuppressionArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmSuppressionArrayOutput
- type GetAlarmsAlarmSuppressionInput
- type GetAlarmsAlarmSuppressionOutput
- func (o GetAlarmsAlarmSuppressionOutput) Description() pulumi.StringOutput
- func (GetAlarmsAlarmSuppressionOutput) ElementType() reflect.Type
- func (o GetAlarmsAlarmSuppressionOutput) TimeSuppressFrom() pulumi.StringOutput
- func (o GetAlarmsAlarmSuppressionOutput) TimeSuppressUntil() pulumi.StringOutput
- func (o GetAlarmsAlarmSuppressionOutput) ToGetAlarmsAlarmSuppressionOutput() GetAlarmsAlarmSuppressionOutput
- func (o GetAlarmsAlarmSuppressionOutput) ToGetAlarmsAlarmSuppressionOutputWithContext(ctx context.Context) GetAlarmsAlarmSuppressionOutput
- type GetAlarmsArgs
- type GetAlarmsFilter
- type GetAlarmsFilterArgs
- type GetAlarmsFilterArray
- type GetAlarmsFilterArrayInput
- type GetAlarmsFilterArrayOutput
- func (GetAlarmsFilterArrayOutput) ElementType() reflect.Type
- func (o GetAlarmsFilterArrayOutput) Index(i pulumi.IntInput) GetAlarmsFilterOutput
- func (o GetAlarmsFilterArrayOutput) ToGetAlarmsFilterArrayOutput() GetAlarmsFilterArrayOutput
- func (o GetAlarmsFilterArrayOutput) ToGetAlarmsFilterArrayOutputWithContext(ctx context.Context) GetAlarmsFilterArrayOutput
- type GetAlarmsFilterInput
- type GetAlarmsFilterOutput
- func (GetAlarmsFilterOutput) ElementType() reflect.Type
- func (o GetAlarmsFilterOutput) Name() pulumi.StringOutput
- func (o GetAlarmsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetAlarmsFilterOutput) ToGetAlarmsFilterOutput() GetAlarmsFilterOutput
- func (o GetAlarmsFilterOutput) ToGetAlarmsFilterOutputWithContext(ctx context.Context) GetAlarmsFilterOutput
- func (o GetAlarmsFilterOutput) Values() pulumi.StringArrayOutput
- type GetAlarmsOutputArgs
- type GetAlarmsResult
- type GetAlarmsResultOutput
- func (o GetAlarmsResultOutput) Alarms() GetAlarmsAlarmArrayOutput
- func (o GetAlarmsResultOutput) CompartmentId() pulumi.StringOutput
- func (o GetAlarmsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
- func (o GetAlarmsResultOutput) DisplayName() pulumi.StringPtrOutput
- func (GetAlarmsResultOutput) ElementType() reflect.Type
- func (o GetAlarmsResultOutput) Filters() GetAlarmsFilterArrayOutput
- func (o GetAlarmsResultOutput) Id() pulumi.StringOutput
- func (o GetAlarmsResultOutput) State() pulumi.StringPtrOutput
- func (o GetAlarmsResultOutput) ToGetAlarmsResultOutput() GetAlarmsResultOutput
- func (o GetAlarmsResultOutput) ToGetAlarmsResultOutputWithContext(ctx context.Context) GetAlarmsResultOutput
- type GetMetricDataArgs
- type GetMetricDataFilter
- type GetMetricDataFilterArgs
- type GetMetricDataFilterArray
- type GetMetricDataFilterArrayInput
- type GetMetricDataFilterArrayOutput
- func (GetMetricDataFilterArrayOutput) ElementType() reflect.Type
- func (o GetMetricDataFilterArrayOutput) Index(i pulumi.IntInput) GetMetricDataFilterOutput
- func (o GetMetricDataFilterArrayOutput) ToGetMetricDataFilterArrayOutput() GetMetricDataFilterArrayOutput
- func (o GetMetricDataFilterArrayOutput) ToGetMetricDataFilterArrayOutputWithContext(ctx context.Context) GetMetricDataFilterArrayOutput
- type GetMetricDataFilterInput
- type GetMetricDataFilterOutput
- func (GetMetricDataFilterOutput) ElementType() reflect.Type
- func (o GetMetricDataFilterOutput) Name() pulumi.StringOutput
- func (o GetMetricDataFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetMetricDataFilterOutput) ToGetMetricDataFilterOutput() GetMetricDataFilterOutput
- func (o GetMetricDataFilterOutput) ToGetMetricDataFilterOutputWithContext(ctx context.Context) GetMetricDataFilterOutput
- func (o GetMetricDataFilterOutput) Values() pulumi.StringArrayOutput
- type GetMetricDataMetricData
- type GetMetricDataMetricDataAggregatedDatapoint
- type GetMetricDataMetricDataAggregatedDatapointArgs
- func (GetMetricDataMetricDataAggregatedDatapointArgs) ElementType() reflect.Type
- func (i GetMetricDataMetricDataAggregatedDatapointArgs) ToGetMetricDataMetricDataAggregatedDatapointOutput() GetMetricDataMetricDataAggregatedDatapointOutput
- func (i GetMetricDataMetricDataAggregatedDatapointArgs) ToGetMetricDataMetricDataAggregatedDatapointOutputWithContext(ctx context.Context) GetMetricDataMetricDataAggregatedDatapointOutput
- type GetMetricDataMetricDataAggregatedDatapointArray
- func (GetMetricDataMetricDataAggregatedDatapointArray) ElementType() reflect.Type
- func (i GetMetricDataMetricDataAggregatedDatapointArray) ToGetMetricDataMetricDataAggregatedDatapointArrayOutput() GetMetricDataMetricDataAggregatedDatapointArrayOutput
- func (i GetMetricDataMetricDataAggregatedDatapointArray) ToGetMetricDataMetricDataAggregatedDatapointArrayOutputWithContext(ctx context.Context) GetMetricDataMetricDataAggregatedDatapointArrayOutput
- type GetMetricDataMetricDataAggregatedDatapointArrayInput
- type GetMetricDataMetricDataAggregatedDatapointArrayOutput
- func (GetMetricDataMetricDataAggregatedDatapointArrayOutput) ElementType() reflect.Type
- func (o GetMetricDataMetricDataAggregatedDatapointArrayOutput) Index(i pulumi.IntInput) GetMetricDataMetricDataAggregatedDatapointOutput
- func (o GetMetricDataMetricDataAggregatedDatapointArrayOutput) ToGetMetricDataMetricDataAggregatedDatapointArrayOutput() GetMetricDataMetricDataAggregatedDatapointArrayOutput
- func (o GetMetricDataMetricDataAggregatedDatapointArrayOutput) ToGetMetricDataMetricDataAggregatedDatapointArrayOutputWithContext(ctx context.Context) GetMetricDataMetricDataAggregatedDatapointArrayOutput
- type GetMetricDataMetricDataAggregatedDatapointInput
- type GetMetricDataMetricDataAggregatedDatapointOutput
- func (GetMetricDataMetricDataAggregatedDatapointOutput) ElementType() reflect.Type
- func (o GetMetricDataMetricDataAggregatedDatapointOutput) Timestamp() pulumi.StringOutput
- func (o GetMetricDataMetricDataAggregatedDatapointOutput) ToGetMetricDataMetricDataAggregatedDatapointOutput() GetMetricDataMetricDataAggregatedDatapointOutput
- func (o GetMetricDataMetricDataAggregatedDatapointOutput) ToGetMetricDataMetricDataAggregatedDatapointOutputWithContext(ctx context.Context) GetMetricDataMetricDataAggregatedDatapointOutput
- func (o GetMetricDataMetricDataAggregatedDatapointOutput) Value() pulumi.Float64Output
- type GetMetricDataMetricDataArgs
- type GetMetricDataMetricDataArray
- func (GetMetricDataMetricDataArray) ElementType() reflect.Type
- func (i GetMetricDataMetricDataArray) ToGetMetricDataMetricDataArrayOutput() GetMetricDataMetricDataArrayOutput
- func (i GetMetricDataMetricDataArray) ToGetMetricDataMetricDataArrayOutputWithContext(ctx context.Context) GetMetricDataMetricDataArrayOutput
- type GetMetricDataMetricDataArrayInput
- type GetMetricDataMetricDataArrayOutput
- func (GetMetricDataMetricDataArrayOutput) ElementType() reflect.Type
- func (o GetMetricDataMetricDataArrayOutput) Index(i pulumi.IntInput) GetMetricDataMetricDataOutput
- func (o GetMetricDataMetricDataArrayOutput) ToGetMetricDataMetricDataArrayOutput() GetMetricDataMetricDataArrayOutput
- func (o GetMetricDataMetricDataArrayOutput) ToGetMetricDataMetricDataArrayOutputWithContext(ctx context.Context) GetMetricDataMetricDataArrayOutput
- type GetMetricDataMetricDataInput
- type GetMetricDataMetricDataOutput
- func (o GetMetricDataMetricDataOutput) AggregatedDatapoints() GetMetricDataMetricDataAggregatedDatapointArrayOutput
- func (o GetMetricDataMetricDataOutput) CompartmentId() pulumi.StringOutput
- func (o GetMetricDataMetricDataOutput) CompartmentIdInSubtree() pulumi.BoolOutput
- func (o GetMetricDataMetricDataOutput) Dimensions() pulumi.StringMapOutput
- func (GetMetricDataMetricDataOutput) ElementType() reflect.Type
- func (o GetMetricDataMetricDataOutput) EndTime() pulumi.StringOutput
- func (o GetMetricDataMetricDataOutput) Metadata() pulumi.StringMapOutput
- func (o GetMetricDataMetricDataOutput) Name() pulumi.StringOutput
- func (o GetMetricDataMetricDataOutput) Namespace() pulumi.StringOutput
- func (o GetMetricDataMetricDataOutput) Query() pulumi.StringOutput
- func (o GetMetricDataMetricDataOutput) Resolution() pulumi.StringOutput
- func (o GetMetricDataMetricDataOutput) ResourceGroup() pulumi.StringOutput
- func (o GetMetricDataMetricDataOutput) StartTime() pulumi.StringOutput
- func (o GetMetricDataMetricDataOutput) ToGetMetricDataMetricDataOutput() GetMetricDataMetricDataOutput
- func (o GetMetricDataMetricDataOutput) ToGetMetricDataMetricDataOutputWithContext(ctx context.Context) GetMetricDataMetricDataOutput
- type GetMetricDataOutputArgs
- type GetMetricDataResult
- type GetMetricDataResultOutput
- func (o GetMetricDataResultOutput) CompartmentId() pulumi.StringOutput
- func (o GetMetricDataResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
- func (GetMetricDataResultOutput) ElementType() reflect.Type
- func (o GetMetricDataResultOutput) EndTime() pulumi.StringPtrOutput
- func (o GetMetricDataResultOutput) Filters() GetMetricDataFilterArrayOutput
- func (o GetMetricDataResultOutput) Id() pulumi.StringOutput
- func (o GetMetricDataResultOutput) MetricDatas() GetMetricDataMetricDataArrayOutput
- func (o GetMetricDataResultOutput) Namespace() pulumi.StringOutput
- func (o GetMetricDataResultOutput) Query() pulumi.StringOutput
- func (o GetMetricDataResultOutput) Resolution() pulumi.StringPtrOutput
- func (o GetMetricDataResultOutput) ResourceGroup() pulumi.StringPtrOutput
- func (o GetMetricDataResultOutput) StartTime() pulumi.StringPtrOutput
- func (o GetMetricDataResultOutput) ToGetMetricDataResultOutput() GetMetricDataResultOutput
- func (o GetMetricDataResultOutput) ToGetMetricDataResultOutputWithContext(ctx context.Context) GetMetricDataResultOutput
- type GetMetricsArgs
- type GetMetricsFilter
- type GetMetricsFilterArgs
- type GetMetricsFilterArray
- type GetMetricsFilterArrayInput
- type GetMetricsFilterArrayOutput
- func (GetMetricsFilterArrayOutput) ElementType() reflect.Type
- func (o GetMetricsFilterArrayOutput) Index(i pulumi.IntInput) GetMetricsFilterOutput
- func (o GetMetricsFilterArrayOutput) ToGetMetricsFilterArrayOutput() GetMetricsFilterArrayOutput
- func (o GetMetricsFilterArrayOutput) ToGetMetricsFilterArrayOutputWithContext(ctx context.Context) GetMetricsFilterArrayOutput
- type GetMetricsFilterInput
- type GetMetricsFilterOutput
- func (GetMetricsFilterOutput) ElementType() reflect.Type
- func (o GetMetricsFilterOutput) Name() pulumi.StringOutput
- func (o GetMetricsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetMetricsFilterOutput) ToGetMetricsFilterOutput() GetMetricsFilterOutput
- func (o GetMetricsFilterOutput) ToGetMetricsFilterOutputWithContext(ctx context.Context) GetMetricsFilterOutput
- func (o GetMetricsFilterOutput) Values() pulumi.StringArrayOutput
- type GetMetricsMetric
- type GetMetricsMetricArgs
- type GetMetricsMetricArray
- type GetMetricsMetricArrayInput
- type GetMetricsMetricArrayOutput
- func (GetMetricsMetricArrayOutput) ElementType() reflect.Type
- func (o GetMetricsMetricArrayOutput) Index(i pulumi.IntInput) GetMetricsMetricOutput
- func (o GetMetricsMetricArrayOutput) ToGetMetricsMetricArrayOutput() GetMetricsMetricArrayOutput
- func (o GetMetricsMetricArrayOutput) ToGetMetricsMetricArrayOutputWithContext(ctx context.Context) GetMetricsMetricArrayOutput
- type GetMetricsMetricInput
- type GetMetricsMetricOutput
- func (o GetMetricsMetricOutput) CompartmentId() pulumi.StringOutput
- func (o GetMetricsMetricOutput) CompartmentIdInSubtree() pulumi.BoolOutput
- func (o GetMetricsMetricOutput) DimensionFilters() pulumi.StringMapOutput
- func (o GetMetricsMetricOutput) Dimensions() pulumi.StringMapOutput
- func (GetMetricsMetricOutput) ElementType() reflect.Type
- func (o GetMetricsMetricOutput) GroupBies() pulumi.StringArrayOutput
- func (o GetMetricsMetricOutput) Name() pulumi.StringOutput
- func (o GetMetricsMetricOutput) Namespace() pulumi.StringOutput
- func (o GetMetricsMetricOutput) ResourceGroup() pulumi.StringOutput
- func (o GetMetricsMetricOutput) ToGetMetricsMetricOutput() GetMetricsMetricOutput
- func (o GetMetricsMetricOutput) ToGetMetricsMetricOutputWithContext(ctx context.Context) GetMetricsMetricOutput
- type GetMetricsOutputArgs
- type GetMetricsResult
- type GetMetricsResultOutput
- func (o GetMetricsResultOutput) CompartmentId() pulumi.StringOutput
- func (o GetMetricsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
- func (o GetMetricsResultOutput) DimensionFilters() pulumi.StringMapOutput
- func (GetMetricsResultOutput) ElementType() reflect.Type
- func (o GetMetricsResultOutput) Filters() GetMetricsFilterArrayOutput
- func (o GetMetricsResultOutput) GroupBies() pulumi.StringArrayOutput
- func (o GetMetricsResultOutput) Id() pulumi.StringOutput
- func (o GetMetricsResultOutput) Metrics() GetMetricsMetricArrayOutput
- func (o GetMetricsResultOutput) Name() pulumi.StringPtrOutput
- func (o GetMetricsResultOutput) Namespace() pulumi.StringPtrOutput
- func (o GetMetricsResultOutput) ResourceGroup() pulumi.StringPtrOutput
- func (o GetMetricsResultOutput) ToGetMetricsResultOutput() GetMetricsResultOutput
- func (o GetMetricsResultOutput) ToGetMetricsResultOutputWithContext(ctx context.Context) GetMetricsResultOutput
- type LookupAlarmArgs
- type LookupAlarmOutputArgs
- type LookupAlarmResult
- type LookupAlarmResultOutput
- func (o LookupAlarmResultOutput) AlarmId() pulumi.StringOutput
- func (o LookupAlarmResultOutput) AlarmSummary() pulumi.StringOutput
- func (o LookupAlarmResultOutput) Body() pulumi.StringOutput
- func (o LookupAlarmResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupAlarmResultOutput) DefinedTags() pulumi.StringMapOutput
- func (o LookupAlarmResultOutput) Destinations() pulumi.StringArrayOutput
- func (o LookupAlarmResultOutput) DisplayName() pulumi.StringOutput
- func (LookupAlarmResultOutput) ElementType() reflect.Type
- func (o LookupAlarmResultOutput) EvaluationSlackDuration() pulumi.StringOutput
- func (o LookupAlarmResultOutput) FreeformTags() pulumi.StringMapOutput
- func (o LookupAlarmResultOutput) Id() pulumi.StringOutput
- func (o LookupAlarmResultOutput) IsEnabled() pulumi.BoolOutput
- func (o LookupAlarmResultOutput) IsNotificationsPerMetricDimensionEnabled() pulumi.BoolOutput
- func (o LookupAlarmResultOutput) MessageFormat() pulumi.StringOutput
- func (o LookupAlarmResultOutput) MetricCompartmentId() pulumi.StringOutput
- func (o LookupAlarmResultOutput) MetricCompartmentIdInSubtree() pulumi.BoolOutput
- func (o LookupAlarmResultOutput) Namespace() pulumi.StringOutput
- func (o LookupAlarmResultOutput) NotificationTitle() pulumi.StringOutput
- func (o LookupAlarmResultOutput) NotificationVersion() pulumi.StringOutput
- func (o LookupAlarmResultOutput) Overrides() GetAlarmOverrideArrayOutput
- func (o LookupAlarmResultOutput) PendingDuration() pulumi.StringOutput
- func (o LookupAlarmResultOutput) Query() pulumi.StringOutput
- func (o LookupAlarmResultOutput) RepeatNotificationDuration() pulumi.StringOutput
- func (o LookupAlarmResultOutput) Resolution() pulumi.StringOutput
- func (o LookupAlarmResultOutput) ResourceGroup() pulumi.StringOutput
- func (o LookupAlarmResultOutput) RuleName() pulumi.StringOutput
- func (o LookupAlarmResultOutput) Severity() pulumi.StringOutput
- func (o LookupAlarmResultOutput) State() pulumi.StringOutput
- func (o LookupAlarmResultOutput) Suppressions() GetAlarmSuppressionTypeArrayOutput
- func (o LookupAlarmResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupAlarmResultOutput) TimeUpdated() pulumi.StringOutput
- func (o LookupAlarmResultOutput) ToLookupAlarmResultOutput() LookupAlarmResultOutput
- func (o LookupAlarmResultOutput) ToLookupAlarmResultOutputWithContext(ctx context.Context) LookupAlarmResultOutput
- type LookupAlarmSuppressionArgs
- type LookupAlarmSuppressionOutputArgs
- type LookupAlarmSuppressionResult
- type LookupAlarmSuppressionResultOutput
- func (o LookupAlarmSuppressionResultOutput) AlarmSuppressionId() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) AlarmSuppressionTargets() GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
- func (o LookupAlarmSuppressionResultOutput) CompartmentId() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) DefinedTags() pulumi.StringMapOutput
- func (o LookupAlarmSuppressionResultOutput) Description() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) Dimensions() pulumi.StringMapOutput
- func (o LookupAlarmSuppressionResultOutput) DisplayName() pulumi.StringOutput
- func (LookupAlarmSuppressionResultOutput) ElementType() reflect.Type
- func (o LookupAlarmSuppressionResultOutput) FreeformTags() pulumi.StringMapOutput
- func (o LookupAlarmSuppressionResultOutput) Id() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) Level() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) State() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) SuppressionConditions() GetAlarmSuppressionSuppressionConditionArrayOutput
- func (o LookupAlarmSuppressionResultOutput) TimeCreated() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) TimeSuppressFrom() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) TimeSuppressUntil() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) TimeUpdated() pulumi.StringOutput
- func (o LookupAlarmSuppressionResultOutput) ToLookupAlarmSuppressionResultOutput() LookupAlarmSuppressionResultOutput
- func (o LookupAlarmSuppressionResultOutput) ToLookupAlarmSuppressionResultOutputWithContext(ctx context.Context) LookupAlarmSuppressionResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alarm ¶
type Alarm struct { pulumi.CustomResourceState // (Updatable) Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary pulumi.StringOutput `pulumi:"alarmSummary"` // (Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body pulumi.StringOutput `pulumi:"body"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` // (Updatable) A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service. Destinations pulumi.StringArrayOutput `pulumi:"destinations"` // (Updatable) A user-friendly name for the alarm. It does not have to be unique, and it's changeable. Avoid entering confidential information. // // This value determines the title of each alarm notification. // // Example: `High CPU Utilization` DisplayName pulumi.StringOutput `pulumi:"displayName"` // (Updatable) Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration pulumi.StringOutput `pulumi:"evaluationSlackDuration"` // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` // (Updatable) Whether the alarm is enabled. Example: `true` IsEnabled pulumi.BoolOutput `pulumi:"isEnabled"` // (Updatable) When set to `true`, splits alarm notifications per metric stream. When set to `false`, groups alarm notifications across metric streams. Example: `true` IsNotificationsPerMetricDimensionEnabled pulumi.BoolOutput `pulumi:"isNotificationsPerMetricDimensionEnabled"` // (Updatable) The format to use for alarm notifications. The formats are: // * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. // * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. // * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only. MessageFormat pulumi.StringOutput `pulumi:"messageFormat"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm. MetricCompartmentId pulumi.StringOutput `pulumi:"metricCompartmentId"` // (Updatable) When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true` MetricCompartmentIdInSubtree pulumi.BoolOutput `pulumi:"metricCompartmentIdInSubtree"` // (Updatable) The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent` Namespace pulumi.StringOutput `pulumi:"namespace"` // (Updatable) Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle pulumi.StringOutput `pulumi:"notificationTitle"` // (Updatable) The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion pulumi.StringOutput `pulumi:"notificationVersion"` // (Updatable) A set of overrides that control evaluations of the alarm. // // Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`). Overrides AlarmOverrideArrayOutput `pulumi:"overrides"` // (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". // // The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M. // // Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING". // // The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute. // // Example: `PT5M` PendingDuration pulumi.StringOutput `pulumi:"pendingDuration"` // (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example of threshold alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 // // *** // // Example of absence alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent() // // ----- Example of absence alarm with custom absence detection period of 20 hours: // // ----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) ----- Query pulumi.StringOutput `pulumi:"query"` // (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D. // // Default value: null (notifications are not re-submitted). // // Example: `PT2H` RepeatNotificationDuration pulumi.StringOutput `pulumi:"repeatNotificationDuration"` // (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m` Resolution pulumi.StringOutput `pulumi:"resolution"` // (Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Avoid entering confidential information. Example: `frontend-fleet` ResourceGroup pulumi.StringOutput `pulumi:"resourceGroup"` // (Updatable) Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName pulumi.StringOutput `pulumi:"ruleName"` // (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity pulumi.StringOutput `pulumi:"severity"` // The current lifecycle state of the alarm. Example: `DELETED` State pulumi.StringOutput `pulumi:"state"` // (Updatable) The configuration details for suppressing an alarm. Suppression AlarmSuppressionTypeOutput `pulumi:"suppression"` // The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z` TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` }
This resource provides the Alarm resource in Oracle Cloud Infrastructure Monitoring service.
Creates a new alarm in the specified compartment. For more information, see [Creating an Alarm](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm.htm). For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.NewAlarm(ctx, "test_alarm", &monitoring.AlarmArgs{ CompartmentId: pulumi.Any(compartmentId), Destinations: pulumi.StringArray{ testNotificationTopic.Id, }, DisplayName: pulumi.Any(alarmDisplayName), IsEnabled: pulumi.Any(alarmIsEnabled), MetricCompartmentId: pulumi.Any(alarmMetricCompartmentId), Namespace: pulumi.Any(alarmNamespace), Query: pulumi.Any(alarmQuery), Severity: pulumi.Any(alarmSeverity), AlarmSummary: pulumi.Any(alarmAlarmSummary), Body: pulumi.Any(alarmBody), DefinedTags: pulumi.StringMap{ "Operations.CostCenter": pulumi.String("42"), }, EvaluationSlackDuration: pulumi.Any(alarmEvaluationSlackDuration), FreeformTags: pulumi.StringMap{ "Department": pulumi.String("Finance"), }, IsNotificationsPerMetricDimensionEnabled: pulumi.Any(alarmIsNotificationsPerMetricDimensionEnabled), MessageFormat: pulumi.Any(alarmMessageFormat), MetricCompartmentIdInSubtree: pulumi.Any(alarmMetricCompartmentIdInSubtree), NotificationTitle: pulumi.Any(alarmNotificationTitle), NotificationVersion: pulumi.Any(alarmNotificationVersion), Overrides: monitoring.AlarmOverrideArray{ &monitoring.AlarmOverrideArgs{ Body: pulumi.Any(alarmOverridesBody), PendingDuration: pulumi.Any(alarmOverridesPendingDuration), Query: pulumi.Any(alarmOverridesQuery), RuleName: pulumi.Any(testRule.Name), Severity: pulumi.Any(alarmOverridesSeverity), }, }, PendingDuration: pulumi.Any(alarmPendingDuration), RepeatNotificationDuration: pulumi.Any(alarmRepeatNotificationDuration), Resolution: pulumi.Any(alarmResolution), ResourceGroup: pulumi.Any(alarmResourceGroup), RuleName: pulumi.Any(testRule.Name), Suppression: &monitoring.AlarmSuppressionTypeArgs{ TimeSuppressFrom: pulumi.Any(alarmSuppressionTimeSuppressFrom), TimeSuppressUntil: pulumi.Any(alarmSuppressionTimeSuppressUntil), Description: pulumi.Any(alarmSuppressionDescription), }, }) if err != nil { return err } return nil }) }
```
## Import
Alarms can be imported using the `id`, e.g.
```sh $ pulumi import oci:Monitoring/alarm:Alarm test_alarm "id" ```
func GetAlarm ¶
func GetAlarm(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlarmState, opts ...pulumi.ResourceOption) (*Alarm, error)
GetAlarm gets an existing Alarm resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAlarm ¶
func NewAlarm(ctx *pulumi.Context, name string, args *AlarmArgs, opts ...pulumi.ResourceOption) (*Alarm, error)
NewAlarm registers a new resource with the given unique name, arguments, and options.
func (*Alarm) ElementType ¶
func (*Alarm) ToAlarmOutput ¶
func (i *Alarm) ToAlarmOutput() AlarmOutput
func (*Alarm) ToAlarmOutputWithContext ¶
func (i *Alarm) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
type AlarmArgs ¶
type AlarmArgs struct { // (Updatable) Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary pulumi.StringPtrInput // (Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId pulumi.StringInput // (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // (Updatable) A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service. Destinations pulumi.StringArrayInput // (Updatable) A user-friendly name for the alarm. It does not have to be unique, and it's changeable. Avoid entering confidential information. // // This value determines the title of each alarm notification. // // Example: `High CPU Utilization` DisplayName pulumi.StringInput // (Updatable) Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration pulumi.StringPtrInput // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // (Updatable) Whether the alarm is enabled. Example: `true` IsEnabled pulumi.BoolInput // (Updatable) When set to `true`, splits alarm notifications per metric stream. When set to `false`, groups alarm notifications across metric streams. Example: `true` IsNotificationsPerMetricDimensionEnabled pulumi.BoolPtrInput // (Updatable) The format to use for alarm notifications. The formats are: // * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. // * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. // * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only. MessageFormat pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm. MetricCompartmentId pulumi.StringInput // (Updatable) When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true` MetricCompartmentIdInSubtree pulumi.BoolPtrInput // (Updatable) The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent` Namespace pulumi.StringInput // (Updatable) Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle pulumi.StringPtrInput // (Updatable) The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion pulumi.StringPtrInput // (Updatable) A set of overrides that control evaluations of the alarm. // // Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`). Overrides AlarmOverrideArrayInput // (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". // // The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M. // // Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING". // // The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute. // // Example: `PT5M` PendingDuration pulumi.StringPtrInput // (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example of threshold alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 // // *** // // Example of absence alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent() // // ----- Example of absence alarm with custom absence detection period of 20 hours: // // ----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) ----- Query pulumi.StringInput // (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D. // // Default value: null (notifications are not re-submitted). // // Example: `PT2H` RepeatNotificationDuration pulumi.StringPtrInput // (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m` Resolution pulumi.StringPtrInput // (Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Avoid entering confidential information. Example: `frontend-fleet` ResourceGroup pulumi.StringPtrInput // (Updatable) Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName pulumi.StringPtrInput // (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity pulumi.StringInput // (Updatable) The configuration details for suppressing an alarm. Suppression AlarmSuppressionTypePtrInput }
The set of arguments for constructing a Alarm resource.
func (AlarmArgs) ElementType ¶
type AlarmArray ¶
type AlarmArray []AlarmInput
func (AlarmArray) ElementType ¶
func (AlarmArray) ElementType() reflect.Type
func (AlarmArray) ToAlarmArrayOutput ¶
func (i AlarmArray) ToAlarmArrayOutput() AlarmArrayOutput
func (AlarmArray) ToAlarmArrayOutputWithContext ¶
func (i AlarmArray) ToAlarmArrayOutputWithContext(ctx context.Context) AlarmArrayOutput
type AlarmArrayInput ¶
type AlarmArrayInput interface { pulumi.Input ToAlarmArrayOutput() AlarmArrayOutput ToAlarmArrayOutputWithContext(context.Context) AlarmArrayOutput }
AlarmArrayInput is an input type that accepts AlarmArray and AlarmArrayOutput values. You can construct a concrete instance of `AlarmArrayInput` via:
AlarmArray{ AlarmArgs{...} }
type AlarmArrayOutput ¶
type AlarmArrayOutput struct{ *pulumi.OutputState }
func (AlarmArrayOutput) ElementType ¶
func (AlarmArrayOutput) ElementType() reflect.Type
func (AlarmArrayOutput) Index ¶
func (o AlarmArrayOutput) Index(i pulumi.IntInput) AlarmOutput
func (AlarmArrayOutput) ToAlarmArrayOutput ¶
func (o AlarmArrayOutput) ToAlarmArrayOutput() AlarmArrayOutput
func (AlarmArrayOutput) ToAlarmArrayOutputWithContext ¶
func (o AlarmArrayOutput) ToAlarmArrayOutputWithContext(ctx context.Context) AlarmArrayOutput
type AlarmInput ¶
type AlarmInput interface { pulumi.Input ToAlarmOutput() AlarmOutput ToAlarmOutputWithContext(ctx context.Context) AlarmOutput }
type AlarmMap ¶
type AlarmMap map[string]AlarmInput
func (AlarmMap) ElementType ¶
func (AlarmMap) ToAlarmMapOutput ¶
func (i AlarmMap) ToAlarmMapOutput() AlarmMapOutput
func (AlarmMap) ToAlarmMapOutputWithContext ¶
func (i AlarmMap) ToAlarmMapOutputWithContext(ctx context.Context) AlarmMapOutput
type AlarmMapInput ¶
type AlarmMapInput interface { pulumi.Input ToAlarmMapOutput() AlarmMapOutput ToAlarmMapOutputWithContext(context.Context) AlarmMapOutput }
AlarmMapInput is an input type that accepts AlarmMap and AlarmMapOutput values. You can construct a concrete instance of `AlarmMapInput` via:
AlarmMap{ "key": AlarmArgs{...} }
type AlarmMapOutput ¶
type AlarmMapOutput struct{ *pulumi.OutputState }
func (AlarmMapOutput) ElementType ¶
func (AlarmMapOutput) ElementType() reflect.Type
func (AlarmMapOutput) MapIndex ¶
func (o AlarmMapOutput) MapIndex(k pulumi.StringInput) AlarmOutput
func (AlarmMapOutput) ToAlarmMapOutput ¶
func (o AlarmMapOutput) ToAlarmMapOutput() AlarmMapOutput
func (AlarmMapOutput) ToAlarmMapOutputWithContext ¶
func (o AlarmMapOutput) ToAlarmMapOutputWithContext(ctx context.Context) AlarmMapOutput
type AlarmOutput ¶
type AlarmOutput struct{ *pulumi.OutputState }
func (AlarmOutput) AlarmSummary ¶
func (o AlarmOutput) AlarmSummary() pulumi.StringOutput
(Updatable) Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates).
func (AlarmOutput) Body ¶
func (o AlarmOutput) Body() pulumi.StringOutput
(Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
func (AlarmOutput) CompartmentId ¶
func (o AlarmOutput) CompartmentId() pulumi.StringOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm.
func (AlarmOutput) DefinedTags ¶
func (o AlarmOutput) DefinedTags() pulumi.StringMapOutput
(Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
func (AlarmOutput) Destinations ¶
func (o AlarmOutput) Destinations() pulumi.StringArrayOutput
(Updatable) A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service.
func (AlarmOutput) DisplayName ¶
func (o AlarmOutput) DisplayName() pulumi.StringOutput
(Updatable) A user-friendly name for the alarm. It does not have to be unique, and it's changeable. Avoid entering confidential information.
This value determines the title of each alarm notification.
Example: `High CPU Utilization`
func (AlarmOutput) ElementType ¶
func (AlarmOutput) ElementType() reflect.Type
func (AlarmOutput) EvaluationSlackDuration ¶
func (o AlarmOutput) EvaluationSlackDuration() pulumi.StringOutput
(Updatable) Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset).
func (AlarmOutput) FreeformTags ¶
func (o AlarmOutput) FreeformTags() pulumi.StringMapOutput
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
func (AlarmOutput) IsEnabled ¶
func (o AlarmOutput) IsEnabled() pulumi.BoolOutput
(Updatable) Whether the alarm is enabled. Example: `true`
func (AlarmOutput) IsNotificationsPerMetricDimensionEnabled ¶
func (o AlarmOutput) IsNotificationsPerMetricDimensionEnabled() pulumi.BoolOutput
(Updatable) When set to `true`, splits alarm notifications per metric stream. When set to `false`, groups alarm notifications across metric streams. Example: `true`
func (AlarmOutput) MessageFormat ¶
func (o AlarmOutput) MessageFormat() pulumi.StringOutput
(Updatable) The format to use for alarm notifications. The formats are: * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only.
func (AlarmOutput) MetricCompartmentId ¶
func (o AlarmOutput) MetricCompartmentId() pulumi.StringOutput
(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm.
func (AlarmOutput) MetricCompartmentIdInSubtree ¶
func (o AlarmOutput) MetricCompartmentIdInSubtree() pulumi.BoolOutput
(Updatable) When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true`
func (AlarmOutput) Namespace ¶
func (o AlarmOutput) Namespace() pulumi.StringOutput
(Updatable) The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent`
func (AlarmOutput) NotificationTitle ¶
func (o AlarmOutput) NotificationTitle() pulumi.StringOutput
(Updatable) Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message.
func (AlarmOutput) NotificationVersion ¶
func (o AlarmOutput) NotificationVersion() pulumi.StringOutput
(Updatable) The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X.
func (AlarmOutput) Overrides ¶
func (o AlarmOutput) Overrides() AlarmOverrideArrayOutput
(Updatable) A set of overrides that control evaluations of the alarm.
Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`).
func (AlarmOutput) PendingDuration ¶
func (o AlarmOutput) PendingDuration() pulumi.StringOutput
(Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING".
The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute.
Example: `PT5M`
func (AlarmOutput) Query ¶
func (o AlarmOutput) Query() pulumi.StringOutput
(Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
Example of threshold alarm:
***
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
***
Example of absence alarm:
***
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent()
----- Example of absence alarm with custom absence detection period of 20 hours:
----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) -----
func (AlarmOutput) RepeatNotificationDuration ¶
func (o AlarmOutput) RepeatNotificationDuration() pulumi.StringOutput
(Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D.
Default value: null (notifications are not re-submitted).
Example: `PT2H`
func (AlarmOutput) Resolution ¶
func (o AlarmOutput) Resolution() pulumi.StringOutput
(Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m`
func (AlarmOutput) ResourceGroup ¶
func (o AlarmOutput) ResourceGroup() pulumi.StringOutput
(Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Avoid entering confidential information. Example: `frontend-fleet`
func (AlarmOutput) RuleName ¶
func (o AlarmOutput) RuleName() pulumi.StringOutput
(Updatable) Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see AlarmOverride(https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
func (AlarmOutput) Severity ¶
func (o AlarmOutput) Severity() pulumi.StringOutput
(Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
func (AlarmOutput) State ¶
func (o AlarmOutput) State() pulumi.StringOutput
The current lifecycle state of the alarm. Example: `DELETED`
func (AlarmOutput) Suppression ¶
func (o AlarmOutput) Suppression() AlarmSuppressionTypeOutput
(Updatable) The configuration details for suppressing an alarm.
func (AlarmOutput) TimeCreated ¶
func (o AlarmOutput) TimeCreated() pulumi.StringOutput
The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (AlarmOutput) TimeUpdated ¶
func (o AlarmOutput) TimeUpdated() pulumi.StringOutput
The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z`
func (AlarmOutput) ToAlarmOutput ¶
func (o AlarmOutput) ToAlarmOutput() AlarmOutput
func (AlarmOutput) ToAlarmOutputWithContext ¶
func (o AlarmOutput) ToAlarmOutputWithContext(ctx context.Context) AlarmOutput
type AlarmOverride ¶
type AlarmOverride struct { // (Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body *string `pulumi:"body"` // (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". // // The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M. // // Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING". // // The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute. // // Example: `PT5M` PendingDuration *string `pulumi:"pendingDuration"` // (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example of threshold alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 // // *** // // Example of absence alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent() // // ----- Example of absence alarm with custom absence detection period of 20 hours: // // ----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) ----- Query *string `pulumi:"query"` // (Updatable) A user-friendly description for this alarm override. Must be unique across all `ruleName` values for the alarm. RuleName *string `pulumi:"ruleName"` // (Updatable) The perceived severity of the alarm with regard to the affected system. Example: `CRITICAL` Severity *string `pulumi:"severity"` }
type AlarmOverrideArgs ¶
type AlarmOverrideArgs struct { // (Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body pulumi.StringPtrInput `pulumi:"body"` // (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". // // The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M. // // Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING". // // The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute. // // Example: `PT5M` PendingDuration pulumi.StringPtrInput `pulumi:"pendingDuration"` // (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example of threshold alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 // // *** // // Example of absence alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent() // // ----- Example of absence alarm with custom absence detection period of 20 hours: // // ----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) ----- Query pulumi.StringPtrInput `pulumi:"query"` // (Updatable) A user-friendly description for this alarm override. Must be unique across all `ruleName` values for the alarm. RuleName pulumi.StringPtrInput `pulumi:"ruleName"` // (Updatable) The perceived severity of the alarm with regard to the affected system. Example: `CRITICAL` Severity pulumi.StringPtrInput `pulumi:"severity"` }
func (AlarmOverrideArgs) ElementType ¶
func (AlarmOverrideArgs) ElementType() reflect.Type
func (AlarmOverrideArgs) ToAlarmOverrideOutput ¶
func (i AlarmOverrideArgs) ToAlarmOverrideOutput() AlarmOverrideOutput
func (AlarmOverrideArgs) ToAlarmOverrideOutputWithContext ¶
func (i AlarmOverrideArgs) ToAlarmOverrideOutputWithContext(ctx context.Context) AlarmOverrideOutput
type AlarmOverrideArray ¶
type AlarmOverrideArray []AlarmOverrideInput
func (AlarmOverrideArray) ElementType ¶
func (AlarmOverrideArray) ElementType() reflect.Type
func (AlarmOverrideArray) ToAlarmOverrideArrayOutput ¶
func (i AlarmOverrideArray) ToAlarmOverrideArrayOutput() AlarmOverrideArrayOutput
func (AlarmOverrideArray) ToAlarmOverrideArrayOutputWithContext ¶
func (i AlarmOverrideArray) ToAlarmOverrideArrayOutputWithContext(ctx context.Context) AlarmOverrideArrayOutput
type AlarmOverrideArrayInput ¶
type AlarmOverrideArrayInput interface { pulumi.Input ToAlarmOverrideArrayOutput() AlarmOverrideArrayOutput ToAlarmOverrideArrayOutputWithContext(context.Context) AlarmOverrideArrayOutput }
AlarmOverrideArrayInput is an input type that accepts AlarmOverrideArray and AlarmOverrideArrayOutput values. You can construct a concrete instance of `AlarmOverrideArrayInput` via:
AlarmOverrideArray{ AlarmOverrideArgs{...} }
type AlarmOverrideArrayOutput ¶
type AlarmOverrideArrayOutput struct{ *pulumi.OutputState }
func (AlarmOverrideArrayOutput) ElementType ¶
func (AlarmOverrideArrayOutput) ElementType() reflect.Type
func (AlarmOverrideArrayOutput) Index ¶
func (o AlarmOverrideArrayOutput) Index(i pulumi.IntInput) AlarmOverrideOutput
func (AlarmOverrideArrayOutput) ToAlarmOverrideArrayOutput ¶
func (o AlarmOverrideArrayOutput) ToAlarmOverrideArrayOutput() AlarmOverrideArrayOutput
func (AlarmOverrideArrayOutput) ToAlarmOverrideArrayOutputWithContext ¶
func (o AlarmOverrideArrayOutput) ToAlarmOverrideArrayOutputWithContext(ctx context.Context) AlarmOverrideArrayOutput
type AlarmOverrideInput ¶
type AlarmOverrideInput interface { pulumi.Input ToAlarmOverrideOutput() AlarmOverrideOutput ToAlarmOverrideOutputWithContext(context.Context) AlarmOverrideOutput }
AlarmOverrideInput is an input type that accepts AlarmOverrideArgs and AlarmOverrideOutput values. You can construct a concrete instance of `AlarmOverrideInput` via:
AlarmOverrideArgs{...}
type AlarmOverrideOutput ¶
type AlarmOverrideOutput struct{ *pulumi.OutputState }
func (AlarmOverrideOutput) Body ¶
func (o AlarmOverrideOutput) Body() pulumi.StringPtrOutput
(Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
func (AlarmOverrideOutput) ElementType ¶
func (AlarmOverrideOutput) ElementType() reflect.Type
func (AlarmOverrideOutput) PendingDuration ¶
func (o AlarmOverrideOutput) PendingDuration() pulumi.StringPtrOutput
(Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M.
Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING".
The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute.
Example: `PT5M`
func (AlarmOverrideOutput) Query ¶
func (o AlarmOverrideOutput) Query() pulumi.StringPtrOutput
(Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
Example of threshold alarm:
***
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85
***
Example of absence alarm:
***
CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent()
----- Example of absence alarm with custom absence detection period of 20 hours:
----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) -----
func (AlarmOverrideOutput) RuleName ¶
func (o AlarmOverrideOutput) RuleName() pulumi.StringPtrOutput
(Updatable) A user-friendly description for this alarm override. Must be unique across all `ruleName` values for the alarm.
func (AlarmOverrideOutput) Severity ¶
func (o AlarmOverrideOutput) Severity() pulumi.StringPtrOutput
(Updatable) The perceived severity of the alarm with regard to the affected system. Example: `CRITICAL`
func (AlarmOverrideOutput) ToAlarmOverrideOutput ¶
func (o AlarmOverrideOutput) ToAlarmOverrideOutput() AlarmOverrideOutput
func (AlarmOverrideOutput) ToAlarmOverrideOutputWithContext ¶
func (o AlarmOverrideOutput) ToAlarmOverrideOutputWithContext(ctx context.Context) AlarmOverrideOutput
type AlarmState ¶
type AlarmState struct { // (Updatable) Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary pulumi.StringPtrInput // (Updatable) The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId pulumi.StringPtrInput // (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // (Updatable) A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service. Destinations pulumi.StringArrayInput // (Updatable) A user-friendly name for the alarm. It does not have to be unique, and it's changeable. Avoid entering confidential information. // // This value determines the title of each alarm notification. // // Example: `High CPU Utilization` DisplayName pulumi.StringPtrInput // (Updatable) Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration pulumi.StringPtrInput // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // (Updatable) Whether the alarm is enabled. Example: `true` IsEnabled pulumi.BoolPtrInput // (Updatable) When set to `true`, splits alarm notifications per metric stream. When set to `false`, groups alarm notifications across metric streams. Example: `true` IsNotificationsPerMetricDimensionEnabled pulumi.BoolPtrInput // (Updatable) The format to use for alarm notifications. The formats are: // * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. // * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. // * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only. MessageFormat pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm. MetricCompartmentId pulumi.StringPtrInput // (Updatable) When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true` MetricCompartmentIdInSubtree pulumi.BoolPtrInput // (Updatable) The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent` Namespace pulumi.StringPtrInput // (Updatable) Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle pulumi.StringPtrInput // (Updatable) The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion pulumi.StringPtrInput // (Updatable) A set of overrides that control evaluations of the alarm. // // Each override can specify values for query, severity, body, and pending duration. When an alarm contains overrides, the Monitoring service evaluates each override in order, beginning with the first override in the array (index position `0`), and then evaluates the alarm's base values (`ruleName` value of `BASE`). Overrides AlarmOverrideArrayInput // (Updatable) The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". // // The duration is specified as a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT1M. Maximum: PT1H. Default: PT1M. // // Under the default value of PT1M, the first evaluation that breaches the alarm updates the state to "FIRING". // // The alarm updates its status to "OK" when the breaching condition has been clear for the most recent minute. // // Example: `PT5M` PendingDuration pulumi.StringPtrInput // (Updatable) The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example of threshold alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.groupBy(availabilityDomain).percentile(0.9) > 85 // // *** // // Example of absence alarm: // // *** // // CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent() // // ----- Example of absence alarm with custom absence detection period of 20 hours: // // ----- CpuUtilization[1m]{availabilityDomain="cumS:PHX-AD-1"}.absent(20h) ----- Query pulumi.StringPtrInput // (Updatable) The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D. // // Default value: null (notifications are not re-submitted). // // Example: `PT2H` RepeatNotificationDuration pulumi.StringPtrInput // (Updatable) The time between calculated aggregation windows for the alarm. Supported value: `1m` Resolution pulumi.StringPtrInput // (Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Avoid entering confidential information. Example: `frontend-fleet` ResourceGroup pulumi.StringPtrInput // (Updatable) Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName pulumi.StringPtrInput // (Updatable) The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity pulumi.StringPtrInput // The current lifecycle state of the alarm. Example: `DELETED` State pulumi.StringPtrInput // (Updatable) The configuration details for suppressing an alarm. Suppression AlarmSuppressionTypePtrInput // The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeCreated pulumi.StringPtrInput // The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z` TimeUpdated pulumi.StringPtrInput }
func (AlarmState) ElementType ¶
func (AlarmState) ElementType() reflect.Type
type AlarmSuppression ¶
type AlarmSuppression struct { pulumi.CustomResourceState // The target of the alarm suppression. AlarmSuppressionTarget AlarmSuppressionAlarmSuppressionTargetOutput `pulumi:"alarmSuppressionTarget"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` // Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. // // Oracle recommends including tracking information for the event or associated work, such as a ticket number. // // Example: `Planned outage due to change IT-1234.` Description pulumi.StringOutput `pulumi:"description"` // A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression. // // This is required only when the value of level is `DIMENSION`. If required, the value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message. Dimensions pulumi.StringMapOutput `pulumi:"dimensions"` // A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName pulumi.StringOutput `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. // // Defaut: `DIMENSION` Level pulumi.StringOutput `pulumi:"level"` // The current lifecycle state of the alarm suppression. Example: `DELETED` State pulumi.StringOutput `pulumi:"state"` // Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]` SuppressionConditions AlarmSuppressionSuppressionConditionArrayOutput `pulumi:"suppressionConditions"` // The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom pulumi.StringOutput `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TimeSuppressUntil pulumi.StringOutput `pulumi:"timeSuppressUntil"` // The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z` TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` }
This resource provides the Alarm Suppression resource in Oracle Cloud Infrastructure Monitoring service.
Creates a new alarm suppression at the specified level (alarm-wide or dimension-specific). For more information, see [Adding an Alarm-wide Suppression](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/add-alarm-suppression.htm) and [Adding a Dimension-Specific Alarm Suppression](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-suppression.htm).
For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.NewAlarmSuppression(ctx, "test_alarm_suppression", &monitoring.AlarmSuppressionArgs{ AlarmSuppressionTarget: &monitoring.AlarmSuppressionAlarmSuppressionTargetArgs{ TargetType: pulumi.Any(alarmSuppressionAlarmSuppressionTargetTargetType), AlarmId: pulumi.Any(testAlarm.Id), CompartmentId: pulumi.Any(compartmentId), CompartmentIdInSubtree: pulumi.Any(alarmSuppressionAlarmSuppressionTargetCompartmentIdInSubtree), }, DisplayName: pulumi.Any(alarmSuppressionDisplayName), TimeSuppressFrom: pulumi.Any(alarmSuppressionTimeSuppressFrom), TimeSuppressUntil: pulumi.Any(alarmSuppressionTimeSuppressUntil), DefinedTags: pulumi.StringMap{ "Operations.CostCenter": pulumi.String("42"), }, Description: pulumi.Any(alarmSuppressionDescription), Dimensions: pulumi.Any(alarmSuppressionDimensions), FreeformTags: pulumi.StringMap{ "Department": pulumi.String("Finance"), }, Level: pulumi.Any(alarmSuppressionLevel), SuppressionConditions: monitoring.AlarmSuppressionSuppressionConditionArray{ &monitoring.AlarmSuppressionSuppressionConditionArgs{ ConditionType: pulumi.Any(alarmSuppressionSuppressionConditionsConditionType), SuppressionDuration: pulumi.Any(alarmSuppressionSuppressionConditionsSuppressionDuration), SuppressionRecurrence: pulumi.Any(alarmSuppressionSuppressionConditionsSuppressionRecurrence), }, }, }) if err != nil { return err } return nil }) }
```
## Import
AlarmSuppressions can be imported using the `id`, e.g.
```sh $ pulumi import oci:Monitoring/alarmSuppression:AlarmSuppression test_alarm_suppression "id" ```
func GetAlarmSuppression ¶
func GetAlarmSuppression(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AlarmSuppressionState, opts ...pulumi.ResourceOption) (*AlarmSuppression, error)
GetAlarmSuppression gets an existing AlarmSuppression resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewAlarmSuppression ¶
func NewAlarmSuppression(ctx *pulumi.Context, name string, args *AlarmSuppressionArgs, opts ...pulumi.ResourceOption) (*AlarmSuppression, error)
NewAlarmSuppression registers a new resource with the given unique name, arguments, and options.
func (*AlarmSuppression) ElementType ¶
func (*AlarmSuppression) ElementType() reflect.Type
func (*AlarmSuppression) ToAlarmSuppressionOutput ¶
func (i *AlarmSuppression) ToAlarmSuppressionOutput() AlarmSuppressionOutput
func (*AlarmSuppression) ToAlarmSuppressionOutputWithContext ¶
func (i *AlarmSuppression) ToAlarmSuppressionOutputWithContext(ctx context.Context) AlarmSuppressionOutput
type AlarmSuppressionAlarmSuppressionTarget ¶
type AlarmSuppressionAlarmSuppressionTarget struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId *string `pulumi:"alarmId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment or tenancy that is the target of the alarm suppression. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId *string `pulumi:"compartmentId"` // When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment. CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // The type of the alarm suppression target. TargetType string `pulumi:"targetType"` }
type AlarmSuppressionAlarmSuppressionTargetArgs ¶
type AlarmSuppressionAlarmSuppressionTargetArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId pulumi.StringPtrInput `pulumi:"alarmId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment or tenancy that is the target of the alarm suppression. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` // When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment. CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` // The type of the alarm suppression target. TargetType pulumi.StringInput `pulumi:"targetType"` }
func (AlarmSuppressionAlarmSuppressionTargetArgs) ElementType ¶
func (AlarmSuppressionAlarmSuppressionTargetArgs) ElementType() reflect.Type
func (AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetOutput ¶
func (i AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetOutput() AlarmSuppressionAlarmSuppressionTargetOutput
func (AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetOutputWithContext ¶
func (i AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetOutput
func (AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput ¶
func (i AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput() AlarmSuppressionAlarmSuppressionTargetPtrOutput
func (AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext ¶
func (i AlarmSuppressionAlarmSuppressionTargetArgs) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetPtrOutput
type AlarmSuppressionAlarmSuppressionTargetInput ¶
type AlarmSuppressionAlarmSuppressionTargetInput interface { pulumi.Input ToAlarmSuppressionAlarmSuppressionTargetOutput() AlarmSuppressionAlarmSuppressionTargetOutput ToAlarmSuppressionAlarmSuppressionTargetOutputWithContext(context.Context) AlarmSuppressionAlarmSuppressionTargetOutput }
AlarmSuppressionAlarmSuppressionTargetInput is an input type that accepts AlarmSuppressionAlarmSuppressionTargetArgs and AlarmSuppressionAlarmSuppressionTargetOutput values. You can construct a concrete instance of `AlarmSuppressionAlarmSuppressionTargetInput` via:
AlarmSuppressionAlarmSuppressionTargetArgs{...}
type AlarmSuppressionAlarmSuppressionTargetOutput ¶
type AlarmSuppressionAlarmSuppressionTargetOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionAlarmSuppressionTargetOutput) AlarmId ¶
func (o AlarmSuppressionAlarmSuppressionTargetOutput) AlarmId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
func (AlarmSuppressionAlarmSuppressionTargetOutput) CompartmentId ¶ added in v2.12.0
func (o AlarmSuppressionAlarmSuppressionTargetOutput) CompartmentId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment or tenancy that is the target of the alarm suppression. Example: `ocid1.compartment.oc1..exampleuniqueID`
func (AlarmSuppressionAlarmSuppressionTargetOutput) CompartmentIdInSubtree ¶ added in v2.12.0
func (o AlarmSuppressionAlarmSuppressionTargetOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment.
func (AlarmSuppressionAlarmSuppressionTargetOutput) ElementType ¶
func (AlarmSuppressionAlarmSuppressionTargetOutput) ElementType() reflect.Type
func (AlarmSuppressionAlarmSuppressionTargetOutput) TargetType ¶
func (o AlarmSuppressionAlarmSuppressionTargetOutput) TargetType() pulumi.StringOutput
The type of the alarm suppression target.
func (AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetOutput ¶
func (o AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetOutput() AlarmSuppressionAlarmSuppressionTargetOutput
func (AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetOutputWithContext ¶
func (o AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetOutput
func (AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput ¶
func (o AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput() AlarmSuppressionAlarmSuppressionTargetPtrOutput
func (AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext ¶
func (o AlarmSuppressionAlarmSuppressionTargetOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetPtrOutput
type AlarmSuppressionAlarmSuppressionTargetPtrInput ¶
type AlarmSuppressionAlarmSuppressionTargetPtrInput interface { pulumi.Input ToAlarmSuppressionAlarmSuppressionTargetPtrOutput() AlarmSuppressionAlarmSuppressionTargetPtrOutput ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext(context.Context) AlarmSuppressionAlarmSuppressionTargetPtrOutput }
AlarmSuppressionAlarmSuppressionTargetPtrInput is an input type that accepts AlarmSuppressionAlarmSuppressionTargetArgs, AlarmSuppressionAlarmSuppressionTargetPtr and AlarmSuppressionAlarmSuppressionTargetPtrOutput values. You can construct a concrete instance of `AlarmSuppressionAlarmSuppressionTargetPtrInput` via:
AlarmSuppressionAlarmSuppressionTargetArgs{...} or: nil
func AlarmSuppressionAlarmSuppressionTargetPtr ¶
func AlarmSuppressionAlarmSuppressionTargetPtr(v *AlarmSuppressionAlarmSuppressionTargetArgs) AlarmSuppressionAlarmSuppressionTargetPtrInput
type AlarmSuppressionAlarmSuppressionTargetPtrOutput ¶
type AlarmSuppressionAlarmSuppressionTargetPtrOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) AlarmId ¶
func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) AlarmId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) CompartmentId ¶ added in v2.12.0
func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) CompartmentId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment or tenancy that is the target of the alarm suppression. Example: `ocid1.compartment.oc1..exampleuniqueID`
func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) CompartmentIdInSubtree ¶ added in v2.12.0
func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment.
func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) ElementType ¶
func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) ElementType() reflect.Type
func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) TargetType ¶
func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) TargetType() pulumi.StringPtrOutput
The type of the alarm suppression target.
func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput ¶
func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutput() AlarmSuppressionAlarmSuppressionTargetPtrOutput
func (AlarmSuppressionAlarmSuppressionTargetPtrOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext ¶
func (o AlarmSuppressionAlarmSuppressionTargetPtrOutput) ToAlarmSuppressionAlarmSuppressionTargetPtrOutputWithContext(ctx context.Context) AlarmSuppressionAlarmSuppressionTargetPtrOutput
type AlarmSuppressionArgs ¶
type AlarmSuppressionArgs struct { // The target of the alarm suppression. AlarmSuppressionTarget AlarmSuppressionAlarmSuppressionTargetInput // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. // // Oracle recommends including tracking information for the event or associated work, such as a ticket number. // // Example: `Planned outage due to change IT-1234.` Description pulumi.StringPtrInput // A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression. // // This is required only when the value of level is `DIMENSION`. If required, the value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message. Dimensions pulumi.StringMapInput // A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName pulumi.StringInput // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. // // Defaut: `DIMENSION` Level pulumi.StringPtrInput // Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]` SuppressionConditions AlarmSuppressionSuppressionConditionArrayInput // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom pulumi.StringInput // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TimeSuppressUntil pulumi.StringInput }
The set of arguments for constructing a AlarmSuppression resource.
func (AlarmSuppressionArgs) ElementType ¶
func (AlarmSuppressionArgs) ElementType() reflect.Type
type AlarmSuppressionArray ¶
type AlarmSuppressionArray []AlarmSuppressionInput
func (AlarmSuppressionArray) ElementType ¶
func (AlarmSuppressionArray) ElementType() reflect.Type
func (AlarmSuppressionArray) ToAlarmSuppressionArrayOutput ¶
func (i AlarmSuppressionArray) ToAlarmSuppressionArrayOutput() AlarmSuppressionArrayOutput
func (AlarmSuppressionArray) ToAlarmSuppressionArrayOutputWithContext ¶
func (i AlarmSuppressionArray) ToAlarmSuppressionArrayOutputWithContext(ctx context.Context) AlarmSuppressionArrayOutput
type AlarmSuppressionArrayInput ¶
type AlarmSuppressionArrayInput interface { pulumi.Input ToAlarmSuppressionArrayOutput() AlarmSuppressionArrayOutput ToAlarmSuppressionArrayOutputWithContext(context.Context) AlarmSuppressionArrayOutput }
AlarmSuppressionArrayInput is an input type that accepts AlarmSuppressionArray and AlarmSuppressionArrayOutput values. You can construct a concrete instance of `AlarmSuppressionArrayInput` via:
AlarmSuppressionArray{ AlarmSuppressionArgs{...} }
type AlarmSuppressionArrayOutput ¶
type AlarmSuppressionArrayOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionArrayOutput) ElementType ¶
func (AlarmSuppressionArrayOutput) ElementType() reflect.Type
func (AlarmSuppressionArrayOutput) Index ¶
func (o AlarmSuppressionArrayOutput) Index(i pulumi.IntInput) AlarmSuppressionOutput
func (AlarmSuppressionArrayOutput) ToAlarmSuppressionArrayOutput ¶
func (o AlarmSuppressionArrayOutput) ToAlarmSuppressionArrayOutput() AlarmSuppressionArrayOutput
func (AlarmSuppressionArrayOutput) ToAlarmSuppressionArrayOutputWithContext ¶
func (o AlarmSuppressionArrayOutput) ToAlarmSuppressionArrayOutputWithContext(ctx context.Context) AlarmSuppressionArrayOutput
type AlarmSuppressionInput ¶
type AlarmSuppressionInput interface { pulumi.Input ToAlarmSuppressionOutput() AlarmSuppressionOutput ToAlarmSuppressionOutputWithContext(ctx context.Context) AlarmSuppressionOutput }
type AlarmSuppressionMap ¶
type AlarmSuppressionMap map[string]AlarmSuppressionInput
func (AlarmSuppressionMap) ElementType ¶
func (AlarmSuppressionMap) ElementType() reflect.Type
func (AlarmSuppressionMap) ToAlarmSuppressionMapOutput ¶
func (i AlarmSuppressionMap) ToAlarmSuppressionMapOutput() AlarmSuppressionMapOutput
func (AlarmSuppressionMap) ToAlarmSuppressionMapOutputWithContext ¶
func (i AlarmSuppressionMap) ToAlarmSuppressionMapOutputWithContext(ctx context.Context) AlarmSuppressionMapOutput
type AlarmSuppressionMapInput ¶
type AlarmSuppressionMapInput interface { pulumi.Input ToAlarmSuppressionMapOutput() AlarmSuppressionMapOutput ToAlarmSuppressionMapOutputWithContext(context.Context) AlarmSuppressionMapOutput }
AlarmSuppressionMapInput is an input type that accepts AlarmSuppressionMap and AlarmSuppressionMapOutput values. You can construct a concrete instance of `AlarmSuppressionMapInput` via:
AlarmSuppressionMap{ "key": AlarmSuppressionArgs{...} }
type AlarmSuppressionMapOutput ¶
type AlarmSuppressionMapOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionMapOutput) ElementType ¶
func (AlarmSuppressionMapOutput) ElementType() reflect.Type
func (AlarmSuppressionMapOutput) MapIndex ¶
func (o AlarmSuppressionMapOutput) MapIndex(k pulumi.StringInput) AlarmSuppressionOutput
func (AlarmSuppressionMapOutput) ToAlarmSuppressionMapOutput ¶
func (o AlarmSuppressionMapOutput) ToAlarmSuppressionMapOutput() AlarmSuppressionMapOutput
func (AlarmSuppressionMapOutput) ToAlarmSuppressionMapOutputWithContext ¶
func (o AlarmSuppressionMapOutput) ToAlarmSuppressionMapOutputWithContext(ctx context.Context) AlarmSuppressionMapOutput
type AlarmSuppressionOutput ¶
type AlarmSuppressionOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionOutput) AlarmSuppressionTarget ¶
func (o AlarmSuppressionOutput) AlarmSuppressionTarget() AlarmSuppressionAlarmSuppressionTargetOutput
The target of the alarm suppression.
func (AlarmSuppressionOutput) CompartmentId ¶
func (o AlarmSuppressionOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
func (AlarmSuppressionOutput) DefinedTags ¶
func (o AlarmSuppressionOutput) DefinedTags() pulumi.StringMapOutput
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
func (AlarmSuppressionOutput) Description ¶
func (o AlarmSuppressionOutput) Description() pulumi.StringOutput
Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
Example: `Planned outage due to change IT-1234.`
func (AlarmSuppressionOutput) Dimensions ¶
func (o AlarmSuppressionOutput) Dimensions() pulumi.StringMapOutput
A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression.
This is required only when the value of level is `DIMENSION`. If required, the value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message.
func (AlarmSuppressionOutput) DisplayName ¶
func (o AlarmSuppressionOutput) DisplayName() pulumi.StringOutput
A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
func (AlarmSuppressionOutput) ElementType ¶
func (AlarmSuppressionOutput) ElementType() reflect.Type
func (AlarmSuppressionOutput) FreeformTags ¶
func (o AlarmSuppressionOutput) FreeformTags() pulumi.StringMapOutput
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
func (AlarmSuppressionOutput) Level ¶ added in v2.12.0
func (o AlarmSuppressionOutput) Level() pulumi.StringOutput
The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions.
Defaut: `DIMENSION`
func (AlarmSuppressionOutput) State ¶
func (o AlarmSuppressionOutput) State() pulumi.StringOutput
The current lifecycle state of the alarm suppression. Example: `DELETED`
func (AlarmSuppressionOutput) SuppressionConditions ¶ added in v2.12.0
func (o AlarmSuppressionOutput) SuppressionConditions() AlarmSuppressionSuppressionConditionArrayOutput
Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]`
func (AlarmSuppressionOutput) TimeCreated ¶
func (o AlarmSuppressionOutput) TimeCreated() pulumi.StringOutput
The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
func (AlarmSuppressionOutput) TimeSuppressFrom ¶
func (o AlarmSuppressionOutput) TimeSuppressFrom() pulumi.StringOutput
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (AlarmSuppressionOutput) TimeSuppressUntil ¶
func (o AlarmSuppressionOutput) TimeSuppressUntil() pulumi.StringOutput
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
func (AlarmSuppressionOutput) TimeUpdated ¶
func (o AlarmSuppressionOutput) TimeUpdated() pulumi.StringOutput
The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
func (AlarmSuppressionOutput) ToAlarmSuppressionOutput ¶
func (o AlarmSuppressionOutput) ToAlarmSuppressionOutput() AlarmSuppressionOutput
func (AlarmSuppressionOutput) ToAlarmSuppressionOutputWithContext ¶
func (o AlarmSuppressionOutput) ToAlarmSuppressionOutputWithContext(ctx context.Context) AlarmSuppressionOutput
type AlarmSuppressionState ¶
type AlarmSuppressionState struct { // The target of the alarm suppression. AlarmSuppressionTarget AlarmSuppressionAlarmSuppressionTargetPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. CompartmentId pulumi.StringPtrInput // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput // Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. // // Oracle recommends including tracking information for the event or associated work, such as a ticket number. // // Example: `Planned outage due to change IT-1234.` Description pulumi.StringPtrInput // A filter to suppress only alarm state entries that include the set of specified dimension key-value pairs. If you specify {"availabilityDomain": "phx-ad-1"} and the alarm state entry corresponds to the set {"availabilityDomain": "phx-ad-1" and "resourceId": "instance.region1.phx.exampleuniqueID"}, then this alarm will be included for suppression. // // This is required only when the value of level is `DIMENSION`. If required, the value cannot be an empty object. Only a single value is allowed per key. No grouping of multiple values is allowed under the same key. Maximum characters (after serialization): 4000. This maximum satisfies typical use cases. The response for an exceeded maximum is `HTTP 400` with an "dimensions values are too long" message. Dimensions pulumi.StringMapInput // A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName pulumi.StringPtrInput // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. // // Defaut: `DIMENSION` Level pulumi.StringPtrInput // The current lifecycle state of the alarm suppression. Example: `DELETED` State pulumi.StringPtrInput // Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]` SuppressionConditions AlarmSuppressionSuppressionConditionArrayInput // The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z` TimeCreated pulumi.StringPtrInput // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom pulumi.StringPtrInput // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TimeSuppressUntil pulumi.StringPtrInput // The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z` TimeUpdated pulumi.StringPtrInput }
func (AlarmSuppressionState) ElementType ¶
func (AlarmSuppressionState) ElementType() reflect.Type
type AlarmSuppressionSuppressionCondition ¶ added in v2.12.0
type AlarmSuppressionSuppressionCondition struct { // Type of suppression condition. ConditionType string `pulumi:"conditionType"` // Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours). SuppressionDuration string `pulumi:"suppressionDuration"` // Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: // * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. // * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. // * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`. SuppressionRecurrence string `pulumi:"suppressionRecurrence"` }
type AlarmSuppressionSuppressionConditionArgs ¶ added in v2.12.0
type AlarmSuppressionSuppressionConditionArgs struct { // Type of suppression condition. ConditionType pulumi.StringInput `pulumi:"conditionType"` // Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours). SuppressionDuration pulumi.StringInput `pulumi:"suppressionDuration"` // Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: // * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. // * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. // * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`. SuppressionRecurrence pulumi.StringInput `pulumi:"suppressionRecurrence"` }
func (AlarmSuppressionSuppressionConditionArgs) ElementType ¶ added in v2.12.0
func (AlarmSuppressionSuppressionConditionArgs) ElementType() reflect.Type
func (AlarmSuppressionSuppressionConditionArgs) ToAlarmSuppressionSuppressionConditionOutput ¶ added in v2.12.0
func (i AlarmSuppressionSuppressionConditionArgs) ToAlarmSuppressionSuppressionConditionOutput() AlarmSuppressionSuppressionConditionOutput
func (AlarmSuppressionSuppressionConditionArgs) ToAlarmSuppressionSuppressionConditionOutputWithContext ¶ added in v2.12.0
func (i AlarmSuppressionSuppressionConditionArgs) ToAlarmSuppressionSuppressionConditionOutputWithContext(ctx context.Context) AlarmSuppressionSuppressionConditionOutput
type AlarmSuppressionSuppressionConditionArray ¶ added in v2.12.0
type AlarmSuppressionSuppressionConditionArray []AlarmSuppressionSuppressionConditionInput
func (AlarmSuppressionSuppressionConditionArray) ElementType ¶ added in v2.12.0
func (AlarmSuppressionSuppressionConditionArray) ElementType() reflect.Type
func (AlarmSuppressionSuppressionConditionArray) ToAlarmSuppressionSuppressionConditionArrayOutput ¶ added in v2.12.0
func (i AlarmSuppressionSuppressionConditionArray) ToAlarmSuppressionSuppressionConditionArrayOutput() AlarmSuppressionSuppressionConditionArrayOutput
func (AlarmSuppressionSuppressionConditionArray) ToAlarmSuppressionSuppressionConditionArrayOutputWithContext ¶ added in v2.12.0
func (i AlarmSuppressionSuppressionConditionArray) ToAlarmSuppressionSuppressionConditionArrayOutputWithContext(ctx context.Context) AlarmSuppressionSuppressionConditionArrayOutput
type AlarmSuppressionSuppressionConditionArrayInput ¶ added in v2.12.0
type AlarmSuppressionSuppressionConditionArrayInput interface { pulumi.Input ToAlarmSuppressionSuppressionConditionArrayOutput() AlarmSuppressionSuppressionConditionArrayOutput ToAlarmSuppressionSuppressionConditionArrayOutputWithContext(context.Context) AlarmSuppressionSuppressionConditionArrayOutput }
AlarmSuppressionSuppressionConditionArrayInput is an input type that accepts AlarmSuppressionSuppressionConditionArray and AlarmSuppressionSuppressionConditionArrayOutput values. You can construct a concrete instance of `AlarmSuppressionSuppressionConditionArrayInput` via:
AlarmSuppressionSuppressionConditionArray{ AlarmSuppressionSuppressionConditionArgs{...} }
type AlarmSuppressionSuppressionConditionArrayOutput ¶ added in v2.12.0
type AlarmSuppressionSuppressionConditionArrayOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionSuppressionConditionArrayOutput) ElementType ¶ added in v2.12.0
func (AlarmSuppressionSuppressionConditionArrayOutput) ElementType() reflect.Type
func (AlarmSuppressionSuppressionConditionArrayOutput) ToAlarmSuppressionSuppressionConditionArrayOutput ¶ added in v2.12.0
func (o AlarmSuppressionSuppressionConditionArrayOutput) ToAlarmSuppressionSuppressionConditionArrayOutput() AlarmSuppressionSuppressionConditionArrayOutput
func (AlarmSuppressionSuppressionConditionArrayOutput) ToAlarmSuppressionSuppressionConditionArrayOutputWithContext ¶ added in v2.12.0
func (o AlarmSuppressionSuppressionConditionArrayOutput) ToAlarmSuppressionSuppressionConditionArrayOutputWithContext(ctx context.Context) AlarmSuppressionSuppressionConditionArrayOutput
type AlarmSuppressionSuppressionConditionInput ¶ added in v2.12.0
type AlarmSuppressionSuppressionConditionInput interface { pulumi.Input ToAlarmSuppressionSuppressionConditionOutput() AlarmSuppressionSuppressionConditionOutput ToAlarmSuppressionSuppressionConditionOutputWithContext(context.Context) AlarmSuppressionSuppressionConditionOutput }
AlarmSuppressionSuppressionConditionInput is an input type that accepts AlarmSuppressionSuppressionConditionArgs and AlarmSuppressionSuppressionConditionOutput values. You can construct a concrete instance of `AlarmSuppressionSuppressionConditionInput` via:
AlarmSuppressionSuppressionConditionArgs{...}
type AlarmSuppressionSuppressionConditionOutput ¶ added in v2.12.0
type AlarmSuppressionSuppressionConditionOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionSuppressionConditionOutput) ConditionType ¶ added in v2.12.0
func (o AlarmSuppressionSuppressionConditionOutput) ConditionType() pulumi.StringOutput
Type of suppression condition.
func (AlarmSuppressionSuppressionConditionOutput) ElementType ¶ added in v2.12.0
func (AlarmSuppressionSuppressionConditionOutput) ElementType() reflect.Type
func (AlarmSuppressionSuppressionConditionOutput) SuppressionDuration ¶ added in v2.12.0
func (o AlarmSuppressionSuppressionConditionOutput) SuppressionDuration() pulumi.StringOutput
Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours).
func (AlarmSuppressionSuppressionConditionOutput) SuppressionRecurrence ¶ added in v2.12.0
func (o AlarmSuppressionSuppressionConditionOutput) SuppressionRecurrence() pulumi.StringOutput
Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`.
func (AlarmSuppressionSuppressionConditionOutput) ToAlarmSuppressionSuppressionConditionOutput ¶ added in v2.12.0
func (o AlarmSuppressionSuppressionConditionOutput) ToAlarmSuppressionSuppressionConditionOutput() AlarmSuppressionSuppressionConditionOutput
func (AlarmSuppressionSuppressionConditionOutput) ToAlarmSuppressionSuppressionConditionOutputWithContext ¶ added in v2.12.0
func (o AlarmSuppressionSuppressionConditionOutput) ToAlarmSuppressionSuppressionConditionOutputWithContext(ctx context.Context) AlarmSuppressionSuppressionConditionOutput
type AlarmSuppressionType ¶
type AlarmSuppressionType struct { // (Updatable) Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. // // Oracle recommends including tracking information for the event or associated work, such as a ticket number. // // Example: `Planned outage due to change IT-1234.` Description *string `pulumi:"description"` // (Updatable) The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom string `pulumi:"timeSuppressFrom"` // (Updatable) The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TimeSuppressUntil string `pulumi:"timeSuppressUntil"` }
type AlarmSuppressionTypeArgs ¶
type AlarmSuppressionTypeArgs struct { // (Updatable) Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. // // Oracle recommends including tracking information for the event or associated work, such as a ticket number. // // Example: `Planned outage due to change IT-1234.` Description pulumi.StringPtrInput `pulumi:"description"` // (Updatable) The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom pulumi.StringInput `pulumi:"timeSuppressFrom"` // (Updatable) The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values TimeSuppressUntil pulumi.StringInput `pulumi:"timeSuppressUntil"` }
func (AlarmSuppressionTypeArgs) ElementType ¶
func (AlarmSuppressionTypeArgs) ElementType() reflect.Type
func (AlarmSuppressionTypeArgs) ToAlarmSuppressionTypeOutput ¶
func (i AlarmSuppressionTypeArgs) ToAlarmSuppressionTypeOutput() AlarmSuppressionTypeOutput
func (AlarmSuppressionTypeArgs) ToAlarmSuppressionTypeOutputWithContext ¶
func (i AlarmSuppressionTypeArgs) ToAlarmSuppressionTypeOutputWithContext(ctx context.Context) AlarmSuppressionTypeOutput
func (AlarmSuppressionTypeArgs) ToAlarmSuppressionTypePtrOutput ¶
func (i AlarmSuppressionTypeArgs) ToAlarmSuppressionTypePtrOutput() AlarmSuppressionTypePtrOutput
func (AlarmSuppressionTypeArgs) ToAlarmSuppressionTypePtrOutputWithContext ¶
func (i AlarmSuppressionTypeArgs) ToAlarmSuppressionTypePtrOutputWithContext(ctx context.Context) AlarmSuppressionTypePtrOutput
type AlarmSuppressionTypeInput ¶
type AlarmSuppressionTypeInput interface { pulumi.Input ToAlarmSuppressionTypeOutput() AlarmSuppressionTypeOutput ToAlarmSuppressionTypeOutputWithContext(context.Context) AlarmSuppressionTypeOutput }
AlarmSuppressionTypeInput is an input type that accepts AlarmSuppressionTypeArgs and AlarmSuppressionTypeOutput values. You can construct a concrete instance of `AlarmSuppressionTypeInput` via:
AlarmSuppressionTypeArgs{...}
type AlarmSuppressionTypeOutput ¶
type AlarmSuppressionTypeOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionTypeOutput) Description ¶
func (o AlarmSuppressionTypeOutput) Description() pulumi.StringPtrOutput
(Updatable) Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information.
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
Example: `Planned outage due to change IT-1234.`
func (AlarmSuppressionTypeOutput) ElementType ¶
func (AlarmSuppressionTypeOutput) ElementType() reflect.Type
func (AlarmSuppressionTypeOutput) TimeSuppressFrom ¶
func (o AlarmSuppressionTypeOutput) TimeSuppressFrom() pulumi.StringOutput
(Updatable) The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (AlarmSuppressionTypeOutput) TimeSuppressUntil ¶
func (o AlarmSuppressionTypeOutput) TimeSuppressUntil() pulumi.StringOutput
(Updatable) The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
func (AlarmSuppressionTypeOutput) ToAlarmSuppressionTypeOutput ¶
func (o AlarmSuppressionTypeOutput) ToAlarmSuppressionTypeOutput() AlarmSuppressionTypeOutput
func (AlarmSuppressionTypeOutput) ToAlarmSuppressionTypeOutputWithContext ¶
func (o AlarmSuppressionTypeOutput) ToAlarmSuppressionTypeOutputWithContext(ctx context.Context) AlarmSuppressionTypeOutput
func (AlarmSuppressionTypeOutput) ToAlarmSuppressionTypePtrOutput ¶
func (o AlarmSuppressionTypeOutput) ToAlarmSuppressionTypePtrOutput() AlarmSuppressionTypePtrOutput
func (AlarmSuppressionTypeOutput) ToAlarmSuppressionTypePtrOutputWithContext ¶
func (o AlarmSuppressionTypeOutput) ToAlarmSuppressionTypePtrOutputWithContext(ctx context.Context) AlarmSuppressionTypePtrOutput
type AlarmSuppressionTypePtrInput ¶
type AlarmSuppressionTypePtrInput interface { pulumi.Input ToAlarmSuppressionTypePtrOutput() AlarmSuppressionTypePtrOutput ToAlarmSuppressionTypePtrOutputWithContext(context.Context) AlarmSuppressionTypePtrOutput }
AlarmSuppressionTypePtrInput is an input type that accepts AlarmSuppressionTypeArgs, AlarmSuppressionTypePtr and AlarmSuppressionTypePtrOutput values. You can construct a concrete instance of `AlarmSuppressionTypePtrInput` via:
AlarmSuppressionTypeArgs{...} or: nil
func AlarmSuppressionTypePtr ¶
func AlarmSuppressionTypePtr(v *AlarmSuppressionTypeArgs) AlarmSuppressionTypePtrInput
type AlarmSuppressionTypePtrOutput ¶
type AlarmSuppressionTypePtrOutput struct{ *pulumi.OutputState }
func (AlarmSuppressionTypePtrOutput) Description ¶
func (o AlarmSuppressionTypePtrOutput) Description() pulumi.StringPtrOutput
(Updatable) Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information.
Oracle recommends including tracking information for the event or associated work, such as a ticket number.
Example: `Planned outage due to change IT-1234.`
func (AlarmSuppressionTypePtrOutput) Elem ¶
func (o AlarmSuppressionTypePtrOutput) Elem() AlarmSuppressionTypeOutput
func (AlarmSuppressionTypePtrOutput) ElementType ¶
func (AlarmSuppressionTypePtrOutput) ElementType() reflect.Type
func (AlarmSuppressionTypePtrOutput) TimeSuppressFrom ¶
func (o AlarmSuppressionTypePtrOutput) TimeSuppressFrom() pulumi.StringPtrOutput
(Updatable) The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (AlarmSuppressionTypePtrOutput) TimeSuppressUntil ¶
func (o AlarmSuppressionTypePtrOutput) TimeSuppressUntil() pulumi.StringPtrOutput
(Updatable) The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
func (AlarmSuppressionTypePtrOutput) ToAlarmSuppressionTypePtrOutput ¶
func (o AlarmSuppressionTypePtrOutput) ToAlarmSuppressionTypePtrOutput() AlarmSuppressionTypePtrOutput
func (AlarmSuppressionTypePtrOutput) ToAlarmSuppressionTypePtrOutputWithContext ¶
func (o AlarmSuppressionTypePtrOutput) ToAlarmSuppressionTypePtrOutputWithContext(ctx context.Context) AlarmSuppressionTypePtrOutput
type GetAlarmHistoryCollectionArgs ¶
type GetAlarmHistoryCollectionArgs struct { // The type of history entries to retrieve. State history (STATE_HISTORY), state transition history (STATE_TRANSITION_HISTORY), rule history (RULE_HISTORY) or rule transition history (RULE_TRANSITION_HISTORY). If not specified, entries of all types are retrieved. Example: `STATE_HISTORY` AlarmHistorytype *string `pulumi:"alarmHistorytype"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId string `pulumi:"alarmId"` // A filter to return only alarm history entries with timestamps occurring on or after the specified date and time. Format defined by RFC3339. Example: `2023-01-01T01:00:00.789Z` TimestampGreaterThanOrEqualTo *string `pulumi:"timestampGreaterThanOrEqualTo"` // A filter to return only alarm history entries with timestamps occurring before the specified date and time. Format defined by RFC3339. Example: `2023-01-02T01:00:00.789Z` TimestampLessThan *string `pulumi:"timestampLessThan"` }
A collection of arguments for invoking getAlarmHistoryCollection.
type GetAlarmHistoryCollectionEntry ¶
type GetAlarmHistoryCollectionEntry struct { // Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary string `pulumi:"alarmSummary"` // Description for this alarm history entry. Summary string `pulumi:"summary"` // Timestamp for this alarm history entry. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` Timestamp string `pulumi:"timestamp"` // Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T0:59:00.789Z` TimestampTriggered string `pulumi:"timestampTriggered"` }
type GetAlarmHistoryCollectionEntryArgs ¶
type GetAlarmHistoryCollectionEntryArgs struct { // Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary pulumi.StringInput `pulumi:"alarmSummary"` // Description for this alarm history entry. Summary pulumi.StringInput `pulumi:"summary"` // Timestamp for this alarm history entry. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` Timestamp pulumi.StringInput `pulumi:"timestamp"` // Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T0:59:00.789Z` TimestampTriggered pulumi.StringInput `pulumi:"timestampTriggered"` }
func (GetAlarmHistoryCollectionEntryArgs) ElementType ¶
func (GetAlarmHistoryCollectionEntryArgs) ElementType() reflect.Type
func (GetAlarmHistoryCollectionEntryArgs) ToGetAlarmHistoryCollectionEntryOutput ¶
func (i GetAlarmHistoryCollectionEntryArgs) ToGetAlarmHistoryCollectionEntryOutput() GetAlarmHistoryCollectionEntryOutput
func (GetAlarmHistoryCollectionEntryArgs) ToGetAlarmHistoryCollectionEntryOutputWithContext ¶
func (i GetAlarmHistoryCollectionEntryArgs) ToGetAlarmHistoryCollectionEntryOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionEntryOutput
type GetAlarmHistoryCollectionEntryArray ¶
type GetAlarmHistoryCollectionEntryArray []GetAlarmHistoryCollectionEntryInput
func (GetAlarmHistoryCollectionEntryArray) ElementType ¶
func (GetAlarmHistoryCollectionEntryArray) ElementType() reflect.Type
func (GetAlarmHistoryCollectionEntryArray) ToGetAlarmHistoryCollectionEntryArrayOutput ¶
func (i GetAlarmHistoryCollectionEntryArray) ToGetAlarmHistoryCollectionEntryArrayOutput() GetAlarmHistoryCollectionEntryArrayOutput
func (GetAlarmHistoryCollectionEntryArray) ToGetAlarmHistoryCollectionEntryArrayOutputWithContext ¶
func (i GetAlarmHistoryCollectionEntryArray) ToGetAlarmHistoryCollectionEntryArrayOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionEntryArrayOutput
type GetAlarmHistoryCollectionEntryArrayInput ¶
type GetAlarmHistoryCollectionEntryArrayInput interface { pulumi.Input ToGetAlarmHistoryCollectionEntryArrayOutput() GetAlarmHistoryCollectionEntryArrayOutput ToGetAlarmHistoryCollectionEntryArrayOutputWithContext(context.Context) GetAlarmHistoryCollectionEntryArrayOutput }
GetAlarmHistoryCollectionEntryArrayInput is an input type that accepts GetAlarmHistoryCollectionEntryArray and GetAlarmHistoryCollectionEntryArrayOutput values. You can construct a concrete instance of `GetAlarmHistoryCollectionEntryArrayInput` via:
GetAlarmHistoryCollectionEntryArray{ GetAlarmHistoryCollectionEntryArgs{...} }
type GetAlarmHistoryCollectionEntryArrayOutput ¶
type GetAlarmHistoryCollectionEntryArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmHistoryCollectionEntryArrayOutput) ElementType ¶
func (GetAlarmHistoryCollectionEntryArrayOutput) ElementType() reflect.Type
func (GetAlarmHistoryCollectionEntryArrayOutput) ToGetAlarmHistoryCollectionEntryArrayOutput ¶
func (o GetAlarmHistoryCollectionEntryArrayOutput) ToGetAlarmHistoryCollectionEntryArrayOutput() GetAlarmHistoryCollectionEntryArrayOutput
func (GetAlarmHistoryCollectionEntryArrayOutput) ToGetAlarmHistoryCollectionEntryArrayOutputWithContext ¶
func (o GetAlarmHistoryCollectionEntryArrayOutput) ToGetAlarmHistoryCollectionEntryArrayOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionEntryArrayOutput
type GetAlarmHistoryCollectionEntryInput ¶
type GetAlarmHistoryCollectionEntryInput interface { pulumi.Input ToGetAlarmHistoryCollectionEntryOutput() GetAlarmHistoryCollectionEntryOutput ToGetAlarmHistoryCollectionEntryOutputWithContext(context.Context) GetAlarmHistoryCollectionEntryOutput }
GetAlarmHistoryCollectionEntryInput is an input type that accepts GetAlarmHistoryCollectionEntryArgs and GetAlarmHistoryCollectionEntryOutput values. You can construct a concrete instance of `GetAlarmHistoryCollectionEntryInput` via:
GetAlarmHistoryCollectionEntryArgs{...}
type GetAlarmHistoryCollectionEntryOutput ¶
type GetAlarmHistoryCollectionEntryOutput struct{ *pulumi.OutputState }
func (GetAlarmHistoryCollectionEntryOutput) AlarmSummary ¶
func (o GetAlarmHistoryCollectionEntryOutput) AlarmSummary() pulumi.StringOutput
Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates).
func (GetAlarmHistoryCollectionEntryOutput) ElementType ¶
func (GetAlarmHistoryCollectionEntryOutput) ElementType() reflect.Type
func (GetAlarmHistoryCollectionEntryOutput) Summary ¶
func (o GetAlarmHistoryCollectionEntryOutput) Summary() pulumi.StringOutput
Description for this alarm history entry.
func (GetAlarmHistoryCollectionEntryOutput) Timestamp ¶
func (o GetAlarmHistoryCollectionEntryOutput) Timestamp() pulumi.StringOutput
Timestamp for this alarm history entry. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (GetAlarmHistoryCollectionEntryOutput) TimestampTriggered ¶
func (o GetAlarmHistoryCollectionEntryOutput) TimestampTriggered() pulumi.StringOutput
Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T0:59:00.789Z`
func (GetAlarmHistoryCollectionEntryOutput) ToGetAlarmHistoryCollectionEntryOutput ¶
func (o GetAlarmHistoryCollectionEntryOutput) ToGetAlarmHistoryCollectionEntryOutput() GetAlarmHistoryCollectionEntryOutput
func (GetAlarmHistoryCollectionEntryOutput) ToGetAlarmHistoryCollectionEntryOutputWithContext ¶
func (o GetAlarmHistoryCollectionEntryOutput) ToGetAlarmHistoryCollectionEntryOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionEntryOutput
type GetAlarmHistoryCollectionOutputArgs ¶
type GetAlarmHistoryCollectionOutputArgs struct { // The type of history entries to retrieve. State history (STATE_HISTORY), state transition history (STATE_TRANSITION_HISTORY), rule history (RULE_HISTORY) or rule transition history (RULE_TRANSITION_HISTORY). If not specified, entries of all types are retrieved. Example: `STATE_HISTORY` AlarmHistorytype pulumi.StringPtrInput `pulumi:"alarmHistorytype"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId pulumi.StringInput `pulumi:"alarmId"` // A filter to return only alarm history entries with timestamps occurring on or after the specified date and time. Format defined by RFC3339. Example: `2023-01-01T01:00:00.789Z` TimestampGreaterThanOrEqualTo pulumi.StringPtrInput `pulumi:"timestampGreaterThanOrEqualTo"` // A filter to return only alarm history entries with timestamps occurring before the specified date and time. Format defined by RFC3339. Example: `2023-01-02T01:00:00.789Z` TimestampLessThan pulumi.StringPtrInput `pulumi:"timestampLessThan"` }
A collection of arguments for invoking getAlarmHistoryCollection.
func (GetAlarmHistoryCollectionOutputArgs) ElementType ¶
func (GetAlarmHistoryCollectionOutputArgs) ElementType() reflect.Type
type GetAlarmHistoryCollectionResult ¶
type GetAlarmHistoryCollectionResult struct { AlarmHistorytype *string `pulumi:"alarmHistorytype"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm to retrieve history for. AlarmId string `pulumi:"alarmId"` // The set of history entries retrieved for the alarm. Entries []GetAlarmHistoryCollectionEntry `pulumi:"entries"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Whether the alarm is enabled. Example: `true` IsEnabled bool `pulumi:"isEnabled"` TimestampGreaterThanOrEqualTo *string `pulumi:"timestampGreaterThanOrEqualTo"` TimestampLessThan *string `pulumi:"timestampLessThan"` }
A collection of values returned by getAlarmHistoryCollection.
func GetAlarmHistoryCollection ¶
func GetAlarmHistoryCollection(ctx *pulumi.Context, args *GetAlarmHistoryCollectionArgs, opts ...pulumi.InvokeOption) (*GetAlarmHistoryCollectionResult, error)
This data source provides details about a specific Alarm History Collection resource in Oracle Cloud Infrastructure Monitoring service.
Get the history of the specified alarm. For more information, see [Getting History of an Alarm](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm-history.htm). For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.GetAlarmHistoryCollection(ctx, &monitoring.GetAlarmHistoryCollectionArgs{ AlarmId: testAlarm.Id, AlarmHistorytype: pulumi.StringRef(alarmHistoryCollectionAlarmHistorytype), TimestampGreaterThanOrEqualTo: pulumi.StringRef(alarmHistoryCollectionTimestampGreaterThanOrEqualTo), TimestampLessThan: pulumi.StringRef(alarmHistoryCollectionTimestampLessThan), }, nil) if err != nil { return err } return nil }) }
```
type GetAlarmHistoryCollectionResultOutput ¶
type GetAlarmHistoryCollectionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlarmHistoryCollection.
func GetAlarmHistoryCollectionOutput ¶
func GetAlarmHistoryCollectionOutput(ctx *pulumi.Context, args GetAlarmHistoryCollectionOutputArgs, opts ...pulumi.InvokeOption) GetAlarmHistoryCollectionResultOutput
func (GetAlarmHistoryCollectionResultOutput) AlarmHistorytype ¶
func (o GetAlarmHistoryCollectionResultOutput) AlarmHistorytype() pulumi.StringPtrOutput
func (GetAlarmHistoryCollectionResultOutput) AlarmId ¶
func (o GetAlarmHistoryCollectionResultOutput) AlarmId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm to retrieve history for.
func (GetAlarmHistoryCollectionResultOutput) ElementType ¶
func (GetAlarmHistoryCollectionResultOutput) ElementType() reflect.Type
func (GetAlarmHistoryCollectionResultOutput) Entries ¶
func (o GetAlarmHistoryCollectionResultOutput) Entries() GetAlarmHistoryCollectionEntryArrayOutput
The set of history entries retrieved for the alarm.
func (GetAlarmHistoryCollectionResultOutput) Id ¶
func (o GetAlarmHistoryCollectionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAlarmHistoryCollectionResultOutput) IsEnabled ¶
func (o GetAlarmHistoryCollectionResultOutput) IsEnabled() pulumi.BoolOutput
Whether the alarm is enabled. Example: `true`
func (GetAlarmHistoryCollectionResultOutput) TimestampGreaterThanOrEqualTo ¶
func (o GetAlarmHistoryCollectionResultOutput) TimestampGreaterThanOrEqualTo() pulumi.StringPtrOutput
func (GetAlarmHistoryCollectionResultOutput) TimestampLessThan ¶
func (o GetAlarmHistoryCollectionResultOutput) TimestampLessThan() pulumi.StringPtrOutput
func (GetAlarmHistoryCollectionResultOutput) ToGetAlarmHistoryCollectionResultOutput ¶
func (o GetAlarmHistoryCollectionResultOutput) ToGetAlarmHistoryCollectionResultOutput() GetAlarmHistoryCollectionResultOutput
func (GetAlarmHistoryCollectionResultOutput) ToGetAlarmHistoryCollectionResultOutputWithContext ¶
func (o GetAlarmHistoryCollectionResultOutput) ToGetAlarmHistoryCollectionResultOutputWithContext(ctx context.Context) GetAlarmHistoryCollectionResultOutput
type GetAlarmOverride ¶
type GetAlarmOverride struct { // The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body string `pulumi:"body"` // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". PendingDuration string `pulumi:"pendingDuration"` // The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). Query string `pulumi:"query"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName string `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity string `pulumi:"severity"` }
type GetAlarmOverrideArgs ¶
type GetAlarmOverrideArgs struct { // The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body pulumi.StringInput `pulumi:"body"` // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". PendingDuration pulumi.StringInput `pulumi:"pendingDuration"` // The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). Query pulumi.StringInput `pulumi:"query"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName pulumi.StringInput `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity pulumi.StringInput `pulumi:"severity"` }
func (GetAlarmOverrideArgs) ElementType ¶
func (GetAlarmOverrideArgs) ElementType() reflect.Type
func (GetAlarmOverrideArgs) ToGetAlarmOverrideOutput ¶
func (i GetAlarmOverrideArgs) ToGetAlarmOverrideOutput() GetAlarmOverrideOutput
func (GetAlarmOverrideArgs) ToGetAlarmOverrideOutputWithContext ¶
func (i GetAlarmOverrideArgs) ToGetAlarmOverrideOutputWithContext(ctx context.Context) GetAlarmOverrideOutput
type GetAlarmOverrideArray ¶
type GetAlarmOverrideArray []GetAlarmOverrideInput
func (GetAlarmOverrideArray) ElementType ¶
func (GetAlarmOverrideArray) ElementType() reflect.Type
func (GetAlarmOverrideArray) ToGetAlarmOverrideArrayOutput ¶
func (i GetAlarmOverrideArray) ToGetAlarmOverrideArrayOutput() GetAlarmOverrideArrayOutput
func (GetAlarmOverrideArray) ToGetAlarmOverrideArrayOutputWithContext ¶
func (i GetAlarmOverrideArray) ToGetAlarmOverrideArrayOutputWithContext(ctx context.Context) GetAlarmOverrideArrayOutput
type GetAlarmOverrideArrayInput ¶
type GetAlarmOverrideArrayInput interface { pulumi.Input ToGetAlarmOverrideArrayOutput() GetAlarmOverrideArrayOutput ToGetAlarmOverrideArrayOutputWithContext(context.Context) GetAlarmOverrideArrayOutput }
GetAlarmOverrideArrayInput is an input type that accepts GetAlarmOverrideArray and GetAlarmOverrideArrayOutput values. You can construct a concrete instance of `GetAlarmOverrideArrayInput` via:
GetAlarmOverrideArray{ GetAlarmOverrideArgs{...} }
type GetAlarmOverrideArrayOutput ¶
type GetAlarmOverrideArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmOverrideArrayOutput) ElementType ¶
func (GetAlarmOverrideArrayOutput) ElementType() reflect.Type
func (GetAlarmOverrideArrayOutput) Index ¶
func (o GetAlarmOverrideArrayOutput) Index(i pulumi.IntInput) GetAlarmOverrideOutput
func (GetAlarmOverrideArrayOutput) ToGetAlarmOverrideArrayOutput ¶
func (o GetAlarmOverrideArrayOutput) ToGetAlarmOverrideArrayOutput() GetAlarmOverrideArrayOutput
func (GetAlarmOverrideArrayOutput) ToGetAlarmOverrideArrayOutputWithContext ¶
func (o GetAlarmOverrideArrayOutput) ToGetAlarmOverrideArrayOutputWithContext(ctx context.Context) GetAlarmOverrideArrayOutput
type GetAlarmOverrideInput ¶
type GetAlarmOverrideInput interface { pulumi.Input ToGetAlarmOverrideOutput() GetAlarmOverrideOutput ToGetAlarmOverrideOutputWithContext(context.Context) GetAlarmOverrideOutput }
GetAlarmOverrideInput is an input type that accepts GetAlarmOverrideArgs and GetAlarmOverrideOutput values. You can construct a concrete instance of `GetAlarmOverrideInput` via:
GetAlarmOverrideArgs{...}
type GetAlarmOverrideOutput ¶
type GetAlarmOverrideOutput struct{ *pulumi.OutputState }
func (GetAlarmOverrideOutput) Body ¶
func (o GetAlarmOverrideOutput) Body() pulumi.StringOutput
The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
func (GetAlarmOverrideOutput) ElementType ¶
func (GetAlarmOverrideOutput) ElementType() reflect.Type
func (GetAlarmOverrideOutput) PendingDuration ¶
func (o GetAlarmOverrideOutput) PendingDuration() pulumi.StringOutput
The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
func (GetAlarmOverrideOutput) Query ¶
func (o GetAlarmOverrideOutput) Query() pulumi.StringOutput
The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
func (GetAlarmOverrideOutput) RuleName ¶
func (o GetAlarmOverrideOutput) RuleName() pulumi.StringOutput
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see AlarmOverride(https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
func (GetAlarmOverrideOutput) Severity ¶
func (o GetAlarmOverrideOutput) Severity() pulumi.StringOutput
The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
func (GetAlarmOverrideOutput) ToGetAlarmOverrideOutput ¶
func (o GetAlarmOverrideOutput) ToGetAlarmOverrideOutput() GetAlarmOverrideOutput
func (GetAlarmOverrideOutput) ToGetAlarmOverrideOutputWithContext ¶
func (o GetAlarmOverrideOutput) ToGetAlarmOverrideOutputWithContext(ctx context.Context) GetAlarmOverrideOutput
type GetAlarmStatusesAlarmStatus ¶
type GetAlarmStatusesAlarmStatus struct { // Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary string `pulumi:"alarmSummary"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation. DisplayName string `pulumi:"displayName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. Id string `pulumi:"id"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName string `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity string `pulumi:"severity"` // The status of the metric stream to use for alarm filtering. For example, set `StatusQueryParam` to "FIRING" to filter results to metric streams of the alarm with that status. Default behaviour is to return alarms irrespective of metric streams' status. Example: `FIRING` Status string `pulumi:"status"` // The configuration details for suppressing an alarm. Suppressions []GetAlarmStatusesAlarmStatusSuppression `pulumi:"suppressions"` // Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T01:02:29.600Z` TimestampTriggered string `pulumi:"timestampTriggered"` }
type GetAlarmStatusesAlarmStatusArgs ¶
type GetAlarmStatusesAlarmStatusArgs struct { // Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary pulumi.StringInput `pulumi:"alarmSummary"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation. DisplayName pulumi.StringInput `pulumi:"displayName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. Id pulumi.StringInput `pulumi:"id"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName pulumi.StringInput `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity pulumi.StringInput `pulumi:"severity"` // The status of the metric stream to use for alarm filtering. For example, set `StatusQueryParam` to "FIRING" to filter results to metric streams of the alarm with that status. Default behaviour is to return alarms irrespective of metric streams' status. Example: `FIRING` Status pulumi.StringInput `pulumi:"status"` // The configuration details for suppressing an alarm. Suppressions GetAlarmStatusesAlarmStatusSuppressionArrayInput `pulumi:"suppressions"` // Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T01:02:29.600Z` TimestampTriggered pulumi.StringInput `pulumi:"timestampTriggered"` }
func (GetAlarmStatusesAlarmStatusArgs) ElementType ¶
func (GetAlarmStatusesAlarmStatusArgs) ElementType() reflect.Type
func (GetAlarmStatusesAlarmStatusArgs) ToGetAlarmStatusesAlarmStatusOutput ¶
func (i GetAlarmStatusesAlarmStatusArgs) ToGetAlarmStatusesAlarmStatusOutput() GetAlarmStatusesAlarmStatusOutput
func (GetAlarmStatusesAlarmStatusArgs) ToGetAlarmStatusesAlarmStatusOutputWithContext ¶
func (i GetAlarmStatusesAlarmStatusArgs) ToGetAlarmStatusesAlarmStatusOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusOutput
type GetAlarmStatusesAlarmStatusArray ¶
type GetAlarmStatusesAlarmStatusArray []GetAlarmStatusesAlarmStatusInput
func (GetAlarmStatusesAlarmStatusArray) ElementType ¶
func (GetAlarmStatusesAlarmStatusArray) ElementType() reflect.Type
func (GetAlarmStatusesAlarmStatusArray) ToGetAlarmStatusesAlarmStatusArrayOutput ¶
func (i GetAlarmStatusesAlarmStatusArray) ToGetAlarmStatusesAlarmStatusArrayOutput() GetAlarmStatusesAlarmStatusArrayOutput
func (GetAlarmStatusesAlarmStatusArray) ToGetAlarmStatusesAlarmStatusArrayOutputWithContext ¶
func (i GetAlarmStatusesAlarmStatusArray) ToGetAlarmStatusesAlarmStatusArrayOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusArrayOutput
type GetAlarmStatusesAlarmStatusArrayInput ¶
type GetAlarmStatusesAlarmStatusArrayInput interface { pulumi.Input ToGetAlarmStatusesAlarmStatusArrayOutput() GetAlarmStatusesAlarmStatusArrayOutput ToGetAlarmStatusesAlarmStatusArrayOutputWithContext(context.Context) GetAlarmStatusesAlarmStatusArrayOutput }
GetAlarmStatusesAlarmStatusArrayInput is an input type that accepts GetAlarmStatusesAlarmStatusArray and GetAlarmStatusesAlarmStatusArrayOutput values. You can construct a concrete instance of `GetAlarmStatusesAlarmStatusArrayInput` via:
GetAlarmStatusesAlarmStatusArray{ GetAlarmStatusesAlarmStatusArgs{...} }
type GetAlarmStatusesAlarmStatusArrayOutput ¶
type GetAlarmStatusesAlarmStatusArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmStatusesAlarmStatusArrayOutput) ElementType ¶
func (GetAlarmStatusesAlarmStatusArrayOutput) ElementType() reflect.Type
func (GetAlarmStatusesAlarmStatusArrayOutput) ToGetAlarmStatusesAlarmStatusArrayOutput ¶
func (o GetAlarmStatusesAlarmStatusArrayOutput) ToGetAlarmStatusesAlarmStatusArrayOutput() GetAlarmStatusesAlarmStatusArrayOutput
func (GetAlarmStatusesAlarmStatusArrayOutput) ToGetAlarmStatusesAlarmStatusArrayOutputWithContext ¶
func (o GetAlarmStatusesAlarmStatusArrayOutput) ToGetAlarmStatusesAlarmStatusArrayOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusArrayOutput
type GetAlarmStatusesAlarmStatusInput ¶
type GetAlarmStatusesAlarmStatusInput interface { pulumi.Input ToGetAlarmStatusesAlarmStatusOutput() GetAlarmStatusesAlarmStatusOutput ToGetAlarmStatusesAlarmStatusOutputWithContext(context.Context) GetAlarmStatusesAlarmStatusOutput }
GetAlarmStatusesAlarmStatusInput is an input type that accepts GetAlarmStatusesAlarmStatusArgs and GetAlarmStatusesAlarmStatusOutput values. You can construct a concrete instance of `GetAlarmStatusesAlarmStatusInput` via:
GetAlarmStatusesAlarmStatusArgs{...}
type GetAlarmStatusesAlarmStatusOutput ¶
type GetAlarmStatusesAlarmStatusOutput struct{ *pulumi.OutputState }
func (GetAlarmStatusesAlarmStatusOutput) AlarmSummary ¶
func (o GetAlarmStatusesAlarmStatusOutput) AlarmSummary() pulumi.StringOutput
Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates).
func (GetAlarmStatusesAlarmStatusOutput) DisplayName ¶
func (o GetAlarmStatusesAlarmStatusOutput) DisplayName() pulumi.StringOutput
A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation.
func (GetAlarmStatusesAlarmStatusOutput) ElementType ¶
func (GetAlarmStatusesAlarmStatusOutput) ElementType() reflect.Type
func (GetAlarmStatusesAlarmStatusOutput) Id ¶
func (o GetAlarmStatusesAlarmStatusOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm.
func (GetAlarmStatusesAlarmStatusOutput) RuleName ¶
func (o GetAlarmStatusesAlarmStatusOutput) RuleName() pulumi.StringOutput
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see AlarmOverride(https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
func (GetAlarmStatusesAlarmStatusOutput) Severity ¶
func (o GetAlarmStatusesAlarmStatusOutput) Severity() pulumi.StringOutput
The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
func (GetAlarmStatusesAlarmStatusOutput) Status ¶
func (o GetAlarmStatusesAlarmStatusOutput) Status() pulumi.StringOutput
The status of the metric stream to use for alarm filtering. For example, set `StatusQueryParam` to "FIRING" to filter results to metric streams of the alarm with that status. Default behaviour is to return alarms irrespective of metric streams' status. Example: `FIRING`
func (GetAlarmStatusesAlarmStatusOutput) Suppressions ¶
func (o GetAlarmStatusesAlarmStatusOutput) Suppressions() GetAlarmStatusesAlarmStatusSuppressionArrayOutput
The configuration details for suppressing an alarm.
func (GetAlarmStatusesAlarmStatusOutput) TimestampTriggered ¶
func (o GetAlarmStatusesAlarmStatusOutput) TimestampTriggered() pulumi.StringOutput
Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2023-02-01T01:02:29.600Z`
func (GetAlarmStatusesAlarmStatusOutput) ToGetAlarmStatusesAlarmStatusOutput ¶
func (o GetAlarmStatusesAlarmStatusOutput) ToGetAlarmStatusesAlarmStatusOutput() GetAlarmStatusesAlarmStatusOutput
func (GetAlarmStatusesAlarmStatusOutput) ToGetAlarmStatusesAlarmStatusOutputWithContext ¶
func (o GetAlarmStatusesAlarmStatusOutput) ToGetAlarmStatusesAlarmStatusOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusOutput
type GetAlarmStatusesAlarmStatusSuppression ¶
type GetAlarmStatusesAlarmStatusSuppression struct { // Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description string `pulumi:"description"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom string `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` TimeSuppressUntil string `pulumi:"timeSuppressUntil"` }
type GetAlarmStatusesAlarmStatusSuppressionArgs ¶
type GetAlarmStatusesAlarmStatusSuppressionArgs struct { // Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description pulumi.StringInput `pulumi:"description"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom pulumi.StringInput `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` TimeSuppressUntil pulumi.StringInput `pulumi:"timeSuppressUntil"` }
func (GetAlarmStatusesAlarmStatusSuppressionArgs) ElementType ¶
func (GetAlarmStatusesAlarmStatusSuppressionArgs) ElementType() reflect.Type
func (GetAlarmStatusesAlarmStatusSuppressionArgs) ToGetAlarmStatusesAlarmStatusSuppressionOutput ¶
func (i GetAlarmStatusesAlarmStatusSuppressionArgs) ToGetAlarmStatusesAlarmStatusSuppressionOutput() GetAlarmStatusesAlarmStatusSuppressionOutput
func (GetAlarmStatusesAlarmStatusSuppressionArgs) ToGetAlarmStatusesAlarmStatusSuppressionOutputWithContext ¶
func (i GetAlarmStatusesAlarmStatusSuppressionArgs) ToGetAlarmStatusesAlarmStatusSuppressionOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusSuppressionOutput
type GetAlarmStatusesAlarmStatusSuppressionArray ¶
type GetAlarmStatusesAlarmStatusSuppressionArray []GetAlarmStatusesAlarmStatusSuppressionInput
func (GetAlarmStatusesAlarmStatusSuppressionArray) ElementType ¶
func (GetAlarmStatusesAlarmStatusSuppressionArray) ElementType() reflect.Type
func (GetAlarmStatusesAlarmStatusSuppressionArray) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutput ¶
func (i GetAlarmStatusesAlarmStatusSuppressionArray) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutput() GetAlarmStatusesAlarmStatusSuppressionArrayOutput
func (GetAlarmStatusesAlarmStatusSuppressionArray) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutputWithContext ¶
func (i GetAlarmStatusesAlarmStatusSuppressionArray) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusSuppressionArrayOutput
type GetAlarmStatusesAlarmStatusSuppressionArrayInput ¶
type GetAlarmStatusesAlarmStatusSuppressionArrayInput interface { pulumi.Input ToGetAlarmStatusesAlarmStatusSuppressionArrayOutput() GetAlarmStatusesAlarmStatusSuppressionArrayOutput ToGetAlarmStatusesAlarmStatusSuppressionArrayOutputWithContext(context.Context) GetAlarmStatusesAlarmStatusSuppressionArrayOutput }
GetAlarmStatusesAlarmStatusSuppressionArrayInput is an input type that accepts GetAlarmStatusesAlarmStatusSuppressionArray and GetAlarmStatusesAlarmStatusSuppressionArrayOutput values. You can construct a concrete instance of `GetAlarmStatusesAlarmStatusSuppressionArrayInput` via:
GetAlarmStatusesAlarmStatusSuppressionArray{ GetAlarmStatusesAlarmStatusSuppressionArgs{...} }
type GetAlarmStatusesAlarmStatusSuppressionArrayOutput ¶
type GetAlarmStatusesAlarmStatusSuppressionArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ElementType ¶
func (GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ElementType() reflect.Type
func (GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutput ¶
func (o GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutput() GetAlarmStatusesAlarmStatusSuppressionArrayOutput
func (GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutputWithContext ¶
func (o GetAlarmStatusesAlarmStatusSuppressionArrayOutput) ToGetAlarmStatusesAlarmStatusSuppressionArrayOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusSuppressionArrayOutput
type GetAlarmStatusesAlarmStatusSuppressionInput ¶
type GetAlarmStatusesAlarmStatusSuppressionInput interface { pulumi.Input ToGetAlarmStatusesAlarmStatusSuppressionOutput() GetAlarmStatusesAlarmStatusSuppressionOutput ToGetAlarmStatusesAlarmStatusSuppressionOutputWithContext(context.Context) GetAlarmStatusesAlarmStatusSuppressionOutput }
GetAlarmStatusesAlarmStatusSuppressionInput is an input type that accepts GetAlarmStatusesAlarmStatusSuppressionArgs and GetAlarmStatusesAlarmStatusSuppressionOutput values. You can construct a concrete instance of `GetAlarmStatusesAlarmStatusSuppressionInput` via:
GetAlarmStatusesAlarmStatusSuppressionArgs{...}
type GetAlarmStatusesAlarmStatusSuppressionOutput ¶
type GetAlarmStatusesAlarmStatusSuppressionOutput struct{ *pulumi.OutputState }
func (GetAlarmStatusesAlarmStatusSuppressionOutput) Description ¶
func (o GetAlarmStatusesAlarmStatusSuppressionOutput) Description() pulumi.StringOutput
Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information.
func (GetAlarmStatusesAlarmStatusSuppressionOutput) ElementType ¶
func (GetAlarmStatusesAlarmStatusSuppressionOutput) ElementType() reflect.Type
func (GetAlarmStatusesAlarmStatusSuppressionOutput) TimeSuppressFrom ¶
func (o GetAlarmStatusesAlarmStatusSuppressionOutput) TimeSuppressFrom() pulumi.StringOutput
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (GetAlarmStatusesAlarmStatusSuppressionOutput) TimeSuppressUntil ¶
func (o GetAlarmStatusesAlarmStatusSuppressionOutput) TimeSuppressUntil() pulumi.StringOutput
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
func (GetAlarmStatusesAlarmStatusSuppressionOutput) ToGetAlarmStatusesAlarmStatusSuppressionOutput ¶
func (o GetAlarmStatusesAlarmStatusSuppressionOutput) ToGetAlarmStatusesAlarmStatusSuppressionOutput() GetAlarmStatusesAlarmStatusSuppressionOutput
func (GetAlarmStatusesAlarmStatusSuppressionOutput) ToGetAlarmStatusesAlarmStatusSuppressionOutputWithContext ¶
func (o GetAlarmStatusesAlarmStatusSuppressionOutput) ToGetAlarmStatusesAlarmStatusSuppressionOutputWithContext(ctx context.Context) GetAlarmStatusesAlarmStatusSuppressionOutput
type GetAlarmStatusesArgs ¶
type GetAlarmStatusesArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation. DisplayName *string `pulumi:"displayName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entity monitored by the metric that you are searching for. Example: `ocid1.instance.oc1.phx.exampleuniqueID` EntityId *string `pulumi:"entityId"` Filters []GetAlarmStatusesFilter `pulumi:"filters"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a resource that is monitored by the metric that you are searching for. Example: `ocid1.instance.oc1.phx.exampleuniqueID` ResourceId *string `pulumi:"resourceId"` // A filter to return only resources that match the given service name exactly. Use this filter to list all alarms containing metric streams that match the *exact* service-name dimension. Example: `logging-analytics` ServiceName *string `pulumi:"serviceName"` // The status of the metric stream to use for alarm filtering. For example, set `StatusQueryParam` to "FIRING" to filter results to metric streams of the alarm with that status. Default behaviour is to return alarms irrespective of metric streams' status. Example: `FIRING` Status *string `pulumi:"status"` }
A collection of arguments for invoking getAlarmStatuses.
type GetAlarmStatusesFilter ¶
type GetAlarmStatusesFilterArgs ¶
type GetAlarmStatusesFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetAlarmStatusesFilterArgs) ElementType ¶
func (GetAlarmStatusesFilterArgs) ElementType() reflect.Type
func (GetAlarmStatusesFilterArgs) ToGetAlarmStatusesFilterOutput ¶
func (i GetAlarmStatusesFilterArgs) ToGetAlarmStatusesFilterOutput() GetAlarmStatusesFilterOutput
func (GetAlarmStatusesFilterArgs) ToGetAlarmStatusesFilterOutputWithContext ¶
func (i GetAlarmStatusesFilterArgs) ToGetAlarmStatusesFilterOutputWithContext(ctx context.Context) GetAlarmStatusesFilterOutput
type GetAlarmStatusesFilterArray ¶
type GetAlarmStatusesFilterArray []GetAlarmStatusesFilterInput
func (GetAlarmStatusesFilterArray) ElementType ¶
func (GetAlarmStatusesFilterArray) ElementType() reflect.Type
func (GetAlarmStatusesFilterArray) ToGetAlarmStatusesFilterArrayOutput ¶
func (i GetAlarmStatusesFilterArray) ToGetAlarmStatusesFilterArrayOutput() GetAlarmStatusesFilterArrayOutput
func (GetAlarmStatusesFilterArray) ToGetAlarmStatusesFilterArrayOutputWithContext ¶
func (i GetAlarmStatusesFilterArray) ToGetAlarmStatusesFilterArrayOutputWithContext(ctx context.Context) GetAlarmStatusesFilterArrayOutput
type GetAlarmStatusesFilterArrayInput ¶
type GetAlarmStatusesFilterArrayInput interface { pulumi.Input ToGetAlarmStatusesFilterArrayOutput() GetAlarmStatusesFilterArrayOutput ToGetAlarmStatusesFilterArrayOutputWithContext(context.Context) GetAlarmStatusesFilterArrayOutput }
GetAlarmStatusesFilterArrayInput is an input type that accepts GetAlarmStatusesFilterArray and GetAlarmStatusesFilterArrayOutput values. You can construct a concrete instance of `GetAlarmStatusesFilterArrayInput` via:
GetAlarmStatusesFilterArray{ GetAlarmStatusesFilterArgs{...} }
type GetAlarmStatusesFilterArrayOutput ¶
type GetAlarmStatusesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmStatusesFilterArrayOutput) ElementType ¶
func (GetAlarmStatusesFilterArrayOutput) ElementType() reflect.Type
func (GetAlarmStatusesFilterArrayOutput) Index ¶
func (o GetAlarmStatusesFilterArrayOutput) Index(i pulumi.IntInput) GetAlarmStatusesFilterOutput
func (GetAlarmStatusesFilterArrayOutput) ToGetAlarmStatusesFilterArrayOutput ¶
func (o GetAlarmStatusesFilterArrayOutput) ToGetAlarmStatusesFilterArrayOutput() GetAlarmStatusesFilterArrayOutput
func (GetAlarmStatusesFilterArrayOutput) ToGetAlarmStatusesFilterArrayOutputWithContext ¶
func (o GetAlarmStatusesFilterArrayOutput) ToGetAlarmStatusesFilterArrayOutputWithContext(ctx context.Context) GetAlarmStatusesFilterArrayOutput
type GetAlarmStatusesFilterInput ¶
type GetAlarmStatusesFilterInput interface { pulumi.Input ToGetAlarmStatusesFilterOutput() GetAlarmStatusesFilterOutput ToGetAlarmStatusesFilterOutputWithContext(context.Context) GetAlarmStatusesFilterOutput }
GetAlarmStatusesFilterInput is an input type that accepts GetAlarmStatusesFilterArgs and GetAlarmStatusesFilterOutput values. You can construct a concrete instance of `GetAlarmStatusesFilterInput` via:
GetAlarmStatusesFilterArgs{...}
type GetAlarmStatusesFilterOutput ¶
type GetAlarmStatusesFilterOutput struct{ *pulumi.OutputState }
func (GetAlarmStatusesFilterOutput) ElementType ¶
func (GetAlarmStatusesFilterOutput) ElementType() reflect.Type
func (GetAlarmStatusesFilterOutput) Name ¶
func (o GetAlarmStatusesFilterOutput) Name() pulumi.StringOutput
func (GetAlarmStatusesFilterOutput) Regex ¶
func (o GetAlarmStatusesFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetAlarmStatusesFilterOutput) ToGetAlarmStatusesFilterOutput ¶
func (o GetAlarmStatusesFilterOutput) ToGetAlarmStatusesFilterOutput() GetAlarmStatusesFilterOutput
func (GetAlarmStatusesFilterOutput) ToGetAlarmStatusesFilterOutputWithContext ¶
func (o GetAlarmStatusesFilterOutput) ToGetAlarmStatusesFilterOutputWithContext(ctx context.Context) GetAlarmStatusesFilterOutput
func (GetAlarmStatusesFilterOutput) Values ¶
func (o GetAlarmStatusesFilterOutput) Values() pulumi.StringArrayOutput
type GetAlarmStatusesOutputArgs ¶
type GetAlarmStatusesOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the entity monitored by the metric that you are searching for. Example: `ocid1.instance.oc1.phx.exampleuniqueID` EntityId pulumi.StringPtrInput `pulumi:"entityId"` Filters GetAlarmStatusesFilterArrayInput `pulumi:"filters"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a resource that is monitored by the metric that you are searching for. Example: `ocid1.instance.oc1.phx.exampleuniqueID` ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` // A filter to return only resources that match the given service name exactly. Use this filter to list all alarms containing metric streams that match the *exact* service-name dimension. Example: `logging-analytics` ServiceName pulumi.StringPtrInput `pulumi:"serviceName"` // The status of the metric stream to use for alarm filtering. For example, set `StatusQueryParam` to "FIRING" to filter results to metric streams of the alarm with that status. Default behaviour is to return alarms irrespective of metric streams' status. Example: `FIRING` Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getAlarmStatuses.
func (GetAlarmStatusesOutputArgs) ElementType ¶
func (GetAlarmStatusesOutputArgs) ElementType() reflect.Type
type GetAlarmStatusesResult ¶
type GetAlarmStatusesResult struct { // The list of alarm_statuses. AlarmStatuses []GetAlarmStatusesAlarmStatus `pulumi:"alarmStatuses"` CompartmentId string `pulumi:"compartmentId"` CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // The configured name of the alarm. Example: `High CPU Utilization` DisplayName *string `pulumi:"displayName"` EntityId *string `pulumi:"entityId"` Filters []GetAlarmStatusesFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ResourceId *string `pulumi:"resourceId"` ServiceName *string `pulumi:"serviceName"` // The status of this alarm. Status is collective, across all metric streams in the alarm. To list alarm status for each metric stream, use [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). Example: `FIRING` Status *string `pulumi:"status"` }
A collection of values returned by getAlarmStatuses.
func GetAlarmStatuses ¶
func GetAlarmStatuses(ctx *pulumi.Context, args *GetAlarmStatusesArgs, opts ...pulumi.InvokeOption) (*GetAlarmStatusesResult, error)
This data source provides the list of Alarm Statuses in Oracle Cloud Infrastructure Monitoring service.
List the status of each alarm in the specified compartment. Status is collective, across all metric streams in the alarm. To list alarm status for each metric stream, use [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). Optionally filter by resource or status value.
For more information, see [Listing Alarm Statuses](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-status.htm). For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.GetAlarmStatuses(ctx, &monitoring.GetAlarmStatusesArgs{ CompartmentId: compartmentId, CompartmentIdInSubtree: pulumi.BoolRef(alarmStatusCompartmentIdInSubtree), DisplayName: pulumi.StringRef(alarmStatusDisplayName), EntityId: pulumi.StringRef(testEntity.Id), ResourceId: pulumi.StringRef(testResource.Id), ServiceName: pulumi.StringRef(testService.Name), Status: pulumi.StringRef(alarmStatusStatus), }, nil) if err != nil { return err } return nil }) }
```
type GetAlarmStatusesResultOutput ¶
type GetAlarmStatusesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlarmStatuses.
func GetAlarmStatusesOutput ¶
func GetAlarmStatusesOutput(ctx *pulumi.Context, args GetAlarmStatusesOutputArgs, opts ...pulumi.InvokeOption) GetAlarmStatusesResultOutput
func (GetAlarmStatusesResultOutput) AlarmStatuses ¶
func (o GetAlarmStatusesResultOutput) AlarmStatuses() GetAlarmStatusesAlarmStatusArrayOutput
The list of alarm_statuses.
func (GetAlarmStatusesResultOutput) CompartmentId ¶
func (o GetAlarmStatusesResultOutput) CompartmentId() pulumi.StringOutput
func (GetAlarmStatusesResultOutput) CompartmentIdInSubtree ¶
func (o GetAlarmStatusesResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
func (GetAlarmStatusesResultOutput) DisplayName ¶
func (o GetAlarmStatusesResultOutput) DisplayName() pulumi.StringPtrOutput
The configured name of the alarm. Example: `High CPU Utilization`
func (GetAlarmStatusesResultOutput) ElementType ¶
func (GetAlarmStatusesResultOutput) ElementType() reflect.Type
func (GetAlarmStatusesResultOutput) EntityId ¶
func (o GetAlarmStatusesResultOutput) EntityId() pulumi.StringPtrOutput
func (GetAlarmStatusesResultOutput) Filters ¶
func (o GetAlarmStatusesResultOutput) Filters() GetAlarmStatusesFilterArrayOutput
func (GetAlarmStatusesResultOutput) Id ¶
func (o GetAlarmStatusesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAlarmStatusesResultOutput) ResourceId ¶
func (o GetAlarmStatusesResultOutput) ResourceId() pulumi.StringPtrOutput
func (GetAlarmStatusesResultOutput) ServiceName ¶
func (o GetAlarmStatusesResultOutput) ServiceName() pulumi.StringPtrOutput
func (GetAlarmStatusesResultOutput) Status ¶
func (o GetAlarmStatusesResultOutput) Status() pulumi.StringPtrOutput
The status of this alarm. Status is collective, across all metric streams in the alarm. To list alarm status for each metric stream, use [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). Example: `FIRING`
func (GetAlarmStatusesResultOutput) ToGetAlarmStatusesResultOutput ¶
func (o GetAlarmStatusesResultOutput) ToGetAlarmStatusesResultOutput() GetAlarmStatusesResultOutput
func (GetAlarmStatusesResultOutput) ToGetAlarmStatusesResultOutputWithContext ¶
func (o GetAlarmStatusesResultOutput) ToGetAlarmStatusesResultOutputWithContext(ctx context.Context) GetAlarmStatusesResultOutput
type GetAlarmSuppressionAlarmSuppressionTarget ¶
type GetAlarmSuppressionAlarmSuppressionTarget struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId string `pulumi:"alarmId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. CompartmentId string `pulumi:"compartmentId"` // When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment. CompartmentIdInSubtree bool `pulumi:"compartmentIdInSubtree"` // The type of the alarm suppression target. TargetType string `pulumi:"targetType"` }
type GetAlarmSuppressionAlarmSuppressionTargetArgs ¶
type GetAlarmSuppressionAlarmSuppressionTargetArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId pulumi.StringInput `pulumi:"alarmId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment. CompartmentIdInSubtree pulumi.BoolInput `pulumi:"compartmentIdInSubtree"` // The type of the alarm suppression target. TargetType pulumi.StringInput `pulumi:"targetType"` }
func (GetAlarmSuppressionAlarmSuppressionTargetArgs) ElementType ¶
func (GetAlarmSuppressionAlarmSuppressionTargetArgs) ElementType() reflect.Type
func (GetAlarmSuppressionAlarmSuppressionTargetArgs) ToGetAlarmSuppressionAlarmSuppressionTargetOutput ¶
func (i GetAlarmSuppressionAlarmSuppressionTargetArgs) ToGetAlarmSuppressionAlarmSuppressionTargetOutput() GetAlarmSuppressionAlarmSuppressionTargetOutput
func (GetAlarmSuppressionAlarmSuppressionTargetArgs) ToGetAlarmSuppressionAlarmSuppressionTargetOutputWithContext ¶
func (i GetAlarmSuppressionAlarmSuppressionTargetArgs) ToGetAlarmSuppressionAlarmSuppressionTargetOutputWithContext(ctx context.Context) GetAlarmSuppressionAlarmSuppressionTargetOutput
type GetAlarmSuppressionAlarmSuppressionTargetArray ¶
type GetAlarmSuppressionAlarmSuppressionTargetArray []GetAlarmSuppressionAlarmSuppressionTargetInput
func (GetAlarmSuppressionAlarmSuppressionTargetArray) ElementType ¶
func (GetAlarmSuppressionAlarmSuppressionTargetArray) ElementType() reflect.Type
func (GetAlarmSuppressionAlarmSuppressionTargetArray) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutput ¶
func (i GetAlarmSuppressionAlarmSuppressionTargetArray) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutput() GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
func (GetAlarmSuppressionAlarmSuppressionTargetArray) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutputWithContext ¶
func (i GetAlarmSuppressionAlarmSuppressionTargetArray) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
type GetAlarmSuppressionAlarmSuppressionTargetArrayInput ¶
type GetAlarmSuppressionAlarmSuppressionTargetArrayInput interface { pulumi.Input ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutput() GetAlarmSuppressionAlarmSuppressionTargetArrayOutput ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutputWithContext(context.Context) GetAlarmSuppressionAlarmSuppressionTargetArrayOutput }
GetAlarmSuppressionAlarmSuppressionTargetArrayInput is an input type that accepts GetAlarmSuppressionAlarmSuppressionTargetArray and GetAlarmSuppressionAlarmSuppressionTargetArrayOutput values. You can construct a concrete instance of `GetAlarmSuppressionAlarmSuppressionTargetArrayInput` via:
GetAlarmSuppressionAlarmSuppressionTargetArray{ GetAlarmSuppressionAlarmSuppressionTargetArgs{...} }
type GetAlarmSuppressionAlarmSuppressionTargetArrayOutput ¶
type GetAlarmSuppressionAlarmSuppressionTargetArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ElementType ¶
func (GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ElementType() reflect.Type
func (GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutput ¶
func (o GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutput() GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
func (GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutputWithContext ¶
func (o GetAlarmSuppressionAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionAlarmSuppressionTargetArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
type GetAlarmSuppressionAlarmSuppressionTargetInput ¶
type GetAlarmSuppressionAlarmSuppressionTargetInput interface { pulumi.Input ToGetAlarmSuppressionAlarmSuppressionTargetOutput() GetAlarmSuppressionAlarmSuppressionTargetOutput ToGetAlarmSuppressionAlarmSuppressionTargetOutputWithContext(context.Context) GetAlarmSuppressionAlarmSuppressionTargetOutput }
GetAlarmSuppressionAlarmSuppressionTargetInput is an input type that accepts GetAlarmSuppressionAlarmSuppressionTargetArgs and GetAlarmSuppressionAlarmSuppressionTargetOutput values. You can construct a concrete instance of `GetAlarmSuppressionAlarmSuppressionTargetInput` via:
GetAlarmSuppressionAlarmSuppressionTargetArgs{...}
type GetAlarmSuppressionAlarmSuppressionTargetOutput ¶
type GetAlarmSuppressionAlarmSuppressionTargetOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionAlarmSuppressionTargetOutput) AlarmId ¶
func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) AlarmId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
func (GetAlarmSuppressionAlarmSuppressionTargetOutput) CompartmentId ¶ added in v2.12.0
func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
func (GetAlarmSuppressionAlarmSuppressionTargetOutput) CompartmentIdInSubtree ¶ added in v2.12.0
func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) CompartmentIdInSubtree() pulumi.BoolOutput
When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment.
func (GetAlarmSuppressionAlarmSuppressionTargetOutput) ElementType ¶
func (GetAlarmSuppressionAlarmSuppressionTargetOutput) ElementType() reflect.Type
func (GetAlarmSuppressionAlarmSuppressionTargetOutput) TargetType ¶
func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) TargetType() pulumi.StringOutput
The type of the alarm suppression target.
func (GetAlarmSuppressionAlarmSuppressionTargetOutput) ToGetAlarmSuppressionAlarmSuppressionTargetOutput ¶
func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) ToGetAlarmSuppressionAlarmSuppressionTargetOutput() GetAlarmSuppressionAlarmSuppressionTargetOutput
func (GetAlarmSuppressionAlarmSuppressionTargetOutput) ToGetAlarmSuppressionAlarmSuppressionTargetOutputWithContext ¶
func (o GetAlarmSuppressionAlarmSuppressionTargetOutput) ToGetAlarmSuppressionAlarmSuppressionTargetOutputWithContext(ctx context.Context) GetAlarmSuppressionAlarmSuppressionTargetOutput
type GetAlarmSuppressionSuppressionCondition ¶ added in v2.12.0
type GetAlarmSuppressionSuppressionCondition struct { // Type of suppression condition. ConditionType string `pulumi:"conditionType"` // Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours). SuppressionDuration string `pulumi:"suppressionDuration"` // Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: // * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. // * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. // * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`. SuppressionRecurrence string `pulumi:"suppressionRecurrence"` }
type GetAlarmSuppressionSuppressionConditionArgs ¶ added in v2.12.0
type GetAlarmSuppressionSuppressionConditionArgs struct { // Type of suppression condition. ConditionType pulumi.StringInput `pulumi:"conditionType"` // Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours). SuppressionDuration pulumi.StringInput `pulumi:"suppressionDuration"` // Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: // * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. // * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. // * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`. SuppressionRecurrence pulumi.StringInput `pulumi:"suppressionRecurrence"` }
func (GetAlarmSuppressionSuppressionConditionArgs) ElementType ¶ added in v2.12.0
func (GetAlarmSuppressionSuppressionConditionArgs) ElementType() reflect.Type
func (GetAlarmSuppressionSuppressionConditionArgs) ToGetAlarmSuppressionSuppressionConditionOutput ¶ added in v2.12.0
func (i GetAlarmSuppressionSuppressionConditionArgs) ToGetAlarmSuppressionSuppressionConditionOutput() GetAlarmSuppressionSuppressionConditionOutput
func (GetAlarmSuppressionSuppressionConditionArgs) ToGetAlarmSuppressionSuppressionConditionOutputWithContext ¶ added in v2.12.0
func (i GetAlarmSuppressionSuppressionConditionArgs) ToGetAlarmSuppressionSuppressionConditionOutputWithContext(ctx context.Context) GetAlarmSuppressionSuppressionConditionOutput
type GetAlarmSuppressionSuppressionConditionArray ¶ added in v2.12.0
type GetAlarmSuppressionSuppressionConditionArray []GetAlarmSuppressionSuppressionConditionInput
func (GetAlarmSuppressionSuppressionConditionArray) ElementType ¶ added in v2.12.0
func (GetAlarmSuppressionSuppressionConditionArray) ElementType() reflect.Type
func (GetAlarmSuppressionSuppressionConditionArray) ToGetAlarmSuppressionSuppressionConditionArrayOutput ¶ added in v2.12.0
func (i GetAlarmSuppressionSuppressionConditionArray) ToGetAlarmSuppressionSuppressionConditionArrayOutput() GetAlarmSuppressionSuppressionConditionArrayOutput
func (GetAlarmSuppressionSuppressionConditionArray) ToGetAlarmSuppressionSuppressionConditionArrayOutputWithContext ¶ added in v2.12.0
func (i GetAlarmSuppressionSuppressionConditionArray) ToGetAlarmSuppressionSuppressionConditionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionSuppressionConditionArrayOutput
type GetAlarmSuppressionSuppressionConditionArrayInput ¶ added in v2.12.0
type GetAlarmSuppressionSuppressionConditionArrayInput interface { pulumi.Input ToGetAlarmSuppressionSuppressionConditionArrayOutput() GetAlarmSuppressionSuppressionConditionArrayOutput ToGetAlarmSuppressionSuppressionConditionArrayOutputWithContext(context.Context) GetAlarmSuppressionSuppressionConditionArrayOutput }
GetAlarmSuppressionSuppressionConditionArrayInput is an input type that accepts GetAlarmSuppressionSuppressionConditionArray and GetAlarmSuppressionSuppressionConditionArrayOutput values. You can construct a concrete instance of `GetAlarmSuppressionSuppressionConditionArrayInput` via:
GetAlarmSuppressionSuppressionConditionArray{ GetAlarmSuppressionSuppressionConditionArgs{...} }
type GetAlarmSuppressionSuppressionConditionArrayOutput ¶ added in v2.12.0
type GetAlarmSuppressionSuppressionConditionArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionSuppressionConditionArrayOutput) ElementType ¶ added in v2.12.0
func (GetAlarmSuppressionSuppressionConditionArrayOutput) ElementType() reflect.Type
func (GetAlarmSuppressionSuppressionConditionArrayOutput) ToGetAlarmSuppressionSuppressionConditionArrayOutput ¶ added in v2.12.0
func (o GetAlarmSuppressionSuppressionConditionArrayOutput) ToGetAlarmSuppressionSuppressionConditionArrayOutput() GetAlarmSuppressionSuppressionConditionArrayOutput
func (GetAlarmSuppressionSuppressionConditionArrayOutput) ToGetAlarmSuppressionSuppressionConditionArrayOutputWithContext ¶ added in v2.12.0
func (o GetAlarmSuppressionSuppressionConditionArrayOutput) ToGetAlarmSuppressionSuppressionConditionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionSuppressionConditionArrayOutput
type GetAlarmSuppressionSuppressionConditionInput ¶ added in v2.12.0
type GetAlarmSuppressionSuppressionConditionInput interface { pulumi.Input ToGetAlarmSuppressionSuppressionConditionOutput() GetAlarmSuppressionSuppressionConditionOutput ToGetAlarmSuppressionSuppressionConditionOutputWithContext(context.Context) GetAlarmSuppressionSuppressionConditionOutput }
GetAlarmSuppressionSuppressionConditionInput is an input type that accepts GetAlarmSuppressionSuppressionConditionArgs and GetAlarmSuppressionSuppressionConditionOutput values. You can construct a concrete instance of `GetAlarmSuppressionSuppressionConditionInput` via:
GetAlarmSuppressionSuppressionConditionArgs{...}
type GetAlarmSuppressionSuppressionConditionOutput ¶ added in v2.12.0
type GetAlarmSuppressionSuppressionConditionOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionSuppressionConditionOutput) ConditionType ¶ added in v2.12.0
func (o GetAlarmSuppressionSuppressionConditionOutput) ConditionType() pulumi.StringOutput
Type of suppression condition.
func (GetAlarmSuppressionSuppressionConditionOutput) ElementType ¶ added in v2.12.0
func (GetAlarmSuppressionSuppressionConditionOutput) ElementType() reflect.Type
func (GetAlarmSuppressionSuppressionConditionOutput) SuppressionDuration ¶ added in v2.12.0
func (o GetAlarmSuppressionSuppressionConditionOutput) SuppressionDuration() pulumi.StringOutput
Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours).
func (GetAlarmSuppressionSuppressionConditionOutput) SuppressionRecurrence ¶ added in v2.12.0
func (o GetAlarmSuppressionSuppressionConditionOutput) SuppressionRecurrence() pulumi.StringOutput
Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`.
func (GetAlarmSuppressionSuppressionConditionOutput) ToGetAlarmSuppressionSuppressionConditionOutput ¶ added in v2.12.0
func (o GetAlarmSuppressionSuppressionConditionOutput) ToGetAlarmSuppressionSuppressionConditionOutput() GetAlarmSuppressionSuppressionConditionOutput
func (GetAlarmSuppressionSuppressionConditionOutput) ToGetAlarmSuppressionSuppressionConditionOutputWithContext ¶ added in v2.12.0
func (o GetAlarmSuppressionSuppressionConditionOutput) ToGetAlarmSuppressionSuppressionConditionOutputWithContext(ctx context.Context) GetAlarmSuppressionSuppressionConditionOutput
type GetAlarmSuppressionType ¶
type GetAlarmSuppressionType struct { // Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description string `pulumi:"description"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom string `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` TimeSuppressUntil string `pulumi:"timeSuppressUntil"` }
type GetAlarmSuppressionTypeArgs ¶
type GetAlarmSuppressionTypeArgs struct { // Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description pulumi.StringInput `pulumi:"description"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom pulumi.StringInput `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` TimeSuppressUntil pulumi.StringInput `pulumi:"timeSuppressUntil"` }
func (GetAlarmSuppressionTypeArgs) ElementType ¶
func (GetAlarmSuppressionTypeArgs) ElementType() reflect.Type
func (GetAlarmSuppressionTypeArgs) ToGetAlarmSuppressionTypeOutput ¶
func (i GetAlarmSuppressionTypeArgs) ToGetAlarmSuppressionTypeOutput() GetAlarmSuppressionTypeOutput
func (GetAlarmSuppressionTypeArgs) ToGetAlarmSuppressionTypeOutputWithContext ¶
func (i GetAlarmSuppressionTypeArgs) ToGetAlarmSuppressionTypeOutputWithContext(ctx context.Context) GetAlarmSuppressionTypeOutput
type GetAlarmSuppressionTypeArray ¶
type GetAlarmSuppressionTypeArray []GetAlarmSuppressionTypeInput
func (GetAlarmSuppressionTypeArray) ElementType ¶
func (GetAlarmSuppressionTypeArray) ElementType() reflect.Type
func (GetAlarmSuppressionTypeArray) ToGetAlarmSuppressionTypeArrayOutput ¶
func (i GetAlarmSuppressionTypeArray) ToGetAlarmSuppressionTypeArrayOutput() GetAlarmSuppressionTypeArrayOutput
func (GetAlarmSuppressionTypeArray) ToGetAlarmSuppressionTypeArrayOutputWithContext ¶
func (i GetAlarmSuppressionTypeArray) ToGetAlarmSuppressionTypeArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionTypeArrayOutput
type GetAlarmSuppressionTypeArrayInput ¶
type GetAlarmSuppressionTypeArrayInput interface { pulumi.Input ToGetAlarmSuppressionTypeArrayOutput() GetAlarmSuppressionTypeArrayOutput ToGetAlarmSuppressionTypeArrayOutputWithContext(context.Context) GetAlarmSuppressionTypeArrayOutput }
GetAlarmSuppressionTypeArrayInput is an input type that accepts GetAlarmSuppressionTypeArray and GetAlarmSuppressionTypeArrayOutput values. You can construct a concrete instance of `GetAlarmSuppressionTypeArrayInput` via:
GetAlarmSuppressionTypeArray{ GetAlarmSuppressionTypeArgs{...} }
type GetAlarmSuppressionTypeArrayOutput ¶
type GetAlarmSuppressionTypeArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionTypeArrayOutput) ElementType ¶
func (GetAlarmSuppressionTypeArrayOutput) ElementType() reflect.Type
func (GetAlarmSuppressionTypeArrayOutput) Index ¶
func (o GetAlarmSuppressionTypeArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionTypeOutput
func (GetAlarmSuppressionTypeArrayOutput) ToGetAlarmSuppressionTypeArrayOutput ¶
func (o GetAlarmSuppressionTypeArrayOutput) ToGetAlarmSuppressionTypeArrayOutput() GetAlarmSuppressionTypeArrayOutput
func (GetAlarmSuppressionTypeArrayOutput) ToGetAlarmSuppressionTypeArrayOutputWithContext ¶
func (o GetAlarmSuppressionTypeArrayOutput) ToGetAlarmSuppressionTypeArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionTypeArrayOutput
type GetAlarmSuppressionTypeInput ¶
type GetAlarmSuppressionTypeInput interface { pulumi.Input ToGetAlarmSuppressionTypeOutput() GetAlarmSuppressionTypeOutput ToGetAlarmSuppressionTypeOutputWithContext(context.Context) GetAlarmSuppressionTypeOutput }
GetAlarmSuppressionTypeInput is an input type that accepts GetAlarmSuppressionTypeArgs and GetAlarmSuppressionTypeOutput values. You can construct a concrete instance of `GetAlarmSuppressionTypeInput` via:
GetAlarmSuppressionTypeArgs{...}
type GetAlarmSuppressionTypeOutput ¶
type GetAlarmSuppressionTypeOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionTypeOutput) Description ¶
func (o GetAlarmSuppressionTypeOutput) Description() pulumi.StringOutput
Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information.
func (GetAlarmSuppressionTypeOutput) ElementType ¶
func (GetAlarmSuppressionTypeOutput) ElementType() reflect.Type
func (GetAlarmSuppressionTypeOutput) TimeSuppressFrom ¶
func (o GetAlarmSuppressionTypeOutput) TimeSuppressFrom() pulumi.StringOutput
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (GetAlarmSuppressionTypeOutput) TimeSuppressUntil ¶
func (o GetAlarmSuppressionTypeOutput) TimeSuppressUntil() pulumi.StringOutput
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
func (GetAlarmSuppressionTypeOutput) ToGetAlarmSuppressionTypeOutput ¶
func (o GetAlarmSuppressionTypeOutput) ToGetAlarmSuppressionTypeOutput() GetAlarmSuppressionTypeOutput
func (GetAlarmSuppressionTypeOutput) ToGetAlarmSuppressionTypeOutputWithContext ¶
func (o GetAlarmSuppressionTypeOutput) ToGetAlarmSuppressionTypeOutputWithContext(ctx context.Context) GetAlarmSuppressionTypeOutput
type GetAlarmSuppressionsAlarmSuppressionCollection ¶
type GetAlarmSuppressionsAlarmSuppressionCollection struct {
Items []GetAlarmSuppressionsAlarmSuppressionCollectionItem `pulumi:"items"`
}
type GetAlarmSuppressionsAlarmSuppressionCollectionArgs ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionArgs struct {
Items GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayInput `pulumi:"items"`
}
func (GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutput ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutputWithContext ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionArray ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionArray []GetAlarmSuppressionsAlarmSuppressionCollectionInput
func (GetAlarmSuppressionsAlarmSuppressionCollectionArray) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionArray) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutputWithContext ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionArrayInput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionArrayInput interface { pulumi.Input ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutputWithContext(context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput }
GetAlarmSuppressionsAlarmSuppressionCollectionArrayInput is an input type that accepts GetAlarmSuppressionsAlarmSuppressionCollectionArray and GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput values. You can construct a concrete instance of `GetAlarmSuppressionsAlarmSuppressionCollectionArrayInput` via:
GetAlarmSuppressionsAlarmSuppressionCollectionArray{ GetAlarmSuppressionsAlarmSuppressionCollectionArgs{...} }
type GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutputWithContext ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionInput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionInput interface { pulumi.Input ToGetAlarmSuppressionsAlarmSuppressionCollectionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionOutput ToGetAlarmSuppressionsAlarmSuppressionCollectionOutputWithContext(context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionOutput }
GetAlarmSuppressionsAlarmSuppressionCollectionInput is an input type that accepts GetAlarmSuppressionsAlarmSuppressionCollectionArgs and GetAlarmSuppressionsAlarmSuppressionCollectionOutput values. You can construct a concrete instance of `GetAlarmSuppressionsAlarmSuppressionCollectionInput` via:
GetAlarmSuppressionsAlarmSuppressionCollectionArgs{...}
type GetAlarmSuppressionsAlarmSuppressionCollectionItem ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItem struct { // The target of the alarm suppression. AlarmSuppressionTargets []GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTarget `pulumi:"alarmSuppressionTargets"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment. // // If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only. // // Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description string `pulumi:"description"` // Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` Dimensions map[string]string `pulumi:"dimensions"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation. DisplayName string `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. Id string `pulumi:"id"` // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. Level string `pulumi:"level"` // A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed. State string `pulumi:"state"` // Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]` SuppressionConditions []GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionCondition `pulumi:"suppressionConditions"` // The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z` TimeCreated string `pulumi:"timeCreated"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z` TimeSuppressFrom string `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T02:02:29.600Z` TimeSuppressUntil string `pulumi:"timeSuppressUntil"` // The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z` TimeUpdated string `pulumi:"timeUpdated"` }
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTarget ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTarget struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId string `pulumi:"alarmId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment. // // If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only. // // Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree bool `pulumi:"compartmentIdInSubtree"` // The target type to use when listing alarm suppressions. `ALARM` lists all suppression records for the specified alarm. `COMPARTMENT` lists all suppression records for the specified compartment or tenancy. TargetType string `pulumi:"targetType"` }
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId pulumi.StringInput `pulumi:"alarmId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment. // // If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only. // // Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree pulumi.BoolInput `pulumi:"compartmentIdInSubtree"` // The target type to use when listing alarm suppressions. `ALARM` lists all suppression records for the specified alarm. `COMPARTMENT` lists all suppression records for the specified compartment or tenancy. TargetType pulumi.StringInput `pulumi:"targetType"` }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutputWithContext ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray []GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetInput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutputWithContext ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayInput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayInput interface { pulumi.Input ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutputWithContext(context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput }
GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayInput is an input type that accepts GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray and GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput values. You can construct a concrete instance of `GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayInput` via:
GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArray{ GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs{...} }
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutputWithContext ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetInput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetInput interface { pulumi.Input ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutputWithContext(context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput }
GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetInput is an input type that accepts GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs and GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput values. You can construct a concrete instance of `GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetInput` via:
GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArgs{...}
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) AlarmId ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) AlarmId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) CompartmentId ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment.
If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only.
Example: `ocid1.compartment.oc1..exampleuniqueID`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) CompartmentIdInSubtree ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) CompartmentIdInSubtree() pulumi.BoolOutput
When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) TargetType ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) TargetType() pulumi.StringOutput
The target type to use when listing alarm suppressions. `ALARM` lists all suppression records for the specified alarm. `COMPARTMENT` lists all suppression records for the specified compartment or tenancy.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutputWithContext ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs struct { // The target of the alarm suppression. AlarmSuppressionTargets GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayInput `pulumi:"alarmSuppressionTargets"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment. // // If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only. // // Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` // Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description pulumi.StringInput `pulumi:"description"` // Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` Dimensions pulumi.StringMapInput `pulumi:"dimensions"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation. DisplayName pulumi.StringInput `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. Id pulumi.StringInput `pulumi:"id"` // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. Level pulumi.StringInput `pulumi:"level"` // A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed. State pulumi.StringInput `pulumi:"state"` // Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]` SuppressionConditions GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayInput `pulumi:"suppressionConditions"` // The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z` TimeSuppressFrom pulumi.StringInput `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T02:02:29.600Z` TimeSuppressUntil pulumi.StringInput `pulumi:"timeSuppressUntil"` // The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z` TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutput ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutputWithContext ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemArray ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemArray []GetAlarmSuppressionsAlarmSuppressionCollectionItemInput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutputWithContext ¶
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayInput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayInput interface { pulumi.Input ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutputWithContext(context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput }
GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayInput is an input type that accepts GetAlarmSuppressionsAlarmSuppressionCollectionItemArray and GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput values. You can construct a concrete instance of `GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayInput` via:
GetAlarmSuppressionsAlarmSuppressionCollectionItemArray{ GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs{...} }
type GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutputWithContext ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemArrayOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemInput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemInput interface { pulumi.Input ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutputWithContext(context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput }
GetAlarmSuppressionsAlarmSuppressionCollectionItemInput is an input type that accepts GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs and GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput values. You can construct a concrete instance of `GetAlarmSuppressionsAlarmSuppressionCollectionItemInput` via:
GetAlarmSuppressionsAlarmSuppressionCollectionItemArgs{...}
type GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) AlarmSuppressionTargets ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) AlarmSuppressionTargets() GetAlarmSuppressionsAlarmSuppressionCollectionItemAlarmSuppressionTargetArrayOutput
The target of the alarm suppression.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) CompartmentId ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment.
If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only.
Example: `ocid1.compartment.oc1..exampleuniqueID`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) DefinedTags ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) DefinedTags() pulumi.StringMapOutput
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Description ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Description() pulumi.StringOutput
Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Dimensions ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Dimensions() pulumi.StringMapOutput
Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) DisplayName ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) DisplayName() pulumi.StringOutput
A filter to return only resources that match the given display name exactly. Use this filter to list an alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) FreeformTags ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) FreeformTags() pulumi.StringMapOutput
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Id ¶
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Level ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) Level() pulumi.StringOutput
The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) State ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) State() pulumi.StringOutput
A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) SuppressionConditions ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) SuppressionConditions() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput
Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeCreated ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeCreated() pulumi.StringOutput
The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeSuppressFrom ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeSuppressFrom() pulumi.StringOutput
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeSuppressUntil ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeSuppressUntil() pulumi.StringOutput
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T02:02:29.600Z`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeUpdated ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) TimeUpdated() pulumi.StringOutput
The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutput ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutputWithContext ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionCondition ¶ added in v2.12.0
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionCondition struct { // Type of suppression condition. ConditionType string `pulumi:"conditionType"` // Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours). SuppressionDuration string `pulumi:"suppressionDuration"` // Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: // * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. // * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. // * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`. SuppressionRecurrence string `pulumi:"suppressionRecurrence"` }
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs ¶ added in v2.12.0
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs struct { // Type of suppression condition. ConditionType pulumi.StringInput `pulumi:"conditionType"` // Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours). SuppressionDuration pulumi.StringInput `pulumi:"suppressionDuration"` // Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: // * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. // * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. // * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`. SuppressionRecurrence pulumi.StringInput `pulumi:"suppressionRecurrence"` }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ElementType ¶ added in v2.12.0
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput ¶ added in v2.12.0
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutputWithContext ¶ added in v2.12.0
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray ¶ added in v2.12.0
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray []GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionInput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ElementType ¶ added in v2.12.0
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput ¶ added in v2.12.0
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutputWithContext ¶ added in v2.12.0
func (i GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayInput ¶ added in v2.12.0
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayInput interface { pulumi.Input ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutputWithContext(context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput }
GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayInput is an input type that accepts GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray and GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput values. You can construct a concrete instance of `GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayInput` via:
GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArray{ GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs{...} }
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput ¶ added in v2.12.0
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ElementType ¶ added in v2.12.0
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) Index ¶ added in v2.12.0
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutputWithContext ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArrayOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionInput ¶ added in v2.12.0
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionInput interface { pulumi.Input ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutputWithContext(context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput }
GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionInput is an input type that accepts GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs and GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput values. You can construct a concrete instance of `GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionInput` via:
GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionArgs{...}
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput ¶ added in v2.12.0
type GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ConditionType ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ConditionType() pulumi.StringOutput
Type of suppression condition.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ElementType ¶ added in v2.12.0
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) SuppressionDuration ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) SuppressionDuration() pulumi.StringOutput
Duration of the recurring suppression. Specified as a string in ISO 8601 format. Minimum: `PT1M` (1 minute). Maximum: `PT24H` (24 hours).
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) SuppressionRecurrence ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) SuppressionRecurrence() pulumi.StringOutput
Frequency and start time of the recurring suppression. The format follows [the iCalendar specification (RFC 5545, section 3.3.10)](https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.10). Supported rule parts: * `FREQ`: Frequency of the recurring suppression: `WEEKLY` or `DAILY` only. * `BYDAY`: Comma separated days. Use with weekly suppressions only. Supported values: `MO`, `TU`, `WE`, `TH`, `FR`, `SA` ,`SU`. * `BYHOUR`, `BYMINUTE`, `BYSECOND`: Start time in UTC, after `timeSuppressFrom` value. Default is 00:00:00 UTC after `timeSuppressFrom`.
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutputWithContext ¶ added in v2.12.0
func (o GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionItemSuppressionConditionOutput
type GetAlarmSuppressionsAlarmSuppressionCollectionOutput ¶
type GetAlarmSuppressionsAlarmSuppressionCollectionOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ElementType ¶
func (GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutput ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutput() GetAlarmSuppressionsAlarmSuppressionCollectionOutput
func (GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutputWithContext ¶
func (o GetAlarmSuppressionsAlarmSuppressionCollectionOutput) ToGetAlarmSuppressionsAlarmSuppressionCollectionOutputWithContext(ctx context.Context) GetAlarmSuppressionsAlarmSuppressionCollectionOutput
type GetAlarmSuppressionsArgs ¶
type GetAlarmSuppressionsArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId *string `pulumi:"alarmId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment. // // If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only. // // Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId *string `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation. DisplayName *string `pulumi:"displayName"` Filters []GetAlarmSuppressionsFilter `pulumi:"filters"` // Setting this parameter to true requires the query to specify the alarm (`alarmId`). // // When true, lists all alarm suppressions that affect the specified alarm, including suppressions that target the corresponding compartment or tenancy. When false, lists only the alarm suppressions that target the specified alarm. // // Default is false. IsAllSuppressions *bool `pulumi:"isAllSuppressions"` // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. Level *string `pulumi:"level"` // A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed. State *string `pulumi:"state"` // The target type to use when listing alarm suppressions. `ALARM` lists all suppression records for the specified alarm. `COMPARTMENT` lists all suppression records for the specified compartment or tenancy. TargetType *string `pulumi:"targetType"` }
A collection of arguments for invoking getAlarmSuppressions.
type GetAlarmSuppressionsFilterArgs ¶
type GetAlarmSuppressionsFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetAlarmSuppressionsFilterArgs) ElementType ¶
func (GetAlarmSuppressionsFilterArgs) ElementType() reflect.Type
func (GetAlarmSuppressionsFilterArgs) ToGetAlarmSuppressionsFilterOutput ¶
func (i GetAlarmSuppressionsFilterArgs) ToGetAlarmSuppressionsFilterOutput() GetAlarmSuppressionsFilterOutput
func (GetAlarmSuppressionsFilterArgs) ToGetAlarmSuppressionsFilterOutputWithContext ¶
func (i GetAlarmSuppressionsFilterArgs) ToGetAlarmSuppressionsFilterOutputWithContext(ctx context.Context) GetAlarmSuppressionsFilterOutput
type GetAlarmSuppressionsFilterArray ¶
type GetAlarmSuppressionsFilterArray []GetAlarmSuppressionsFilterInput
func (GetAlarmSuppressionsFilterArray) ElementType ¶
func (GetAlarmSuppressionsFilterArray) ElementType() reflect.Type
func (GetAlarmSuppressionsFilterArray) ToGetAlarmSuppressionsFilterArrayOutput ¶
func (i GetAlarmSuppressionsFilterArray) ToGetAlarmSuppressionsFilterArrayOutput() GetAlarmSuppressionsFilterArrayOutput
func (GetAlarmSuppressionsFilterArray) ToGetAlarmSuppressionsFilterArrayOutputWithContext ¶
func (i GetAlarmSuppressionsFilterArray) ToGetAlarmSuppressionsFilterArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsFilterArrayOutput
type GetAlarmSuppressionsFilterArrayInput ¶
type GetAlarmSuppressionsFilterArrayInput interface { pulumi.Input ToGetAlarmSuppressionsFilterArrayOutput() GetAlarmSuppressionsFilterArrayOutput ToGetAlarmSuppressionsFilterArrayOutputWithContext(context.Context) GetAlarmSuppressionsFilterArrayOutput }
GetAlarmSuppressionsFilterArrayInput is an input type that accepts GetAlarmSuppressionsFilterArray and GetAlarmSuppressionsFilterArrayOutput values. You can construct a concrete instance of `GetAlarmSuppressionsFilterArrayInput` via:
GetAlarmSuppressionsFilterArray{ GetAlarmSuppressionsFilterArgs{...} }
type GetAlarmSuppressionsFilterArrayOutput ¶
type GetAlarmSuppressionsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsFilterArrayOutput) ElementType ¶
func (GetAlarmSuppressionsFilterArrayOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsFilterArrayOutput) Index ¶
func (o GetAlarmSuppressionsFilterArrayOutput) Index(i pulumi.IntInput) GetAlarmSuppressionsFilterOutput
func (GetAlarmSuppressionsFilterArrayOutput) ToGetAlarmSuppressionsFilterArrayOutput ¶
func (o GetAlarmSuppressionsFilterArrayOutput) ToGetAlarmSuppressionsFilterArrayOutput() GetAlarmSuppressionsFilterArrayOutput
func (GetAlarmSuppressionsFilterArrayOutput) ToGetAlarmSuppressionsFilterArrayOutputWithContext ¶
func (o GetAlarmSuppressionsFilterArrayOutput) ToGetAlarmSuppressionsFilterArrayOutputWithContext(ctx context.Context) GetAlarmSuppressionsFilterArrayOutput
type GetAlarmSuppressionsFilterInput ¶
type GetAlarmSuppressionsFilterInput interface { pulumi.Input ToGetAlarmSuppressionsFilterOutput() GetAlarmSuppressionsFilterOutput ToGetAlarmSuppressionsFilterOutputWithContext(context.Context) GetAlarmSuppressionsFilterOutput }
GetAlarmSuppressionsFilterInput is an input type that accepts GetAlarmSuppressionsFilterArgs and GetAlarmSuppressionsFilterOutput values. You can construct a concrete instance of `GetAlarmSuppressionsFilterInput` via:
GetAlarmSuppressionsFilterArgs{...}
type GetAlarmSuppressionsFilterOutput ¶
type GetAlarmSuppressionsFilterOutput struct{ *pulumi.OutputState }
func (GetAlarmSuppressionsFilterOutput) ElementType ¶
func (GetAlarmSuppressionsFilterOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsFilterOutput) Name ¶
func (o GetAlarmSuppressionsFilterOutput) Name() pulumi.StringOutput
func (GetAlarmSuppressionsFilterOutput) Regex ¶
func (o GetAlarmSuppressionsFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetAlarmSuppressionsFilterOutput) ToGetAlarmSuppressionsFilterOutput ¶
func (o GetAlarmSuppressionsFilterOutput) ToGetAlarmSuppressionsFilterOutput() GetAlarmSuppressionsFilterOutput
func (GetAlarmSuppressionsFilterOutput) ToGetAlarmSuppressionsFilterOutputWithContext ¶
func (o GetAlarmSuppressionsFilterOutput) ToGetAlarmSuppressionsFilterOutputWithContext(ctx context.Context) GetAlarmSuppressionsFilterOutput
func (GetAlarmSuppressionsFilterOutput) Values ¶
func (o GetAlarmSuppressionsFilterOutput) Values() pulumi.StringArrayOutput
type GetAlarmSuppressionsOutputArgs ¶
type GetAlarmSuppressionsOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId pulumi.StringPtrInput `pulumi:"alarmId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for searching. Use the tenancy OCID to search in the root compartment. // // If targetType is not specified, searches all suppressions defined under the compartment. If targetType is `COMPARTMENT`, searches suppressions in the specified compartment only. // // Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm suppression by name. Alternatively, when you know the alarm suppression OCID, use the GetAlarmSuppression operation. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` Filters GetAlarmSuppressionsFilterArrayInput `pulumi:"filters"` // Setting this parameter to true requires the query to specify the alarm (`alarmId`). // // When true, lists all alarm suppressions that affect the specified alarm, including suppressions that target the corresponding compartment or tenancy. When false, lists only the alarm suppressions that target the specified alarm. // // Default is false. IsAllSuppressions pulumi.BoolPtrInput `pulumi:"isAllSuppressions"` // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. Level pulumi.StringPtrInput `pulumi:"level"` // A filter to return only resources that match the given lifecycle state exactly. When not specified, only resources in the ACTIVE lifecycle state are listed. State pulumi.StringPtrInput `pulumi:"state"` // The target type to use when listing alarm suppressions. `ALARM` lists all suppression records for the specified alarm. `COMPARTMENT` lists all suppression records for the specified compartment or tenancy. TargetType pulumi.StringPtrInput `pulumi:"targetType"` }
A collection of arguments for invoking getAlarmSuppressions.
func (GetAlarmSuppressionsOutputArgs) ElementType ¶
func (GetAlarmSuppressionsOutputArgs) ElementType() reflect.Type
type GetAlarmSuppressionsResult ¶
type GetAlarmSuppressionsResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression. AlarmId *string `pulumi:"alarmId"` // The list of alarm_suppression_collection. AlarmSuppressionCollections []GetAlarmSuppressionsAlarmSuppressionCollection `pulumi:"alarmSuppressionCollections"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. CompartmentId *string `pulumi:"compartmentId"` // When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment. CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `pulumi:"displayName"` Filters []GetAlarmSuppressionsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IsAllSuppressions *bool `pulumi:"isAllSuppressions"` // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. Level *string `pulumi:"level"` // The current lifecycle state of the alarm suppression. Example: `DELETED` State *string `pulumi:"state"` // The type of the alarm suppression target. TargetType *string `pulumi:"targetType"` }
A collection of values returned by getAlarmSuppressions.
func GetAlarmSuppressions ¶
func GetAlarmSuppressions(ctx *pulumi.Context, args *GetAlarmSuppressionsArgs, opts ...pulumi.InvokeOption) (*GetAlarmSuppressionsResult, error)
This data source provides the list of Alarm Suppressions in Oracle Cloud Infrastructure Monitoring service.
Lists alarm suppressions for the specified alarm. For more information, see [Listing Alarm Suppressions](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm-suppression.htm).
For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.GetAlarmSuppressions(ctx, &monitoring.GetAlarmSuppressionsArgs{ AlarmId: pulumi.StringRef(testAlarm.Id), CompartmentId: pulumi.StringRef(compartmentId), CompartmentIdInSubtree: pulumi.BoolRef(alarmSuppressionCompartmentIdInSubtree), DisplayName: pulumi.StringRef(alarmSuppressionDisplayName), IsAllSuppressions: pulumi.BoolRef(alarmSuppressionIsAllSuppressions), Level: pulumi.StringRef(alarmSuppressionLevel), State: pulumi.StringRef(alarmSuppressionState), TargetType: pulumi.StringRef(alarmSuppressionTargetType), }, nil) if err != nil { return err } return nil }) }
```
type GetAlarmSuppressionsResultOutput ¶
type GetAlarmSuppressionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlarmSuppressions.
func GetAlarmSuppressionsOutput ¶
func GetAlarmSuppressionsOutput(ctx *pulumi.Context, args GetAlarmSuppressionsOutputArgs, opts ...pulumi.InvokeOption) GetAlarmSuppressionsResultOutput
func (GetAlarmSuppressionsResultOutput) AlarmId ¶
func (o GetAlarmSuppressionsResultOutput) AlarmId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm that is the target of the alarm suppression.
func (GetAlarmSuppressionsResultOutput) AlarmSuppressionCollections ¶
func (o GetAlarmSuppressionsResultOutput) AlarmSuppressionCollections() GetAlarmSuppressionsAlarmSuppressionCollectionArrayOutput
The list of alarm_suppression_collection.
func (GetAlarmSuppressionsResultOutput) CompartmentId ¶ added in v2.12.0
func (o GetAlarmSuppressionsResultOutput) CompartmentId() pulumi.StringPtrOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
func (GetAlarmSuppressionsResultOutput) CompartmentIdInSubtree ¶ added in v2.12.0
func (o GetAlarmSuppressionsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
When true, the alarm suppression targets all alarms under all compartments and subcompartments of the tenancy specified. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). When false, the alarm suppression targets only the alarms under the specified compartment.
func (GetAlarmSuppressionsResultOutput) DisplayName ¶
func (o GetAlarmSuppressionsResultOutput) DisplayName() pulumi.StringPtrOutput
A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
func (GetAlarmSuppressionsResultOutput) ElementType ¶
func (GetAlarmSuppressionsResultOutput) ElementType() reflect.Type
func (GetAlarmSuppressionsResultOutput) Filters ¶
func (o GetAlarmSuppressionsResultOutput) Filters() GetAlarmSuppressionsFilterArrayOutput
func (GetAlarmSuppressionsResultOutput) Id ¶
func (o GetAlarmSuppressionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAlarmSuppressionsResultOutput) IsAllSuppressions ¶ added in v2.12.0
func (o GetAlarmSuppressionsResultOutput) IsAllSuppressions() pulumi.BoolPtrOutput
func (GetAlarmSuppressionsResultOutput) Level ¶ added in v2.12.0
func (o GetAlarmSuppressionsResultOutput) Level() pulumi.StringPtrOutput
The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions.
func (GetAlarmSuppressionsResultOutput) State ¶
func (o GetAlarmSuppressionsResultOutput) State() pulumi.StringPtrOutput
The current lifecycle state of the alarm suppression. Example: `DELETED`
func (GetAlarmSuppressionsResultOutput) TargetType ¶ added in v2.12.0
func (o GetAlarmSuppressionsResultOutput) TargetType() pulumi.StringPtrOutput
The type of the alarm suppression target.
func (GetAlarmSuppressionsResultOutput) ToGetAlarmSuppressionsResultOutput ¶
func (o GetAlarmSuppressionsResultOutput) ToGetAlarmSuppressionsResultOutput() GetAlarmSuppressionsResultOutput
func (GetAlarmSuppressionsResultOutput) ToGetAlarmSuppressionsResultOutputWithContext ¶
func (o GetAlarmSuppressionsResultOutput) ToGetAlarmSuppressionsResultOutputWithContext(ctx context.Context) GetAlarmSuppressionsResultOutput
type GetAlarmsAlarm ¶
type GetAlarmsAlarm struct { // Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary string `pulumi:"alarmSummary"` // The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body string `pulumi:"body"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service. Destinations []string `pulumi:"destinations"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation. DisplayName string `pulumi:"displayName"` // Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration string `pulumi:"evaluationSlackDuration"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. Id string `pulumi:"id"` // Whether the alarm is enabled. Example: `true` IsEnabled bool `pulumi:"isEnabled"` // Whether the alarm sends a separate message for each metric stream. See [Creating an Alarm That Splits Messages by Metric Stream](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). Example: `true` IsNotificationsPerMetricDimensionEnabled bool `pulumi:"isNotificationsPerMetricDimensionEnabled"` // The format to use for alarm notifications. The formats are: // * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. // * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. // * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only. MessageFormat string `pulumi:"messageFormat"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm. MetricCompartmentId string `pulumi:"metricCompartmentId"` // When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true` MetricCompartmentIdInSubtree bool `pulumi:"metricCompartmentIdInSubtree"` // The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent` Namespace string `pulumi:"namespace"` // Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle string `pulumi:"notificationTitle"` // The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion string `pulumi:"notificationVersion"` // A set of overrides that control evaluations of the alarm. Overrides []GetAlarmsAlarmOverride `pulumi:"overrides"` // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". PendingDuration string `pulumi:"pendingDuration"` // The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). Query string `pulumi:"query"` // The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D. RepeatNotificationDuration string `pulumi:"repeatNotificationDuration"` // The time between calculated aggregation windows for the alarm. Supported value: `1m` Resolution string `pulumi:"resolution"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup string `pulumi:"resourceGroup"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName string `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity string `pulumi:"severity"` // A filter to return only alarms that match the given lifecycle state exactly. When not specified, only alarms in the ACTIVE lifecycle state are listed. State string `pulumi:"state"` // The configuration details for suppressing an alarm. Suppressions []GetAlarmsAlarmSuppression `pulumi:"suppressions"` // The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeCreated string `pulumi:"timeCreated"` // The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z` TimeUpdated string `pulumi:"timeUpdated"` }
type GetAlarmsAlarmArgs ¶
type GetAlarmsAlarmArgs struct { // Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary pulumi.StringInput `pulumi:"alarmSummary"` // The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body pulumi.StringInput `pulumi:"body"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` // A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service. Destinations pulumi.StringArrayInput `pulumi:"destinations"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation. DisplayName pulumi.StringInput `pulumi:"displayName"` // Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration pulumi.StringInput `pulumi:"evaluationSlackDuration"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. Id pulumi.StringInput `pulumi:"id"` // Whether the alarm is enabled. Example: `true` IsEnabled pulumi.BoolInput `pulumi:"isEnabled"` // Whether the alarm sends a separate message for each metric stream. See [Creating an Alarm That Splits Messages by Metric Stream](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). Example: `true` IsNotificationsPerMetricDimensionEnabled pulumi.BoolInput `pulumi:"isNotificationsPerMetricDimensionEnabled"` // The format to use for alarm notifications. The formats are: // * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. // * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. // * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only. MessageFormat pulumi.StringInput `pulumi:"messageFormat"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm. MetricCompartmentId pulumi.StringInput `pulumi:"metricCompartmentId"` // When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true` MetricCompartmentIdInSubtree pulumi.BoolInput `pulumi:"metricCompartmentIdInSubtree"` // The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent` Namespace pulumi.StringInput `pulumi:"namespace"` // Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle pulumi.StringInput `pulumi:"notificationTitle"` // The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion pulumi.StringInput `pulumi:"notificationVersion"` // A set of overrides that control evaluations of the alarm. Overrides GetAlarmsAlarmOverrideArrayInput `pulumi:"overrides"` // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". PendingDuration pulumi.StringInput `pulumi:"pendingDuration"` // The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). Query pulumi.StringInput `pulumi:"query"` // The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D. RepeatNotificationDuration pulumi.StringInput `pulumi:"repeatNotificationDuration"` // The time between calculated aggregation windows for the alarm. Supported value: `1m` Resolution pulumi.StringInput `pulumi:"resolution"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName pulumi.StringInput `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity pulumi.StringInput `pulumi:"severity"` // A filter to return only alarms that match the given lifecycle state exactly. When not specified, only alarms in the ACTIVE lifecycle state are listed. State pulumi.StringInput `pulumi:"state"` // The configuration details for suppressing an alarm. Suppressions GetAlarmsAlarmSuppressionArrayInput `pulumi:"suppressions"` // The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` // The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z` TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` }
func (GetAlarmsAlarmArgs) ElementType ¶
func (GetAlarmsAlarmArgs) ElementType() reflect.Type
func (GetAlarmsAlarmArgs) ToGetAlarmsAlarmOutput ¶
func (i GetAlarmsAlarmArgs) ToGetAlarmsAlarmOutput() GetAlarmsAlarmOutput
func (GetAlarmsAlarmArgs) ToGetAlarmsAlarmOutputWithContext ¶
func (i GetAlarmsAlarmArgs) ToGetAlarmsAlarmOutputWithContext(ctx context.Context) GetAlarmsAlarmOutput
type GetAlarmsAlarmArray ¶
type GetAlarmsAlarmArray []GetAlarmsAlarmInput
func (GetAlarmsAlarmArray) ElementType ¶
func (GetAlarmsAlarmArray) ElementType() reflect.Type
func (GetAlarmsAlarmArray) ToGetAlarmsAlarmArrayOutput ¶
func (i GetAlarmsAlarmArray) ToGetAlarmsAlarmArrayOutput() GetAlarmsAlarmArrayOutput
func (GetAlarmsAlarmArray) ToGetAlarmsAlarmArrayOutputWithContext ¶
func (i GetAlarmsAlarmArray) ToGetAlarmsAlarmArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmArrayOutput
type GetAlarmsAlarmArrayInput ¶
type GetAlarmsAlarmArrayInput interface { pulumi.Input ToGetAlarmsAlarmArrayOutput() GetAlarmsAlarmArrayOutput ToGetAlarmsAlarmArrayOutputWithContext(context.Context) GetAlarmsAlarmArrayOutput }
GetAlarmsAlarmArrayInput is an input type that accepts GetAlarmsAlarmArray and GetAlarmsAlarmArrayOutput values. You can construct a concrete instance of `GetAlarmsAlarmArrayInput` via:
GetAlarmsAlarmArray{ GetAlarmsAlarmArgs{...} }
type GetAlarmsAlarmArrayOutput ¶
type GetAlarmsAlarmArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmsAlarmArrayOutput) ElementType ¶
func (GetAlarmsAlarmArrayOutput) ElementType() reflect.Type
func (GetAlarmsAlarmArrayOutput) Index ¶
func (o GetAlarmsAlarmArrayOutput) Index(i pulumi.IntInput) GetAlarmsAlarmOutput
func (GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutput ¶
func (o GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutput() GetAlarmsAlarmArrayOutput
func (GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutputWithContext ¶
func (o GetAlarmsAlarmArrayOutput) ToGetAlarmsAlarmArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmArrayOutput
type GetAlarmsAlarmInput ¶
type GetAlarmsAlarmInput interface { pulumi.Input ToGetAlarmsAlarmOutput() GetAlarmsAlarmOutput ToGetAlarmsAlarmOutputWithContext(context.Context) GetAlarmsAlarmOutput }
GetAlarmsAlarmInput is an input type that accepts GetAlarmsAlarmArgs and GetAlarmsAlarmOutput values. You can construct a concrete instance of `GetAlarmsAlarmInput` via:
GetAlarmsAlarmArgs{...}
type GetAlarmsAlarmOutput ¶
type GetAlarmsAlarmOutput struct{ *pulumi.OutputState }
func (GetAlarmsAlarmOutput) AlarmSummary ¶
func (o GetAlarmsAlarmOutput) AlarmSummary() pulumi.StringOutput
Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates).
func (GetAlarmsAlarmOutput) Body ¶
func (o GetAlarmsAlarmOutput) Body() pulumi.StringOutput
The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
func (GetAlarmsAlarmOutput) CompartmentId ¶
func (o GetAlarmsAlarmOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID`
func (GetAlarmsAlarmOutput) DefinedTags ¶
func (o GetAlarmsAlarmOutput) DefinedTags() pulumi.StringMapOutput
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
func (GetAlarmsAlarmOutput) Destinations ¶
func (o GetAlarmsAlarmOutput) Destinations() pulumi.StringArrayOutput
A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service.
func (GetAlarmsAlarmOutput) DisplayName ¶
func (o GetAlarmsAlarmOutput) DisplayName() pulumi.StringOutput
A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation.
func (GetAlarmsAlarmOutput) ElementType ¶
func (GetAlarmsAlarmOutput) ElementType() reflect.Type
func (GetAlarmsAlarmOutput) EvaluationSlackDuration ¶
func (o GetAlarmsAlarmOutput) EvaluationSlackDuration() pulumi.StringOutput
Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset).
func (GetAlarmsAlarmOutput) FreeformTags ¶
func (o GetAlarmsAlarmOutput) FreeformTags() pulumi.StringMapOutput
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
func (GetAlarmsAlarmOutput) Id ¶
func (o GetAlarmsAlarmOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm.
func (GetAlarmsAlarmOutput) IsEnabled ¶
func (o GetAlarmsAlarmOutput) IsEnabled() pulumi.BoolOutput
Whether the alarm is enabled. Example: `true`
func (GetAlarmsAlarmOutput) IsNotificationsPerMetricDimensionEnabled ¶
func (o GetAlarmsAlarmOutput) IsNotificationsPerMetricDimensionEnabled() pulumi.BoolOutput
Whether the alarm sends a separate message for each metric stream. See [Creating an Alarm That Splits Messages by Metric Stream](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). Example: `true`
func (GetAlarmsAlarmOutput) MessageFormat ¶
func (o GetAlarmsAlarmOutput) MessageFormat() pulumi.StringOutput
The format to use for alarm notifications. The formats are: * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only.
func (GetAlarmsAlarmOutput) MetricCompartmentId ¶
func (o GetAlarmsAlarmOutput) MetricCompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm.
func (GetAlarmsAlarmOutput) MetricCompartmentIdInSubtree ¶
func (o GetAlarmsAlarmOutput) MetricCompartmentIdInSubtree() pulumi.BoolOutput
When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true`
func (GetAlarmsAlarmOutput) Namespace ¶
func (o GetAlarmsAlarmOutput) Namespace() pulumi.StringOutput
The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent`
func (GetAlarmsAlarmOutput) NotificationTitle ¶
func (o GetAlarmsAlarmOutput) NotificationTitle() pulumi.StringOutput
Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message.
func (GetAlarmsAlarmOutput) NotificationVersion ¶
func (o GetAlarmsAlarmOutput) NotificationVersion() pulumi.StringOutput
The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X.
func (GetAlarmsAlarmOutput) Overrides ¶
func (o GetAlarmsAlarmOutput) Overrides() GetAlarmsAlarmOverrideArrayOutput
A set of overrides that control evaluations of the alarm.
func (GetAlarmsAlarmOutput) PendingDuration ¶
func (o GetAlarmsAlarmOutput) PendingDuration() pulumi.StringOutput
The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
func (GetAlarmsAlarmOutput) Query ¶
func (o GetAlarmsAlarmOutput) Query() pulumi.StringOutput
The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
func (GetAlarmsAlarmOutput) RepeatNotificationDuration ¶
func (o GetAlarmsAlarmOutput) RepeatNotificationDuration() pulumi.StringOutput
The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D.
func (GetAlarmsAlarmOutput) Resolution ¶
func (o GetAlarmsAlarmOutput) Resolution() pulumi.StringOutput
The time between calculated aggregation windows for the alarm. Supported value: `1m`
func (GetAlarmsAlarmOutput) ResourceGroup ¶
func (o GetAlarmsAlarmOutput) ResourceGroup() pulumi.StringOutput
Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet`
func (GetAlarmsAlarmOutput) RuleName ¶
func (o GetAlarmsAlarmOutput) RuleName() pulumi.StringOutput
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see AlarmOverride(https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
func (GetAlarmsAlarmOutput) Severity ¶
func (o GetAlarmsAlarmOutput) Severity() pulumi.StringOutput
The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
func (GetAlarmsAlarmOutput) State ¶
func (o GetAlarmsAlarmOutput) State() pulumi.StringOutput
A filter to return only alarms that match the given lifecycle state exactly. When not specified, only alarms in the ACTIVE lifecycle state are listed.
func (GetAlarmsAlarmOutput) Suppressions ¶
func (o GetAlarmsAlarmOutput) Suppressions() GetAlarmsAlarmSuppressionArrayOutput
The configuration details for suppressing an alarm.
func (GetAlarmsAlarmOutput) TimeCreated ¶
func (o GetAlarmsAlarmOutput) TimeCreated() pulumi.StringOutput
The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (GetAlarmsAlarmOutput) TimeUpdated ¶
func (o GetAlarmsAlarmOutput) TimeUpdated() pulumi.StringOutput
The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z`
func (GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutput ¶
func (o GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutput() GetAlarmsAlarmOutput
func (GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutputWithContext ¶
func (o GetAlarmsAlarmOutput) ToGetAlarmsAlarmOutputWithContext(ctx context.Context) GetAlarmsAlarmOutput
type GetAlarmsAlarmOverride ¶
type GetAlarmsAlarmOverride struct { // The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body string `pulumi:"body"` // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". PendingDuration string `pulumi:"pendingDuration"` // The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). Query string `pulumi:"query"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName string `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity string `pulumi:"severity"` }
type GetAlarmsAlarmOverrideArgs ¶
type GetAlarmsAlarmOverrideArgs struct { // The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body pulumi.StringInput `pulumi:"body"` // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". PendingDuration pulumi.StringInput `pulumi:"pendingDuration"` // The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). Query pulumi.StringInput `pulumi:"query"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName pulumi.StringInput `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity pulumi.StringInput `pulumi:"severity"` }
func (GetAlarmsAlarmOverrideArgs) ElementType ¶
func (GetAlarmsAlarmOverrideArgs) ElementType() reflect.Type
func (GetAlarmsAlarmOverrideArgs) ToGetAlarmsAlarmOverrideOutput ¶
func (i GetAlarmsAlarmOverrideArgs) ToGetAlarmsAlarmOverrideOutput() GetAlarmsAlarmOverrideOutput
func (GetAlarmsAlarmOverrideArgs) ToGetAlarmsAlarmOverrideOutputWithContext ¶
func (i GetAlarmsAlarmOverrideArgs) ToGetAlarmsAlarmOverrideOutputWithContext(ctx context.Context) GetAlarmsAlarmOverrideOutput
type GetAlarmsAlarmOverrideArray ¶
type GetAlarmsAlarmOverrideArray []GetAlarmsAlarmOverrideInput
func (GetAlarmsAlarmOverrideArray) ElementType ¶
func (GetAlarmsAlarmOverrideArray) ElementType() reflect.Type
func (GetAlarmsAlarmOverrideArray) ToGetAlarmsAlarmOverrideArrayOutput ¶
func (i GetAlarmsAlarmOverrideArray) ToGetAlarmsAlarmOverrideArrayOutput() GetAlarmsAlarmOverrideArrayOutput
func (GetAlarmsAlarmOverrideArray) ToGetAlarmsAlarmOverrideArrayOutputWithContext ¶
func (i GetAlarmsAlarmOverrideArray) ToGetAlarmsAlarmOverrideArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmOverrideArrayOutput
type GetAlarmsAlarmOverrideArrayInput ¶
type GetAlarmsAlarmOverrideArrayInput interface { pulumi.Input ToGetAlarmsAlarmOverrideArrayOutput() GetAlarmsAlarmOverrideArrayOutput ToGetAlarmsAlarmOverrideArrayOutputWithContext(context.Context) GetAlarmsAlarmOverrideArrayOutput }
GetAlarmsAlarmOverrideArrayInput is an input type that accepts GetAlarmsAlarmOverrideArray and GetAlarmsAlarmOverrideArrayOutput values. You can construct a concrete instance of `GetAlarmsAlarmOverrideArrayInput` via:
GetAlarmsAlarmOverrideArray{ GetAlarmsAlarmOverrideArgs{...} }
type GetAlarmsAlarmOverrideArrayOutput ¶
type GetAlarmsAlarmOverrideArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmsAlarmOverrideArrayOutput) ElementType ¶
func (GetAlarmsAlarmOverrideArrayOutput) ElementType() reflect.Type
func (GetAlarmsAlarmOverrideArrayOutput) Index ¶
func (o GetAlarmsAlarmOverrideArrayOutput) Index(i pulumi.IntInput) GetAlarmsAlarmOverrideOutput
func (GetAlarmsAlarmOverrideArrayOutput) ToGetAlarmsAlarmOverrideArrayOutput ¶
func (o GetAlarmsAlarmOverrideArrayOutput) ToGetAlarmsAlarmOverrideArrayOutput() GetAlarmsAlarmOverrideArrayOutput
func (GetAlarmsAlarmOverrideArrayOutput) ToGetAlarmsAlarmOverrideArrayOutputWithContext ¶
func (o GetAlarmsAlarmOverrideArrayOutput) ToGetAlarmsAlarmOverrideArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmOverrideArrayOutput
type GetAlarmsAlarmOverrideInput ¶
type GetAlarmsAlarmOverrideInput interface { pulumi.Input ToGetAlarmsAlarmOverrideOutput() GetAlarmsAlarmOverrideOutput ToGetAlarmsAlarmOverrideOutputWithContext(context.Context) GetAlarmsAlarmOverrideOutput }
GetAlarmsAlarmOverrideInput is an input type that accepts GetAlarmsAlarmOverrideArgs and GetAlarmsAlarmOverrideOutput values. You can construct a concrete instance of `GetAlarmsAlarmOverrideInput` via:
GetAlarmsAlarmOverrideArgs{...}
type GetAlarmsAlarmOverrideOutput ¶
type GetAlarmsAlarmOverrideOutput struct{ *pulumi.OutputState }
func (GetAlarmsAlarmOverrideOutput) Body ¶
func (o GetAlarmsAlarmOverrideOutput) Body() pulumi.StringOutput
The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
func (GetAlarmsAlarmOverrideOutput) ElementType ¶
func (GetAlarmsAlarmOverrideOutput) ElementType() reflect.Type
func (GetAlarmsAlarmOverrideOutput) PendingDuration ¶
func (o GetAlarmsAlarmOverrideOutput) PendingDuration() pulumi.StringOutput
The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
func (GetAlarmsAlarmOverrideOutput) Query ¶
func (o GetAlarmsAlarmOverrideOutput) Query() pulumi.StringOutput
The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
func (GetAlarmsAlarmOverrideOutput) RuleName ¶
func (o GetAlarmsAlarmOverrideOutput) RuleName() pulumi.StringOutput
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see AlarmOverride(https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
func (GetAlarmsAlarmOverrideOutput) Severity ¶
func (o GetAlarmsAlarmOverrideOutput) Severity() pulumi.StringOutput
The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
func (GetAlarmsAlarmOverrideOutput) ToGetAlarmsAlarmOverrideOutput ¶
func (o GetAlarmsAlarmOverrideOutput) ToGetAlarmsAlarmOverrideOutput() GetAlarmsAlarmOverrideOutput
func (GetAlarmsAlarmOverrideOutput) ToGetAlarmsAlarmOverrideOutputWithContext ¶
func (o GetAlarmsAlarmOverrideOutput) ToGetAlarmsAlarmOverrideOutputWithContext(ctx context.Context) GetAlarmsAlarmOverrideOutput
type GetAlarmsAlarmSuppression ¶
type GetAlarmsAlarmSuppression struct { // Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description string `pulumi:"description"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom string `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` TimeSuppressUntil string `pulumi:"timeSuppressUntil"` }
type GetAlarmsAlarmSuppressionArgs ¶
type GetAlarmsAlarmSuppressionArgs struct { // Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description pulumi.StringInput `pulumi:"description"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeSuppressFrom pulumi.StringInput `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z` TimeSuppressUntil pulumi.StringInput `pulumi:"timeSuppressUntil"` }
func (GetAlarmsAlarmSuppressionArgs) ElementType ¶
func (GetAlarmsAlarmSuppressionArgs) ElementType() reflect.Type
func (GetAlarmsAlarmSuppressionArgs) ToGetAlarmsAlarmSuppressionOutput ¶
func (i GetAlarmsAlarmSuppressionArgs) ToGetAlarmsAlarmSuppressionOutput() GetAlarmsAlarmSuppressionOutput
func (GetAlarmsAlarmSuppressionArgs) ToGetAlarmsAlarmSuppressionOutputWithContext ¶
func (i GetAlarmsAlarmSuppressionArgs) ToGetAlarmsAlarmSuppressionOutputWithContext(ctx context.Context) GetAlarmsAlarmSuppressionOutput
type GetAlarmsAlarmSuppressionArray ¶
type GetAlarmsAlarmSuppressionArray []GetAlarmsAlarmSuppressionInput
func (GetAlarmsAlarmSuppressionArray) ElementType ¶
func (GetAlarmsAlarmSuppressionArray) ElementType() reflect.Type
func (GetAlarmsAlarmSuppressionArray) ToGetAlarmsAlarmSuppressionArrayOutput ¶
func (i GetAlarmsAlarmSuppressionArray) ToGetAlarmsAlarmSuppressionArrayOutput() GetAlarmsAlarmSuppressionArrayOutput
func (GetAlarmsAlarmSuppressionArray) ToGetAlarmsAlarmSuppressionArrayOutputWithContext ¶
func (i GetAlarmsAlarmSuppressionArray) ToGetAlarmsAlarmSuppressionArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmSuppressionArrayOutput
type GetAlarmsAlarmSuppressionArrayInput ¶
type GetAlarmsAlarmSuppressionArrayInput interface { pulumi.Input ToGetAlarmsAlarmSuppressionArrayOutput() GetAlarmsAlarmSuppressionArrayOutput ToGetAlarmsAlarmSuppressionArrayOutputWithContext(context.Context) GetAlarmsAlarmSuppressionArrayOutput }
GetAlarmsAlarmSuppressionArrayInput is an input type that accepts GetAlarmsAlarmSuppressionArray and GetAlarmsAlarmSuppressionArrayOutput values. You can construct a concrete instance of `GetAlarmsAlarmSuppressionArrayInput` via:
GetAlarmsAlarmSuppressionArray{ GetAlarmsAlarmSuppressionArgs{...} }
type GetAlarmsAlarmSuppressionArrayOutput ¶
type GetAlarmsAlarmSuppressionArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmsAlarmSuppressionArrayOutput) ElementType ¶
func (GetAlarmsAlarmSuppressionArrayOutput) ElementType() reflect.Type
func (GetAlarmsAlarmSuppressionArrayOutput) Index ¶
func (o GetAlarmsAlarmSuppressionArrayOutput) Index(i pulumi.IntInput) GetAlarmsAlarmSuppressionOutput
func (GetAlarmsAlarmSuppressionArrayOutput) ToGetAlarmsAlarmSuppressionArrayOutput ¶
func (o GetAlarmsAlarmSuppressionArrayOutput) ToGetAlarmsAlarmSuppressionArrayOutput() GetAlarmsAlarmSuppressionArrayOutput
func (GetAlarmsAlarmSuppressionArrayOutput) ToGetAlarmsAlarmSuppressionArrayOutputWithContext ¶
func (o GetAlarmsAlarmSuppressionArrayOutput) ToGetAlarmsAlarmSuppressionArrayOutputWithContext(ctx context.Context) GetAlarmsAlarmSuppressionArrayOutput
type GetAlarmsAlarmSuppressionInput ¶
type GetAlarmsAlarmSuppressionInput interface { pulumi.Input ToGetAlarmsAlarmSuppressionOutput() GetAlarmsAlarmSuppressionOutput ToGetAlarmsAlarmSuppressionOutputWithContext(context.Context) GetAlarmsAlarmSuppressionOutput }
GetAlarmsAlarmSuppressionInput is an input type that accepts GetAlarmsAlarmSuppressionArgs and GetAlarmsAlarmSuppressionOutput values. You can construct a concrete instance of `GetAlarmsAlarmSuppressionInput` via:
GetAlarmsAlarmSuppressionArgs{...}
type GetAlarmsAlarmSuppressionOutput ¶
type GetAlarmsAlarmSuppressionOutput struct{ *pulumi.OutputState }
func (GetAlarmsAlarmSuppressionOutput) Description ¶
func (o GetAlarmsAlarmSuppressionOutput) Description() pulumi.StringOutput
Human-readable reason for suppressing alarm notifications. It does not have to be unique, and it's changeable. Avoid entering confidential information.
func (GetAlarmsAlarmSuppressionOutput) ElementType ¶
func (GetAlarmsAlarmSuppressionOutput) ElementType() reflect.Type
func (GetAlarmsAlarmSuppressionOutput) TimeSuppressFrom ¶
func (o GetAlarmsAlarmSuppressionOutput) TimeSuppressFrom() pulumi.StringOutput
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (GetAlarmsAlarmSuppressionOutput) TimeSuppressUntil ¶
func (o GetAlarmsAlarmSuppressionOutput) TimeSuppressUntil() pulumi.StringOutput
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2023-02-01T02:02:29.600Z`
func (GetAlarmsAlarmSuppressionOutput) ToGetAlarmsAlarmSuppressionOutput ¶
func (o GetAlarmsAlarmSuppressionOutput) ToGetAlarmsAlarmSuppressionOutput() GetAlarmsAlarmSuppressionOutput
func (GetAlarmsAlarmSuppressionOutput) ToGetAlarmsAlarmSuppressionOutputWithContext ¶
func (o GetAlarmsAlarmSuppressionOutput) ToGetAlarmsAlarmSuppressionOutputWithContext(ctx context.Context) GetAlarmsAlarmSuppressionOutput
type GetAlarmsArgs ¶
type GetAlarmsArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation. DisplayName *string `pulumi:"displayName"` Filters []GetAlarmsFilter `pulumi:"filters"` // A filter to return only alarms that match the given lifecycle state exactly. When not specified, only alarms in the ACTIVE lifecycle state are listed. State *string `pulumi:"state"` }
A collection of arguments for invoking getAlarms.
type GetAlarmsFilter ¶
type GetAlarmsFilterArgs ¶
type GetAlarmsFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetAlarmsFilterArgs) ElementType ¶
func (GetAlarmsFilterArgs) ElementType() reflect.Type
func (GetAlarmsFilterArgs) ToGetAlarmsFilterOutput ¶
func (i GetAlarmsFilterArgs) ToGetAlarmsFilterOutput() GetAlarmsFilterOutput
func (GetAlarmsFilterArgs) ToGetAlarmsFilterOutputWithContext ¶
func (i GetAlarmsFilterArgs) ToGetAlarmsFilterOutputWithContext(ctx context.Context) GetAlarmsFilterOutput
type GetAlarmsFilterArray ¶
type GetAlarmsFilterArray []GetAlarmsFilterInput
func (GetAlarmsFilterArray) ElementType ¶
func (GetAlarmsFilterArray) ElementType() reflect.Type
func (GetAlarmsFilterArray) ToGetAlarmsFilterArrayOutput ¶
func (i GetAlarmsFilterArray) ToGetAlarmsFilterArrayOutput() GetAlarmsFilterArrayOutput
func (GetAlarmsFilterArray) ToGetAlarmsFilterArrayOutputWithContext ¶
func (i GetAlarmsFilterArray) ToGetAlarmsFilterArrayOutputWithContext(ctx context.Context) GetAlarmsFilterArrayOutput
type GetAlarmsFilterArrayInput ¶
type GetAlarmsFilterArrayInput interface { pulumi.Input ToGetAlarmsFilterArrayOutput() GetAlarmsFilterArrayOutput ToGetAlarmsFilterArrayOutputWithContext(context.Context) GetAlarmsFilterArrayOutput }
GetAlarmsFilterArrayInput is an input type that accepts GetAlarmsFilterArray and GetAlarmsFilterArrayOutput values. You can construct a concrete instance of `GetAlarmsFilterArrayInput` via:
GetAlarmsFilterArray{ GetAlarmsFilterArgs{...} }
type GetAlarmsFilterArrayOutput ¶
type GetAlarmsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetAlarmsFilterArrayOutput) ElementType ¶
func (GetAlarmsFilterArrayOutput) ElementType() reflect.Type
func (GetAlarmsFilterArrayOutput) Index ¶
func (o GetAlarmsFilterArrayOutput) Index(i pulumi.IntInput) GetAlarmsFilterOutput
func (GetAlarmsFilterArrayOutput) ToGetAlarmsFilterArrayOutput ¶
func (o GetAlarmsFilterArrayOutput) ToGetAlarmsFilterArrayOutput() GetAlarmsFilterArrayOutput
func (GetAlarmsFilterArrayOutput) ToGetAlarmsFilterArrayOutputWithContext ¶
func (o GetAlarmsFilterArrayOutput) ToGetAlarmsFilterArrayOutputWithContext(ctx context.Context) GetAlarmsFilterArrayOutput
type GetAlarmsFilterInput ¶
type GetAlarmsFilterInput interface { pulumi.Input ToGetAlarmsFilterOutput() GetAlarmsFilterOutput ToGetAlarmsFilterOutputWithContext(context.Context) GetAlarmsFilterOutput }
GetAlarmsFilterInput is an input type that accepts GetAlarmsFilterArgs and GetAlarmsFilterOutput values. You can construct a concrete instance of `GetAlarmsFilterInput` via:
GetAlarmsFilterArgs{...}
type GetAlarmsFilterOutput ¶
type GetAlarmsFilterOutput struct{ *pulumi.OutputState }
func (GetAlarmsFilterOutput) ElementType ¶
func (GetAlarmsFilterOutput) ElementType() reflect.Type
func (GetAlarmsFilterOutput) Name ¶
func (o GetAlarmsFilterOutput) Name() pulumi.StringOutput
func (GetAlarmsFilterOutput) Regex ¶
func (o GetAlarmsFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetAlarmsFilterOutput) ToGetAlarmsFilterOutput ¶
func (o GetAlarmsFilterOutput) ToGetAlarmsFilterOutput() GetAlarmsFilterOutput
func (GetAlarmsFilterOutput) ToGetAlarmsFilterOutputWithContext ¶
func (o GetAlarmsFilterOutput) ToGetAlarmsFilterOutputWithContext(ctx context.Context) GetAlarmsFilterOutput
func (GetAlarmsFilterOutput) Values ¶
func (o GetAlarmsFilterOutput) Values() pulumi.StringArrayOutput
type GetAlarmsOutputArgs ¶
type GetAlarmsOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` // A filter to return only resources that match the given display name exactly. Use this filter to list an alarm by name. Alternatively, when you know the alarm OCID, use the GetAlarm operation. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` Filters GetAlarmsFilterArrayInput `pulumi:"filters"` // A filter to return only alarms that match the given lifecycle state exactly. When not specified, only alarms in the ACTIVE lifecycle state are listed. State pulumi.StringPtrInput `pulumi:"state"` }
A collection of arguments for invoking getAlarms.
func (GetAlarmsOutputArgs) ElementType ¶
func (GetAlarmsOutputArgs) ElementType() reflect.Type
type GetAlarmsResult ¶
type GetAlarmsResult struct { // The list of alarms. Alarms []GetAlarmsAlarm `pulumi:"alarms"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId string `pulumi:"compartmentId"` CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // A user-friendly name for the alarm. It does not have to be unique, and it's changeable. DisplayName *string `pulumi:"displayName"` Filters []GetAlarmsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The current lifecycle state of the alarm. Example: `DELETED` State *string `pulumi:"state"` }
A collection of values returned by getAlarms.
func GetAlarms ¶
func GetAlarms(ctx *pulumi.Context, args *GetAlarmsArgs, opts ...pulumi.InvokeOption) (*GetAlarmsResult, error)
This data source provides the list of Alarms in Oracle Cloud Infrastructure Monitoring service.
Lists the alarms for the specified compartment. For more information, see [Listing Alarms](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-alarm.htm). For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.GetAlarms(ctx, &monitoring.GetAlarmsArgs{ CompartmentId: compartmentId, CompartmentIdInSubtree: pulumi.BoolRef(alarmCompartmentIdInSubtree), DisplayName: pulumi.StringRef(alarmDisplayName), State: pulumi.StringRef(alarmState), }, nil) if err != nil { return err } return nil }) }
```
type GetAlarmsResultOutput ¶
type GetAlarmsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlarms.
func GetAlarmsOutput ¶
func GetAlarmsOutput(ctx *pulumi.Context, args GetAlarmsOutputArgs, opts ...pulumi.InvokeOption) GetAlarmsResultOutput
func (GetAlarmsResultOutput) Alarms ¶
func (o GetAlarmsResultOutput) Alarms() GetAlarmsAlarmArrayOutput
The list of alarms.
func (GetAlarmsResultOutput) CompartmentId ¶
func (o GetAlarmsResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm.
func (GetAlarmsResultOutput) CompartmentIdInSubtree ¶
func (o GetAlarmsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
func (GetAlarmsResultOutput) DisplayName ¶
func (o GetAlarmsResultOutput) DisplayName() pulumi.StringPtrOutput
A user-friendly name for the alarm. It does not have to be unique, and it's changeable.
func (GetAlarmsResultOutput) ElementType ¶
func (GetAlarmsResultOutput) ElementType() reflect.Type
func (GetAlarmsResultOutput) Filters ¶
func (o GetAlarmsResultOutput) Filters() GetAlarmsFilterArrayOutput
func (GetAlarmsResultOutput) Id ¶
func (o GetAlarmsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAlarmsResultOutput) State ¶
func (o GetAlarmsResultOutput) State() pulumi.StringPtrOutput
The current lifecycle state of the alarm. Example: `DELETED`
func (GetAlarmsResultOutput) ToGetAlarmsResultOutput ¶
func (o GetAlarmsResultOutput) ToGetAlarmsResultOutput() GetAlarmsResultOutput
func (GetAlarmsResultOutput) ToGetAlarmsResultOutputWithContext ¶
func (o GetAlarmsResultOutput) ToGetAlarmsResultOutputWithContext(ctx context.Context) GetAlarmsResultOutput
type GetMetricDataArgs ¶
type GetMetricDataArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z` EndTime *string `pulumi:"endTime"` Filters []GetMetricDataFilter `pulumi:"filters"` // The source service or application to use when searching for metric data points to aggregate. Example: `ociComputeagent` Namespace string `pulumi:"namespace"` // The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\`) character. Supported grouping functions: `grouping()`, `groupBy()`. // // Construct your query to avoid exceeding limits on returned data. See [MetricData Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/20180401/MetricData). // // For details about Monitoring Query Language (MQL), see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example 1: `CpuUtilization[1m].sum()` // // Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \"<var><instance_OCID></var>\"}.max()` Query string `pulumi:"query"` // The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m` Resolution *string `pulumi:"resolution"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup *string `pulumi:"resourceGroup"` // The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z` StartTime *string `pulumi:"startTime"` }
A collection of arguments for invoking getMetricData.
type GetMetricDataFilter ¶
type GetMetricDataFilterArgs ¶
type GetMetricDataFilterArgs struct { // The name of the metric. Example: `CpuUtilization` Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetMetricDataFilterArgs) ElementType ¶
func (GetMetricDataFilterArgs) ElementType() reflect.Type
func (GetMetricDataFilterArgs) ToGetMetricDataFilterOutput ¶
func (i GetMetricDataFilterArgs) ToGetMetricDataFilterOutput() GetMetricDataFilterOutput
func (GetMetricDataFilterArgs) ToGetMetricDataFilterOutputWithContext ¶
func (i GetMetricDataFilterArgs) ToGetMetricDataFilterOutputWithContext(ctx context.Context) GetMetricDataFilterOutput
type GetMetricDataFilterArray ¶
type GetMetricDataFilterArray []GetMetricDataFilterInput
func (GetMetricDataFilterArray) ElementType ¶
func (GetMetricDataFilterArray) ElementType() reflect.Type
func (GetMetricDataFilterArray) ToGetMetricDataFilterArrayOutput ¶
func (i GetMetricDataFilterArray) ToGetMetricDataFilterArrayOutput() GetMetricDataFilterArrayOutput
func (GetMetricDataFilterArray) ToGetMetricDataFilterArrayOutputWithContext ¶
func (i GetMetricDataFilterArray) ToGetMetricDataFilterArrayOutputWithContext(ctx context.Context) GetMetricDataFilterArrayOutput
type GetMetricDataFilterArrayInput ¶
type GetMetricDataFilterArrayInput interface { pulumi.Input ToGetMetricDataFilterArrayOutput() GetMetricDataFilterArrayOutput ToGetMetricDataFilterArrayOutputWithContext(context.Context) GetMetricDataFilterArrayOutput }
GetMetricDataFilterArrayInput is an input type that accepts GetMetricDataFilterArray and GetMetricDataFilterArrayOutput values. You can construct a concrete instance of `GetMetricDataFilterArrayInput` via:
GetMetricDataFilterArray{ GetMetricDataFilterArgs{...} }
type GetMetricDataFilterArrayOutput ¶
type GetMetricDataFilterArrayOutput struct{ *pulumi.OutputState }
func (GetMetricDataFilterArrayOutput) ElementType ¶
func (GetMetricDataFilterArrayOutput) ElementType() reflect.Type
func (GetMetricDataFilterArrayOutput) Index ¶
func (o GetMetricDataFilterArrayOutput) Index(i pulumi.IntInput) GetMetricDataFilterOutput
func (GetMetricDataFilterArrayOutput) ToGetMetricDataFilterArrayOutput ¶
func (o GetMetricDataFilterArrayOutput) ToGetMetricDataFilterArrayOutput() GetMetricDataFilterArrayOutput
func (GetMetricDataFilterArrayOutput) ToGetMetricDataFilterArrayOutputWithContext ¶
func (o GetMetricDataFilterArrayOutput) ToGetMetricDataFilterArrayOutputWithContext(ctx context.Context) GetMetricDataFilterArrayOutput
type GetMetricDataFilterInput ¶
type GetMetricDataFilterInput interface { pulumi.Input ToGetMetricDataFilterOutput() GetMetricDataFilterOutput ToGetMetricDataFilterOutputWithContext(context.Context) GetMetricDataFilterOutput }
GetMetricDataFilterInput is an input type that accepts GetMetricDataFilterArgs and GetMetricDataFilterOutput values. You can construct a concrete instance of `GetMetricDataFilterInput` via:
GetMetricDataFilterArgs{...}
type GetMetricDataFilterOutput ¶
type GetMetricDataFilterOutput struct{ *pulumi.OutputState }
func (GetMetricDataFilterOutput) ElementType ¶
func (GetMetricDataFilterOutput) ElementType() reflect.Type
func (GetMetricDataFilterOutput) Name ¶
func (o GetMetricDataFilterOutput) Name() pulumi.StringOutput
The name of the metric. Example: `CpuUtilization`
func (GetMetricDataFilterOutput) Regex ¶
func (o GetMetricDataFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetMetricDataFilterOutput) ToGetMetricDataFilterOutput ¶
func (o GetMetricDataFilterOutput) ToGetMetricDataFilterOutput() GetMetricDataFilterOutput
func (GetMetricDataFilterOutput) ToGetMetricDataFilterOutputWithContext ¶
func (o GetMetricDataFilterOutput) ToGetMetricDataFilterOutputWithContext(ctx context.Context) GetMetricDataFilterOutput
func (GetMetricDataFilterOutput) Values ¶
func (o GetMetricDataFilterOutput) Values() pulumi.StringArrayOutput
type GetMetricDataMetricData ¶
type GetMetricDataMetricData struct { // The list of timestamp-value pairs returned for the specified request. Metric values are rolled up to the start time specified in the request. For important limits information related to data points, see MetricData Reference at the top of this page. AggregatedDatapoints []GetMetricDataMetricDataAggregatedDatapoint `pulumi:"aggregatedDatapoints"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree bool `pulumi:"compartmentIdInSubtree"` // Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` Dimensions map[string]string `pulumi:"dimensions"` // The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z` EndTime string `pulumi:"endTime"` // The references provided in a metric definition to indicate extra information about the metric. Example: `"unit": "bytes"` Metadata map[string]string `pulumi:"metadata"` // The name of the metric. Example: `CpuUtilization` Name string `pulumi:"name"` // The source service or application to use when searching for metric data points to aggregate. Example: `ociComputeagent` Namespace string `pulumi:"namespace"` // The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\`) character. Supported grouping functions: `grouping()`, `groupBy()`. // // Construct your query to avoid exceeding limits on returned data. See [MetricData Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/20180401/MetricData). // // For details about Monitoring Query Language (MQL), see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example 1: `CpuUtilization[1m].sum()` // // Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \"<var><instance_OCID></var>\"}.max()` Query string `pulumi:"query"` // The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m` Resolution string `pulumi:"resolution"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup string `pulumi:"resourceGroup"` // The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z` StartTime string `pulumi:"startTime"` }
type GetMetricDataMetricDataAggregatedDatapoint ¶
type GetMetricDataMetricDataAggregatedDatapoint struct { // The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` Timestamp string `pulumi:"timestamp"` // Numeric value of the metric. Example: `10.4` Value float64 `pulumi:"value"` }
type GetMetricDataMetricDataAggregatedDatapointArgs ¶
type GetMetricDataMetricDataAggregatedDatapointArgs struct { // The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` Timestamp pulumi.StringInput `pulumi:"timestamp"` // Numeric value of the metric. Example: `10.4` Value pulumi.Float64Input `pulumi:"value"` }
func (GetMetricDataMetricDataAggregatedDatapointArgs) ElementType ¶
func (GetMetricDataMetricDataAggregatedDatapointArgs) ElementType() reflect.Type
func (GetMetricDataMetricDataAggregatedDatapointArgs) ToGetMetricDataMetricDataAggregatedDatapointOutput ¶
func (i GetMetricDataMetricDataAggregatedDatapointArgs) ToGetMetricDataMetricDataAggregatedDatapointOutput() GetMetricDataMetricDataAggregatedDatapointOutput
func (GetMetricDataMetricDataAggregatedDatapointArgs) ToGetMetricDataMetricDataAggregatedDatapointOutputWithContext ¶
func (i GetMetricDataMetricDataAggregatedDatapointArgs) ToGetMetricDataMetricDataAggregatedDatapointOutputWithContext(ctx context.Context) GetMetricDataMetricDataAggregatedDatapointOutput
type GetMetricDataMetricDataAggregatedDatapointArray ¶
type GetMetricDataMetricDataAggregatedDatapointArray []GetMetricDataMetricDataAggregatedDatapointInput
func (GetMetricDataMetricDataAggregatedDatapointArray) ElementType ¶
func (GetMetricDataMetricDataAggregatedDatapointArray) ElementType() reflect.Type
func (GetMetricDataMetricDataAggregatedDatapointArray) ToGetMetricDataMetricDataAggregatedDatapointArrayOutput ¶
func (i GetMetricDataMetricDataAggregatedDatapointArray) ToGetMetricDataMetricDataAggregatedDatapointArrayOutput() GetMetricDataMetricDataAggregatedDatapointArrayOutput
func (GetMetricDataMetricDataAggregatedDatapointArray) ToGetMetricDataMetricDataAggregatedDatapointArrayOutputWithContext ¶
func (i GetMetricDataMetricDataAggregatedDatapointArray) ToGetMetricDataMetricDataAggregatedDatapointArrayOutputWithContext(ctx context.Context) GetMetricDataMetricDataAggregatedDatapointArrayOutput
type GetMetricDataMetricDataAggregatedDatapointArrayInput ¶
type GetMetricDataMetricDataAggregatedDatapointArrayInput interface { pulumi.Input ToGetMetricDataMetricDataAggregatedDatapointArrayOutput() GetMetricDataMetricDataAggregatedDatapointArrayOutput ToGetMetricDataMetricDataAggregatedDatapointArrayOutputWithContext(context.Context) GetMetricDataMetricDataAggregatedDatapointArrayOutput }
GetMetricDataMetricDataAggregatedDatapointArrayInput is an input type that accepts GetMetricDataMetricDataAggregatedDatapointArray and GetMetricDataMetricDataAggregatedDatapointArrayOutput values. You can construct a concrete instance of `GetMetricDataMetricDataAggregatedDatapointArrayInput` via:
GetMetricDataMetricDataAggregatedDatapointArray{ GetMetricDataMetricDataAggregatedDatapointArgs{...} }
type GetMetricDataMetricDataAggregatedDatapointArrayOutput ¶
type GetMetricDataMetricDataAggregatedDatapointArrayOutput struct{ *pulumi.OutputState }
func (GetMetricDataMetricDataAggregatedDatapointArrayOutput) ElementType ¶
func (GetMetricDataMetricDataAggregatedDatapointArrayOutput) ElementType() reflect.Type
func (GetMetricDataMetricDataAggregatedDatapointArrayOutput) ToGetMetricDataMetricDataAggregatedDatapointArrayOutput ¶
func (o GetMetricDataMetricDataAggregatedDatapointArrayOutput) ToGetMetricDataMetricDataAggregatedDatapointArrayOutput() GetMetricDataMetricDataAggregatedDatapointArrayOutput
func (GetMetricDataMetricDataAggregatedDatapointArrayOutput) ToGetMetricDataMetricDataAggregatedDatapointArrayOutputWithContext ¶
func (o GetMetricDataMetricDataAggregatedDatapointArrayOutput) ToGetMetricDataMetricDataAggregatedDatapointArrayOutputWithContext(ctx context.Context) GetMetricDataMetricDataAggregatedDatapointArrayOutput
type GetMetricDataMetricDataAggregatedDatapointInput ¶
type GetMetricDataMetricDataAggregatedDatapointInput interface { pulumi.Input ToGetMetricDataMetricDataAggregatedDatapointOutput() GetMetricDataMetricDataAggregatedDatapointOutput ToGetMetricDataMetricDataAggregatedDatapointOutputWithContext(context.Context) GetMetricDataMetricDataAggregatedDatapointOutput }
GetMetricDataMetricDataAggregatedDatapointInput is an input type that accepts GetMetricDataMetricDataAggregatedDatapointArgs and GetMetricDataMetricDataAggregatedDatapointOutput values. You can construct a concrete instance of `GetMetricDataMetricDataAggregatedDatapointInput` via:
GetMetricDataMetricDataAggregatedDatapointArgs{...}
type GetMetricDataMetricDataAggregatedDatapointOutput ¶
type GetMetricDataMetricDataAggregatedDatapointOutput struct{ *pulumi.OutputState }
func (GetMetricDataMetricDataAggregatedDatapointOutput) ElementType ¶
func (GetMetricDataMetricDataAggregatedDatapointOutput) ElementType() reflect.Type
func (GetMetricDataMetricDataAggregatedDatapointOutput) Timestamp ¶
func (o GetMetricDataMetricDataAggregatedDatapointOutput) Timestamp() pulumi.StringOutput
The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (GetMetricDataMetricDataAggregatedDatapointOutput) ToGetMetricDataMetricDataAggregatedDatapointOutput ¶
func (o GetMetricDataMetricDataAggregatedDatapointOutput) ToGetMetricDataMetricDataAggregatedDatapointOutput() GetMetricDataMetricDataAggregatedDatapointOutput
func (GetMetricDataMetricDataAggregatedDatapointOutput) ToGetMetricDataMetricDataAggregatedDatapointOutputWithContext ¶
func (o GetMetricDataMetricDataAggregatedDatapointOutput) ToGetMetricDataMetricDataAggregatedDatapointOutputWithContext(ctx context.Context) GetMetricDataMetricDataAggregatedDatapointOutput
func (GetMetricDataMetricDataAggregatedDatapointOutput) Value ¶
func (o GetMetricDataMetricDataAggregatedDatapointOutput) Value() pulumi.Float64Output
Numeric value of the metric. Example: `10.4`
type GetMetricDataMetricDataArgs ¶
type GetMetricDataMetricDataArgs struct { // The list of timestamp-value pairs returned for the specified request. Metric values are rolled up to the start time specified in the request. For important limits information related to data points, see MetricData Reference at the top of this page. AggregatedDatapoints GetMetricDataMetricDataAggregatedDatapointArrayInput `pulumi:"aggregatedDatapoints"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree pulumi.BoolInput `pulumi:"compartmentIdInSubtree"` // Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` Dimensions pulumi.StringMapInput `pulumi:"dimensions"` // The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z` EndTime pulumi.StringInput `pulumi:"endTime"` // The references provided in a metric definition to indicate extra information about the metric. Example: `"unit": "bytes"` Metadata pulumi.StringMapInput `pulumi:"metadata"` // The name of the metric. Example: `CpuUtilization` Name pulumi.StringInput `pulumi:"name"` // The source service or application to use when searching for metric data points to aggregate. Example: `ociComputeagent` Namespace pulumi.StringInput `pulumi:"namespace"` // The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\`) character. Supported grouping functions: `grouping()`, `groupBy()`. // // Construct your query to avoid exceeding limits on returned data. See [MetricData Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/20180401/MetricData). // // For details about Monitoring Query Language (MQL), see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example 1: `CpuUtilization[1m].sum()` // // Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \"<var><instance_OCID></var>\"}.max()` Query pulumi.StringInput `pulumi:"query"` // The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m` Resolution pulumi.StringInput `pulumi:"resolution"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` // The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z` StartTime pulumi.StringInput `pulumi:"startTime"` }
func (GetMetricDataMetricDataArgs) ElementType ¶
func (GetMetricDataMetricDataArgs) ElementType() reflect.Type
func (GetMetricDataMetricDataArgs) ToGetMetricDataMetricDataOutput ¶
func (i GetMetricDataMetricDataArgs) ToGetMetricDataMetricDataOutput() GetMetricDataMetricDataOutput
func (GetMetricDataMetricDataArgs) ToGetMetricDataMetricDataOutputWithContext ¶
func (i GetMetricDataMetricDataArgs) ToGetMetricDataMetricDataOutputWithContext(ctx context.Context) GetMetricDataMetricDataOutput
type GetMetricDataMetricDataArray ¶
type GetMetricDataMetricDataArray []GetMetricDataMetricDataInput
func (GetMetricDataMetricDataArray) ElementType ¶
func (GetMetricDataMetricDataArray) ElementType() reflect.Type
func (GetMetricDataMetricDataArray) ToGetMetricDataMetricDataArrayOutput ¶
func (i GetMetricDataMetricDataArray) ToGetMetricDataMetricDataArrayOutput() GetMetricDataMetricDataArrayOutput
func (GetMetricDataMetricDataArray) ToGetMetricDataMetricDataArrayOutputWithContext ¶
func (i GetMetricDataMetricDataArray) ToGetMetricDataMetricDataArrayOutputWithContext(ctx context.Context) GetMetricDataMetricDataArrayOutput
type GetMetricDataMetricDataArrayInput ¶
type GetMetricDataMetricDataArrayInput interface { pulumi.Input ToGetMetricDataMetricDataArrayOutput() GetMetricDataMetricDataArrayOutput ToGetMetricDataMetricDataArrayOutputWithContext(context.Context) GetMetricDataMetricDataArrayOutput }
GetMetricDataMetricDataArrayInput is an input type that accepts GetMetricDataMetricDataArray and GetMetricDataMetricDataArrayOutput values. You can construct a concrete instance of `GetMetricDataMetricDataArrayInput` via:
GetMetricDataMetricDataArray{ GetMetricDataMetricDataArgs{...} }
type GetMetricDataMetricDataArrayOutput ¶
type GetMetricDataMetricDataArrayOutput struct{ *pulumi.OutputState }
func (GetMetricDataMetricDataArrayOutput) ElementType ¶
func (GetMetricDataMetricDataArrayOutput) ElementType() reflect.Type
func (GetMetricDataMetricDataArrayOutput) Index ¶
func (o GetMetricDataMetricDataArrayOutput) Index(i pulumi.IntInput) GetMetricDataMetricDataOutput
func (GetMetricDataMetricDataArrayOutput) ToGetMetricDataMetricDataArrayOutput ¶
func (o GetMetricDataMetricDataArrayOutput) ToGetMetricDataMetricDataArrayOutput() GetMetricDataMetricDataArrayOutput
func (GetMetricDataMetricDataArrayOutput) ToGetMetricDataMetricDataArrayOutputWithContext ¶
func (o GetMetricDataMetricDataArrayOutput) ToGetMetricDataMetricDataArrayOutputWithContext(ctx context.Context) GetMetricDataMetricDataArrayOutput
type GetMetricDataMetricDataInput ¶
type GetMetricDataMetricDataInput interface { pulumi.Input ToGetMetricDataMetricDataOutput() GetMetricDataMetricDataOutput ToGetMetricDataMetricDataOutputWithContext(context.Context) GetMetricDataMetricDataOutput }
GetMetricDataMetricDataInput is an input type that accepts GetMetricDataMetricDataArgs and GetMetricDataMetricDataOutput values. You can construct a concrete instance of `GetMetricDataMetricDataInput` via:
GetMetricDataMetricDataArgs{...}
type GetMetricDataMetricDataOutput ¶
type GetMetricDataMetricDataOutput struct{ *pulumi.OutputState }
func (GetMetricDataMetricDataOutput) AggregatedDatapoints ¶
func (o GetMetricDataMetricDataOutput) AggregatedDatapoints() GetMetricDataMetricDataAggregatedDatapointArrayOutput
The list of timestamp-value pairs returned for the specified request. Metric values are rolled up to the start time specified in the request. For important limits information related to data points, see MetricData Reference at the top of this page.
func (GetMetricDataMetricDataOutput) CompartmentId ¶
func (o GetMetricDataMetricDataOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID`
func (GetMetricDataMetricDataOutput) CompartmentIdInSubtree ¶
func (o GetMetricDataMetricDataOutput) CompartmentIdInSubtree() pulumi.BoolOutput
When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false.
func (GetMetricDataMetricDataOutput) Dimensions ¶
func (o GetMetricDataMetricDataOutput) Dimensions() pulumi.StringMapOutput
Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
func (GetMetricDataMetricDataOutput) ElementType ¶
func (GetMetricDataMetricDataOutput) ElementType() reflect.Type
func (GetMetricDataMetricDataOutput) EndTime ¶
func (o GetMetricDataMetricDataOutput) EndTime() pulumi.StringOutput
The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z`
func (GetMetricDataMetricDataOutput) Metadata ¶
func (o GetMetricDataMetricDataOutput) Metadata() pulumi.StringMapOutput
The references provided in a metric definition to indicate extra information about the metric. Example: `"unit": "bytes"`
func (GetMetricDataMetricDataOutput) Name ¶
func (o GetMetricDataMetricDataOutput) Name() pulumi.StringOutput
The name of the metric. Example: `CpuUtilization`
func (GetMetricDataMetricDataOutput) Namespace ¶
func (o GetMetricDataMetricDataOutput) Namespace() pulumi.StringOutput
The source service or application to use when searching for metric data points to aggregate. Example: `ociComputeagent`
func (GetMetricDataMetricDataOutput) Query ¶
func (o GetMetricDataMetricDataOutput) Query() pulumi.StringOutput
The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\`) character. Supported grouping functions: `grouping()`, `groupBy()`.
Construct your query to avoid exceeding limits on returned data. See [MetricData Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/20180401/MetricData).
For details about Monitoring Query Language (MQL), see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
Example 1: `CpuUtilization[1m].sum()`
Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \"<var><instance_OCID></var>\"}.max()`
func (GetMetricDataMetricDataOutput) Resolution ¶
func (o GetMetricDataMetricDataOutput) Resolution() pulumi.StringOutput
The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m`
func (GetMetricDataMetricDataOutput) ResourceGroup ¶
func (o GetMetricDataMetricDataOutput) ResourceGroup() pulumi.StringOutput
Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet`
func (GetMetricDataMetricDataOutput) StartTime ¶
func (o GetMetricDataMetricDataOutput) StartTime() pulumi.StringOutput
The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z`
func (GetMetricDataMetricDataOutput) ToGetMetricDataMetricDataOutput ¶
func (o GetMetricDataMetricDataOutput) ToGetMetricDataMetricDataOutput() GetMetricDataMetricDataOutput
func (GetMetricDataMetricDataOutput) ToGetMetricDataMetricDataOutputWithContext ¶
func (o GetMetricDataMetricDataOutput) ToGetMetricDataMetricDataOutputWithContext(ctx context.Context) GetMetricDataMetricDataOutput
type GetMetricDataOutputArgs ¶
type GetMetricDataOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` // The end of the time range to use when searching for metric data points. Format is defined by RFC3339. The response excludes metric data points for the endTime. Default value: the timestamp representing when the call was sent. Example: `2023-02-01T02:02:29.600Z` EndTime pulumi.StringPtrInput `pulumi:"endTime"` Filters GetMetricDataFilterArrayInput `pulumi:"filters"` // The source service or application to use when searching for metric data points to aggregate. Example: `ociComputeagent` Namespace pulumi.StringInput `pulumi:"namespace"` // The Monitoring Query Language (MQL) expression to use when searching for metric data points to aggregate. The query must specify a metric, statistic, and interval. Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. When specifying a dimension value, surround it with double quotes, and escape each double quote with a backslash (`\`) character. Supported grouping functions: `grouping()`, `groupBy()`. // // Construct your query to avoid exceeding limits on returned data. See [MetricData Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/20180401/MetricData). // // For details about Monitoring Query Language (MQL), see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). // // Example 1: `CpuUtilization[1m].sum()` // // Example 2 (escaped double quotes for value string): `CpuUtilization[1m]{resourceId = \"<var><instance_OCID></var>\"}.max()` Query pulumi.StringInput `pulumi:"query"` // The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m` Resolution pulumi.StringPtrInput `pulumi:"resolution"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` // The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2023-02-01T01:02:29.600Z` StartTime pulumi.StringPtrInput `pulumi:"startTime"` }
A collection of arguments for invoking getMetricData.
func (GetMetricDataOutputArgs) ElementType ¶
func (GetMetricDataOutputArgs) ElementType() reflect.Type
type GetMetricDataResult ¶
type GetMetricDataResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources that the aggregated data was returned from. CompartmentId string `pulumi:"compartmentId"` CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` EndTime *string `pulumi:"endTime"` Filters []GetMetricDataFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of metric_data. MetricDatas []GetMetricDataMetricData `pulumi:"metricDatas"` // The reference provided in a metric definition to indicate the source service or application that emitted the metric. Example: `ociComputeagent` Namespace string `pulumi:"namespace"` Query string `pulumi:"query"` // The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m` Resolution *string `pulumi:"resolution"` // Resource group provided with the posted metric. A resource group is a custom string that you can match when retrieving custom metrics. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup *string `pulumi:"resourceGroup"` StartTime *string `pulumi:"startTime"` }
A collection of values returned by getMetricData.
func GetMetricData ¶
func GetMetricData(ctx *pulumi.Context, args *GetMetricDataArgs, opts ...pulumi.InvokeOption) (*GetMetricDataResult, error)
This data source provides the list of Metric Data in Oracle Cloud Infrastructure Monitoring service.
Returns aggregated data that match the criteria specified in the request. Compartment OCID required. For more information, see [Querying Metric Data](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-landing.htm) and [Creating a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric.htm). For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
Transactions Per Second (TPS) per-tenancy limit for this operation: 10.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.GetMetricData(ctx, &monitoring.GetMetricDataArgs{ CompartmentId: compartmentId, Namespace: metricDataNamespace, Query: metricDataQuery, CompartmentIdInSubtree: pulumi.BoolRef(metricDataCompartmentIdInSubtree), EndTime: pulumi.StringRef(metricDataEndTime), Resolution: pulumi.StringRef(metricDataResolution), ResourceGroup: pulumi.StringRef(metricDataResourceGroup), StartTime: pulumi.StringRef(metricDataStartTime), }, nil) if err != nil { return err } return nil }) }
```
type GetMetricDataResultOutput ¶
type GetMetricDataResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMetricData.
func GetMetricDataOutput ¶
func GetMetricDataOutput(ctx *pulumi.Context, args GetMetricDataOutputArgs, opts ...pulumi.InvokeOption) GetMetricDataResultOutput
func (GetMetricDataResultOutput) CompartmentId ¶
func (o GetMetricDataResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources that the aggregated data was returned from.
func (GetMetricDataResultOutput) CompartmentIdInSubtree ¶
func (o GetMetricDataResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
func (GetMetricDataResultOutput) ElementType ¶
func (GetMetricDataResultOutput) ElementType() reflect.Type
func (GetMetricDataResultOutput) EndTime ¶
func (o GetMetricDataResultOutput) EndTime() pulumi.StringPtrOutput
func (GetMetricDataResultOutput) Filters ¶
func (o GetMetricDataResultOutput) Filters() GetMetricDataFilterArrayOutput
func (GetMetricDataResultOutput) Id ¶
func (o GetMetricDataResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetMetricDataResultOutput) MetricDatas ¶
func (o GetMetricDataResultOutput) MetricDatas() GetMetricDataMetricDataArrayOutput
The list of metric_data.
func (GetMetricDataResultOutput) Namespace ¶
func (o GetMetricDataResultOutput) Namespace() pulumi.StringOutput
The reference provided in a metric definition to indicate the source service or application that emitted the metric. Example: `ociComputeagent`
func (GetMetricDataResultOutput) Query ¶
func (o GetMetricDataResultOutput) Query() pulumi.StringOutput
func (GetMetricDataResultOutput) Resolution ¶
func (o GetMetricDataResultOutput) Resolution() pulumi.StringPtrOutput
The time between calculated aggregation windows. Use with the query interval to vary the frequency for returning aggregated data points. For example, use a query interval of 5 minutes with a resolution of 1 minute to retrieve five-minute aggregations at a one-minute frequency. The resolution must be equal or less than the interval in the query. The default resolution is 1m (one minute). Supported values: `1m`-`60m`, `1h`-`24h`, `1d`. Example: `5m`
func (GetMetricDataResultOutput) ResourceGroup ¶
func (o GetMetricDataResultOutput) ResourceGroup() pulumi.StringPtrOutput
Resource group provided with the posted metric. A resource group is a custom string that you can match when retrieving custom metrics. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet`
func (GetMetricDataResultOutput) StartTime ¶
func (o GetMetricDataResultOutput) StartTime() pulumi.StringPtrOutput
func (GetMetricDataResultOutput) ToGetMetricDataResultOutput ¶
func (o GetMetricDataResultOutput) ToGetMetricDataResultOutput() GetMetricDataResultOutput
func (GetMetricDataResultOutput) ToGetMetricDataResultOutputWithContext ¶
func (o GetMetricDataResultOutput) ToGetMetricDataResultOutputWithContext(ctx context.Context) GetMetricDataResultOutput
type GetMetricsArgs ¶
type GetMetricsArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` // Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` DimensionFilters map[string]string `pulumi:"dimensionFilters"` Filters []GetMetricsFilter `pulumi:"filters"` // Group metrics by these fields in the response. For example, to list all metric namespaces available in a compartment, groupBy the "namespace" field. Supported fields: namespace, name, resourceGroup. If `groupBy` is used, then `dimensionFilters` is ignored. // // Example - group by namespace: `[ "namespace" ]` GroupBies []string `pulumi:"groupBies"` // The metric name to use when searching for metric definitions. Example: `CpuUtilization` Name *string `pulumi:"name"` // The source service or application to use when searching for metric definitions. Example: `ociComputeagent` Namespace *string `pulumi:"namespace"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup *string `pulumi:"resourceGroup"` }
A collection of arguments for invoking getMetrics.
type GetMetricsFilter ¶
type GetMetricsFilterArgs ¶
type GetMetricsFilterArgs struct { // The metric name to use when searching for metric definitions. Example: `CpuUtilization` Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetMetricsFilterArgs) ElementType ¶
func (GetMetricsFilterArgs) ElementType() reflect.Type
func (GetMetricsFilterArgs) ToGetMetricsFilterOutput ¶
func (i GetMetricsFilterArgs) ToGetMetricsFilterOutput() GetMetricsFilterOutput
func (GetMetricsFilterArgs) ToGetMetricsFilterOutputWithContext ¶
func (i GetMetricsFilterArgs) ToGetMetricsFilterOutputWithContext(ctx context.Context) GetMetricsFilterOutput
type GetMetricsFilterArray ¶
type GetMetricsFilterArray []GetMetricsFilterInput
func (GetMetricsFilterArray) ElementType ¶
func (GetMetricsFilterArray) ElementType() reflect.Type
func (GetMetricsFilterArray) ToGetMetricsFilterArrayOutput ¶
func (i GetMetricsFilterArray) ToGetMetricsFilterArrayOutput() GetMetricsFilterArrayOutput
func (GetMetricsFilterArray) ToGetMetricsFilterArrayOutputWithContext ¶
func (i GetMetricsFilterArray) ToGetMetricsFilterArrayOutputWithContext(ctx context.Context) GetMetricsFilterArrayOutput
type GetMetricsFilterArrayInput ¶
type GetMetricsFilterArrayInput interface { pulumi.Input ToGetMetricsFilterArrayOutput() GetMetricsFilterArrayOutput ToGetMetricsFilterArrayOutputWithContext(context.Context) GetMetricsFilterArrayOutput }
GetMetricsFilterArrayInput is an input type that accepts GetMetricsFilterArray and GetMetricsFilterArrayOutput values. You can construct a concrete instance of `GetMetricsFilterArrayInput` via:
GetMetricsFilterArray{ GetMetricsFilterArgs{...} }
type GetMetricsFilterArrayOutput ¶
type GetMetricsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetMetricsFilterArrayOutput) ElementType ¶
func (GetMetricsFilterArrayOutput) ElementType() reflect.Type
func (GetMetricsFilterArrayOutput) Index ¶
func (o GetMetricsFilterArrayOutput) Index(i pulumi.IntInput) GetMetricsFilterOutput
func (GetMetricsFilterArrayOutput) ToGetMetricsFilterArrayOutput ¶
func (o GetMetricsFilterArrayOutput) ToGetMetricsFilterArrayOutput() GetMetricsFilterArrayOutput
func (GetMetricsFilterArrayOutput) ToGetMetricsFilterArrayOutputWithContext ¶
func (o GetMetricsFilterArrayOutput) ToGetMetricsFilterArrayOutputWithContext(ctx context.Context) GetMetricsFilterArrayOutput
type GetMetricsFilterInput ¶
type GetMetricsFilterInput interface { pulumi.Input ToGetMetricsFilterOutput() GetMetricsFilterOutput ToGetMetricsFilterOutputWithContext(context.Context) GetMetricsFilterOutput }
GetMetricsFilterInput is an input type that accepts GetMetricsFilterArgs and GetMetricsFilterOutput values. You can construct a concrete instance of `GetMetricsFilterInput` via:
GetMetricsFilterArgs{...}
type GetMetricsFilterOutput ¶
type GetMetricsFilterOutput struct{ *pulumi.OutputState }
func (GetMetricsFilterOutput) ElementType ¶
func (GetMetricsFilterOutput) ElementType() reflect.Type
func (GetMetricsFilterOutput) Name ¶
func (o GetMetricsFilterOutput) Name() pulumi.StringOutput
The metric name to use when searching for metric definitions. Example: `CpuUtilization`
func (GetMetricsFilterOutput) Regex ¶
func (o GetMetricsFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetMetricsFilterOutput) ToGetMetricsFilterOutput ¶
func (o GetMetricsFilterOutput) ToGetMetricsFilterOutput() GetMetricsFilterOutput
func (GetMetricsFilterOutput) ToGetMetricsFilterOutputWithContext ¶
func (o GetMetricsFilterOutput) ToGetMetricsFilterOutputWithContext(ctx context.Context) GetMetricsFilterOutput
func (GetMetricsFilterOutput) Values ¶
func (o GetMetricsFilterOutput) Values() pulumi.StringArrayOutput
type GetMetricsMetric ¶
type GetMetricsMetric struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId string `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree bool `pulumi:"compartmentIdInSubtree"` // Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` DimensionFilters map[string]string `pulumi:"dimensionFilters"` // Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` Dimensions map[string]string `pulumi:"dimensions"` // Group metrics by these fields in the response. For example, to list all metric namespaces available in a compartment, groupBy the "namespace" field. Supported fields: namespace, name, resourceGroup. If `groupBy` is used, then `dimensionFilters` is ignored. // // Example - group by namespace: `[ "namespace" ]` GroupBies []string `pulumi:"groupBies"` // The metric name to use when searching for metric definitions. Example: `CpuUtilization` Name string `pulumi:"name"` // The source service or application to use when searching for metric definitions. Example: `ociComputeagent` Namespace string `pulumi:"namespace"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup string `pulumi:"resourceGroup"` }
type GetMetricsMetricArgs ¶
type GetMetricsMetricArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree pulumi.BoolInput `pulumi:"compartmentIdInSubtree"` // Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` DimensionFilters pulumi.StringMapInput `pulumi:"dimensionFilters"` // Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` Dimensions pulumi.StringMapInput `pulumi:"dimensions"` // Group metrics by these fields in the response. For example, to list all metric namespaces available in a compartment, groupBy the "namespace" field. Supported fields: namespace, name, resourceGroup. If `groupBy` is used, then `dimensionFilters` is ignored. // // Example - group by namespace: `[ "namespace" ]` GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` // The metric name to use when searching for metric definitions. Example: `CpuUtilization` Name pulumi.StringInput `pulumi:"name"` // The source service or application to use when searching for metric definitions. Example: `ociComputeagent` Namespace pulumi.StringInput `pulumi:"namespace"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup pulumi.StringInput `pulumi:"resourceGroup"` }
func (GetMetricsMetricArgs) ElementType ¶
func (GetMetricsMetricArgs) ElementType() reflect.Type
func (GetMetricsMetricArgs) ToGetMetricsMetricOutput ¶
func (i GetMetricsMetricArgs) ToGetMetricsMetricOutput() GetMetricsMetricOutput
func (GetMetricsMetricArgs) ToGetMetricsMetricOutputWithContext ¶
func (i GetMetricsMetricArgs) ToGetMetricsMetricOutputWithContext(ctx context.Context) GetMetricsMetricOutput
type GetMetricsMetricArray ¶
type GetMetricsMetricArray []GetMetricsMetricInput
func (GetMetricsMetricArray) ElementType ¶
func (GetMetricsMetricArray) ElementType() reflect.Type
func (GetMetricsMetricArray) ToGetMetricsMetricArrayOutput ¶
func (i GetMetricsMetricArray) ToGetMetricsMetricArrayOutput() GetMetricsMetricArrayOutput
func (GetMetricsMetricArray) ToGetMetricsMetricArrayOutputWithContext ¶
func (i GetMetricsMetricArray) ToGetMetricsMetricArrayOutputWithContext(ctx context.Context) GetMetricsMetricArrayOutput
type GetMetricsMetricArrayInput ¶
type GetMetricsMetricArrayInput interface { pulumi.Input ToGetMetricsMetricArrayOutput() GetMetricsMetricArrayOutput ToGetMetricsMetricArrayOutputWithContext(context.Context) GetMetricsMetricArrayOutput }
GetMetricsMetricArrayInput is an input type that accepts GetMetricsMetricArray and GetMetricsMetricArrayOutput values. You can construct a concrete instance of `GetMetricsMetricArrayInput` via:
GetMetricsMetricArray{ GetMetricsMetricArgs{...} }
type GetMetricsMetricArrayOutput ¶
type GetMetricsMetricArrayOutput struct{ *pulumi.OutputState }
func (GetMetricsMetricArrayOutput) ElementType ¶
func (GetMetricsMetricArrayOutput) ElementType() reflect.Type
func (GetMetricsMetricArrayOutput) Index ¶
func (o GetMetricsMetricArrayOutput) Index(i pulumi.IntInput) GetMetricsMetricOutput
func (GetMetricsMetricArrayOutput) ToGetMetricsMetricArrayOutput ¶
func (o GetMetricsMetricArrayOutput) ToGetMetricsMetricArrayOutput() GetMetricsMetricArrayOutput
func (GetMetricsMetricArrayOutput) ToGetMetricsMetricArrayOutputWithContext ¶
func (o GetMetricsMetricArrayOutput) ToGetMetricsMetricArrayOutputWithContext(ctx context.Context) GetMetricsMetricArrayOutput
type GetMetricsMetricInput ¶
type GetMetricsMetricInput interface { pulumi.Input ToGetMetricsMetricOutput() GetMetricsMetricOutput ToGetMetricsMetricOutputWithContext(context.Context) GetMetricsMetricOutput }
GetMetricsMetricInput is an input type that accepts GetMetricsMetricArgs and GetMetricsMetricOutput values. You can construct a concrete instance of `GetMetricsMetricInput` via:
GetMetricsMetricArgs{...}
type GetMetricsMetricOutput ¶
type GetMetricsMetricOutput struct{ *pulumi.OutputState }
func (GetMetricsMetricOutput) CompartmentId ¶
func (o GetMetricsMetricOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID`
func (GetMetricsMetricOutput) CompartmentIdInSubtree ¶
func (o GetMetricsMetricOutput) CompartmentIdInSubtree() pulumi.BoolOutput
When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false.
func (GetMetricsMetricOutput) DimensionFilters ¶
func (o GetMetricsMetricOutput) DimensionFilters() pulumi.StringMapOutput
Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
func (GetMetricsMetricOutput) Dimensions ¶
func (o GetMetricsMetricOutput) Dimensions() pulumi.StringMapOutput
Qualifiers provided in a metric definition. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
func (GetMetricsMetricOutput) ElementType ¶
func (GetMetricsMetricOutput) ElementType() reflect.Type
func (GetMetricsMetricOutput) GroupBies ¶
func (o GetMetricsMetricOutput) GroupBies() pulumi.StringArrayOutput
Group metrics by these fields in the response. For example, to list all metric namespaces available in a compartment, groupBy the "namespace" field. Supported fields: namespace, name, resourceGroup. If `groupBy` is used, then `dimensionFilters` is ignored.
Example - group by namespace: `[ "namespace" ]`
func (GetMetricsMetricOutput) Name ¶
func (o GetMetricsMetricOutput) Name() pulumi.StringOutput
The metric name to use when searching for metric definitions. Example: `CpuUtilization`
func (GetMetricsMetricOutput) Namespace ¶
func (o GetMetricsMetricOutput) Namespace() pulumi.StringOutput
The source service or application to use when searching for metric definitions. Example: `ociComputeagent`
func (GetMetricsMetricOutput) ResourceGroup ¶
func (o GetMetricsMetricOutput) ResourceGroup() pulumi.StringOutput
Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet`
func (GetMetricsMetricOutput) ToGetMetricsMetricOutput ¶
func (o GetMetricsMetricOutput) ToGetMetricsMetricOutput() GetMetricsMetricOutput
func (GetMetricsMetricOutput) ToGetMetricsMetricOutputWithContext ¶
func (o GetMetricsMetricOutput) ToGetMetricsMetricOutputWithContext(ctx context.Context) GetMetricsMetricOutput
type GetMetricsOutputArgs ¶
type GetMetricsOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric that you are searching for. Use tenancyId to search in the root compartment. Example: `ocid1.compartment.oc1..exampleuniqueID` CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // When true, returns resources from all compartments and subcompartments. The parameter can only be set to true when compartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, returns resources from only the compartment specified in compartmentId. Default is false. CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` // Qualifiers that you want to use when searching for metric definitions. Available dimensions vary by metric namespace. Each dimension takes the form of a key-value pair. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` DimensionFilters pulumi.StringMapInput `pulumi:"dimensionFilters"` Filters GetMetricsFilterArrayInput `pulumi:"filters"` // Group metrics by these fields in the response. For example, to list all metric namespaces available in a compartment, groupBy the "namespace" field. Supported fields: namespace, name, resourceGroup. If `groupBy` is used, then `dimensionFilters` is ignored. // // Example - group by namespace: `[ "namespace" ]` GroupBies pulumi.StringArrayInput `pulumi:"groupBies"` // The metric name to use when searching for metric definitions. Example: `CpuUtilization` Name pulumi.StringPtrInput `pulumi:"name"` // The source service or application to use when searching for metric definitions. Example: `ociComputeagent` Namespace pulumi.StringPtrInput `pulumi:"namespace"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` }
A collection of arguments for invoking getMetrics.
func (GetMetricsOutputArgs) ElementType ¶
func (GetMetricsOutputArgs) ElementType() reflect.Type
type GetMetricsResult ¶
type GetMetricsResult struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric. CompartmentId string `pulumi:"compartmentId"` CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` DimensionFilters map[string]string `pulumi:"dimensionFilters"` Filters []GetMetricsFilter `pulumi:"filters"` GroupBies []string `pulumi:"groupBies"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The list of metrics. Metrics []GetMetricsMetric `pulumi:"metrics"` // The name of the metric. Example: `CpuUtilization` Name *string `pulumi:"name"` // The source service or application emitting the metric. Example: `ociComputeagent` Namespace *string `pulumi:"namespace"` // Resource group provided with the posted metric. A resource group is a custom string that you can match when retrieving custom metrics. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup *string `pulumi:"resourceGroup"` }
A collection of values returned by getMetrics.
func GetMetrics ¶
func GetMetrics(ctx *pulumi.Context, args *GetMetricsArgs, opts ...pulumi.InvokeOption) (*GetMetricsResult, error)
This data source provides the list of Metrics in Oracle Cloud Infrastructure Monitoring service.
Returns metric definitions that match the criteria specified in the request. Compartment OCID required. For more information, see [Listing Metric Definitions](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/list-metric.htm). For information about metrics, see [Metrics Overview](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#MetricsOverview). For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
Transactions Per Second (TPS) per-tenancy limit for this operation: 10.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.GetMetrics(ctx, &monitoring.GetMetricsArgs{ CompartmentId: compartmentId, CompartmentIdInSubtree: pulumi.BoolRef(metricCompartmentIdInSubtree), DimensionFilters: metricDimensionFilters, GroupBies: metricGroupBy, Name: pulumi.StringRef(metricName), Namespace: pulumi.StringRef(metricNamespace), ResourceGroup: pulumi.StringRef(metricResourceGroup), }, nil) if err != nil { return err } return nil }) }
```
type GetMetricsResultOutput ¶
type GetMetricsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getMetrics.
func GetMetricsOutput ¶
func GetMetricsOutput(ctx *pulumi.Context, args GetMetricsOutputArgs, opts ...pulumi.InvokeOption) GetMetricsResultOutput
func (GetMetricsResultOutput) CompartmentId ¶
func (o GetMetricsResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the resources monitored by the metric.
func (GetMetricsResultOutput) CompartmentIdInSubtree ¶
func (o GetMetricsResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput
func (GetMetricsResultOutput) DimensionFilters ¶
func (o GetMetricsResultOutput) DimensionFilters() pulumi.StringMapOutput
func (GetMetricsResultOutput) ElementType ¶
func (GetMetricsResultOutput) ElementType() reflect.Type
func (GetMetricsResultOutput) Filters ¶
func (o GetMetricsResultOutput) Filters() GetMetricsFilterArrayOutput
func (GetMetricsResultOutput) GroupBies ¶
func (o GetMetricsResultOutput) GroupBies() pulumi.StringArrayOutput
func (GetMetricsResultOutput) Id ¶
func (o GetMetricsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetMetricsResultOutput) Metrics ¶
func (o GetMetricsResultOutput) Metrics() GetMetricsMetricArrayOutput
The list of metrics.
func (GetMetricsResultOutput) Name ¶
func (o GetMetricsResultOutput) Name() pulumi.StringPtrOutput
The name of the metric. Example: `CpuUtilization`
func (GetMetricsResultOutput) Namespace ¶
func (o GetMetricsResultOutput) Namespace() pulumi.StringPtrOutput
The source service or application emitting the metric. Example: `ociComputeagent`
func (GetMetricsResultOutput) ResourceGroup ¶
func (o GetMetricsResultOutput) ResourceGroup() pulumi.StringPtrOutput
Resource group provided with the posted metric. A resource group is a custom string that you can match when retrieving custom metrics. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet`
func (GetMetricsResultOutput) ToGetMetricsResultOutput ¶
func (o GetMetricsResultOutput) ToGetMetricsResultOutput() GetMetricsResultOutput
func (GetMetricsResultOutput) ToGetMetricsResultOutputWithContext ¶
func (o GetMetricsResultOutput) ToGetMetricsResultOutputWithContext(ctx context.Context) GetMetricsResultOutput
type LookupAlarmArgs ¶
type LookupAlarmArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId string `pulumi:"alarmId"` }
A collection of arguments for invoking getAlarm.
type LookupAlarmOutputArgs ¶
type LookupAlarmOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of an alarm. AlarmId pulumi.StringInput `pulumi:"alarmId"` }
A collection of arguments for invoking getAlarm.
func (LookupAlarmOutputArgs) ElementType ¶
func (LookupAlarmOutputArgs) ElementType() reflect.Type
type LookupAlarmResult ¶
type LookupAlarmResult struct { AlarmId string `pulumi:"alarmId"` // Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates). AlarmSummary string `pulumi:"alarmSummary"` // The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.` Body string `pulumi:"body"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm. CompartmentId string `pulumi:"compartmentId"` // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service. Destinations []string `pulumi:"destinations"` // A user-friendly name for the alarm. It does not have to be unique, and it's changeable. DisplayName string `pulumi:"displayName"` // Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset). EvaluationSlackDuration string `pulumi:"evaluationSlackDuration"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm. Id string `pulumi:"id"` // Whether the alarm is enabled. Example: `true` IsEnabled bool `pulumi:"isEnabled"` // Whether the alarm sends a separate message for each metric stream. See [Creating an Alarm That Splits Messages by Metric Stream](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). Example: `true` IsNotificationsPerMetricDimensionEnabled bool `pulumi:"isNotificationsPerMetricDimensionEnabled"` // The format to use for alarm notifications. The formats are: // * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. // * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. // * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only. MessageFormat string `pulumi:"messageFormat"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm. MetricCompartmentId string `pulumi:"metricCompartmentId"` // When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true` MetricCompartmentIdInSubtree bool `pulumi:"metricCompartmentIdInSubtree"` // The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent` Namespace string `pulumi:"namespace"` // Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message. NotificationTitle string `pulumi:"notificationTitle"` // The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X. NotificationVersion string `pulumi:"notificationVersion"` // A set of overrides that control evaluations of the alarm. Overrides []GetAlarmOverride `pulumi:"overrides"` // The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING". PendingDuration string `pulumi:"pendingDuration"` // The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices). Query string `pulumi:"query"` // The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D. RepeatNotificationDuration string `pulumi:"repeatNotificationDuration"` // The time between calculated aggregation windows for the alarm. Supported value: `1m` Resolution string `pulumi:"resolution"` // Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` ResourceGroup string `pulumi:"resourceGroup"` // Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see [AlarmOverride](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride). RuleName string `pulumi:"ruleName"` // The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL` Severity string `pulumi:"severity"` // The current lifecycle state of the alarm. Example: `DELETED` State string `pulumi:"state"` // The configuration details for suppressing an alarm. Suppressions []GetAlarmSuppressionType `pulumi:"suppressions"` // The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z` TimeCreated string `pulumi:"timeCreated"` // The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z` TimeUpdated string `pulumi:"timeUpdated"` }
A collection of values returned by getAlarm.
func LookupAlarm ¶
func LookupAlarm(ctx *pulumi.Context, args *LookupAlarmArgs, opts ...pulumi.InvokeOption) (*LookupAlarmResult, error)
This data source provides details about a specific Alarm resource in Oracle Cloud Infrastructure Monitoring service.
Gets the specified alarm. For more information, see [Getting an Alarm](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm.htm). For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.GetAlarm(ctx, &monitoring.GetAlarmArgs{ AlarmId: testAlarmOciMonitoringAlarm.Id, }, nil) if err != nil { return err } return nil }) }
```
type LookupAlarmResultOutput ¶
type LookupAlarmResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlarm.
func LookupAlarmOutput ¶
func LookupAlarmOutput(ctx *pulumi.Context, args LookupAlarmOutputArgs, opts ...pulumi.InvokeOption) LookupAlarmResultOutput
func (LookupAlarmResultOutput) AlarmId ¶
func (o LookupAlarmResultOutput) AlarmId() pulumi.StringOutput
func (LookupAlarmResultOutput) AlarmSummary ¶
func (o LookupAlarmResultOutput) AlarmSummary() pulumi.StringOutput
Customizable alarm summary (`alarmSummary` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The alarm summary appears within the body of the alarm message and in responses to [ListAlarmStatus](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmStatusSummary/ListAlarmsStatus) [GetAlarmHistory](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmHistoryCollection/GetAlarmHistory) and [RetrieveDimensionStates](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/AlarmDimensionStatesCollection/RetrieveDimensionStates).
func (LookupAlarmResultOutput) Body ¶
func (o LookupAlarmResultOutput) Body() pulumi.StringOutput
The human-readable content of the delivered alarm notification. Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). Oracle recommends providing guidance to operators for resolving the alarm condition. Consider adding links to standard runbook practices. Avoid entering confidential information. Example: `High CPU usage alert. Follow runbook instructions for resolution.`
func (LookupAlarmResultOutput) CompartmentId ¶
func (o LookupAlarmResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm.
func (LookupAlarmResultOutput) DefinedTags ¶
func (o LookupAlarmResultOutput) DefinedTags() pulumi.StringMapOutput
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
func (LookupAlarmResultOutput) Destinations ¶
func (o LookupAlarmResultOutput) Destinations() pulumi.StringArrayOutput
A list of destinations for alarm notifications. Each destination is represented by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a related resource, such as a [topic](https://docs.cloud.oracle.com/iaas/api/#/en/notification/latest/NotificationTopic). Supported destination services: Notifications, Streaming. Limit: One destination per supported destination service.
func (LookupAlarmResultOutput) DisplayName ¶
func (o LookupAlarmResultOutput) DisplayName() pulumi.StringOutput
A user-friendly name for the alarm. It does not have to be unique, and it's changeable.
func (LookupAlarmResultOutput) ElementType ¶
func (LookupAlarmResultOutput) ElementType() reflect.Type
func (LookupAlarmResultOutput) EvaluationSlackDuration ¶
func (o LookupAlarmResultOutput) EvaluationSlackDuration() pulumi.StringOutput
Customizable slack period to wait for metric ingestion before evaluating the alarm. Specify a string in ISO 8601 format (`PT10M` for ten minutes or `PT1H` for one hour). Minimum: PT3M. Maximum: PT2H. Default: PT3M. For more information about the slack period, see [About the Internal Reset Period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#reset).
func (LookupAlarmResultOutput) FreeformTags ¶
func (o LookupAlarmResultOutput) FreeformTags() pulumi.StringMapOutput
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
func (LookupAlarmResultOutput) Id ¶
func (o LookupAlarmResultOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm.
func (LookupAlarmResultOutput) IsEnabled ¶
func (o LookupAlarmResultOutput) IsEnabled() pulumi.BoolOutput
Whether the alarm is enabled. Example: `true`
func (LookupAlarmResultOutput) IsNotificationsPerMetricDimensionEnabled ¶
func (o LookupAlarmResultOutput) IsNotificationsPerMetricDimensionEnabled() pulumi.BoolOutput
Whether the alarm sends a separate message for each metric stream. See [Creating an Alarm That Splits Messages by Metric Stream](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-alarm-split.htm). Example: `true`
func (LookupAlarmResultOutput) MessageFormat ¶
func (o LookupAlarmResultOutput) MessageFormat() pulumi.StringOutput
The format to use for alarm notifications. The formats are: * `RAW` - Raw JSON blob. Default value. When the `destinations` attribute specifies `Streaming`, all alarm notifications use this format. * `PRETTY_JSON`: JSON with new lines and indents. Available when the `destinations` attribute specifies `Notifications` only. * `ONS_OPTIMIZED`: Simplified, user-friendly layout. Available when the `destinations` attribute specifies `Notifications` only. Applies to Email subscription types only.
func (LookupAlarmResultOutput) MetricCompartmentId ¶
func (o LookupAlarmResultOutput) MetricCompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric being evaluated by the alarm.
func (LookupAlarmResultOutput) MetricCompartmentIdInSubtree ¶
func (o LookupAlarmResultOutput) MetricCompartmentIdInSubtree() pulumi.BoolOutput
When true, the alarm evaluates metrics from all compartments and subcompartments. The parameter can only be set to true when metricCompartmentId is the tenancy OCID (the tenancy is the root compartment). A true value requires the user to have tenancy-level permissions. If this requirement is not met, then the call is rejected. When false, the alarm evaluates metrics from only the compartment specified in metricCompartmentId. Default is false. Example: `true`
func (LookupAlarmResultOutput) Namespace ¶
func (o LookupAlarmResultOutput) Namespace() pulumi.StringOutput
The source service or application emitting the metric that is evaluated by the alarm. Example: `ociComputeagent`
func (LookupAlarmResultOutput) NotificationTitle ¶
func (o LookupAlarmResultOutput) NotificationTitle() pulumi.StringOutput
Customizable notification title (`title` [alarm message parameter](https://docs.cloud.oracle.com/iaas/Content/Monitoring/alarm-message-format.htm)). Optionally include [dynamic variables](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/update-alarm-dynamic-variables.htm). The notification title appears as the subject line in a formatted email message and as the title in a Slack message.
func (LookupAlarmResultOutput) NotificationVersion ¶
func (o LookupAlarmResultOutput) NotificationVersion() pulumi.StringOutput
The version of the alarm notification to be delivered. Allowed value: `1.X` The value must start with a number (up to four digits), followed by a period and an uppercase X.
func (LookupAlarmResultOutput) Overrides ¶
func (o LookupAlarmResultOutput) Overrides() GetAlarmOverrideArrayOutput
A set of overrides that control evaluations of the alarm.
func (LookupAlarmResultOutput) PendingDuration ¶
func (o LookupAlarmResultOutput) PendingDuration() pulumi.StringOutput
The period of time that the condition defined in the alarm must persist before the alarm state changes from "OK" to "FIRING". For example, a value of 5 minutes means that the alarm must persist in breaching the condition for five minutes before the alarm updates its state to "FIRING".
func (LookupAlarmResultOutput) Query ¶
func (o LookupAlarmResultOutput) Query() pulumi.StringOutput
The Monitoring Query Language (MQL) expression to evaluate for the alarm. The Alarms feature of the Monitoring service interprets results for each returned time series as Boolean values, where zero represents false and a non-zero value represents true. A true value means that the trigger rule condition has been met. The query must specify a metric, statistic, interval, and trigger rule (threshold or absence). Supported values for interval depend on the specified time range. More interval values are supported for smaller time ranges. You can optionally specify dimensions and grouping functions. Also, you can customize the [absence detection period](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/create-edit-alarm-query-absence-detection-period.htm). Supported grouping functions: `grouping()`, `groupBy()`. For information about writing MQL expressions, see [Editing the MQL Expression for a Query](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/query-metric-mql.htm). For details about MQL, see [Monitoring Query Language (MQL) Reference](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Reference/mql.htm). For available dimensions, review the metric definition for the supported service. See [Supported Services](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#SupportedServices).
func (LookupAlarmResultOutput) RepeatNotificationDuration ¶
func (o LookupAlarmResultOutput) RepeatNotificationDuration() pulumi.StringOutput
The frequency for re-submitting alarm notifications, if the alarm keeps firing without interruption. Format defined by ISO 8601. For example, `PT4H` indicates four hours. Minimum: PT1M. Maximum: P30D.
func (LookupAlarmResultOutput) Resolution ¶
func (o LookupAlarmResultOutput) Resolution() pulumi.StringOutput
The time between calculated aggregation windows for the alarm. Supported value: `1m`
func (LookupAlarmResultOutput) ResourceGroup ¶
func (o LookupAlarmResultOutput) ResourceGroup() pulumi.StringOutput
Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet`
func (LookupAlarmResultOutput) RuleName ¶
func (o LookupAlarmResultOutput) RuleName() pulumi.StringOutput
Identifier of the alarm's base values for alarm evaluation, for use when the alarm contains overrides. Default value is `BASE`. For information about alarm overrides, see AlarmOverride(https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/AlarmOverride).
func (LookupAlarmResultOutput) Severity ¶
func (o LookupAlarmResultOutput) Severity() pulumi.StringOutput
The perceived type of response required when the alarm is in the "FIRING" state. Example: `CRITICAL`
func (LookupAlarmResultOutput) State ¶
func (o LookupAlarmResultOutput) State() pulumi.StringOutput
The current lifecycle state of the alarm. Example: `DELETED`
func (LookupAlarmResultOutput) Suppressions ¶
func (o LookupAlarmResultOutput) Suppressions() GetAlarmSuppressionTypeArrayOutput
The configuration details for suppressing an alarm.
func (LookupAlarmResultOutput) TimeCreated ¶
func (o LookupAlarmResultOutput) TimeCreated() pulumi.StringOutput
The date and time the alarm was created. Format defined by RFC3339. Example: `2023-02-01T01:02:29.600Z`
func (LookupAlarmResultOutput) TimeUpdated ¶
func (o LookupAlarmResultOutput) TimeUpdated() pulumi.StringOutput
The date and time the alarm was last updated. Format defined by RFC3339. Example: `2023-02-03T01:02:29.600Z`
func (LookupAlarmResultOutput) ToLookupAlarmResultOutput ¶
func (o LookupAlarmResultOutput) ToLookupAlarmResultOutput() LookupAlarmResultOutput
func (LookupAlarmResultOutput) ToLookupAlarmResultOutputWithContext ¶
func (o LookupAlarmResultOutput) ToLookupAlarmResultOutputWithContext(ctx context.Context) LookupAlarmResultOutput
type LookupAlarmSuppressionArgs ¶
type LookupAlarmSuppressionArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. AlarmSuppressionId string `pulumi:"alarmSuppressionId"` }
A collection of arguments for invoking getAlarmSuppression.
type LookupAlarmSuppressionOutputArgs ¶
type LookupAlarmSuppressionOutputArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. AlarmSuppressionId pulumi.StringInput `pulumi:"alarmSuppressionId"` }
A collection of arguments for invoking getAlarmSuppression.
func (LookupAlarmSuppressionOutputArgs) ElementType ¶
func (LookupAlarmSuppressionOutputArgs) ElementType() reflect.Type
type LookupAlarmSuppressionResult ¶
type LookupAlarmSuppressionResult struct { AlarmSuppressionId string `pulumi:"alarmSuppressionId"` // The target of the alarm suppression. AlarmSuppressionTargets []GetAlarmSuppressionAlarmSuppressionTarget `pulumi:"alarmSuppressionTargets"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression. CompartmentId string `pulumi:"compartmentId"` // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]string `pulumi:"definedTags"` // Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. Description string `pulumi:"description"` // Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}` Dimensions map[string]string `pulumi:"dimensions"` // A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName string `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression. Id string `pulumi:"id"` // The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions. Level string `pulumi:"level"` // The current lifecycle state of the alarm suppression. Example: `DELETED` State string `pulumi:"state"` // Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]` SuppressionConditions []GetAlarmSuppressionSuppressionCondition `pulumi:"suppressionConditions"` // The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z` TimeCreated string `pulumi:"timeCreated"` // The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z` TimeSuppressFrom string `pulumi:"timeSuppressFrom"` // The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T02:02:29.600Z` TimeSuppressUntil string `pulumi:"timeSuppressUntil"` // The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z` TimeUpdated string `pulumi:"timeUpdated"` }
A collection of values returned by getAlarmSuppression.
func LookupAlarmSuppression ¶
func LookupAlarmSuppression(ctx *pulumi.Context, args *LookupAlarmSuppressionArgs, opts ...pulumi.InvokeOption) (*LookupAlarmSuppressionResult, error)
This data source provides details about a specific Alarm Suppression resource in Oracle Cloud Infrastructure Monitoring service.
Gets the specified alarm suppression. For more information, see [Getting an Alarm-wide Suppression](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Tasks/get-alarm-suppression.htm).
For important limits information, see [Limits on Monitoring](https://docs.cloud.oracle.com/iaas/Content/Monitoring/Concepts/monitoringoverview.htm#limits).
This call is subject to a Monitoring limit that applies to the total number of requests across all alarm operations. Monitoring might throttle this call to reject an otherwise valid request when the total rate of alarm operations exceeds 10 requests, or transactions, per second (TPS) for a given tenancy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/monitoring" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := monitoring.GetAlarmSuppression(ctx, &monitoring.GetAlarmSuppressionArgs{ AlarmSuppressionId: testAlarmSuppressionOciMonitoringAlarmSuppression.Id, }, nil) if err != nil { return err } return nil }) }
```
type LookupAlarmSuppressionResultOutput ¶
type LookupAlarmSuppressionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAlarmSuppression.
func LookupAlarmSuppressionOutput ¶
func LookupAlarmSuppressionOutput(ctx *pulumi.Context, args LookupAlarmSuppressionOutputArgs, opts ...pulumi.InvokeOption) LookupAlarmSuppressionResultOutput
func (LookupAlarmSuppressionResultOutput) AlarmSuppressionId ¶
func (o LookupAlarmSuppressionResultOutput) AlarmSuppressionId() pulumi.StringOutput
func (LookupAlarmSuppressionResultOutput) AlarmSuppressionTargets ¶
func (o LookupAlarmSuppressionResultOutput) AlarmSuppressionTargets() GetAlarmSuppressionAlarmSuppressionTargetArrayOutput
The target of the alarm suppression.
func (LookupAlarmSuppressionResultOutput) CompartmentId ¶
func (o LookupAlarmSuppressionResultOutput) CompartmentId() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the alarm suppression.
func (LookupAlarmSuppressionResultOutput) DefinedTags ¶
func (o LookupAlarmSuppressionResultOutput) DefinedTags() pulumi.StringMapOutput
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"Operations.CostCenter": "42"}`
func (LookupAlarmSuppressionResultOutput) Description ¶
func (o LookupAlarmSuppressionResultOutput) Description() pulumi.StringOutput
Human-readable reason for this alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
func (LookupAlarmSuppressionResultOutput) Dimensions ¶
func (o LookupAlarmSuppressionResultOutput) Dimensions() pulumi.StringMapOutput
Configured dimension filter for suppressing alarm state entries that include the set of specified dimension key-value pairs. Example: `{"resourceId": "instance.region1.phx.exampleuniqueID"}`
func (LookupAlarmSuppressionResultOutput) DisplayName ¶
func (o LookupAlarmSuppressionResultOutput) DisplayName() pulumi.StringOutput
A user-friendly name for the alarm suppression. It does not have to be unique, and it's changeable. Avoid entering confidential information.
func (LookupAlarmSuppressionResultOutput) ElementType ¶
func (LookupAlarmSuppressionResultOutput) ElementType() reflect.Type
func (LookupAlarmSuppressionResultOutput) FreeformTags ¶
func (o LookupAlarmSuppressionResultOutput) FreeformTags() pulumi.StringMapOutput
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}`
func (LookupAlarmSuppressionResultOutput) Id ¶
func (o LookupAlarmSuppressionResultOutput) Id() pulumi.StringOutput
The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the alarm suppression.
func (LookupAlarmSuppressionResultOutput) Level ¶ added in v2.12.0
func (o LookupAlarmSuppressionResultOutput) Level() pulumi.StringOutput
The level of this alarm suppression. `ALARM` indicates a suppression of the entire alarm, regardless of dimension. `DIMENSION` indicates a suppression configured for specified dimensions.
func (LookupAlarmSuppressionResultOutput) State ¶
func (o LookupAlarmSuppressionResultOutput) State() pulumi.StringOutput
The current lifecycle state of the alarm suppression. Example: `DELETED`
func (LookupAlarmSuppressionResultOutput) SuppressionConditions ¶ added in v2.12.0
func (o LookupAlarmSuppressionResultOutput) SuppressionConditions() GetAlarmSuppressionSuppressionConditionArrayOutput
Array of all preconditions for alarm suppression. Example: `[{ conditionType: "RECURRENCE", suppressionRecurrence: "FRQ=DAILY;BYHOUR=10", suppressionDuration: "PT1H" }]`
func (LookupAlarmSuppressionResultOutput) TimeCreated ¶
func (o LookupAlarmSuppressionResultOutput) TimeCreated() pulumi.StringOutput
The date and time the alarm suppression was created. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
func (LookupAlarmSuppressionResultOutput) TimeSuppressFrom ¶
func (o LookupAlarmSuppressionResultOutput) TimeSuppressFrom() pulumi.StringOutput
The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T01:02:29.600Z`
func (LookupAlarmSuppressionResultOutput) TimeSuppressUntil ¶
func (o LookupAlarmSuppressionResultOutput) TimeSuppressUntil() pulumi.StringOutput
The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2018-02-01T02:02:29.600Z`
func (LookupAlarmSuppressionResultOutput) TimeUpdated ¶
func (o LookupAlarmSuppressionResultOutput) TimeUpdated() pulumi.StringOutput
The date and time the alarm suppression was last updated (deleted). Format defined by RFC3339. Example: `2018-02-03T01:02:29.600Z`
func (LookupAlarmSuppressionResultOutput) ToLookupAlarmSuppressionResultOutput ¶
func (o LookupAlarmSuppressionResultOutput) ToLookupAlarmSuppressionResultOutput() LookupAlarmSuppressionResultOutput
func (LookupAlarmSuppressionResultOutput) ToLookupAlarmSuppressionResultOutputWithContext ¶
func (o LookupAlarmSuppressionResultOutput) ToLookupAlarmSuppressionResultOutputWithContext(ctx context.Context) LookupAlarmSuppressionResultOutput