@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
161 lines (160 loc) • 7.72 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface VirtualHubIpConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#id VirtualHubIp#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;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#name VirtualHubIp#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#private_ip_address VirtualHubIp#private_ip_address}
*/
readonly privateIpAddress?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#private_ip_allocation_method VirtualHubIp#private_ip_allocation_method}
*/
readonly privateIpAllocationMethod?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#public_ip_address_id VirtualHubIp#public_ip_address_id}
*/
readonly publicIpAddressId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#subnet_id VirtualHubIp#subnet_id}
*/
readonly subnetId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#virtual_hub_id VirtualHubIp#virtual_hub_id}
*/
readonly virtualHubId: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#timeouts VirtualHubIp#timeouts}
*/
readonly timeouts?: VirtualHubIpTimeouts;
}
export interface VirtualHubIpTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#create VirtualHubIp#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#delete VirtualHubIp#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#read VirtualHubIp#read}
*/
readonly read?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#update VirtualHubIp#update}
*/
readonly update?: string;
}
export declare function virtualHubIpTimeoutsToTerraform(struct?: VirtualHubIpTimeouts | cdktf.IResolvable): any;
export declare function virtualHubIpTimeoutsToHclTerraform(struct?: VirtualHubIpTimeouts | cdktf.IResolvable): any;
export declare class VirtualHubIpTimeoutsOutputReference 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(): VirtualHubIpTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: VirtualHubIpTimeouts | 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 _read?;
get read(): string;
set read(value: string);
resetRead(): void;
get readInput(): 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/azurerm/3.116.0/docs/resources/virtual_hub_ip azurerm_virtual_hub_ip}
*/
export declare class VirtualHubIp extends cdktf.TerraformResource {
static readonly tfResourceType = "azurerm_virtual_hub_ip";
/**
* Generates CDKTF code for importing a VirtualHubIp 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 VirtualHubIp to import
* @param importFromId The id of the existing VirtualHubIp that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/virtual_hub_ip#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the VirtualHubIp 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/azurerm/3.116.0/docs/resources/virtual_hub_ip azurerm_virtual_hub_ip} 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 VirtualHubIpConfig
*/
constructor(scope: Construct, id: string, config: VirtualHubIpConfig);
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 _privateIpAddress?;
get privateIpAddress(): string;
set privateIpAddress(value: string);
resetPrivateIpAddress(): void;
get privateIpAddressInput(): string | undefined;
private _privateIpAllocationMethod?;
get privateIpAllocationMethod(): string;
set privateIpAllocationMethod(value: string);
resetPrivateIpAllocationMethod(): void;
get privateIpAllocationMethodInput(): string | undefined;
private _publicIpAddressId?;
get publicIpAddressId(): string;
set publicIpAddressId(value: string);
get publicIpAddressIdInput(): string | undefined;
private _subnetId?;
get subnetId(): string;
set subnetId(value: string);
get subnetIdInput(): string | undefined;
private _virtualHubId?;
get virtualHubId(): string;
set virtualHubId(value: string);
get virtualHubIdInput(): string | undefined;
private _timeouts;
get timeouts(): VirtualHubIpTimeoutsOutputReference;
putTimeouts(value: VirtualHubIpTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | VirtualHubIpTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}