@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
224 lines (223 loc) • 11.1 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface EdgenetworkInterconnectAttachmentConfig 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.36.1/docs/resources/edgenetwork_interconnect_attachment#description EdgenetworkInterconnectAttachment#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#id EdgenetworkInterconnectAttachment#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 ID of the underlying interconnect that this attachment's traffic will traverse through.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#interconnect EdgenetworkInterconnectAttachment#interconnect}
*/
readonly interconnect: string;
/**
* A unique ID that identifies this interconnect attachment.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#interconnect_attachment_id EdgenetworkInterconnectAttachment#interconnect_attachment_id}
*/
readonly interconnectAttachmentId: string;
/**
* Labels associated with this 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.36.1/docs/resources/edgenetwork_interconnect_attachment#labels EdgenetworkInterconnectAttachment#labels}
*/
readonly labels?: {
[key: string]: string;
};
/**
* The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#location EdgenetworkInterconnectAttachment#location}
*/
readonly location: string;
/**
* IP (L3) MTU value of the virtual edge cloud. Default value is '1500'. Possible values are: '1500', '9000'.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#mtu EdgenetworkInterconnectAttachment#mtu}
*/
readonly mtu?: number;
/**
* The ID of the network to which this interconnect attachment belongs.
* Must be of the form: 'projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}'
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#network EdgenetworkInterconnectAttachment#network}
*/
readonly network: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#project EdgenetworkInterconnectAttachment#project}
*/
readonly project?: string;
/**
* VLAN ID provided by user. Must be site-wise unique.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#vlan_id EdgenetworkInterconnectAttachment#vlan_id}
*/
readonly vlanId: number;
/**
* The name of the target Distributed Cloud Edge zone.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#zone EdgenetworkInterconnectAttachment#zone}
*/
readonly zone: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#timeouts EdgenetworkInterconnectAttachment#timeouts}
*/
readonly timeouts?: EdgenetworkInterconnectAttachmentTimeouts;
}
export interface EdgenetworkInterconnectAttachmentTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#create EdgenetworkInterconnectAttachment#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#delete EdgenetworkInterconnectAttachment#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#update EdgenetworkInterconnectAttachment#update}
*/
readonly update?: string;
}
export declare function edgenetworkInterconnectAttachmentTimeoutsToTerraform(struct?: EdgenetworkInterconnectAttachmentTimeouts | cdktf.IResolvable): any;
export declare function edgenetworkInterconnectAttachmentTimeoutsToHclTerraform(struct?: EdgenetworkInterconnectAttachmentTimeouts | cdktf.IResolvable): any;
export declare class EdgenetworkInterconnectAttachmentTimeoutsOutputReference 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(): EdgenetworkInterconnectAttachmentTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: EdgenetworkInterconnectAttachmentTimeouts | 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.36.1/docs/resources/edgenetwork_interconnect_attachment google_edgenetwork_interconnect_attachment}
*/
export declare class EdgenetworkInterconnectAttachment extends cdktf.TerraformResource {
static readonly tfResourceType = "google_edgenetwork_interconnect_attachment";
/**
* Generates CDKTF code for importing a EdgenetworkInterconnectAttachment 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 EdgenetworkInterconnectAttachment to import
* @param importFromId The id of the existing EdgenetworkInterconnectAttachment that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.36.1/docs/resources/edgenetwork_interconnect_attachment#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the EdgenetworkInterconnectAttachment 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.36.1/docs/resources/edgenetwork_interconnect_attachment google_edgenetwork_interconnect_attachment} 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 EdgenetworkInterconnectAttachmentConfig
*/
constructor(scope: Construct, id: string, config: EdgenetworkInterconnectAttachmentConfig);
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 _interconnect?;
get interconnect(): string;
set interconnect(value: string);
get interconnectInput(): string | undefined;
private _interconnectAttachmentId?;
get interconnectAttachmentId(): string;
set interconnectAttachmentId(value: string);
get interconnectAttachmentIdInput(): string | 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);
get locationInput(): string | undefined;
private _mtu?;
get mtu(): number;
set mtu(value: number);
resetMtu(): void;
get mtuInput(): number | undefined;
get name(): string;
private _network?;
get network(): string;
set network(value: string);
get networkInput(): string | undefined;
private _project?;
get project(): string;
set project(value: string);
resetProject(): void;
get projectInput(): string | undefined;
private _terraformLabels;
get terraformLabels(): cdktf.StringMap;
get updateTime(): string;
private _vlanId?;
get vlanId(): number;
set vlanId(value: number);
get vlanIdInput(): number | undefined;
private _zone?;
get zone(): string;
set zone(value: string);
get zoneInput(): string | undefined;
private _timeouts;
get timeouts(): EdgenetworkInterconnectAttachmentTimeoutsOutputReference;
putTimeouts(value: EdgenetworkInterconnectAttachmentTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | EdgenetworkInterconnectAttachmentTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}