rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
231 lines (230 loc) • 12.6 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciDataSafeListUserGrantsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#depth_level DataOciDataSafeListUserGrants#depth_level}
*/
readonly depthLevel?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#depth_level_greater_than_or_equal_to DataOciDataSafeListUserGrants#depth_level_greater_than_or_equal_to}
*/
readonly depthLevelGreaterThanOrEqualTo?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#depth_level_less_than DataOciDataSafeListUserGrants#depth_level_less_than}
*/
readonly depthLevelLessThan?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#grant_key DataOciDataSafeListUserGrants#grant_key}
*/
readonly grantKey?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#grant_name DataOciDataSafeListUserGrants#grant_name}
*/
readonly grantName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#id DataOciDataSafeListUserGrants#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_list_user_grants#privilege_category DataOciDataSafeListUserGrants#privilege_category}
*/
readonly privilegeCategory?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#privilege_type DataOciDataSafeListUserGrants#privilege_type}
*/
readonly privilegeType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#user_assessment_id DataOciDataSafeListUserGrants#user_assessment_id}
*/
readonly userAssessmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#user_key DataOciDataSafeListUserGrants#user_key}
*/
readonly userKey: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#filter DataOciDataSafeListUserGrants#filter}
*/
readonly filter?: DataOciDataSafeListUserGrantsFilter[] | cdktf.IResolvable;
}
export interface DataOciDataSafeListUserGrantsGrants {
}
export declare function dataOciDataSafeListUserGrantsGrantsToTerraform(struct?: DataOciDataSafeListUserGrantsGrants): any;
export declare function dataOciDataSafeListUserGrantsGrantsToHclTerraform(struct?: DataOciDataSafeListUserGrantsGrants): any;
export declare class DataOciDataSafeListUserGrantsGrantsOutputReference 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(): DataOciDataSafeListUserGrantsGrants | undefined;
set internalValue(value: DataOciDataSafeListUserGrantsGrants | undefined);
get depthLevel(): number;
get grantName(): string;
get key(): string;
get privilegeCategory(): string;
get privilegeType(): string;
}
export declare class DataOciDataSafeListUserGrantsGrantsList 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): DataOciDataSafeListUserGrantsGrantsOutputReference;
}
export interface DataOciDataSafeListUserGrantsFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#name DataOciDataSafeListUserGrants#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#regex DataOciDataSafeListUserGrants#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_list_user_grants#values DataOciDataSafeListUserGrants#values}
*/
readonly values: string[];
}
export declare function dataOciDataSafeListUserGrantsFilterToTerraform(struct?: DataOciDataSafeListUserGrantsFilter | cdktf.IResolvable): any;
export declare function dataOciDataSafeListUserGrantsFilterToHclTerraform(struct?: DataOciDataSafeListUserGrantsFilter | cdktf.IResolvable): any;
export declare class DataOciDataSafeListUserGrantsFilterOutputReference 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(): DataOciDataSafeListUserGrantsFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciDataSafeListUserGrantsFilter | 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 DataOciDataSafeListUserGrantsFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciDataSafeListUserGrantsFilter[] | 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): DataOciDataSafeListUserGrantsFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants oci_data_safe_list_user_grants}
*/
export declare class DataOciDataSafeListUserGrants extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_data_safe_list_user_grants";
/**
* Generates CDKTF code for importing a DataOciDataSafeListUserGrants 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 DataOciDataSafeListUserGrants to import
* @param importFromId The id of the existing DataOciDataSafeListUserGrants that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/data_safe_list_user_grants#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciDataSafeListUserGrants 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_list_user_grants oci_data_safe_list_user_grants} 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 DataOciDataSafeListUserGrantsConfig
*/
constructor(scope: Construct, id: string, config: DataOciDataSafeListUserGrantsConfig);
private _depthLevel?;
get depthLevel(): number;
set depthLevel(value: number);
resetDepthLevel(): void;
get depthLevelInput(): number | undefined;
private _depthLevelGreaterThanOrEqualTo?;
get depthLevelGreaterThanOrEqualTo(): number;
set depthLevelGreaterThanOrEqualTo(value: number);
resetDepthLevelGreaterThanOrEqualTo(): void;
get depthLevelGreaterThanOrEqualToInput(): number | undefined;
private _depthLevelLessThan?;
get depthLevelLessThan(): number;
set depthLevelLessThan(value: number);
resetDepthLevelLessThan(): void;
get depthLevelLessThanInput(): number | undefined;
private _grantKey?;
get grantKey(): string;
set grantKey(value: string);
resetGrantKey(): void;
get grantKeyInput(): string | undefined;
private _grantName?;
get grantName(): string;
set grantName(value: string);
resetGrantName(): void;
get grantNameInput(): string | undefined;
private _grants;
get grants(): DataOciDataSafeListUserGrantsGrantsList;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _privilegeCategory?;
get privilegeCategory(): string;
set privilegeCategory(value: string);
resetPrivilegeCategory(): void;
get privilegeCategoryInput(): string | undefined;
private _privilegeType?;
get privilegeType(): string;
set privilegeType(value: string);
resetPrivilegeType(): void;
get privilegeTypeInput(): string | undefined;
private _userAssessmentId?;
get userAssessmentId(): string;
set userAssessmentId(value: string);
get userAssessmentIdInput(): string | undefined;
private _userKey?;
get userKey(): string;
set userKey(value: string);
get userKeyInput(): string | undefined;
private _filter;
get filter(): DataOciDataSafeListUserGrantsFilterList;
putFilter(value: DataOciDataSafeListUserGrantsFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciDataSafeListUserGrantsFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}