@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
196 lines (195 loc) • 11.1 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface SpringCloudAppCosmosdbAssociationConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#api_type SpringCloudAppCosmosdbAssociation#api_type}
*/
readonly apiType: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#cosmosdb_access_key SpringCloudAppCosmosdbAssociation#cosmosdb_access_key}
*/
readonly cosmosdbAccessKey: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#cosmosdb_account_id SpringCloudAppCosmosdbAssociation#cosmosdb_account_id}
*/
readonly cosmosdbAccountId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#cosmosdb_cassandra_keyspace_name SpringCloudAppCosmosdbAssociation#cosmosdb_cassandra_keyspace_name}
*/
readonly cosmosdbCassandraKeyspaceName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#cosmosdb_gremlin_database_name SpringCloudAppCosmosdbAssociation#cosmosdb_gremlin_database_name}
*/
readonly cosmosdbGremlinDatabaseName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#cosmosdb_gremlin_graph_name SpringCloudAppCosmosdbAssociation#cosmosdb_gremlin_graph_name}
*/
readonly cosmosdbGremlinGraphName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#cosmosdb_mongo_database_name SpringCloudAppCosmosdbAssociation#cosmosdb_mongo_database_name}
*/
readonly cosmosdbMongoDatabaseName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#cosmosdb_sql_database_name SpringCloudAppCosmosdbAssociation#cosmosdb_sql_database_name}
*/
readonly cosmosdbSqlDatabaseName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#id SpringCloudAppCosmosdbAssociation#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/spring_cloud_app_cosmosdb_association#name SpringCloudAppCosmosdbAssociation#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#spring_cloud_app_id SpringCloudAppCosmosdbAssociation#spring_cloud_app_id}
*/
readonly springCloudAppId: string;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#timeouts SpringCloudAppCosmosdbAssociation#timeouts}
*/
readonly timeouts?: SpringCloudAppCosmosdbAssociationTimeouts;
}
export interface SpringCloudAppCosmosdbAssociationTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#create SpringCloudAppCosmosdbAssociation#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#delete SpringCloudAppCosmosdbAssociation#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#read SpringCloudAppCosmosdbAssociation#read}
*/
readonly read?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#update SpringCloudAppCosmosdbAssociation#update}
*/
readonly update?: string;
}
export declare function springCloudAppCosmosdbAssociationTimeoutsToTerraform(struct?: SpringCloudAppCosmosdbAssociationTimeouts | cdktf.IResolvable): any;
export declare function springCloudAppCosmosdbAssociationTimeoutsToHclTerraform(struct?: SpringCloudAppCosmosdbAssociationTimeouts | cdktf.IResolvable): any;
export declare class SpringCloudAppCosmosdbAssociationTimeoutsOutputReference 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(): SpringCloudAppCosmosdbAssociationTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: SpringCloudAppCosmosdbAssociationTimeouts | 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/spring_cloud_app_cosmosdb_association azurerm_spring_cloud_app_cosmosdb_association}
*/
export declare class SpringCloudAppCosmosdbAssociation extends cdktf.TerraformResource {
static readonly tfResourceType = "azurerm_spring_cloud_app_cosmosdb_association";
/**
* Generates CDKTF code for importing a SpringCloudAppCosmosdbAssociation 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 SpringCloudAppCosmosdbAssociation to import
* @param importFromId The id of the existing SpringCloudAppCosmosdbAssociation that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/spring_cloud_app_cosmosdb_association#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the SpringCloudAppCosmosdbAssociation 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/spring_cloud_app_cosmosdb_association azurerm_spring_cloud_app_cosmosdb_association} 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 SpringCloudAppCosmosdbAssociationConfig
*/
constructor(scope: Construct, id: string, config: SpringCloudAppCosmosdbAssociationConfig);
private _apiType?;
get apiType(): string;
set apiType(value: string);
get apiTypeInput(): string | undefined;
private _cosmosdbAccessKey?;
get cosmosdbAccessKey(): string;
set cosmosdbAccessKey(value: string);
get cosmosdbAccessKeyInput(): string | undefined;
private _cosmosdbAccountId?;
get cosmosdbAccountId(): string;
set cosmosdbAccountId(value: string);
get cosmosdbAccountIdInput(): string | undefined;
private _cosmosdbCassandraKeyspaceName?;
get cosmosdbCassandraKeyspaceName(): string;
set cosmosdbCassandraKeyspaceName(value: string);
resetCosmosdbCassandraKeyspaceName(): void;
get cosmosdbCassandraKeyspaceNameInput(): string | undefined;
private _cosmosdbGremlinDatabaseName?;
get cosmosdbGremlinDatabaseName(): string;
set cosmosdbGremlinDatabaseName(value: string);
resetCosmosdbGremlinDatabaseName(): void;
get cosmosdbGremlinDatabaseNameInput(): string | undefined;
private _cosmosdbGremlinGraphName?;
get cosmosdbGremlinGraphName(): string;
set cosmosdbGremlinGraphName(value: string);
resetCosmosdbGremlinGraphName(): void;
get cosmosdbGremlinGraphNameInput(): string | undefined;
private _cosmosdbMongoDatabaseName?;
get cosmosdbMongoDatabaseName(): string;
set cosmosdbMongoDatabaseName(value: string);
resetCosmosdbMongoDatabaseName(): void;
get cosmosdbMongoDatabaseNameInput(): string | undefined;
private _cosmosdbSqlDatabaseName?;
get cosmosdbSqlDatabaseName(): string;
set cosmosdbSqlDatabaseName(value: string);
resetCosmosdbSqlDatabaseName(): void;
get cosmosdbSqlDatabaseNameInput(): 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 _springCloudAppId?;
get springCloudAppId(): string;
set springCloudAppId(value: string);
get springCloudAppIdInput(): string | undefined;
private _timeouts;
get timeouts(): SpringCloudAppCosmosdbAssociationTimeoutsOutputReference;
putTimeouts(value: SpringCloudAppCosmosdbAssociationTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | SpringCloudAppCosmosdbAssociationTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}