UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

364 lines (363 loc) 19.1 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DevTestLinuxVirtualMachineConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#allow_claim DevTestLinuxVirtualMachine#allow_claim} */ readonly allowClaim?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#disallow_public_ip_address DevTestLinuxVirtualMachine#disallow_public_ip_address} */ readonly disallowPublicIpAddress?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#id DevTestLinuxVirtualMachine#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/dev_test_linux_virtual_machine#lab_name DevTestLinuxVirtualMachine#lab_name} */ readonly labName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#lab_subnet_name DevTestLinuxVirtualMachine#lab_subnet_name} */ readonly labSubnetName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#lab_virtual_network_id DevTestLinuxVirtualMachine#lab_virtual_network_id} */ readonly labVirtualNetworkId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#location DevTestLinuxVirtualMachine#location} */ readonly location: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#name DevTestLinuxVirtualMachine#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#notes DevTestLinuxVirtualMachine#notes} */ readonly notes?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#password DevTestLinuxVirtualMachine#password} */ readonly password?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#resource_group_name DevTestLinuxVirtualMachine#resource_group_name} */ readonly resourceGroupName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#size DevTestLinuxVirtualMachine#size} */ readonly size: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#ssh_key DevTestLinuxVirtualMachine#ssh_key} */ readonly sshKey?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#storage_type DevTestLinuxVirtualMachine#storage_type} */ readonly storageType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#tags DevTestLinuxVirtualMachine#tags} */ readonly tags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#username DevTestLinuxVirtualMachine#username} */ readonly username: string; /** * gallery_image_reference block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#gallery_image_reference DevTestLinuxVirtualMachine#gallery_image_reference} */ readonly galleryImageReference: DevTestLinuxVirtualMachineGalleryImageReference; /** * inbound_nat_rule block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#inbound_nat_rule DevTestLinuxVirtualMachine#inbound_nat_rule} */ readonly inboundNatRule?: DevTestLinuxVirtualMachineInboundNatRule[] | cdktf.IResolvable; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#timeouts DevTestLinuxVirtualMachine#timeouts} */ readonly timeouts?: DevTestLinuxVirtualMachineTimeouts; } export interface DevTestLinuxVirtualMachineGalleryImageReference { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#offer DevTestLinuxVirtualMachine#offer} */ readonly offer: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#publisher DevTestLinuxVirtualMachine#publisher} */ readonly publisher: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#sku DevTestLinuxVirtualMachine#sku} */ readonly sku: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#version DevTestLinuxVirtualMachine#version} */ readonly version: string; } export declare function devTestLinuxVirtualMachineGalleryImageReferenceToTerraform(struct?: DevTestLinuxVirtualMachineGalleryImageReferenceOutputReference | DevTestLinuxVirtualMachineGalleryImageReference): any; export declare function devTestLinuxVirtualMachineGalleryImageReferenceToHclTerraform(struct?: DevTestLinuxVirtualMachineGalleryImageReferenceOutputReference | DevTestLinuxVirtualMachineGalleryImageReference): any; export declare class DevTestLinuxVirtualMachineGalleryImageReferenceOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @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(): DevTestLinuxVirtualMachineGalleryImageReference | undefined; set internalValue(value: DevTestLinuxVirtualMachineGalleryImageReference | undefined); private _offer?; get offer(): string; set offer(value: string); get offerInput(): string | undefined; private _publisher?; get publisher(): string; set publisher(value: string); get publisherInput(): string | undefined; private _sku?; get sku(): string; set sku(value: string); get skuInput(): string | undefined; private _version?; get version(): string; set version(value: string); get versionInput(): string | undefined; } export interface DevTestLinuxVirtualMachineInboundNatRule { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#backend_port DevTestLinuxVirtualMachine#backend_port} */ readonly backendPort: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#protocol DevTestLinuxVirtualMachine#protocol} */ readonly protocol: string; } export declare function devTestLinuxVirtualMachineInboundNatRuleToTerraform(struct?: DevTestLinuxVirtualMachineInboundNatRule | cdktf.IResolvable): any; export declare function devTestLinuxVirtualMachineInboundNatRuleToHclTerraform(struct?: DevTestLinuxVirtualMachineInboundNatRule | cdktf.IResolvable): any; export declare class DevTestLinuxVirtualMachineInboundNatRuleOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DevTestLinuxVirtualMachineInboundNatRule | cdktf.IResolvable | undefined; set internalValue(value: DevTestLinuxVirtualMachineInboundNatRule | cdktf.IResolvable | undefined); private _backendPort?; get backendPort(): number; set backendPort(value: number); get backendPortInput(): number | undefined; get frontendPort(): number; private _protocol?; get protocol(): string; set protocol(value: string); get protocolInput(): string | undefined; } export declare class DevTestLinuxVirtualMachineInboundNatRuleList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: DevTestLinuxVirtualMachineInboundNatRule[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DevTestLinuxVirtualMachineInboundNatRuleOutputReference; } export interface DevTestLinuxVirtualMachineTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#create DevTestLinuxVirtualMachine#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#delete DevTestLinuxVirtualMachine#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#read DevTestLinuxVirtualMachine#read} */ readonly read?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#update DevTestLinuxVirtualMachine#update} */ readonly update?: string; } export declare function devTestLinuxVirtualMachineTimeoutsToTerraform(struct?: DevTestLinuxVirtualMachineTimeouts | cdktf.IResolvable): any; export declare function devTestLinuxVirtualMachineTimeoutsToHclTerraform(struct?: DevTestLinuxVirtualMachineTimeouts | cdktf.IResolvable): any; export declare class DevTestLinuxVirtualMachineTimeoutsOutputReference 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(): DevTestLinuxVirtualMachineTimeouts | cdktf.IResolvable | undefined; set internalValue(value: DevTestLinuxVirtualMachineTimeouts | 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/dev_test_linux_virtual_machine azurerm_dev_test_linux_virtual_machine} */ export declare class DevTestLinuxVirtualMachine extends cdktf.TerraformResource { static readonly tfResourceType = "azurerm_dev_test_linux_virtual_machine"; /** * Generates CDKTF code for importing a DevTestLinuxVirtualMachine 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 DevTestLinuxVirtualMachine to import * @param importFromId The id of the existing DevTestLinuxVirtualMachine that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/dev_test_linux_virtual_machine#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DevTestLinuxVirtualMachine 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/dev_test_linux_virtual_machine azurerm_dev_test_linux_virtual_machine} 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 DevTestLinuxVirtualMachineConfig */ constructor(scope: Construct, id: string, config: DevTestLinuxVirtualMachineConfig); private _allowClaim?; get allowClaim(): boolean | cdktf.IResolvable; set allowClaim(value: boolean | cdktf.IResolvable); resetAllowClaim(): void; get allowClaimInput(): boolean | cdktf.IResolvable | undefined; private _disallowPublicIpAddress?; get disallowPublicIpAddress(): boolean | cdktf.IResolvable; set disallowPublicIpAddress(value: boolean | cdktf.IResolvable); resetDisallowPublicIpAddress(): void; get disallowPublicIpAddressInput(): boolean | cdktf.IResolvable | undefined; get fqdn(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _labName?; get labName(): string; set labName(value: string); get labNameInput(): string | undefined; private _labSubnetName?; get labSubnetName(): string; set labSubnetName(value: string); get labSubnetNameInput(): string | undefined; private _labVirtualNetworkId?; get labVirtualNetworkId(): string; set labVirtualNetworkId(value: string); get labVirtualNetworkIdInput(): string | undefined; private _location?; get location(): string; set location(value: string); get locationInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _notes?; get notes(): string; set notes(value: string); resetNotes(): void; get notesInput(): string | undefined; private _password?; get password(): string; set password(value: string); resetPassword(): void; get passwordInput(): string | undefined; private _resourceGroupName?; get resourceGroupName(): string; set resourceGroupName(value: string); get resourceGroupNameInput(): string | undefined; private _size?; get size(): string; set size(value: string); get sizeInput(): string | undefined; private _sshKey?; get sshKey(): string; set sshKey(value: string); resetSshKey(): void; get sshKeyInput(): string | undefined; private _storageType?; get storageType(): string; set storageType(value: string); get storageTypeInput(): string | undefined; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; } | undefined; get uniqueIdentifier(): string; private _username?; get username(): string; set username(value: string); get usernameInput(): string | undefined; private _galleryImageReference; get galleryImageReference(): DevTestLinuxVirtualMachineGalleryImageReferenceOutputReference; putGalleryImageReference(value: DevTestLinuxVirtualMachineGalleryImageReference): void; get galleryImageReferenceInput(): DevTestLinuxVirtualMachineGalleryImageReference | undefined; private _inboundNatRule; get inboundNatRule(): DevTestLinuxVirtualMachineInboundNatRuleList; putInboundNatRule(value: DevTestLinuxVirtualMachineInboundNatRule[] | cdktf.IResolvable): void; resetInboundNatRule(): void; get inboundNatRuleInput(): cdktf.IResolvable | DevTestLinuxVirtualMachineInboundNatRule[] | undefined; private _timeouts; get timeouts(): DevTestLinuxVirtualMachineTimeoutsOutputReference; putTimeouts(value: DevTestLinuxVirtualMachineTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | DevTestLinuxVirtualMachineTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }