UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

150 lines (149 loc) 7.92 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface ComputePublicAdvertisedPrefixConfig extends cdktf.TerraformMetaArguments { /** * An optional description of this resource. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#description ComputePublicAdvertisedPrefix#description} */ readonly description?: string; /** * The IPv4 address to be used for reverse DNS verification. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#dns_verification_ip ComputePublicAdvertisedPrefix#dns_verification_ip} */ readonly dnsVerificationIp: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#id ComputePublicAdvertisedPrefix#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 IPv4 address range, in CIDR format, represented by this public advertised prefix. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#ip_cidr_range ComputePublicAdvertisedPrefix#ip_cidr_range} */ readonly ipCidrRange: string; /** * Name of the resource. The name must be 1-63 characters long, and * comply with RFC1035. Specifically, the name must be 1-63 characters * long and match the regular expression '[a-z]([-a-z0-9]*[a-z0-9])?' * which means the first character must be a lowercase letter, and all * following characters must be a dash, lowercase letter, or digit, * except the last character, which cannot be a dash. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#name ComputePublicAdvertisedPrefix#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#project ComputePublicAdvertisedPrefix#project} */ readonly project?: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#timeouts ComputePublicAdvertisedPrefix#timeouts} */ readonly timeouts?: ComputePublicAdvertisedPrefixTimeouts; } export interface ComputePublicAdvertisedPrefixTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#create ComputePublicAdvertisedPrefix#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#delete ComputePublicAdvertisedPrefix#delete} */ readonly delete?: string; } export declare function computePublicAdvertisedPrefixTimeoutsToTerraform(struct?: ComputePublicAdvertisedPrefixTimeouts | cdktf.IResolvable): any; export declare function computePublicAdvertisedPrefixTimeoutsToHclTerraform(struct?: ComputePublicAdvertisedPrefixTimeouts | cdktf.IResolvable): any; export declare class ComputePublicAdvertisedPrefixTimeoutsOutputReference 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(): ComputePublicAdvertisedPrefixTimeouts | cdktf.IResolvable | undefined; set internalValue(value: ComputePublicAdvertisedPrefixTimeouts | 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_public_advertised_prefix google_compute_public_advertised_prefix} */ export declare class ComputePublicAdvertisedPrefix extends cdktf.TerraformResource { static readonly tfResourceType = "google_compute_public_advertised_prefix"; /** * Generates CDKTF code for importing a ComputePublicAdvertisedPrefix 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 ComputePublicAdvertisedPrefix to import * @param importFromId The id of the existing ComputePublicAdvertisedPrefix that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/compute_public_advertised_prefix#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the ComputePublicAdvertisedPrefix 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_public_advertised_prefix google_compute_public_advertised_prefix} 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 ComputePublicAdvertisedPrefixConfig */ constructor(scope: Construct, id: string, config: ComputePublicAdvertisedPrefixConfig); private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string | undefined; private _dnsVerificationIp?; get dnsVerificationIp(): string; set dnsVerificationIp(value: string); get dnsVerificationIpInput(): string | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _ipCidrRange?; get ipCidrRange(): string; set ipCidrRange(value: string); get ipCidrRangeInput(): 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; get sharedSecret(): string; private _timeouts; get timeouts(): ComputePublicAdvertisedPrefixTimeoutsOutputReference; putTimeouts(value: ComputePublicAdvertisedPrefixTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | ComputePublicAdvertisedPrefixTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }