UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

168 lines (167 loc) 8.96 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface KustoDatabasePrincipalAssignmentConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#cluster_name KustoDatabasePrincipalAssignment#cluster_name} */ readonly clusterName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#database_name KustoDatabasePrincipalAssignment#database_name} */ readonly databaseName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#id KustoDatabasePrincipalAssignment#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/kusto_database_principal_assignment#name KustoDatabasePrincipalAssignment#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#principal_id KustoDatabasePrincipalAssignment#principal_id} */ readonly principalId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#principal_type KustoDatabasePrincipalAssignment#principal_type} */ readonly principalType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#resource_group_name KustoDatabasePrincipalAssignment#resource_group_name} */ readonly resourceGroupName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#role KustoDatabasePrincipalAssignment#role} */ readonly role: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#tenant_id KustoDatabasePrincipalAssignment#tenant_id} */ readonly tenantId: string; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#timeouts KustoDatabasePrincipalAssignment#timeouts} */ readonly timeouts?: KustoDatabasePrincipalAssignmentTimeouts; } export interface KustoDatabasePrincipalAssignmentTimeouts { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#create KustoDatabasePrincipalAssignment#create} */ readonly create?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#delete KustoDatabasePrincipalAssignment#delete} */ readonly delete?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#read KustoDatabasePrincipalAssignment#read} */ readonly read?: string; } export declare function kustoDatabasePrincipalAssignmentTimeoutsToTerraform(struct?: KustoDatabasePrincipalAssignmentTimeouts | cdktf.IResolvable): any; export declare function kustoDatabasePrincipalAssignmentTimeoutsToHclTerraform(struct?: KustoDatabasePrincipalAssignmentTimeouts | cdktf.IResolvable): any; export declare class KustoDatabasePrincipalAssignmentTimeoutsOutputReference 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(): KustoDatabasePrincipalAssignmentTimeouts | cdktf.IResolvable | undefined; set internalValue(value: KustoDatabasePrincipalAssignmentTimeouts | 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; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment azurerm_kusto_database_principal_assignment} */ export declare class KustoDatabasePrincipalAssignment extends cdktf.TerraformResource { static readonly tfResourceType = "azurerm_kusto_database_principal_assignment"; /** * Generates CDKTF code for importing a KustoDatabasePrincipalAssignment 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 KustoDatabasePrincipalAssignment to import * @param importFromId The id of the existing KustoDatabasePrincipalAssignment that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/kusto_database_principal_assignment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the KustoDatabasePrincipalAssignment 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/kusto_database_principal_assignment azurerm_kusto_database_principal_assignment} 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 KustoDatabasePrincipalAssignmentConfig */ constructor(scope: Construct, id: string, config: KustoDatabasePrincipalAssignmentConfig); private _clusterName?; get clusterName(): string; set clusterName(value: string); get clusterNameInput(): string | undefined; private _databaseName?; get databaseName(): string; set databaseName(value: string); get databaseNameInput(): string | undefined; 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 _principalId?; get principalId(): string; set principalId(value: string); get principalIdInput(): string | undefined; get principalName(): string; private _principalType?; get principalType(): string; set principalType(value: string); get principalTypeInput(): string | undefined; private _resourceGroupName?; get resourceGroupName(): string; set resourceGroupName(value: string); get resourceGroupNameInput(): string | undefined; private _role?; get role(): string; set role(value: string); get roleInput(): string | undefined; private _tenantId?; get tenantId(): string; set tenantId(value: string); get tenantIdInput(): string | undefined; get tenantName(): string; private _timeouts; get timeouts(): KustoDatabasePrincipalAssignmentTimeoutsOutputReference; putTimeouts(value: KustoDatabasePrincipalAssignmentTimeouts): void; resetTimeouts(): void; get timeoutsInput(): cdktf.IResolvable | KustoDatabasePrincipalAssignmentTimeouts | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }