UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

455 lines (454 loc) 22 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface MonitoringAlarmConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#alarm_summary MonitoringAlarm#alarm_summary} */ readonly alarmSummary?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#body MonitoringAlarm#body} */ readonly body?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#compartment_id MonitoringAlarm#compartment_id} */ readonly compartmentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#defined_tags MonitoringAlarm#defined_tags} */ readonly definedTags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#destinations MonitoringAlarm#destinations} */ readonly destinations: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#display_name MonitoringAlarm#display_name} */ readonly displayName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#evaluation_slack_duration MonitoringAlarm#evaluation_slack_duration} */ readonly evaluationSlackDuration?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#freeform_tags MonitoringAlarm#freeform_tags} */ readonly freeformTags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#id MonitoringAlarm#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#is_enabled MonitoringAlarm#is_enabled} */ readonly isEnabled: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#is_notifications_per_metric_dimension_enabled MonitoringAlarm#is_notifications_per_metric_dimension_enabled} */ readonly isNotificationsPerMetricDimensionEnabled?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#message_format MonitoringAlarm#message_format} */ readonly messageFormat?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#metric_compartment_id MonitoringAlarm#metric_compartment_id} */ readonly metricCompartmentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#metric_compartment_id_in_subtree MonitoringAlarm#metric_compartment_id_in_subtree} */ readonly metricCompartmentIdInSubtree?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#namespace MonitoringAlarm#namespace} */ readonly namespace: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#notification_title MonitoringAlarm#notification_title} */ readonly notificationTitle?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#notification_version MonitoringAlarm#notification_version} */ readonly notificationVersion?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#pending_duration MonitoringAlarm#pending_duration} */ readonly pendingDuration?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#query MonitoringAlarm#query} */ readonly query: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#repeat_notification_duration MonitoringAlarm#repeat_notification_duration} */ readonly repeatNotificationDuration?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#resolution MonitoringAlarm#resolution} */ readonly resolution?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#resource_group MonitoringAlarm#resource_group} */ readonly resourceGroup?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#rule_name MonitoringAlarm#rule_name} */ readonly ruleName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#severity MonitoringAlarm#severity} */ readonly severity: string; /** * overrides block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#overrides MonitoringAlarm#overrides} */ readonly overrides?: MonitoringAlarmOverrides[] | cdktf.IResolvable; /** * suppression block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#suppression MonitoringAlarm#suppression} */ readonly suppression?: MonitoringAlarmSuppression; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#timeouts MonitoringAlarm#timeouts} */ readonly timeouts?: MonitoringAlarmTimeouts; } export interface MonitoringAlarmOverrides { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#body MonitoringAlarm#body} */ readonly body?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#pending_duration MonitoringAlarm#pending_duration} */ readonly pendingDuration?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#query MonitoringAlarm#query} */ readonly query?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#rule_name MonitoringAlarm#rule_name} */ readonly ruleName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#severity MonitoringAlarm#severity} */ readonly severity?: string; } export declare function monitoringAlarmOverridesToTerraform(struct?: MonitoringAlarmOverrides | cdktf.IResolvable): any; export declare function monitoringAlarmOverridesToHclTerraform(struct?: MonitoringAlarmOverrides | cdktf.IResolvable): any; export declare class MonitoringAlarmOverridesOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): MonitoringAlarmOverrides | cdktf.IResolvable | undefined; set internalValue(value: MonitoringAlarmOverrides | cdktf.IResolvable | undefined); private _body?; get body(): string; set body(value: string); resetBody(): void; get bodyInput(): string | undefined; private _pendingDuration?; get pendingDuration(): string; set pendingDuration(value: string); resetPendingDuration(): void; get pendingDurationInput(): string | undefined; private _query?; get query(): string; set query(value: string); resetQuery(): void; get queryInput(): string | undefined; private _ruleName?; get ruleName(): string; set ruleName(value: string); resetRuleName(): void; get ruleNameInput(): string | undefined; private _severity?; get severity(): string; set severity(value: string); resetSeverity(): void; get severityInput(): string | undefined; } export declare class MonitoringAlarmOverridesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: MonitoringAlarmOverrides[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): MonitoringAlarmOverridesOutputReference; } export interface MonitoringAlarmSuppression { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#description MonitoringAlarm#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#time_suppress_from MonitoringAlarm#time_suppress_from} */ readonly timeSuppressFrom: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#time_suppress_until MonitoringAlarm#time_suppress_until} */ readonly timeSuppressUntil: string; } export declare function monitoringAlarmSuppressionToTerraform(struct?: MonitoringAlarmSuppressionOutputReference | MonitoringAlarmSuppression): any; export declare function monitoringAlarmSuppressionToHclTerraform(struct?: MonitoringAlarmSuppressionOutputReference | MonitoringAlarmSuppression): any; export declare class MonitoringAlarmSuppressionOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MonitoringAlarmSuppression | undefined; set internalValue(value: MonitoringAlarmSuppression | undefined); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string | undefined; private _timeSuppressFrom?; get timeSuppressFrom(): string; set timeSuppressFrom(value: string); get timeSuppressFromInput(): string | undefined; private _timeSuppressUntil?; get timeSuppressUntil(): string; set timeSuppressUntil(value: string); get timeSuppressUntilInput(): string | undefined; } export interface MonitoringAlarmTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#create MonitoringAlarm#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#delete MonitoringAlarm#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#update MonitoringAlarm#update} */ readonly update?: string; } export declare function monitoringAlarmTimeoutsToTerraform(struct?: MonitoringAlarmTimeouts | cdktf.IResolvable): any; export declare function monitoringAlarmTimeoutsToHclTerraform(struct?: MonitoringAlarmTimeouts | cdktf.IResolvable): any; export declare class MonitoringAlarmTimeoutsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): MonitoringAlarmTimeouts | cdktf.IResolvable | undefined; set internalValue(value: MonitoringAlarmTimeouts | cdktf.IResolvable | undefined); private _create?; get create(): string; set create(value: string); resetCreate(): void; get createInput(): string | undefined; private _delete?; get delete(): string; set delete(value: string); resetDelete(): void; get deleteInput(): string | undefined; private _update?; get update(): string; set update(value: string); resetUpdate(): void; get updateInput(): string | undefined; } /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm oci_monitoring_alarm} */ export declare class MonitoringAlarm extends cdktf.TerraformResource { static readonly tfResourceType = "oci_monitoring_alarm"; /** * Generates CDKTF code for importing a MonitoringAlarm resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the MonitoringAlarm to import * @param importFromId The id of the existing MonitoringAlarm that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the MonitoringAlarm to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/monitoring_alarm oci_monitoring_alarm} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options MonitoringAlarmConfig */ constructor(scope: Construct, id: string, config: MonitoringAlarmConfig); private _alarmSummary?; get alarmSummary(): string; set alarmSummary(value: string); resetAlarmSummary(): void; get alarmSummaryInput(): string | undefined; private _body?; get body(): string; set body(value: string); resetBody(): void; get bodyInput(): string | undefined; private _compartmentId?; get compartmentId(): string; set compartmentId(value: string); get compartmentIdInput(): string | undefined; private _definedTags?; get definedTags(): { [key: string]: string; }; set definedTags(value: { [key: string]: string; }); resetDefinedTags(): void; get definedTagsInput(): { [key: string]: string; } | undefined; private _destinations?; get destinations(): string[]; set destinations(value: string[]); get destinationsInput(): string[] | undefined; private _displayName?; get displayName(): string; set displayName(value: string); get displayNameInput(): string | undefined; private _evaluationSlackDuration?; get evaluationSlackDuration(): string; set evaluationSlackDuration(value: string); resetEvaluationSlackDuration(): void; get evaluationSlackDurationInput(): string | undefined; private _freeformTags?; get freeformTags(): { [key: string]: string; }; set freeformTags(value: { [key: string]: string; }); resetFreeformTags(): void; get freeformTagsInput(): { [key: string]: string; } | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _isEnabled?; get isEnabled(): boolean | cdktf.IResolvable; set isEnabled(value: boolean | cdktf.IResolvable); get isEnabledInput(): boolean | cdktf.IResolvable | undefined; private _isNotificationsPerMetricDimensionEnabled?; get isNotificationsPerMetricDimensionEnabled(): boolean | cdktf.IResolvable; set isNotificationsPerMetricDimensionEnabled(value: boolean | cdktf.IResolvable); resetIsNotificationsPerMetricDimensionEnabled(): void; get isNotificationsPerMetricDimensionEnabledInput(): boolean | cdktf.IResolvable | undefined; private _messageFormat?; get messageFormat(): string; set messageFormat(value: string); resetMessageFormat(): void; get messageFormatInput(): string | undefined; private _metricCompartmentId?; get metricCompartmentId(): string; set metricCompartmentId(value: string); get metricCompartmentIdInput(): string | undefined; private _metricCompartmentIdInSubtree?; get metricCompartmentIdInSubtree(): boolean | cdktf.IResolvable; set metricCompartmentIdInSubtree(value: boolean | cdktf.IResolvable); resetMetricCompartmentIdInSubtree(): void; get metricCompartmentIdInSubtreeInput(): boolean | cdktf.IResolvable | undefined; private _namespace?; get namespace(): string; set namespace(value: string); get namespaceInput(): string | undefined; private _notificationTitle?; get notificationTitle(): string; set notificationTitle(value: string); resetNotificationTitle(): void; get notificationTitleInput(): string | undefined; private _notificationVersion?; get notificationVersion(): string; set notificationVersion(value: string); resetNotificationVersion(): void; get notificationVersionInput(): string | undefined; private _pendingDuration?; get pendingDuration(): string; set pendingDuration(value: string); resetPendingDuration(): void; get pendingDurationInput(): string | undefined; private _query?; get query(): string; set query(value: string); get queryInput(): string | undefined; private _repeatNotificationDuration?; get repeatNotificationDuration(): string; set repeatNotificationDuration(value: string); resetRepeatNotificationDuration(): void; get repeatNotificationDurationInput(): string | undefined; private _resolution?; get resolution(): string; set resolution(value: string); resetResolution(): void; get resolutionInput(): string | undefined; private _resourceGroup?; get resourceGroup(): string; set resourceGroup(value: string); resetResourceGroup(): void; get resourceGroupInput(): string | undefined; private _ruleName?; get ruleName(): string; set ruleName(value: string); resetRuleName(): void; get ruleNameInput(): string | undefined; private _severity?; get severity(): string; set severity(value: string); get severityInput(): string | undefined; get state(): string; get timeCreated(): string; get timeUpdated(): string; private _overrides; get overrides(): MonitoringAlarmOverridesList; putOverrides(value: MonitoringAlarmOverrides[] | cdktf.IResolvable): void; resetOverrides(): void; get overridesInput(): cdktf.IResolvable | MonitoringAlarmOverrides[] | undefined; private _suppression; get suppression(): MonitoringAlarmSuppressionOutputReference; putSuppression(value: MonitoringAlarmSuppression): void; resetSuppression(): void; get suppressionInput(): MonitoringAlarmSuppression | undefined; private _timeouts; get timeouts(): MonitoringAlarmTimeoutsOutputReference; putTimeouts(value: MonitoringAlarmTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | MonitoringAlarmTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }