rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
285 lines (284 loc) • 15.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciMonitoringAlarmsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#compartment_id DataOciMonitoringAlarms#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#compartment_id_in_subtree DataOciMonitoringAlarms#compartment_id_in_subtree}
*/
readonly compartmentIdInSubtree?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#display_name DataOciMonitoringAlarms#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#id DataOciMonitoringAlarms#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/data-sources/monitoring_alarms#state DataOciMonitoringAlarms#state}
*/
readonly state?: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#filter DataOciMonitoringAlarms#filter}
*/
readonly filter?: DataOciMonitoringAlarmsFilter[] | cdktf.IResolvable;
}
export interface DataOciMonitoringAlarmsAlarmsOverrides {
}
export declare function dataOciMonitoringAlarmsAlarmsOverridesToTerraform(struct?: DataOciMonitoringAlarmsAlarmsOverrides): any;
export declare function dataOciMonitoringAlarmsAlarmsOverridesToHclTerraform(struct?: DataOciMonitoringAlarmsAlarmsOverrides): any;
export declare class DataOciMonitoringAlarmsAlarmsOverridesOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataOciMonitoringAlarmsAlarmsOverrides | undefined;
set internalValue(value: DataOciMonitoringAlarmsAlarmsOverrides | undefined);
get body(): string;
get pendingDuration(): string;
get query(): string;
get ruleName(): string;
get severity(): string;
}
export declare class DataOciMonitoringAlarmsAlarmsOverridesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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): DataOciMonitoringAlarmsAlarmsOverridesOutputReference;
}
export interface DataOciMonitoringAlarmsAlarmsSuppression {
}
export declare function dataOciMonitoringAlarmsAlarmsSuppressionToTerraform(struct?: DataOciMonitoringAlarmsAlarmsSuppression): any;
export declare function dataOciMonitoringAlarmsAlarmsSuppressionToHclTerraform(struct?: DataOciMonitoringAlarmsAlarmsSuppression): any;
export declare class DataOciMonitoringAlarmsAlarmsSuppressionOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataOciMonitoringAlarmsAlarmsSuppression | undefined;
set internalValue(value: DataOciMonitoringAlarmsAlarmsSuppression | undefined);
get description(): string;
get timeSuppressFrom(): string;
get timeSuppressUntil(): string;
}
export declare class DataOciMonitoringAlarmsAlarmsSuppressionList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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): DataOciMonitoringAlarmsAlarmsSuppressionOutputReference;
}
export interface DataOciMonitoringAlarmsAlarms {
}
export declare function dataOciMonitoringAlarmsAlarmsToTerraform(struct?: DataOciMonitoringAlarmsAlarms): any;
export declare function dataOciMonitoringAlarmsAlarmsToHclTerraform(struct?: DataOciMonitoringAlarmsAlarms): any;
export declare class DataOciMonitoringAlarmsAlarmsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): DataOciMonitoringAlarmsAlarms | undefined;
set internalValue(value: DataOciMonitoringAlarmsAlarms | undefined);
get alarmSummary(): string;
get body(): string;
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get destinations(): string[];
get displayName(): string;
get evaluationSlackDuration(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get isEnabled(): cdktf.IResolvable;
get isNotificationsPerMetricDimensionEnabled(): cdktf.IResolvable;
get messageFormat(): string;
get metricCompartmentId(): string;
get metricCompartmentIdInSubtree(): cdktf.IResolvable;
get namespace(): string;
get notificationTitle(): string;
get notificationVersion(): string;
private _overrides;
get overrides(): DataOciMonitoringAlarmsAlarmsOverridesList;
get pendingDuration(): string;
get query(): string;
get repeatNotificationDuration(): string;
get resolution(): string;
get resourceGroup(): string;
get ruleName(): string;
get severity(): string;
get state(): string;
private _suppression;
get suppression(): DataOciMonitoringAlarmsAlarmsSuppressionList;
get timeCreated(): string;
get timeUpdated(): string;
}
export declare class DataOciMonitoringAlarmsAlarmsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
/**
* @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): DataOciMonitoringAlarmsAlarmsOutputReference;
}
export interface DataOciMonitoringAlarmsFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#name DataOciMonitoringAlarms#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#regex DataOciMonitoringAlarms#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#values DataOciMonitoringAlarms#values}
*/
readonly values: string[];
}
export declare function dataOciMonitoringAlarmsFilterToTerraform(struct?: DataOciMonitoringAlarmsFilter | cdktf.IResolvable): any;
export declare function dataOciMonitoringAlarmsFilterToHclTerraform(struct?: DataOciMonitoringAlarmsFilter | cdktf.IResolvable): any;
export declare class DataOciMonitoringAlarmsFilterOutputReference 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(): DataOciMonitoringAlarmsFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciMonitoringAlarmsFilter | cdktf.IResolvable | undefined);
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _regex?;
get regex(): boolean | cdktf.IResolvable;
set regex(value: boolean | cdktf.IResolvable);
resetRegex(): void;
get regexInput(): boolean | cdktf.IResolvable | undefined;
private _values?;
get values(): string[];
set values(value: string[]);
get valuesInput(): string[] | undefined;
}
export declare class DataOciMonitoringAlarmsFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciMonitoringAlarmsFilter[] | 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): DataOciMonitoringAlarmsFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms oci_monitoring_alarms}
*/
export declare class DataOciMonitoringAlarms extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_monitoring_alarms";
/**
* Generates CDKTF code for importing a DataOciMonitoringAlarms 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 DataOciMonitoringAlarms to import
* @param importFromId The id of the existing DataOciMonitoringAlarms that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarms#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciMonitoringAlarms 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/data-sources/monitoring_alarms oci_monitoring_alarms} Data Source
*
* @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 DataOciMonitoringAlarmsConfig
*/
constructor(scope: Construct, id: string, config: DataOciMonitoringAlarmsConfig);
private _alarms;
get alarms(): DataOciMonitoringAlarmsAlarmsList;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _compartmentIdInSubtree?;
get compartmentIdInSubtree(): boolean | cdktf.IResolvable;
set compartmentIdInSubtree(value: boolean | cdktf.IResolvable);
resetCompartmentIdInSubtree(): void;
get compartmentIdInSubtreeInput(): boolean | cdktf.IResolvable | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _state?;
get state(): string;
set state(value: string);
resetState(): void;
get stateInput(): string | undefined;
private _filter;
get filter(): DataOciMonitoringAlarmsFilterList;
putFilter(value: DataOciMonitoringAlarmsFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciMonitoringAlarmsFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}