UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

144 lines (143 loc) 7.32 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ComputeInstanceGroupNamedPortAConfig extends cdktf.TerraformMetaArguments { /** * The name of the instance group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#group ComputeInstanceGroupNamedPortA#group} */ readonly group: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#id ComputeInstanceGroupNamedPortA#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; /** * The name for this named port. The name must be 1-63 characters * long, and comply with RFC1035. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#name ComputeInstanceGroupNamedPortA#name} */ readonly name: string; /** * The port number, which can be a value between 1 and 65535. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#port ComputeInstanceGroupNamedPortA#port} */ readonly port: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#project ComputeInstanceGroupNamedPortA#project} */ readonly project?: string; /** * The zone of the instance group. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#zone ComputeInstanceGroupNamedPortA#zone} */ readonly zone?: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#timeouts ComputeInstanceGroupNamedPortA#timeouts} */ readonly timeouts?: ComputeInstanceGroupNamedPortTimeouts; } export interface ComputeInstanceGroupNamedPortTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#create ComputeInstanceGroupNamedPortA#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#delete ComputeInstanceGroupNamedPortA#delete} */ readonly delete?: string; } export declare function computeInstanceGroupNamedPortTimeoutsToTerraform(struct?: ComputeInstanceGroupNamedPortTimeouts | cdktf.IResolvable): any; export declare function computeInstanceGroupNamedPortTimeoutsToHclTerraform(struct?: ComputeInstanceGroupNamedPortTimeouts | cdktf.IResolvable): any; export declare class ComputeInstanceGroupNamedPortTimeoutsOutputReference 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(): ComputeInstanceGroupNamedPortTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ComputeInstanceGroupNamedPortTimeouts | 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; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port google_compute_instance_group_named_port} */ export declare class ComputeInstanceGroupNamedPortA extends cdktf.TerraformResource { static readonly tfResourceType = "google_compute_instance_group_named_port"; /** * Generates CDKTF code for importing a ComputeInstanceGroupNamedPortA 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 ComputeInstanceGroupNamedPortA to import * @param importFromId The id of the existing ComputeInstanceGroupNamedPortA that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_instance_group_named_port#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ComputeInstanceGroupNamedPortA 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.13.0/docs/resources/compute_instance_group_named_port google_compute_instance_group_named_port} 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 ComputeInstanceGroupNamedPortAConfig */ constructor(scope: Construct, id: string, config: ComputeInstanceGroupNamedPortAConfig); private _group?; get group(): string; set group(value: string); get groupInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _port?; get port(): number; set port(value: number); get portInput(): number | undefined; private _project?; get project(): string; set project(value: string); resetProject(): void; get projectInput(): string | undefined; private _zone?; get zone(): string; set zone(value: string); resetZone(): void; get zoneInput(): string | undefined; private _timeouts; get timeouts(): ComputeInstanceGroupNamedPortTimeoutsOutputReference; putTimeouts(value: ComputeInstanceGroupNamedPortTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | ComputeInstanceGroupNamedPortTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }