@cdktf/provider-google
Version:
Prebuilt google Provider for Terraform CDK (cdktf)
150 lines (149 loc) • 7.6 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface VmwareengineExternalAddressConfig extends cdktf.TerraformMetaArguments {
/**
* User-provided description for this resource.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#description VmwareengineExternalAddress#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#id VmwareengineExternalAddress#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 internal IP address of a workload VM.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#internal_ip VmwareengineExternalAddress#internal_ip}
*/
readonly internalIp: string;
/**
* The ID of the external IP Address.
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#name VmwareengineExternalAddress#name}
*/
readonly name: string;
/**
* The resource name of the private cloud to create a new external address in.
* Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
* For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#parent VmwareengineExternalAddress#parent}
*/
readonly parent: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#timeouts VmwareengineExternalAddress#timeouts}
*/
readonly timeouts?: VmwareengineExternalAddressTimeouts;
}
export interface VmwareengineExternalAddressTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#create VmwareengineExternalAddress#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#delete VmwareengineExternalAddress#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#update VmwareengineExternalAddress#update}
*/
readonly update?: string;
}
export declare function vmwareengineExternalAddressTimeoutsToTerraform(struct?: VmwareengineExternalAddressTimeouts | cdktf.IResolvable): any;
export declare function vmwareengineExternalAddressTimeoutsToHclTerraform(struct?: VmwareengineExternalAddressTimeouts | cdktf.IResolvable): any;
export declare class VmwareengineExternalAddressTimeoutsOutputReference 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(): VmwareengineExternalAddressTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: VmwareengineExternalAddressTimeouts | 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.13.0/docs/resources/vmwareengine_external_address google_vmwareengine_external_address}
*/
export declare class VmwareengineExternalAddress extends cdktf.TerraformResource {
static readonly tfResourceType = "google_vmwareengine_external_address";
/**
* Generates CDKTF code for importing a VmwareengineExternalAddress 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 VmwareengineExternalAddress to import
* @param importFromId The id of the existing VmwareengineExternalAddress that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/vmwareengine_external_address#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the VmwareengineExternalAddress 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/vmwareengine_external_address google_vmwareengine_external_address} 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 VmwareengineExternalAddressConfig
*/
constructor(scope: Construct, id: string, config: VmwareengineExternalAddressConfig);
get createTime(): string;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
get externalIp(): string;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _internalIp?;
get internalIp(): string;
set internalIp(value: string);
get internalIpInput(): string | undefined;
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _parent?;
get parent(): string;
set parent(value: string);
get parentInput(): string | undefined;
get state(): string;
get uid(): string;
get updateTime(): string;
private _timeouts;
get timeouts(): VmwareengineExternalAddressTimeoutsOutputReference;
putTimeouts(value: VmwareengineExternalAddressTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | VmwareengineExternalAddressTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}