rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
325 lines (324 loc) • 17.3 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ServiceMeshVirtualDeploymentConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#compartment_id ServiceMeshVirtualDeployment#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#defined_tags ServiceMeshVirtualDeployment#defined_tags}
*/
readonly definedTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#description ServiceMeshVirtualDeployment#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#freeform_tags ServiceMeshVirtualDeployment#freeform_tags}
*/
readonly freeformTags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#id ServiceMeshVirtualDeployment#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/service_mesh_virtual_deployment#name ServiceMeshVirtualDeployment#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#virtual_service_id ServiceMeshVirtualDeployment#virtual_service_id}
*/
readonly virtualServiceId: string;
/**
* access_logging block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#access_logging ServiceMeshVirtualDeployment#access_logging}
*/
readonly accessLogging?: ServiceMeshVirtualDeploymentAccessLogging;
/**
* listeners block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#listeners ServiceMeshVirtualDeployment#listeners}
*/
readonly listeners?: ServiceMeshVirtualDeploymentListeners[] | cdktf.IResolvable;
/**
* service_discovery block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#service_discovery ServiceMeshVirtualDeployment#service_discovery}
*/
readonly serviceDiscovery?: ServiceMeshVirtualDeploymentServiceDiscovery;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#timeouts ServiceMeshVirtualDeployment#timeouts}
*/
readonly timeouts?: ServiceMeshVirtualDeploymentTimeouts;
}
export interface ServiceMeshVirtualDeploymentAccessLogging {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#is_enabled ServiceMeshVirtualDeployment#is_enabled}
*/
readonly isEnabled?: boolean | cdktf.IResolvable;
}
export declare function serviceMeshVirtualDeploymentAccessLoggingToTerraform(struct?: ServiceMeshVirtualDeploymentAccessLoggingOutputReference | ServiceMeshVirtualDeploymentAccessLogging): any;
export declare function serviceMeshVirtualDeploymentAccessLoggingToHclTerraform(struct?: ServiceMeshVirtualDeploymentAccessLoggingOutputReference | ServiceMeshVirtualDeploymentAccessLogging): any;
export declare class ServiceMeshVirtualDeploymentAccessLoggingOutputReference 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(): ServiceMeshVirtualDeploymentAccessLogging | undefined;
set internalValue(value: ServiceMeshVirtualDeploymentAccessLogging | undefined);
private _isEnabled?;
get isEnabled(): boolean | cdktf.IResolvable;
set isEnabled(value: boolean | cdktf.IResolvable);
resetIsEnabled(): void;
get isEnabledInput(): boolean | cdktf.IResolvable | undefined;
}
export interface ServiceMeshVirtualDeploymentListeners {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#idle_timeout_in_ms ServiceMeshVirtualDeployment#idle_timeout_in_ms}
*/
readonly idleTimeoutInMs?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#port ServiceMeshVirtualDeployment#port}
*/
readonly port: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#protocol ServiceMeshVirtualDeployment#protocol}
*/
readonly protocol: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#request_timeout_in_ms ServiceMeshVirtualDeployment#request_timeout_in_ms}
*/
readonly requestTimeoutInMs?: string;
}
export declare function serviceMeshVirtualDeploymentListenersToTerraform(struct?: ServiceMeshVirtualDeploymentListeners | cdktf.IResolvable): any;
export declare function serviceMeshVirtualDeploymentListenersToHclTerraform(struct?: ServiceMeshVirtualDeploymentListeners | cdktf.IResolvable): any;
export declare class ServiceMeshVirtualDeploymentListenersOutputReference 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(): ServiceMeshVirtualDeploymentListeners | cdktf.IResolvable | undefined;
set internalValue(value: ServiceMeshVirtualDeploymentListeners | cdktf.IResolvable | undefined);
private _idleTimeoutInMs?;
get idleTimeoutInMs(): string;
set idleTimeoutInMs(value: string);
resetIdleTimeoutInMs(): void;
get idleTimeoutInMsInput(): string | undefined;
private _port?;
get port(): number;
set port(value: number);
get portInput(): number | undefined;
private _protocol?;
get protocol(): string;
set protocol(value: string);
get protocolInput(): string | undefined;
private _requestTimeoutInMs?;
get requestTimeoutInMs(): string;
set requestTimeoutInMs(value: string);
resetRequestTimeoutInMs(): void;
get requestTimeoutInMsInput(): string | undefined;
}
export declare class ServiceMeshVirtualDeploymentListenersList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: ServiceMeshVirtualDeploymentListeners[] | 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): ServiceMeshVirtualDeploymentListenersOutputReference;
}
export interface ServiceMeshVirtualDeploymentServiceDiscovery {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#hostname ServiceMeshVirtualDeployment#hostname}
*/
readonly hostname?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#type ServiceMeshVirtualDeployment#type}
*/
readonly type: string;
}
export declare function serviceMeshVirtualDeploymentServiceDiscoveryToTerraform(struct?: ServiceMeshVirtualDeploymentServiceDiscoveryOutputReference | ServiceMeshVirtualDeploymentServiceDiscovery): any;
export declare function serviceMeshVirtualDeploymentServiceDiscoveryToHclTerraform(struct?: ServiceMeshVirtualDeploymentServiceDiscoveryOutputReference | ServiceMeshVirtualDeploymentServiceDiscovery): any;
export declare class ServiceMeshVirtualDeploymentServiceDiscoveryOutputReference 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(): ServiceMeshVirtualDeploymentServiceDiscovery | undefined;
set internalValue(value: ServiceMeshVirtualDeploymentServiceDiscovery | undefined);
private _hostname?;
get hostname(): string;
set hostname(value: string);
resetHostname(): void;
get hostnameInput(): string | undefined;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
}
export interface ServiceMeshVirtualDeploymentTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#create ServiceMeshVirtualDeployment#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#delete ServiceMeshVirtualDeployment#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#update ServiceMeshVirtualDeployment#update}
*/
readonly update?: string;
}
export declare function serviceMeshVirtualDeploymentTimeoutsToTerraform(struct?: ServiceMeshVirtualDeploymentTimeouts | cdktf.IResolvable): any;
export declare function serviceMeshVirtualDeploymentTimeoutsToHclTerraform(struct?: ServiceMeshVirtualDeploymentTimeouts | cdktf.IResolvable): any;
export declare class ServiceMeshVirtualDeploymentTimeoutsOutputReference 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(): ServiceMeshVirtualDeploymentTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: ServiceMeshVirtualDeploymentTimeouts | 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/service_mesh_virtual_deployment oci_service_mesh_virtual_deployment}
*/
export declare class ServiceMeshVirtualDeployment extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_service_mesh_virtual_deployment";
/**
* Generates CDKTF code for importing a ServiceMeshVirtualDeployment 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 ServiceMeshVirtualDeployment to import
* @param importFromId The id of the existing ServiceMeshVirtualDeployment that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_deployment#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ServiceMeshVirtualDeployment 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/service_mesh_virtual_deployment oci_service_mesh_virtual_deployment} 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 ServiceMeshVirtualDeploymentConfig
*/
constructor(scope: Construct, id: string, config: ServiceMeshVirtualDeploymentConfig);
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 _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): 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;
get lifecycleDetails(): string;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeUpdated(): string;
private _virtualServiceId?;
get virtualServiceId(): string;
set virtualServiceId(value: string);
get virtualServiceIdInput(): string | undefined;
private _accessLogging;
get accessLogging(): ServiceMeshVirtualDeploymentAccessLoggingOutputReference;
putAccessLogging(value: ServiceMeshVirtualDeploymentAccessLogging): void;
resetAccessLogging(): void;
get accessLoggingInput(): ServiceMeshVirtualDeploymentAccessLogging | undefined;
private _listeners;
get listeners(): ServiceMeshVirtualDeploymentListenersList;
putListeners(value: ServiceMeshVirtualDeploymentListeners[] | cdktf.IResolvable): void;
resetListeners(): void;
get listenersInput(): cdktf.IResolvable | ServiceMeshVirtualDeploymentListeners[] | undefined;
private _serviceDiscovery;
get serviceDiscovery(): ServiceMeshVirtualDeploymentServiceDiscoveryOutputReference;
putServiceDiscovery(value: ServiceMeshVirtualDeploymentServiceDiscovery): void;
resetServiceDiscovery(): void;
get serviceDiscoveryInput(): ServiceMeshVirtualDeploymentServiceDiscovery | undefined;
private _timeouts;
get timeouts(): ServiceMeshVirtualDeploymentTimeoutsOutputReference;
putTimeouts(value: ServiceMeshVirtualDeploymentTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | ServiceMeshVirtualDeploymentTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}