@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
435 lines (434 loc) • 23.4 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface ServicebusNamespaceConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#capacity ServicebusNamespace#capacity}
*/
readonly capacity?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#id ServicebusNamespace#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/servicebus_namespace#local_auth_enabled ServicebusNamespace#local_auth_enabled}
*/
readonly localAuthEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#location ServicebusNamespace#location}
*/
readonly location: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#minimum_tls_version ServicebusNamespace#minimum_tls_version}
*/
readonly minimumTlsVersion?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#name ServicebusNamespace#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#premium_messaging_partitions ServicebusNamespace#premium_messaging_partitions}
*/
readonly premiumMessagingPartitions?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#public_network_access_enabled ServicebusNamespace#public_network_access_enabled}
*/
readonly publicNetworkAccessEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#resource_group_name ServicebusNamespace#resource_group_name}
*/
readonly resourceGroupName: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#sku ServicebusNamespace#sku}
*/
readonly sku: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#tags ServicebusNamespace#tags}
*/
readonly tags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#zone_redundant ServicebusNamespace#zone_redundant}
*/
readonly zoneRedundant?: boolean | cdktf.IResolvable;
/**
* customer_managed_key block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#customer_managed_key ServicebusNamespace#customer_managed_key}
*/
readonly customerManagedKey?: ServicebusNamespaceCustomerManagedKey;
/**
* identity block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#identity ServicebusNamespace#identity}
*/
readonly identity?: ServicebusNamespaceIdentity;
/**
* network_rule_set block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#network_rule_set ServicebusNamespace#network_rule_set}
*/
readonly networkRuleSet?: ServicebusNamespaceNetworkRuleSet;
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#timeouts ServicebusNamespace#timeouts}
*/
readonly timeouts?: ServicebusNamespaceTimeouts;
}
export interface ServicebusNamespaceCustomerManagedKey {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#identity_id ServicebusNamespace#identity_id}
*/
readonly identityId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#infrastructure_encryption_enabled ServicebusNamespace#infrastructure_encryption_enabled}
*/
readonly infrastructureEncryptionEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#key_vault_key_id ServicebusNamespace#key_vault_key_id}
*/
readonly keyVaultKeyId: string;
}
export declare function servicebusNamespaceCustomerManagedKeyToTerraform(struct?: ServicebusNamespaceCustomerManagedKeyOutputReference | ServicebusNamespaceCustomerManagedKey): any;
export declare function servicebusNamespaceCustomerManagedKeyToHclTerraform(struct?: ServicebusNamespaceCustomerManagedKeyOutputReference | ServicebusNamespaceCustomerManagedKey): any;
export declare class ServicebusNamespaceCustomerManagedKeyOutputReference 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(): ServicebusNamespaceCustomerManagedKey | undefined;
set internalValue(value: ServicebusNamespaceCustomerManagedKey | undefined);
private _identityId?;
get identityId(): string;
set identityId(value: string);
get identityIdInput(): string | undefined;
private _infrastructureEncryptionEnabled?;
get infrastructureEncryptionEnabled(): boolean | cdktf.IResolvable;
set infrastructureEncryptionEnabled(value: boolean | cdktf.IResolvable);
resetInfrastructureEncryptionEnabled(): void;
get infrastructureEncryptionEnabledInput(): boolean | cdktf.IResolvable | undefined;
private _keyVaultKeyId?;
get keyVaultKeyId(): string;
set keyVaultKeyId(value: string);
get keyVaultKeyIdInput(): string | undefined;
}
export interface ServicebusNamespaceIdentity {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#identity_ids ServicebusNamespace#identity_ids}
*/
readonly identityIds?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#type ServicebusNamespace#type}
*/
readonly type: string;
}
export declare function servicebusNamespaceIdentityToTerraform(struct?: ServicebusNamespaceIdentityOutputReference | ServicebusNamespaceIdentity): any;
export declare function servicebusNamespaceIdentityToHclTerraform(struct?: ServicebusNamespaceIdentityOutputReference | ServicebusNamespaceIdentity): any;
export declare class ServicebusNamespaceIdentityOutputReference 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(): ServicebusNamespaceIdentity | undefined;
set internalValue(value: ServicebusNamespaceIdentity | undefined);
private _identityIds?;
get identityIds(): string[];
set identityIds(value: string[]);
resetIdentityIds(): void;
get identityIdsInput(): string[] | undefined;
get principalId(): string;
get tenantId(): string;
private _type?;
get type(): string;
set type(value: string);
get typeInput(): string | undefined;
}
export interface ServicebusNamespaceNetworkRuleSetNetworkRules {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#ignore_missing_vnet_service_endpoint ServicebusNamespace#ignore_missing_vnet_service_endpoint}
*/
readonly ignoreMissingVnetServiceEndpoint?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#subnet_id ServicebusNamespace#subnet_id}
*/
readonly subnetId: string;
}
export declare function servicebusNamespaceNetworkRuleSetNetworkRulesToTerraform(struct?: ServicebusNamespaceNetworkRuleSetNetworkRules | cdktf.IResolvable): any;
export declare function servicebusNamespaceNetworkRuleSetNetworkRulesToHclTerraform(struct?: ServicebusNamespaceNetworkRuleSetNetworkRules | cdktf.IResolvable): any;
export declare class ServicebusNamespaceNetworkRuleSetNetworkRulesOutputReference 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(): ServicebusNamespaceNetworkRuleSetNetworkRules | cdktf.IResolvable | undefined;
set internalValue(value: ServicebusNamespaceNetworkRuleSetNetworkRules | cdktf.IResolvable | undefined);
private _ignoreMissingVnetServiceEndpoint?;
get ignoreMissingVnetServiceEndpoint(): boolean | cdktf.IResolvable;
set ignoreMissingVnetServiceEndpoint(value: boolean | cdktf.IResolvable);
resetIgnoreMissingVnetServiceEndpoint(): void;
get ignoreMissingVnetServiceEndpointInput(): boolean | cdktf.IResolvable | undefined;
private _subnetId?;
get subnetId(): string;
set subnetId(value: string);
get subnetIdInput(): string | undefined;
}
export declare class ServicebusNamespaceNetworkRuleSetNetworkRulesList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: ServicebusNamespaceNetworkRuleSetNetworkRules[] | 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): ServicebusNamespaceNetworkRuleSetNetworkRulesOutputReference;
}
export interface ServicebusNamespaceNetworkRuleSet {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#default_action ServicebusNamespace#default_action}
*/
readonly defaultAction?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#ip_rules ServicebusNamespace#ip_rules}
*/
readonly ipRules?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#public_network_access_enabled ServicebusNamespace#public_network_access_enabled}
*/
readonly publicNetworkAccessEnabled?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#trusted_services_allowed ServicebusNamespace#trusted_services_allowed}
*/
readonly trustedServicesAllowed?: boolean | cdktf.IResolvable;
/**
* network_rules block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#network_rules ServicebusNamespace#network_rules}
*/
readonly networkRules?: ServicebusNamespaceNetworkRuleSetNetworkRules[] | cdktf.IResolvable;
}
export declare function servicebusNamespaceNetworkRuleSetToTerraform(struct?: ServicebusNamespaceNetworkRuleSetOutputReference | ServicebusNamespaceNetworkRuleSet): any;
export declare function servicebusNamespaceNetworkRuleSetToHclTerraform(struct?: ServicebusNamespaceNetworkRuleSetOutputReference | ServicebusNamespaceNetworkRuleSet): any;
export declare class ServicebusNamespaceNetworkRuleSetOutputReference 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(): ServicebusNamespaceNetworkRuleSet | undefined;
set internalValue(value: ServicebusNamespaceNetworkRuleSet | undefined);
private _defaultAction?;
get defaultAction(): string;
set defaultAction(value: string);
resetDefaultAction(): void;
get defaultActionInput(): string | undefined;
private _ipRules?;
get ipRules(): string[];
set ipRules(value: string[]);
resetIpRules(): void;
get ipRulesInput(): string[] | undefined;
private _publicNetworkAccessEnabled?;
get publicNetworkAccessEnabled(): boolean | cdktf.IResolvable;
set publicNetworkAccessEnabled(value: boolean | cdktf.IResolvable);
resetPublicNetworkAccessEnabled(): void;
get publicNetworkAccessEnabledInput(): boolean | cdktf.IResolvable | undefined;
private _trustedServicesAllowed?;
get trustedServicesAllowed(): boolean | cdktf.IResolvable;
set trustedServicesAllowed(value: boolean | cdktf.IResolvable);
resetTrustedServicesAllowed(): void;
get trustedServicesAllowedInput(): boolean | cdktf.IResolvable | undefined;
private _networkRules;
get networkRules(): ServicebusNamespaceNetworkRuleSetNetworkRulesList;
putNetworkRules(value: ServicebusNamespaceNetworkRuleSetNetworkRules[] | cdktf.IResolvable): void;
resetNetworkRules(): void;
get networkRulesInput(): cdktf.IResolvable | ServicebusNamespaceNetworkRuleSetNetworkRules[] | undefined;
}
export interface ServicebusNamespaceTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#create ServicebusNamespace#create}
*/
readonly create?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#delete ServicebusNamespace#delete}
*/
readonly delete?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#read ServicebusNamespace#read}
*/
readonly read?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#update ServicebusNamespace#update}
*/
readonly update?: string;
}
export declare function servicebusNamespaceTimeoutsToTerraform(struct?: ServicebusNamespaceTimeouts | cdktf.IResolvable): any;
export declare function servicebusNamespaceTimeoutsToHclTerraform(struct?: ServicebusNamespaceTimeouts | cdktf.IResolvable): any;
export declare class ServicebusNamespaceTimeoutsOutputReference 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(): ServicebusNamespaceTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: ServicebusNamespaceTimeouts | 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/servicebus_namespace azurerm_servicebus_namespace}
*/
export declare class ServicebusNamespace extends cdktf.TerraformResource {
static readonly tfResourceType = "azurerm_servicebus_namespace";
/**
* Generates CDKTF code for importing a ServicebusNamespace 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 ServicebusNamespace to import
* @param importFromId The id of the existing ServicebusNamespace that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/servicebus_namespace#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the ServicebusNamespace 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/servicebus_namespace azurerm_servicebus_namespace} 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 ServicebusNamespaceConfig
*/
constructor(scope: Construct, id: string, config: ServicebusNamespaceConfig);
private _capacity?;
get capacity(): number;
set capacity(value: number);
resetCapacity(): void;
get capacityInput(): number | undefined;
get defaultPrimaryConnectionString(): string;
get defaultPrimaryKey(): string;
get defaultSecondaryConnectionString(): string;
get defaultSecondaryKey(): string;
get endpoint(): string;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _localAuthEnabled?;
get localAuthEnabled(): boolean | cdktf.IResolvable;
set localAuthEnabled(value: boolean | cdktf.IResolvable);
resetLocalAuthEnabled(): void;
get localAuthEnabledInput(): boolean | cdktf.IResolvable | 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 _premiumMessagingPartitions?;
get premiumMessagingPartitions(): number;
set premiumMessagingPartitions(value: number);
resetPremiumMessagingPartitions(): void;
get premiumMessagingPartitionsInput(): number | undefined;
private _publicNetworkAccessEnabled?;
get publicNetworkAccessEnabled(): boolean | cdktf.IResolvable;
set publicNetworkAccessEnabled(value: boolean | cdktf.IResolvable);
resetPublicNetworkAccessEnabled(): void;
get publicNetworkAccessEnabledInput(): boolean | cdktf.IResolvable | undefined;
private _resourceGroupName?;
get resourceGroupName(): string;
set resourceGroupName(value: string);
get resourceGroupNameInput(): string | undefined;
private _sku?;
get sku(): string;
set sku(value: string);
get skuInput(): string | undefined;
private _tags?;
get tags(): {
[key: string]: string;
};
set tags(value: {
[key: string]: string;
});
resetTags(): void;
get tagsInput(): {
[key: string]: string;
} | undefined;
private _zoneRedundant?;
get zoneRedundant(): boolean | cdktf.IResolvable;
set zoneRedundant(value: boolean | cdktf.IResolvable);
resetZoneRedundant(): void;
get zoneRedundantInput(): boolean | cdktf.IResolvable | undefined;
private _customerManagedKey;
get customerManagedKey(): ServicebusNamespaceCustomerManagedKeyOutputReference;
putCustomerManagedKey(value: ServicebusNamespaceCustomerManagedKey): void;
resetCustomerManagedKey(): void;
get customerManagedKeyInput(): ServicebusNamespaceCustomerManagedKey | undefined;
private _identity;
get identity(): ServicebusNamespaceIdentityOutputReference;
putIdentity(value: ServicebusNamespaceIdentity): void;
resetIdentity(): void;
get identityInput(): ServicebusNamespaceIdentity | undefined;
private _networkRuleSet;
get networkRuleSet(): ServicebusNamespaceNetworkRuleSetOutputReference;
putNetworkRuleSet(value: ServicebusNamespaceNetworkRuleSet): void;
resetNetworkRuleSet(): void;
get networkRuleSetInput(): ServicebusNamespaceNetworkRuleSet | undefined;
private _timeouts;
get timeouts(): ServicebusNamespaceTimeoutsOutputReference;
putTimeouts(value: ServicebusNamespaceTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | ServicebusNamespaceTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}