rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
322 lines (321 loc) • 18.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciDataSafeAlertPoliciesConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#access_level DataOciDataSafeAlertPolicies#access_level}
*/
readonly accessLevel?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#alert_policy_id DataOciDataSafeAlertPolicies#alert_policy_id}
*/
readonly alertPolicyId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#compartment_id DataOciDataSafeAlertPolicies#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#compartment_id_in_subtree DataOciDataSafeAlertPolicies#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/data_safe_alert_policies#display_name DataOciDataSafeAlertPolicies#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#id DataOciDataSafeAlertPolicies#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/data_safe_alert_policies#is_user_defined DataOciDataSafeAlertPolicies#is_user_defined}
*/
readonly isUserDefined?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#state DataOciDataSafeAlertPolicies#state}
*/
readonly state?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#time_created_greater_than_or_equal_to DataOciDataSafeAlertPolicies#time_created_greater_than_or_equal_to}
*/
readonly timeCreatedGreaterThanOrEqualTo?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#time_created_less_than DataOciDataSafeAlertPolicies#time_created_less_than}
*/
readonly timeCreatedLessThan?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#type DataOciDataSafeAlertPolicies#type}
*/
readonly type?: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#filter DataOciDataSafeAlertPolicies#filter}
*/
readonly filter?: DataOciDataSafeAlertPoliciesFilter[] | cdktf.IResolvable;
}
export interface DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetails {
}
export declare function dataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetailsToTerraform(struct?: DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetails): any;
export declare function dataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetailsToHclTerraform(struct?: DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetails): any;
export declare class DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetailsOutputReference 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(): DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetails | undefined;
set internalValue(value: DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetails | undefined);
get description(): string;
get displayName(): string;
get expression(): string;
}
export declare class DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetailsList 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): DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetailsOutputReference;
}
export interface DataOciDataSafeAlertPoliciesAlertPolicyCollectionItems {
}
export declare function dataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsToTerraform(struct?: DataOciDataSafeAlertPoliciesAlertPolicyCollectionItems): any;
export declare function dataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsToHclTerraform(struct?: DataOciDataSafeAlertPoliciesAlertPolicyCollectionItems): any;
export declare class DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsOutputReference 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(): DataOciDataSafeAlertPoliciesAlertPolicyCollectionItems | undefined;
set internalValue(value: DataOciDataSafeAlertPoliciesAlertPolicyCollectionItems | undefined);
private _alertPolicyRuleDetails;
get alertPolicyRuleDetails(): DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsAlertPolicyRuleDetailsList;
get alertPolicyType(): string;
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get description(): string;
get displayName(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get isUserDefined(): cdktf.IResolvable;
get lifecycleDetails(): string;
get severity(): string;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeUpdated(): string;
}
export declare class DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsList 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): DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsOutputReference;
}
export interface DataOciDataSafeAlertPoliciesAlertPolicyCollection {
}
export declare function dataOciDataSafeAlertPoliciesAlertPolicyCollectionToTerraform(struct?: DataOciDataSafeAlertPoliciesAlertPolicyCollection): any;
export declare function dataOciDataSafeAlertPoliciesAlertPolicyCollectionToHclTerraform(struct?: DataOciDataSafeAlertPoliciesAlertPolicyCollection): any;
export declare class DataOciDataSafeAlertPoliciesAlertPolicyCollectionOutputReference 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(): DataOciDataSafeAlertPoliciesAlertPolicyCollection | undefined;
set internalValue(value: DataOciDataSafeAlertPoliciesAlertPolicyCollection | undefined);
private _items;
get items(): DataOciDataSafeAlertPoliciesAlertPolicyCollectionItemsList;
}
export declare class DataOciDataSafeAlertPoliciesAlertPolicyCollectionList 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): DataOciDataSafeAlertPoliciesAlertPolicyCollectionOutputReference;
}
export interface DataOciDataSafeAlertPoliciesFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#name DataOciDataSafeAlertPolicies#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#regex DataOciDataSafeAlertPolicies#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#values DataOciDataSafeAlertPolicies#values}
*/
readonly values: string[];
}
export declare function dataOciDataSafeAlertPoliciesFilterToTerraform(struct?: DataOciDataSafeAlertPoliciesFilter | cdktf.IResolvable): any;
export declare function dataOciDataSafeAlertPoliciesFilterToHclTerraform(struct?: DataOciDataSafeAlertPoliciesFilter | cdktf.IResolvable): any;
export declare class DataOciDataSafeAlertPoliciesFilterOutputReference 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(): DataOciDataSafeAlertPoliciesFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciDataSafeAlertPoliciesFilter | 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 DataOciDataSafeAlertPoliciesFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciDataSafeAlertPoliciesFilter[] | 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): DataOciDataSafeAlertPoliciesFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies oci_data_safe_alert_policies}
*/
export declare class DataOciDataSafeAlertPolicies extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_data_safe_alert_policies";
/**
* Generates CDKTF code for importing a DataOciDataSafeAlertPolicies 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 DataOciDataSafeAlertPolicies to import
* @param importFromId The id of the existing DataOciDataSafeAlertPolicies that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_alert_policies#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciDataSafeAlertPolicies 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/data_safe_alert_policies oci_data_safe_alert_policies} 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 DataOciDataSafeAlertPoliciesConfig
*/
constructor(scope: Construct, id: string, config: DataOciDataSafeAlertPoliciesConfig);
private _accessLevel?;
get accessLevel(): string;
set accessLevel(value: string);
resetAccessLevel(): void;
get accessLevelInput(): string | undefined;
private _alertPolicyCollection;
get alertPolicyCollection(): DataOciDataSafeAlertPoliciesAlertPolicyCollectionList;
private _alertPolicyId?;
get alertPolicyId(): string;
set alertPolicyId(value: string);
resetAlertPolicyId(): void;
get alertPolicyIdInput(): string | undefined;
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 _isUserDefined?;
get isUserDefined(): boolean | cdktf.IResolvable;
set isUserDefined(value: boolean | cdktf.IResolvable);
resetIsUserDefined(): void;
get isUserDefinedInput(): boolean | cdktf.IResolvable | undefined;
private _state?;
get state(): string;
set state(value: string);
resetState(): void;
get stateInput(): string | undefined;
private _timeCreatedGreaterThanOrEqualTo?;
get timeCreatedGreaterThanOrEqualTo(): string;
set timeCreatedGreaterThanOrEqualTo(value: string);
resetTimeCreatedGreaterThanOrEqualTo(): void;
get timeCreatedGreaterThanOrEqualToInput(): string | undefined;
private _timeCreatedLessThan?;
get timeCreatedLessThan(): string;
set timeCreatedLessThan(value: string);
resetTimeCreatedLessThan(): void;
get timeCreatedLessThanInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
resetType(): void;
get typeInput(): string | undefined;
private _filter;
get filter(): DataOciDataSafeAlertPoliciesFilterList;
putFilter(value: DataOciDataSafeAlertPoliciesFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciDataSafeAlertPoliciesFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}