rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
166 lines (165 loc) • 8.28 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface BlockchainPeerConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#ad BlockchainPeer#ad}
*/
readonly ad: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#alias BlockchainPeer#alias}
*/
readonly alias?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#blockchain_platform_id BlockchainPeer#blockchain_platform_id}
*/
readonly blockchainPlatformId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#id BlockchainPeer#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/blockchain_peer#role BlockchainPeer#role}
*/
readonly role: string;
/**
* ocpu_allocation_param block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#ocpu_allocation_param BlockchainPeer#ocpu_allocation_param}
*/
readonly ocpuAllocationParam: BlockchainPeerOcpuAllocationParam;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#timeouts BlockchainPeer#timeouts}
*/
readonly timeouts?: BlockchainPeerTimeouts;
}
export interface BlockchainPeerOcpuAllocationParam {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#ocpu_allocation_number BlockchainPeer#ocpu_allocation_number}
*/
readonly ocpuAllocationNumber: number;
}
export declare function blockchainPeerOcpuAllocationParamToTerraform(struct?: BlockchainPeerOcpuAllocationParamOutputReference | BlockchainPeerOcpuAllocationParam): any;
export declare function blockchainPeerOcpuAllocationParamToHclTerraform(struct?: BlockchainPeerOcpuAllocationParamOutputReference | BlockchainPeerOcpuAllocationParam): any;
export declare class BlockchainPeerOcpuAllocationParamOutputReference 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(): BlockchainPeerOcpuAllocationParam | undefined;
set internalValue(value: BlockchainPeerOcpuAllocationParam | undefined);
private _ocpuAllocationNumber?;
get ocpuAllocationNumber(): number;
set ocpuAllocationNumber(value: number);
get ocpuAllocationNumberInput(): number | undefined;
}
export interface BlockchainPeerTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#create BlockchainPeer#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#delete BlockchainPeer#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#update BlockchainPeer#update}
*/
readonly update?: string;
}
export declare function blockchainPeerTimeoutsToTerraform(struct?: BlockchainPeerTimeouts | cdktf.IResolvable): any;
export declare function blockchainPeerTimeoutsToHclTerraform(struct?: BlockchainPeerTimeouts | cdktf.IResolvable): any;
export declare class BlockchainPeerTimeoutsOutputReference 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(): BlockchainPeerTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: BlockchainPeerTimeouts | 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_peer oci_blockchain_peer}
*/
export declare class BlockchainPeer extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_blockchain_peer";
/**
* Generates CDKTF code for importing a BlockchainPeer 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 BlockchainPeer to import
* @param importFromId The id of the existing BlockchainPeer that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/blockchain_peer#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the BlockchainPeer 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_peer oci_blockchain_peer} 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 BlockchainPeerConfig
*/
constructor(scope: Construct, id: string, config: BlockchainPeerConfig);
private _ad?;
get ad(): string;
set ad(value: string);
get adInput(): string | undefined;
private _alias?;
get alias(): string;
set alias(value: string);
resetAlias(): void;
get aliasInput(): string | undefined;
private _blockchainPlatformId?;
get blockchainPlatformId(): string;
set blockchainPlatformId(value: string);
get blockchainPlatformIdInput(): string | undefined;
get host(): string;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get peerKey(): string;
private _role?;
get role(): string;
set role(value: string);
get roleInput(): string | undefined;
get state(): string;
private _ocpuAllocationParam;
get ocpuAllocationParam(): BlockchainPeerOcpuAllocationParamOutputReference;
putOcpuAllocationParam(value: BlockchainPeerOcpuAllocationParam): void;
get ocpuAllocationParamInput(): BlockchainPeerOcpuAllocationParam | undefined;
private _timeouts;
get timeouts(): BlockchainPeerTimeoutsOutputReference;
putTimeouts(value: BlockchainPeerTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | BlockchainPeerTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}