rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
183 lines (182 loc) • 11.6 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciDevopsProjectRepositorySettingConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/devops_project_repository_setting#project_id DataOciDevopsProjectRepositorySetting#project_id}
*/
readonly projectId: string;
}
export interface DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewers {
}
export declare function dataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewersToTerraform(struct?: DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewers): any;
export declare function dataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewersToHclTerraform(struct?: DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewers): any;
export declare class DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewersOutputReference 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(): DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewers | undefined;
set internalValue(value: DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewers | undefined);
get principalId(): string;
get principalName(): string;
get principalState(): string;
get principalType(): string;
}
export declare class DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewersList 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): DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewersOutputReference;
}
export interface DataOciDevopsProjectRepositorySettingApprovalRulesItems {
}
export declare function dataOciDevopsProjectRepositorySettingApprovalRulesItemsToTerraform(struct?: DataOciDevopsProjectRepositorySettingApprovalRulesItems): any;
export declare function dataOciDevopsProjectRepositorySettingApprovalRulesItemsToHclTerraform(struct?: DataOciDevopsProjectRepositorySettingApprovalRulesItems): any;
export declare class DataOciDevopsProjectRepositorySettingApprovalRulesItemsOutputReference 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(): DataOciDevopsProjectRepositorySettingApprovalRulesItems | undefined;
set internalValue(value: DataOciDevopsProjectRepositorySettingApprovalRulesItems | undefined);
get destinationBranch(): string;
get minApprovalsCount(): number;
get name(): string;
private _reviewers;
get reviewers(): DataOciDevopsProjectRepositorySettingApprovalRulesItemsReviewersList;
}
export declare class DataOciDevopsProjectRepositorySettingApprovalRulesItemsList 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): DataOciDevopsProjectRepositorySettingApprovalRulesItemsOutputReference;
}
export interface DataOciDevopsProjectRepositorySettingApprovalRules {
}
export declare function dataOciDevopsProjectRepositorySettingApprovalRulesToTerraform(struct?: DataOciDevopsProjectRepositorySettingApprovalRules): any;
export declare function dataOciDevopsProjectRepositorySettingApprovalRulesToHclTerraform(struct?: DataOciDevopsProjectRepositorySettingApprovalRules): any;
export declare class DataOciDevopsProjectRepositorySettingApprovalRulesOutputReference 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(): DataOciDevopsProjectRepositorySettingApprovalRules | undefined;
set internalValue(value: DataOciDevopsProjectRepositorySettingApprovalRules | undefined);
private _items;
get items(): DataOciDevopsProjectRepositorySettingApprovalRulesItemsList;
}
export declare class DataOciDevopsProjectRepositorySettingApprovalRulesList 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): DataOciDevopsProjectRepositorySettingApprovalRulesOutputReference;
}
export interface DataOciDevopsProjectRepositorySettingMergeSettings {
}
export declare function dataOciDevopsProjectRepositorySettingMergeSettingsToTerraform(struct?: DataOciDevopsProjectRepositorySettingMergeSettings): any;
export declare function dataOciDevopsProjectRepositorySettingMergeSettingsToHclTerraform(struct?: DataOciDevopsProjectRepositorySettingMergeSettings): any;
export declare class DataOciDevopsProjectRepositorySettingMergeSettingsOutputReference 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(): DataOciDevopsProjectRepositorySettingMergeSettings | undefined;
set internalValue(value: DataOciDevopsProjectRepositorySettingMergeSettings | undefined);
get allowedMergeStrategies(): string[];
get defaultMergeStrategy(): string;
}
export declare class DataOciDevopsProjectRepositorySettingMergeSettingsList 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): DataOciDevopsProjectRepositorySettingMergeSettingsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/devops_project_repository_setting oci_devops_project_repository_setting}
*/
export declare class DataOciDevopsProjectRepositorySetting extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_devops_project_repository_setting";
/**
* Generates CDKTF code for importing a DataOciDevopsProjectRepositorySetting 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 DataOciDevopsProjectRepositorySetting to import
* @param importFromId The id of the existing DataOciDevopsProjectRepositorySetting that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/devops_project_repository_setting#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciDevopsProjectRepositorySetting 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/devops_project_repository_setting oci_devops_project_repository_setting} 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 DataOciDevopsProjectRepositorySettingConfig
*/
constructor(scope: Construct, id: string, config: DataOciDevopsProjectRepositorySettingConfig);
private _approvalRules;
get approvalRules(): DataOciDevopsProjectRepositorySettingApprovalRulesList;
get id(): string;
private _mergeSettings;
get mergeSettings(): DataOciDevopsProjectRepositorySettingMergeSettingsList;
private _projectId?;
get projectId(): string;
set projectId(value: string);
get projectIdInput(): string | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}