rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
275 lines (274 loc) • 12.2 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface CoreVtapConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#capture_filter_id CoreVtap#capture_filter_id}
*/
readonly captureFilterId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#compartment_id CoreVtap#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#defined_tags CoreVtap#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_vtap#display_name CoreVtap#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#encapsulation_protocol CoreVtap#encapsulation_protocol}
*/
readonly encapsulationProtocol?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#freeform_tags CoreVtap#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_vtap#id CoreVtap#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_vtap#is_vtap_enabled CoreVtap#is_vtap_enabled}
*/
readonly isVtapEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#max_packet_size CoreVtap#max_packet_size}
*/
readonly maxPacketSize?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#source_id CoreVtap#source_id}
*/
readonly sourceId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#source_private_endpoint_ip CoreVtap#source_private_endpoint_ip}
*/
readonly sourcePrivateEndpointIp?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#source_private_endpoint_subnet_id CoreVtap#source_private_endpoint_subnet_id}
*/
readonly sourcePrivateEndpointSubnetId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#source_type CoreVtap#source_type}
*/
readonly sourceType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#target_id CoreVtap#target_id}
*/
readonly targetId?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#target_ip CoreVtap#target_ip}
*/
readonly targetIp?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#target_type CoreVtap#target_type}
*/
readonly targetType?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#traffic_mode CoreVtap#traffic_mode}
*/
readonly trafficMode?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#vcn_id CoreVtap#vcn_id}
*/
readonly vcnId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#vxlan_network_identifier CoreVtap#vxlan_network_identifier}
*/
readonly vxlanNetworkIdentifier?: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#timeouts CoreVtap#timeouts}
*/
readonly timeouts?: CoreVtapTimeouts;
}
export interface CoreVtapTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#create CoreVtap#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#delete CoreVtap#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#update CoreVtap#update}
*/
readonly update?: string;
}
export declare function coreVtapTimeoutsToTerraform(struct?: CoreVtapTimeouts | cdktf.IResolvable): any;
export declare function coreVtapTimeoutsToHclTerraform(struct?: CoreVtapTimeouts | cdktf.IResolvable): any;
export declare class CoreVtapTimeoutsOutputReference 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(): CoreVtapTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: CoreVtapTimeouts | 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_vtap oci_core_vtap}
*/
export declare class CoreVtap extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_core_vtap";
/**
* Generates CDKTF code for importing a CoreVtap 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 CoreVtap to import
* @param importFromId The id of the existing CoreVtap that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/core_vtap#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the CoreVtap 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_vtap oci_core_vtap} 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 CoreVtapConfig
*/
constructor(scope: Construct, id: string, config: CoreVtapConfig);
private _captureFilterId?;
get captureFilterId(): string;
set captureFilterId(value: string);
get captureFilterIdInput(): 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 _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _encapsulationProtocol?;
get encapsulationProtocol(): string;
set encapsulationProtocol(value: string);
resetEncapsulationProtocol(): void;
get encapsulationProtocolInput(): 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 _isVtapEnabled?;
get isVtapEnabled(): boolean | cdktf.IResolvable;
set isVtapEnabled(value: boolean | cdktf.IResolvable);
resetIsVtapEnabled(): void;
get isVtapEnabledInput(): boolean | cdktf.IResolvable | undefined;
get lifecycleStateDetails(): string;
private _maxPacketSize?;
get maxPacketSize(): number;
set maxPacketSize(value: number);
resetMaxPacketSize(): void;
get maxPacketSizeInput(): number | undefined;
private _sourceId?;
get sourceId(): string;
set sourceId(value: string);
get sourceIdInput(): string | undefined;
private _sourcePrivateEndpointIp?;
get sourcePrivateEndpointIp(): string;
set sourcePrivateEndpointIp(value: string);
resetSourcePrivateEndpointIp(): void;
get sourcePrivateEndpointIpInput(): string | undefined;
private _sourcePrivateEndpointSubnetId?;
get sourcePrivateEndpointSubnetId(): string;
set sourcePrivateEndpointSubnetId(value: string);
resetSourcePrivateEndpointSubnetId(): void;
get sourcePrivateEndpointSubnetIdInput(): string | undefined;
private _sourceType?;
get sourceType(): string;
set sourceType(value: string);
resetSourceType(): void;
get sourceTypeInput(): string | undefined;
get state(): string;
private _targetId?;
get targetId(): string;
set targetId(value: string);
resetTargetId(): void;
get targetIdInput(): string | undefined;
private _targetIp?;
get targetIp(): string;
set targetIp(value: string);
resetTargetIp(): void;
get targetIpInput(): string | undefined;
private _targetType?;
get targetType(): string;
set targetType(value: string);
resetTargetType(): void;
get targetTypeInput(): string | undefined;
get timeCreated(): string;
private _trafficMode?;
get trafficMode(): string;
set trafficMode(value: string);
resetTrafficMode(): void;
get trafficModeInput(): string | undefined;
private _vcnId?;
get vcnId(): string;
set vcnId(value: string);
get vcnIdInput(): string | undefined;
private _vxlanNetworkIdentifier?;
get vxlanNetworkIdentifier(): string;
set vxlanNetworkIdentifier(value: string);
resetVxlanNetworkIdentifier(): void;
get vxlanNetworkIdentifierInput(): string | undefined;
private _timeouts;
get timeouts(): CoreVtapTimeoutsOutputReference;
putTimeouts(value: CoreVtapTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | CoreVtapTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}