UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

307 lines (306 loc) 14.9 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface SqlManagedInstanceConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#administrator_login SqlManagedInstance#administrator_login} */ readonly administratorLogin: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#administrator_login_password SqlManagedInstance#administrator_login_password} */ readonly administratorLoginPassword: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#collation SqlManagedInstance#collation} */ readonly collation?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#dns_zone_partner_id SqlManagedInstance#dns_zone_partner_id} */ readonly dnsZonePartnerId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#id SqlManagedInstance#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/sql_managed_instance#license_type SqlManagedInstance#license_type} */ readonly licenseType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#location SqlManagedInstance#location} */ readonly location: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#minimum_tls_version SqlManagedInstance#minimum_tls_version} */ readonly minimumTlsVersion?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#name SqlManagedInstance#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#proxy_override SqlManagedInstance#proxy_override} */ readonly proxyOverride?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#public_data_endpoint_enabled SqlManagedInstance#public_data_endpoint_enabled} */ readonly publicDataEndpointEnabled?: boolean | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#resource_group_name SqlManagedInstance#resource_group_name} */ readonly resourceGroupName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#sku_name SqlManagedInstance#sku_name} */ readonly skuName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#storage_account_type SqlManagedInstance#storage_account_type} */ readonly storageAccountType?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#storage_size_in_gb SqlManagedInstance#storage_size_in_gb} */ readonly storageSizeInGb: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#subnet_id SqlManagedInstance#subnet_id} */ readonly subnetId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#tags SqlManagedInstance#tags} */ readonly tags?: { [key: string]: string; }; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#timezone_id SqlManagedInstance#timezone_id} */ readonly timezoneId?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#vcores SqlManagedInstance#vcores} */ readonly vcores: number; /** * identity block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#identity SqlManagedInstance#identity} */ readonly identity?: SqlManagedInstanceIdentity; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#timeouts SqlManagedInstance#timeouts} */ readonly timeouts?: SqlManagedInstanceTimeouts; } export interface SqlManagedInstanceIdentity { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#type SqlManagedInstance#type} */ readonly type: string; } export declare function sqlManagedInstanceIdentityToTerraform(struct?: SqlManagedInstanceIdentityOutputReference | SqlManagedInstanceIdentity): any; export declare function sqlManagedInstanceIdentityToHclTerraform(struct?: SqlManagedInstanceIdentityOutputReference | SqlManagedInstanceIdentity): any; export declare class SqlManagedInstanceIdentityOutputReference 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(): SqlManagedInstanceIdentity | undefined; set internalValue(value: SqlManagedInstanceIdentity | undefined); get principalId(): string; get tenantId(): string; private _type?; get type(): string; set type(value: string); get typeInput(): string | undefined; } export interface SqlManagedInstanceTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#create SqlManagedInstance#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#delete SqlManagedInstance#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#read SqlManagedInstance#read} */ readonly read?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#update SqlManagedInstance#update} */ readonly update?: string; } export declare function sqlManagedInstanceTimeoutsToTerraform(struct?: SqlManagedInstanceTimeouts | cdktf.IResolvable): any; export declare function sqlManagedInstanceTimeoutsToHclTerraform(struct?: SqlManagedInstanceTimeouts | cdktf.IResolvable): any; export declare class SqlManagedInstanceTimeoutsOutputReference 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(): SqlManagedInstanceTimeouts | cdktf.IResolvable | undefined; set internalValue(value: SqlManagedInstanceTimeouts | 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/sql_managed_instance azurerm_sql_managed_instance} */ export declare class SqlManagedInstance extends cdktf.TerraformResource { static readonly tfResourceType = "azurerm_sql_managed_instance"; /** * Generates CDKTF code for importing a SqlManagedInstance 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 SqlManagedInstance to import * @param importFromId The id of the existing SqlManagedInstance that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/sql_managed_instance#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the SqlManagedInstance 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/sql_managed_instance azurerm_sql_managed_instance} 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 SqlManagedInstanceConfig */ constructor(scope: Construct, id: string, config: SqlManagedInstanceConfig); private _administratorLogin?; get administratorLogin(): string; set administratorLogin(value: string); get administratorLoginInput(): string | undefined; private _administratorLoginPassword?; get administratorLoginPassword(): string; set administratorLoginPassword(value: string); get administratorLoginPasswordInput(): string | undefined; private _collation?; get collation(): string; set collation(value: string); resetCollation(): void; get collationInput(): string | undefined; private _dnsZonePartnerId?; get dnsZonePartnerId(): string; set dnsZonePartnerId(value: string); resetDnsZonePartnerId(): void; get dnsZonePartnerIdInput(): string | undefined; get fqdn(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _licenseType?; get licenseType(): string; set licenseType(value: string); get licenseTypeInput(): string | undefined; private _location?; get location(): string; set location(value: string); get locationInput(): string | undefined; private _minimumTlsVersion?; get minimumTlsVersion(): string; set minimumTlsVersion(value: string); resetMinimumTlsVersion(): void; get minimumTlsVersionInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _proxyOverride?; get proxyOverride(): string; set proxyOverride(value: string); resetProxyOverride(): void; get proxyOverrideInput(): string | undefined; private _publicDataEndpointEnabled?; get publicDataEndpointEnabled(): boolean | cdktf.IResolvable; set publicDataEndpointEnabled(value: boolean | cdktf.IResolvable); resetPublicDataEndpointEnabled(): void; get publicDataEndpointEnabledInput(): boolean | cdktf.IResolvable | undefined; private _resourceGroupName?; get resourceGroupName(): string; set resourceGroupName(value: string); get resourceGroupNameInput(): string | undefined; private _skuName?; get skuName(): string; set skuName(value: string); get skuNameInput(): string | undefined; private _storageAccountType?; get storageAccountType(): string; set storageAccountType(value: string); resetStorageAccountType(): void; get storageAccountTypeInput(): string | undefined; private _storageSizeInGb?; get storageSizeInGb(): number; set storageSizeInGb(value: number); get storageSizeInGbInput(): number | undefined; private _subnetId?; get subnetId(): string; set subnetId(value: string); get subnetIdInput(): string | undefined; private _tags?; get tags(): { [key: string]: string; }; set tags(value: { [key: string]: string; }); resetTags(): void; get tagsInput(): { [key: string]: string; } | undefined; private _timezoneId?; get timezoneId(): string; set timezoneId(value: string); resetTimezoneId(): void; get timezoneIdInput(): string | undefined; private _vcores?; get vcores(): number; set vcores(value: number); get vcoresInput(): number | undefined; private _identity; get identity(): SqlManagedInstanceIdentityOutputReference; putIdentity(value: SqlManagedInstanceIdentity): void; resetIdentity(): void; get identityInput(): SqlManagedInstanceIdentity | undefined; private _timeouts; get timeouts(): SqlManagedInstanceTimeoutsOutputReference; putTimeouts(value: SqlManagedInstanceTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | SqlManagedInstanceTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }