UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

187 lines (186 loc) 8.87 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface NetworkServicesMeshConfig extends cdktf.TerraformMetaArguments { /** * A free-text description of the resource. Max length 1024 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#description NetworkServicesMesh#description} */ readonly description?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#id NetworkServicesMesh#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; /** * Optional. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy to listen on the * specified port of localhost (127.0.0.1) address. The SIDECAR proxy will expect all traffic to * be redirected to this port regardless of its actual ip:port destination. If unset, a port * '15001' is used as the interception port. This will is applicable only for sidecar proxy * deployments. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#interception_port NetworkServicesMesh#interception_port} */ readonly interceptionPort?: number; /** * Set of label tags associated with the Mesh resource. * * **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. * Please refer to the field 'effective_labels' for all of the labels present on the resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#labels NetworkServicesMesh#labels} */ readonly labels?: { [key: string]: string; }; /** * Location (region) of the Mesh resource to be created. Only the value 'global' is currently allowed; defaults to 'global' if omitted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#location NetworkServicesMesh#location} */ readonly location?: string; /** * Short name of the Mesh resource to be created. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#name NetworkServicesMesh#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#project NetworkServicesMesh#project} */ readonly project?: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#timeouts NetworkServicesMesh#timeouts} */ readonly timeouts?: NetworkServicesMeshTimeouts; } export interface NetworkServicesMeshTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#create NetworkServicesMesh#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#delete NetworkServicesMesh#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#update NetworkServicesMesh#update} */ readonly update?: string; } export declare function networkServicesMeshTimeoutsToTerraform(struct?: NetworkServicesMeshTimeouts | cdktf.IResolvable): any; export declare function networkServicesMeshTimeoutsToHclTerraform(struct?: NetworkServicesMeshTimeouts | cdktf.IResolvable): any; export declare class NetworkServicesMeshTimeoutsOutputReference 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(): NetworkServicesMeshTimeouts | cdktf.IResolvable | undefined; set internalValue(value: NetworkServicesMeshTimeouts | 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/hashicorp/google/6.41.0/docs/resources/network_services_mesh google_network_services_mesh} */ export declare class NetworkServicesMesh extends cdktf.TerraformResource { static readonly tfResourceType = "google_network_services_mesh"; /** * Generates CDKTF code for importing a NetworkServicesMesh 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 NetworkServicesMesh to import * @param importFromId The id of the existing NetworkServicesMesh that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.41.0/docs/resources/network_services_mesh#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the NetworkServicesMesh 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/hashicorp/google/6.41.0/docs/resources/network_services_mesh google_network_services_mesh} 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 NetworkServicesMeshConfig */ constructor(scope: Construct, id: string, config: NetworkServicesMeshConfig); get createTime(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string | undefined; private _effectiveLabels; get effectiveLabels(): cdktf.StringMap; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _interceptionPort?; get interceptionPort(): number; set interceptionPort(value: number); resetInterceptionPort(): void; get interceptionPortInput(): number | undefined; private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); resetLabels(): void; get labelsInput(): { [key: string]: string; } | undefined; private _location?; get location(): string; set location(value: string); resetLocation(): void; get locationInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _project?; get project(): string; set project(value: string); resetProject(): void; get projectInput(): string | undefined; get selfLink(): string; private _terraformLabels; get terraformLabels(): cdktf.StringMap; get updateTime(): string; private _timeouts; get timeouts(): NetworkServicesMeshTimeoutsOutputReference; putTimeouts(value: NetworkServicesMeshTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | NetworkServicesMeshTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }