rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
247 lines (246 loc) • 12.3 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreDefaultDhcpOptionsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#compartment_id CoreDefaultDhcpOptions#compartment_id}
*/
readonly compartmentId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#defined_tags CoreDefaultDhcpOptions#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_default_dhcp_options#display_name CoreDefaultDhcpOptions#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#domain_name_type CoreDefaultDhcpOptions#domain_name_type}
*/
readonly domainNameType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#freeform_tags CoreDefaultDhcpOptions#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_default_dhcp_options#id CoreDefaultDhcpOptions#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_default_dhcp_options#manage_default_resource_id CoreDefaultDhcpOptions#manage_default_resource_id}
*/
readonly manageDefaultResourceId: string;
/**
* options block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#options CoreDefaultDhcpOptions#options}
*/
readonly options: CoreDefaultDhcpOptionsOptions[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#timeouts CoreDefaultDhcpOptions#timeouts}
*/
readonly timeouts?: CoreDefaultDhcpOptionsTimeouts;
}
export interface CoreDefaultDhcpOptionsOptions {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#custom_dns_servers CoreDefaultDhcpOptions#custom_dns_servers}
*/
readonly customDnsServers?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#search_domain_names CoreDefaultDhcpOptions#search_domain_names}
*/
readonly searchDomainNames?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#server_type CoreDefaultDhcpOptions#server_type}
*/
readonly serverType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#type CoreDefaultDhcpOptions#type}
*/
readonly type: string;
}
export declare function coreDefaultDhcpOptionsOptionsToTerraform(struct?: CoreDefaultDhcpOptionsOptions | cdktf.IResolvable): any;
export declare function coreDefaultDhcpOptionsOptionsToHclTerraform(struct?: CoreDefaultDhcpOptionsOptions | cdktf.IResolvable): any;
export declare class CoreDefaultDhcpOptionsOptionsOutputReference 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(): CoreDefaultDhcpOptionsOptions | cdktf.IResolvable | undefined;
set internalValue(value: CoreDefaultDhcpOptionsOptions | cdktf.IResolvable | undefined);
private _customDnsServers?;
get customDnsServers(): string[];
set customDnsServers(value: string[]);
resetCustomDnsServers(): void;
get customDnsServersInput(): string[] | undefined;
private _searchDomainNames?;
get searchDomainNames(): string[];
set searchDomainNames(value: string[]);
resetSearchDomainNames(): void;
get searchDomainNamesInput(): string[] | undefined;
private _serverType?;
get serverType(): string;
set serverType(value: string);
resetServerType(): void;
get serverTypeInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
}
export declare class CoreDefaultDhcpOptionsOptionsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: CoreDefaultDhcpOptionsOptions[] | 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): CoreDefaultDhcpOptionsOptionsOutputReference;
}
export interface CoreDefaultDhcpOptionsTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#create CoreDefaultDhcpOptions#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#delete CoreDefaultDhcpOptions#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#update CoreDefaultDhcpOptions#update}
*/
readonly update?: string;
}
export declare function coreDefaultDhcpOptionsTimeoutsToTerraform(struct?: CoreDefaultDhcpOptionsTimeouts | cdktf.IResolvable): any;
export declare function coreDefaultDhcpOptionsTimeoutsToHclTerraform(struct?: CoreDefaultDhcpOptionsTimeouts | cdktf.IResolvable): any;
export declare class CoreDefaultDhcpOptionsTimeoutsOutputReference 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(): CoreDefaultDhcpOptionsTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreDefaultDhcpOptionsTimeouts | 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_default_dhcp_options oci_core_default_dhcp_options}
*/
export declare class CoreDefaultDhcpOptions extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_default_dhcp_options";
/**
* Generates CDKTF code for importing a CoreDefaultDhcpOptions 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 CoreDefaultDhcpOptions to import
* @param importFromId The id of the existing CoreDefaultDhcpOptions that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_default_dhcp_options#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreDefaultDhcpOptions 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_default_dhcp_options oci_core_default_dhcp_options} 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 CoreDefaultDhcpOptionsConfig
*/
constructor(scope: Construct, id: string, config: CoreDefaultDhcpOptionsConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
resetCompartmentId(): void;
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 _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _domainNameType?;
get domainNameType(): string;
set domainNameType(value: string);
resetDomainNameType(): void;
get domainNameTypeInput(): 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 _manageDefaultResourceId?;
get manageDefaultResourceId(): string;
set manageDefaultResourceId(value: string);
get manageDefaultResourceIdInput(): string | undefined;
get state(): string;
get timeCreated(): string;
private _options;
get options(): CoreDefaultDhcpOptionsOptionsList;
putOptions(value: CoreDefaultDhcpOptionsOptions[] | cdktf.IResolvable): void;
get optionsInput(): cdktf.IResolvable | CoreDefaultDhcpOptionsOptions[] | undefined;
private _timeouts;
get timeouts(): CoreDefaultDhcpOptionsTimeoutsOutputReference;
putTimeouts(value: CoreDefaultDhcpOptionsTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreDefaultDhcpOptionsTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}