UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

125 lines (124 loc) 7.29 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DevopsRepositoryProtectedBranchManagementConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_repository_protected_branch_management#branch_name DevopsRepositoryProtectedBranchManagement#branch_name} */ readonly branchName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_repository_protected_branch_management#id DevopsRepositoryProtectedBranchManagement#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/devops_repository_protected_branch_management#protection_levels DevopsRepositoryProtectedBranchManagement#protection_levels} */ readonly protectionLevels?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_repository_protected_branch_management#repository_id DevopsRepositoryProtectedBranchManagement#repository_id} */ readonly repositoryId: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_repository_protected_branch_management#timeouts DevopsRepositoryProtectedBranchManagement#timeouts} */ readonly timeouts?: DevopsRepositoryProtectedBranchManagementTimeouts; } export interface DevopsRepositoryProtectedBranchManagementTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_repository_protected_branch_management#create DevopsRepositoryProtectedBranchManagement#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_repository_protected_branch_management#delete DevopsRepositoryProtectedBranchManagement#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_repository_protected_branch_management#update DevopsRepositoryProtectedBranchManagement#update} */ readonly update?: string; } export declare function devopsRepositoryProtectedBranchManagementTimeoutsToTerraform(struct?: DevopsRepositoryProtectedBranchManagementTimeouts | cdktf.IResolvable): any; export declare function devopsRepositoryProtectedBranchManagementTimeoutsToHclTerraform(struct?: DevopsRepositoryProtectedBranchManagementTimeouts | cdktf.IResolvable): any; export declare class DevopsRepositoryProtectedBranchManagementTimeoutsOutputReference 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(): DevopsRepositoryProtectedBranchManagementTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DevopsRepositoryProtectedBranchManagementTimeouts | 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/devops_repository_protected_branch_management oci_devops_repository_protected_branch_management} */ export declare class DevopsRepositoryProtectedBranchManagement extends cdktf.TerraformResource { static readonly tfResourceType = "oci_devops_repository_protected_branch_management"; /** * Generates CDKTF code for importing a DevopsRepositoryProtectedBranchManagement 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 DevopsRepositoryProtectedBranchManagement to import * @param importFromId The id of the existing DevopsRepositoryProtectedBranchManagement that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/devops_repository_protected_branch_management#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DevopsRepositoryProtectedBranchManagement 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/devops_repository_protected_branch_management oci_devops_repository_protected_branch_management} 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 DevopsRepositoryProtectedBranchManagementConfig */ constructor(scope: Construct, id: string, config: DevopsRepositoryProtectedBranchManagementConfig); private _branchName?; get branchName(): string; set branchName(value: string); get branchNameInput(): string | undefined; private _freeformTags; get freeformTags(): cdktf.StringMap; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _protectionLevels?; get protectionLevels(): string[]; set protectionLevels(value: string[]); resetProtectionLevels(): void; get protectionLevelsInput(): string[] | undefined; private _repositoryId?; get repositoryId(): string; set repositoryId(value: string); get repositoryIdInput(): string | undefined; private _timeouts; get timeouts(): DevopsRepositoryProtectedBranchManagementTimeoutsOutputReference; putTimeouts(value: DevopsRepositoryProtectedBranchManagementTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | DevopsRepositoryProtectedBranchManagementTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }