rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
256 lines (255 loc) • 12.8 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ServiceMeshVirtualServiceConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#compartment_id ServiceMeshVirtualService#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_service#defined_tags ServiceMeshVirtualService#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_service#description ServiceMeshVirtualService#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#freeform_tags ServiceMeshVirtualService#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_service#hosts ServiceMeshVirtualService#hosts}
*/
readonly hosts?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#id ServiceMeshVirtualService#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_service#mesh_id ServiceMeshVirtualService#mesh_id}
*/
readonly meshId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#name ServiceMeshVirtualService#name}
*/
readonly name: string;
/**
* default_routing_policy block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#default_routing_policy ServiceMeshVirtualService#default_routing_policy}
*/
readonly defaultRoutingPolicy?: ServiceMeshVirtualServiceDefaultRoutingPolicy;
/**
* mtls block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#mtls ServiceMeshVirtualService#mtls}
*/
readonly mtls?: ServiceMeshVirtualServiceMtls;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#timeouts ServiceMeshVirtualService#timeouts}
*/
readonly timeouts?: ServiceMeshVirtualServiceTimeouts;
}
export interface ServiceMeshVirtualServiceDefaultRoutingPolicy {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#type ServiceMeshVirtualService#type}
*/
readonly type: string;
}
export declare function serviceMeshVirtualServiceDefaultRoutingPolicyToTerraform(struct?: ServiceMeshVirtualServiceDefaultRoutingPolicyOutputReference | ServiceMeshVirtualServiceDefaultRoutingPolicy): any;
export declare function serviceMeshVirtualServiceDefaultRoutingPolicyToHclTerraform(struct?: ServiceMeshVirtualServiceDefaultRoutingPolicyOutputReference | ServiceMeshVirtualServiceDefaultRoutingPolicy): any;
export declare class ServiceMeshVirtualServiceDefaultRoutingPolicyOutputReference 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(): ServiceMeshVirtualServiceDefaultRoutingPolicy | undefined;
set internalValue(value: ServiceMeshVirtualServiceDefaultRoutingPolicy | undefined);
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
}
export interface ServiceMeshVirtualServiceMtls {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#maximum_validity ServiceMeshVirtualService#maximum_validity}
*/
readonly maximumValidity?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#mode ServiceMeshVirtualService#mode}
*/
readonly mode: string;
}
export declare function serviceMeshVirtualServiceMtlsToTerraform(struct?: ServiceMeshVirtualServiceMtlsOutputReference | ServiceMeshVirtualServiceMtls): any;
export declare function serviceMeshVirtualServiceMtlsToHclTerraform(struct?: ServiceMeshVirtualServiceMtlsOutputReference | ServiceMeshVirtualServiceMtls): any;
export declare class ServiceMeshVirtualServiceMtlsOutputReference 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(): ServiceMeshVirtualServiceMtls | undefined;
set internalValue(value: ServiceMeshVirtualServiceMtls | undefined);
get certificateId(): string;
private _maximumValidity?;
get maximumValidity(): number;
set maximumValidity(value: number);
resetMaximumValidity(): void;
get maximumValidityInput(): number | undefined;
private _mode?;
get mode(): string;
set mode(value: string);
get modeInput(): string | undefined;
}
export interface ServiceMeshVirtualServiceTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#create ServiceMeshVirtualService#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#delete ServiceMeshVirtualService#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#update ServiceMeshVirtualService#update}
*/
readonly update?: string;
}
export declare function serviceMeshVirtualServiceTimeoutsToTerraform(struct?: ServiceMeshVirtualServiceTimeouts | cdktf.IResolvable): any;
export declare function serviceMeshVirtualServiceTimeoutsToHclTerraform(struct?: ServiceMeshVirtualServiceTimeouts | cdktf.IResolvable): any;
export declare class ServiceMeshVirtualServiceTimeoutsOutputReference 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(): ServiceMeshVirtualServiceTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: ServiceMeshVirtualServiceTimeouts | 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_service oci_service_mesh_virtual_service}
*/
export declare class ServiceMeshVirtualService extends cdktf.TerraformResource {
static readonly tfResourceType = "oci_service_mesh_virtual_service";
/**
* Generates CDKTF code for importing a ServiceMeshVirtualService 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 ServiceMeshVirtualService to import
* @param importFromId The id of the existing ServiceMeshVirtualService that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/resources/service_mesh_virtual_service#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ServiceMeshVirtualService 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_service oci_service_mesh_virtual_service} 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 ServiceMeshVirtualServiceConfig
*/
constructor(scope: Construct, id: string, config: ServiceMeshVirtualServiceConfig);
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 _hosts?;
get hosts(): string[];
set hosts(value: string[]);
resetHosts(): void;
get hostsInput(): string[] | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
get lifecycleDetails(): string;
private _meshId?;
get meshId(): string;
set meshId(value: string);
get meshIdInput(): string | undefined;
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 _defaultRoutingPolicy;
get defaultRoutingPolicy(): ServiceMeshVirtualServiceDefaultRoutingPolicyOutputReference;
putDefaultRoutingPolicy(value: ServiceMeshVirtualServiceDefaultRoutingPolicy): void;
resetDefaultRoutingPolicy(): void;
get defaultRoutingPolicyInput(): ServiceMeshVirtualServiceDefaultRoutingPolicy | undefined;
private _mtls;
get mtls(): ServiceMeshVirtualServiceMtlsOutputReference;
putMtls(value: ServiceMeshVirtualServiceMtls): void;
resetMtls(): void;
get mtlsInput(): ServiceMeshVirtualServiceMtls | undefined;
private _timeouts;
get timeouts(): ServiceMeshVirtualServiceTimeoutsOutputReference;
putTimeouts(value: ServiceMeshVirtualServiceTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | ServiceMeshVirtualServiceTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}