rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
149 lines (148 loc) • 7.58 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface BlockchainOsnConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#ad BlockchainOsn#ad}
*/
readonly ad: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#blockchain_platform_id BlockchainOsn#blockchain_platform_id}
*/
readonly blockchainPlatformId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#id BlockchainOsn#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;
/**
* ocpu_allocation_param block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#ocpu_allocation_param BlockchainOsn#ocpu_allocation_param}
*/
readonly ocpuAllocationParam?: BlockchainOsnOcpuAllocationParam;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#timeouts BlockchainOsn#timeouts}
*/
readonly timeouts?: BlockchainOsnTimeouts;
}
export interface BlockchainOsnOcpuAllocationParam {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#ocpu_allocation_number BlockchainOsn#ocpu_allocation_number}
*/
readonly ocpuAllocationNumber: number;
}
export declare function blockchainOsnOcpuAllocationParamToTerraform(struct?: BlockchainOsnOcpuAllocationParamOutputReference | BlockchainOsnOcpuAllocationParam): any;
export declare function blockchainOsnOcpuAllocationParamToHclTerraform(struct?: BlockchainOsnOcpuAllocationParamOutputReference | BlockchainOsnOcpuAllocationParam): any;
export declare class BlockchainOsnOcpuAllocationParamOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
/**
* @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(): BlockchainOsnOcpuAllocationParam | undefined;
set internalValue(value: BlockchainOsnOcpuAllocationParam | undefined);
private _ocpuAllocationNumber?;
get ocpuAllocationNumber(): number;
set ocpuAllocationNumber(value: number);
get ocpuAllocationNumberInput(): number | undefined;
}
export interface BlockchainOsnTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#create BlockchainOsn#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#delete BlockchainOsn#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#update BlockchainOsn#update}
*/
readonly update?: string;
}
export declare function blockchainOsnTimeoutsToTerraform(struct?: BlockchainOsnTimeouts | cdktf.IResolvable): any;
export declare function blockchainOsnTimeoutsToHclTerraform(struct?: BlockchainOsnTimeouts | cdktf.IResolvable): any;
export declare class BlockchainOsnTimeoutsOutputReference 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(): BlockchainOsnTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: BlockchainOsnTimeouts | 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/blockchain_osn oci_blockchain_osn}
*/
export declare class BlockchainOsn extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_blockchain_osn";
/**
* Generates CDKTF code for importing a BlockchainOsn 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 BlockchainOsn to import
* @param importFromId The id of the existing BlockchainOsn that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_osn#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the BlockchainOsn 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/blockchain_osn oci_blockchain_osn} 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 BlockchainOsnConfig
*/
constructor(scope: Construct, id: string, config: BlockchainOsnConfig);
private _ad?;
get ad(): string;
set ad(value: string);
get adInput(): string | undefined;
private _blockchainPlatformId?;
get blockchainPlatformId(): string;
set blockchainPlatformId(value: string);
get blockchainPlatformIdInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get osnKey(): string;
get state(): string;
private _ocpuAllocationParam;
get ocpuAllocationParam(): BlockchainOsnOcpuAllocationParamOutputReference;
putOcpuAllocationParam(value: BlockchainOsnOcpuAllocationParam): void;
resetOcpuAllocationParam(): void;
get ocpuAllocationParamInput(): BlockchainOsnOcpuAllocationParam | undefined;
private _timeouts;
get timeouts(): BlockchainOsnTimeoutsOutputReference;
putTimeouts(value: BlockchainOsnTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | BlockchainOsnTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}