UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

252 lines (251 loc) 11.4 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface CoreSubnetConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#availability_domain CoreSubnet#availability_domain} */ readonly availabilityDomain?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#cidr_block CoreSubnet#cidr_block} */ readonly cidrBlock: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#compartment_id CoreSubnet#compartment_id} */ readonly compartmentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#defined_tags CoreSubnet#defined_tags} */ readonly definedTags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#dhcp_options_id CoreSubnet#dhcp_options_id} */ readonly dhcpOptionsId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#display_name CoreSubnet#display_name} */ readonly displayName?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#dns_label CoreSubnet#dns_label} */ readonly dnsLabel?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#freeform_tags CoreSubnet#freeform_tags} */ readonly freeformTags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#id CoreSubnet#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/core_subnet#ipv6cidr_block CoreSubnet#ipv6cidr_block} */ readonly ipv6CidrBlock?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#ipv6cidr_blocks CoreSubnet#ipv6cidr_blocks} */ readonly ipv6CidrBlocks?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#prohibit_internet_ingress CoreSubnet#prohibit_internet_ingress} */ readonly prohibitInternetIngress?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#prohibit_public_ip_on_vnic CoreSubnet#prohibit_public_ip_on_vnic} */ readonly prohibitPublicIpOnVnic?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#route_table_id CoreSubnet#route_table_id} */ readonly routeTableId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#security_list_ids CoreSubnet#security_list_ids} */ readonly securityListIds?: string[]; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#vcn_id CoreSubnet#vcn_id} */ readonly vcnId: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#timeouts CoreSubnet#timeouts} */ readonly timeouts?: CoreSubnetTimeouts; } export interface CoreSubnetTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#create CoreSubnet#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#delete CoreSubnet#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#update CoreSubnet#update} */ readonly update?: string; } export declare function coreSubnetTimeoutsToTerraform(struct?: CoreSubnetTimeouts | cdktf.IResolvable): any; export declare function coreSubnetTimeoutsToHclTerraform(struct?: CoreSubnetTimeouts | cdktf.IResolvable): any; export declare class CoreSubnetTimeoutsOutputReference 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(): CoreSubnetTimeouts | cdktf.IResolvable | undefined; set internalValue(value: CoreSubnetTimeouts | 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/core_subnet oci_core_subnet} */ export declare class CoreSubnet extends cdktf.TerraformResource { static readonly tfResourceType = "oci_core_subnet"; /** * Generates CDKTF code for importing a CoreSubnet 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 CoreSubnet to import * @param importFromId The id of the existing CoreSubnet that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_subnet#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the CoreSubnet 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/core_subnet oci_core_subnet} 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 CoreSubnetConfig */ constructor(scope: Construct, id: string, config: CoreSubnetConfig); private _availabilityDomain?; get availabilityDomain(): string; set availabilityDomain(value: string); resetAvailabilityDomain(): void; get availabilityDomainInput(): string | undefined; private _cidrBlock?; get cidrBlock(): string; set cidrBlock(value: string); get cidrBlockInput(): 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 _dhcpOptionsId?; get dhcpOptionsId(): string; set dhcpOptionsId(value: string); resetDhcpOptionsId(): void; get dhcpOptionsIdInput(): string | undefined; private _displayName?; get displayName(): string; set displayName(value: string); resetDisplayName(): void; get displayNameInput(): string | undefined; private _dnsLabel?; get dnsLabel(): string; set dnsLabel(value: string); resetDnsLabel(): void; get dnsLabelInput(): 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; private _ipv6CidrBlock?; get ipv6CidrBlock(): string; set ipv6CidrBlock(value: string); resetIpv6CidrBlock(): void; get ipv6CidrBlockInput(): string | undefined; private _ipv6CidrBlocks?; get ipv6CidrBlocks(): string[]; set ipv6CidrBlocks(value: string[]); resetIpv6CidrBlocks(): void; get ipv6CidrBlocksInput(): string[] | undefined; get ipv6VirtualRouterIp(): string; private _prohibitInternetIngress?; get prohibitInternetIngress(): boolean | cdktf.IResolvable; set prohibitInternetIngress(value: boolean | cdktf.IResolvable); resetProhibitInternetIngress(): void; get prohibitInternetIngressInput(): boolean | cdktf.IResolvable | undefined; private _prohibitPublicIpOnVnic?; get prohibitPublicIpOnVnic(): boolean | cdktf.IResolvable; set prohibitPublicIpOnVnic(value: boolean | cdktf.IResolvable); resetProhibitPublicIpOnVnic(): void; get prohibitPublicIpOnVnicInput(): boolean | cdktf.IResolvable | undefined; private _routeTableId?; get routeTableId(): string; set routeTableId(value: string); resetRouteTableId(): void; get routeTableIdInput(): string | undefined; private _securityListIds?; get securityListIds(): string[]; set securityListIds(value: string[]); resetSecurityListIds(): void; get securityListIdsInput(): string[] | undefined; get state(): string; get subnetDomainName(): string; get timeCreated(): string; private _vcnId?; get vcnId(): string; set vcnId(value: string); get vcnIdInput(): string | undefined; get virtualRouterIp(): string; get virtualRouterMac(): string; private _timeouts; get timeouts(): CoreSubnetTimeoutsOutputReference; putTimeouts(value: CoreSubnetTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | CoreSubnetTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }