UNPKG

@cdktf/provider-upcloud

Version:

Prebuilt upcloud Provider for Terraform CDK (cdktf)

50 lines (49 loc) 2.47 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataUpcloudZonesConfig extends cdktf.TerraformMetaArguments { /** * Filter zones by type. Possible values are "all", "public" and "private". Default is "public". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.32.0/docs/data-sources/zones#filter_type DataUpcloudZones#filter_type} */ readonly filterType?: string; } /** * Represents a {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.32.0/docs/data-sources/zones upcloud_zones} */ export declare class DataUpcloudZones extends cdktf.TerraformDataSource { static readonly tfResourceType = "upcloud_zones"; /** * Generates CDKTF code for importing a DataUpcloudZones 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 DataUpcloudZones to import * @param importFromId The id of the existing DataUpcloudZones that should be imported. Refer to the {@link https://registry.terraform.io/providers/upcloudltd/upcloud/5.32.0/docs/data-sources/zones#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataUpcloudZones 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/upcloudltd/upcloud/5.32.0/docs/data-sources/zones upcloud_zones} 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 DataUpcloudZonesConfig = {} */ constructor(scope: Construct, id: string, config?: DataUpcloudZonesConfig); private _filterType?; get filterType(): string; set filterType(value: string); resetFilterType(): void; get filterTypeInput(): string | undefined; get id(): string; get zoneIds(): string[]; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }