UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

119 lines (118 loc) 6.03 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataAzurermSubnetConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/subnet#id DataAzurermSubnet#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/data-sources/subnet#name DataAzurermSubnet#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/subnet#resource_group_name DataAzurermSubnet#resource_group_name} */ readonly resourceGroupName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/subnet#virtual_network_name DataAzurermSubnet#virtual_network_name} */ readonly virtualNetworkName: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/subnet#timeouts DataAzurermSubnet#timeouts} */ readonly timeouts?: DataAzurermSubnetTimeouts; } export interface DataAzurermSubnetTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/subnet#read DataAzurermSubnet#read} */ readonly read?: string; } export declare function dataAzurermSubnetTimeoutsToTerraform(struct?: DataAzurermSubnetTimeouts | cdktf.IResolvable): any; export declare function dataAzurermSubnetTimeoutsToHclTerraform(struct?: DataAzurermSubnetTimeouts | cdktf.IResolvable): any; export declare class DataAzurermSubnetTimeoutsOutputReference 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(): DataAzurermSubnetTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DataAzurermSubnetTimeouts | cdktf.IResolvable | undefined); private _read?; get read(): string; set read(value: string); resetRead(): void; get readInput(): string | undefined; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/subnet azurerm_subnet} */ export declare class DataAzurermSubnet extends cdktf.TerraformDataSource { static readonly tfResourceType = "azurerm_subnet"; /** * Generates CDKTF code for importing a DataAzurermSubnet 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 DataAzurermSubnet to import * @param importFromId The id of the existing DataAzurermSubnet that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/subnet#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataAzurermSubnet 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/data-sources/subnet azurerm_subnet} Data Source * * @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 DataAzurermSubnetConfig */ constructor(scope: Construct, id: string, config: DataAzurermSubnetConfig); get addressPrefix(): string; get addressPrefixes(): string[]; get defaultOutboundAccessEnabled(): cdktf.IResolvable; get enforcePrivateLinkEndpointNetworkPolicies(): cdktf.IResolvable; get enforcePrivateLinkServiceNetworkPolicies(): cdktf.IResolvable; 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; get networkSecurityGroupId(): string; get privateEndpointNetworkPolicies(): string; get privateEndpointNetworkPoliciesEnabled(): cdktf.IResolvable; get privateLinkServiceNetworkPoliciesEnabled(): cdktf.IResolvable; private _resourceGroupName?; get resourceGroupName(): string; set resourceGroupName(value: string); get resourceGroupNameInput(): string | undefined; get routeTableId(): string; get serviceEndpoints(): string[]; private _virtualNetworkName?; get virtualNetworkName(): string; set virtualNetworkName(value: string); get virtualNetworkNameInput(): string | undefined; private _timeouts; get timeouts(): DataAzurermSubnetTimeoutsOutputReference; putTimeouts(value: DataAzurermSubnetTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | DataAzurermSubnetTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }