UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

251 lines (250 loc) 12.4 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataSafeAlertPolicyConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#alert_policy_type DataSafeAlertPolicy#alert_policy_type} */ readonly alertPolicyType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#compartment_id DataSafeAlertPolicy#compartment_id} */ readonly compartmentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#defined_tags DataSafeAlertPolicy#defined_tags} */ readonly definedTags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#description DataSafeAlertPolicy#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#display_name DataSafeAlertPolicy#display_name} */ readonly displayName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#freeform_tags DataSafeAlertPolicy#freeform_tags} */ readonly freeformTags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#id DataSafeAlertPolicy#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/data_safe_alert_policy#severity DataSafeAlertPolicy#severity} */ readonly severity: string; /** * alert_policy_rule_details block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#alert_policy_rule_details DataSafeAlertPolicy#alert_policy_rule_details} */ readonly alertPolicyRuleDetails?: DataSafeAlertPolicyAlertPolicyRuleDetails[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#timeouts DataSafeAlertPolicy#timeouts} */ readonly timeouts?: DataSafeAlertPolicyTimeouts; } export interface DataSafeAlertPolicyAlertPolicyRuleDetails { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#description DataSafeAlertPolicy#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#display_name DataSafeAlertPolicy#display_name} */ readonly displayName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#expression DataSafeAlertPolicy#expression} */ readonly expression: string; } export declare function dataSafeAlertPolicyAlertPolicyRuleDetailsToTerraform(struct?: DataSafeAlertPolicyAlertPolicyRuleDetails | cdktf.IResolvable): any; export declare function dataSafeAlertPolicyAlertPolicyRuleDetailsToHclTerraform(struct?: DataSafeAlertPolicyAlertPolicyRuleDetails | cdktf.IResolvable): any; export declare class DataSafeAlertPolicyAlertPolicyRuleDetailsOutputReference 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(): DataSafeAlertPolicyAlertPolicyRuleDetails | cdktf.IResolvable | undefined; set internalValue(value: DataSafeAlertPolicyAlertPolicyRuleDetails | cdktf.IResolvable | undefined); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string | undefined; private _displayName?; get displayName(): string; set displayName(value: string); resetDisplayName(): void; get displayNameInput(): string | undefined; private _expression?; get expression(): string; set expression(value: string); get expressionInput(): string | undefined; } export declare class DataSafeAlertPolicyAlertPolicyRuleDetailsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DataSafeAlertPolicyAlertPolicyRuleDetails[] | 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): DataSafeAlertPolicyAlertPolicyRuleDetailsOutputReference; } export interface DataSafeAlertPolicyTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#create DataSafeAlertPolicy#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#delete DataSafeAlertPolicy#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#update DataSafeAlertPolicy#update} */ readonly update?: string; } export declare function dataSafeAlertPolicyTimeoutsToTerraform(struct?: DataSafeAlertPolicyTimeouts | cdktf.IResolvable): any; export declare function dataSafeAlertPolicyTimeoutsToHclTerraform(struct?: DataSafeAlertPolicyTimeouts | cdktf.IResolvable): any; export declare class DataSafeAlertPolicyTimeoutsOutputReference 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(): DataSafeAlertPolicyTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DataSafeAlertPolicyTimeouts | 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/data_safe_alert_policy oci_data_safe_alert_policy} */ export declare class DataSafeAlertPolicy extends cdktf.TerraformResource { static readonly tfResourceType = "oci_data_safe_alert_policy"; /** * Generates CDKTF code for importing a DataSafeAlertPolicy 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 DataSafeAlertPolicy to import * @param importFromId The id of the existing DataSafeAlertPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/data_safe_alert_policy#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataSafeAlertPolicy 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/data_safe_alert_policy oci_data_safe_alert_policy} 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 DataSafeAlertPolicyConfig */ constructor(scope: Construct, id: string, config: DataSafeAlertPolicyConfig); private _alertPolicyType?; get alertPolicyType(): string; set alertPolicyType(value: string); get alertPolicyTypeInput(): 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 _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string | undefined; private _displayName?; get displayName(): string; set displayName(value: string); resetDisplayName(): void; get displayNameInput(): 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; get isUserDefined(): cdktf.IResolvable; get lifecycleDetails(): string; private _severity?; get severity(): string; set severity(value: string); get severityInput(): string | undefined; get state(): string; private _systemTags; get systemTags(): cdktf.StringMap; get timeCreated(): string; get timeUpdated(): string; private _alertPolicyRuleDetails; get alertPolicyRuleDetails(): DataSafeAlertPolicyAlertPolicyRuleDetailsList; putAlertPolicyRuleDetails(value: DataSafeAlertPolicyAlertPolicyRuleDetails[] | cdktf.IResolvable): void; resetAlertPolicyRuleDetails(): void; get alertPolicyRuleDetailsInput(): cdktf.IResolvable | DataSafeAlertPolicyAlertPolicyRuleDetails[] | undefined; private _timeouts; get timeouts(): DataSafeAlertPolicyTimeoutsOutputReference; putTimeouts(value: DataSafeAlertPolicyTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | DataSafeAlertPolicyTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }