rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
144 lines (143 loc) • 7.36 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciMonitoringAlarmConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarm#alarm_id DataOciMonitoringAlarm#alarm_id}
*/
readonly alarmId: string;
}
export interface DataOciMonitoringAlarmOverrides {
}
export declare function dataOciMonitoringAlarmOverridesToTerraform(struct?: DataOciMonitoringAlarmOverrides): any;
export declare function dataOciMonitoringAlarmOverridesToHclTerraform(struct?: DataOciMonitoringAlarmOverrides): any;
export declare class DataOciMonitoringAlarmOverridesOutputReference 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(): DataOciMonitoringAlarmOverrides | undefined;
set internalValue(value: DataOciMonitoringAlarmOverrides | undefined);
get body(): string;
get pendingDuration(): string;
get query(): string;
get ruleName(): string;
get severity(): string;
}
export declare class DataOciMonitoringAlarmOverridesList 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): DataOciMonitoringAlarmOverridesOutputReference;
}
export interface DataOciMonitoringAlarmSuppression {
}
export declare function dataOciMonitoringAlarmSuppressionToTerraform(struct?: DataOciMonitoringAlarmSuppression): any;
export declare function dataOciMonitoringAlarmSuppressionToHclTerraform(struct?: DataOciMonitoringAlarmSuppression): any;
export declare class DataOciMonitoringAlarmSuppressionOutputReference 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(): DataOciMonitoringAlarmSuppression | undefined;
set internalValue(value: DataOciMonitoringAlarmSuppression | undefined);
get description(): string;
get timeSuppressFrom(): string;
get timeSuppressUntil(): string;
}
export declare class DataOciMonitoringAlarmSuppressionList 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): DataOciMonitoringAlarmSuppressionOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/monitoring_alarm oci_monitoring_alarm}
*/
export declare class DataOciMonitoringAlarm extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_monitoring_alarm";
/**
* Generates CDKTF code for importing a DataOciMonitoringAlarm 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 DataOciMonitoringAlarm to import
* @param importFromId The id of the existing DataOciMonitoringAlarm that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/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 DataOciMonitoringAlarm 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_alarm oci_monitoring_alarm} 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 DataOciMonitoringAlarmConfig
*/
constructor(scope: Construct, id: string, config: DataOciMonitoringAlarmConfig);
private _alarmId?;
get alarmId(): string;
set alarmId(value: string);
get alarmIdInput(): string | 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(): DataOciMonitoringAlarmOverridesList;
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(): DataOciMonitoringAlarmSuppressionList;
get timeCreated(): string;
get timeUpdated(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}