rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
228 lines (227 loc) • 10.3 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DnsRrsetConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#compartment_id DnsRrset#compartment_id}
*/
readonly compartmentId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#domain DnsRrset#domain}
*/
readonly domain: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#id DnsRrset#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/dns_rrset#rtype DnsRrset#rtype}
*/
readonly rtype: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#scope DnsRrset#scope}
*/
readonly scope?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#view_id DnsRrset#view_id}
*/
readonly viewId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#zone_name_or_id DnsRrset#zone_name_or_id}
*/
readonly zoneNameOrId: string;
/**
* items block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#items DnsRrset#items}
*/
readonly items?: DnsRrsetItems[] | cdktf.IResolvable;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#timeouts DnsRrset#timeouts}
*/
readonly timeouts?: DnsRrsetTimeouts;
}
export interface DnsRrsetItems {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#domain DnsRrset#domain}
*/
readonly domain: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#rdata DnsRrset#rdata}
*/
readonly rdata: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#rtype DnsRrset#rtype}
*/
readonly rtype: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#ttl DnsRrset#ttl}
*/
readonly ttl: number;
}
export declare function dnsRrsetItemsToTerraform(struct?: DnsRrsetItems | cdktf.IResolvable): any;
export declare function dnsRrsetItemsToHclTerraform(struct?: DnsRrsetItems | cdktf.IResolvable): any;
export declare class DnsRrsetItemsOutputReference 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(): DnsRrsetItems | cdktf.IResolvable | undefined;
set internalValue(value: DnsRrsetItems | cdktf.IResolvable | undefined);
private _domain?;
get domain(): string;
set domain(value: string);
get domainInput(): string | undefined;
get isProtected(): cdktf.IResolvable;
private _rdata?;
get rdata(): string;
set rdata(value: string);
get rdataInput(): string | undefined;
get recordHash(): string;
get rrsetVersion(): string;
private _rtype?;
get rtype(): string;
set rtype(value: string);
get rtypeInput(): string | undefined;
private _ttl?;
get ttl(): number;
set ttl(value: number);
get ttlInput(): number | undefined;
}
export declare class DnsRrsetItemsList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DnsRrsetItems[] | 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): DnsRrsetItemsOutputReference;
}
export interface DnsRrsetTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#create DnsRrset#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#delete DnsRrset#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#update DnsRrset#update}
*/
readonly update?: string;
}
export declare function dnsRrsetTimeoutsToTerraform(struct?: DnsRrsetTimeouts | cdktf.IResolvable): any;
export declare function dnsRrsetTimeoutsToHclTerraform(struct?: DnsRrsetTimeouts | cdktf.IResolvable): any;
export declare class DnsRrsetTimeoutsOutputReference 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(): DnsRrsetTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: DnsRrsetTimeouts | 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/dns_rrset oci_dns_rrset}
*/
export declare class DnsRrset extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_dns_rrset";
/**
* Generates CDKTF code for importing a DnsRrset 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 DnsRrset to import
* @param importFromId The id of the existing DnsRrset that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/dns_rrset#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DnsRrset 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/dns_rrset oci_dns_rrset} 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 DnsRrsetConfig
*/
constructor(scope: Construct, id: string, config: DnsRrsetConfig);
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
resetCompartmentId(): void;
get compartmentIdInput(): string | undefined;
private _domain?;
get domain(): string;
set domain(value: string);
get domainInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _rtype?;
get rtype(): string;
set rtype(value: string);
get rtypeInput(): string | undefined;
private _scope?;
get scope(): string;
set scope(value: string);
resetScope(): void;
get scopeInput(): string | undefined;
private _viewId?;
get viewId(): string;
set viewId(value: string);
resetViewId(): void;
get viewIdInput(): string | undefined;
private _zoneNameOrId?;
get zoneNameOrId(): string;
set zoneNameOrId(value: string);
get zoneNameOrIdInput(): string | undefined;
private _items;
get items(): DnsRrsetItemsList;
putItems(value: DnsRrsetItems[] | cdktf.IResolvable): void;
resetItems(): void;
get itemsInput(): cdktf.IResolvable | DnsRrsetItems[] | undefined;
private _timeouts;
get timeouts(): DnsRrsetTimeoutsOutputReference;
putTimeouts(value: DnsRrsetTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | DnsRrsetTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}