UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

966 lines 137 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataAzurermStorageAccount = exports.DataAzurermStorageAccountTimeoutsOutputReference = exports.dataAzurermStorageAccountTimeoutsToHclTerraform = exports.dataAzurermStorageAccountTimeoutsToTerraform = exports.DataAzurermStorageAccountIdentityList = exports.DataAzurermStorageAccountIdentityOutputReference = exports.dataAzurermStorageAccountIdentityToHclTerraform = exports.dataAzurermStorageAccountIdentityToTerraform = exports.DataAzurermStorageAccountCustomDomainList = exports.DataAzurermStorageAccountCustomDomainOutputReference = exports.dataAzurermStorageAccountCustomDomainToHclTerraform = exports.dataAzurermStorageAccountCustomDomainToTerraform = exports.DataAzurermStorageAccountAzureFilesAuthenticationList = exports.DataAzurermStorageAccountAzureFilesAuthenticationOutputReference = exports.dataAzurermStorageAccountAzureFilesAuthenticationToHclTerraform = exports.dataAzurermStorageAccountAzureFilesAuthenticationToTerraform = exports.DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryList = exports.DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryOutputReference = exports.dataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryToHclTerraform = exports.dataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryToTerraform = dataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryToTerraform; function dataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryToHclTerraform = dataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryToHclTerraform; class DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // domain_guid - computed: true, optional: false, required: false get domainGuid() { return this.getStringAttribute('domain_guid'); } // domain_name - computed: true, optional: false, required: false get domainName() { return this.getStringAttribute('domain_name'); } // domain_sid - computed: true, optional: false, required: false get domainSid() { return this.getStringAttribute('domain_sid'); } // forest_name - computed: true, optional: false, required: false get forestName() { return this.getStringAttribute('forest_name'); } // netbios_domain_name - computed: true, optional: false, required: false get netbiosDomainName() { return this.getStringAttribute('netbios_domain_name'); } // storage_sid - computed: true, optional: false, required: false get storageSid() { return this.getStringAttribute('storage_sid'); } } exports.DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryOutputReference = DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryOutputReference", version: "12.27.0" }; class DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryList = DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryList; _b = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryList[_b] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryList", version: "12.27.0" }; function dataAzurermStorageAccountAzureFilesAuthenticationToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAzurermStorageAccountAzureFilesAuthenticationToTerraform = dataAzurermStorageAccountAzureFilesAuthenticationToTerraform; function dataAzurermStorageAccountAzureFilesAuthenticationToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAzurermStorageAccountAzureFilesAuthenticationToHclTerraform = dataAzurermStorageAccountAzureFilesAuthenticationToHclTerraform; class DataAzurermStorageAccountAzureFilesAuthenticationOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; // active_directory - computed: true, optional: false, required: false this._activeDirectory = new DataAzurermStorageAccountAzureFilesAuthenticationActiveDirectoryList(this, "active_directory", false); } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } get activeDirectory() { return this._activeDirectory; } // default_share_level_permission - computed: true, optional: false, required: false get defaultShareLevelPermission() { return this.getStringAttribute('default_share_level_permission'); } // directory_type - computed: true, optional: false, required: false get directoryType() { return this.getStringAttribute('directory_type'); } } exports.DataAzurermStorageAccountAzureFilesAuthenticationOutputReference = DataAzurermStorageAccountAzureFilesAuthenticationOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountAzureFilesAuthenticationOutputReference[_c] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountAzureFilesAuthenticationOutputReference", version: "12.27.0" }; class DataAzurermStorageAccountAzureFilesAuthenticationList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAzurermStorageAccountAzureFilesAuthenticationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermStorageAccountAzureFilesAuthenticationList = DataAzurermStorageAccountAzureFilesAuthenticationList; _d = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountAzureFilesAuthenticationList[_d] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountAzureFilesAuthenticationList", version: "12.27.0" }; function dataAzurermStorageAccountCustomDomainToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAzurermStorageAccountCustomDomainToTerraform = dataAzurermStorageAccountCustomDomainToTerraform; function dataAzurermStorageAccountCustomDomainToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAzurermStorageAccountCustomDomainToHclTerraform = dataAzurermStorageAccountCustomDomainToHclTerraform; class DataAzurermStorageAccountCustomDomainOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } } exports.DataAzurermStorageAccountCustomDomainOutputReference = DataAzurermStorageAccountCustomDomainOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountCustomDomainOutputReference[_e] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountCustomDomainOutputReference", version: "12.27.0" }; class DataAzurermStorageAccountCustomDomainList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAzurermStorageAccountCustomDomainOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermStorageAccountCustomDomainList = DataAzurermStorageAccountCustomDomainList; _f = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountCustomDomainList[_f] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountCustomDomainList", version: "12.27.0" }; function dataAzurermStorageAccountIdentityToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return {}; } exports.dataAzurermStorageAccountIdentityToTerraform = dataAzurermStorageAccountIdentityToTerraform; function dataAzurermStorageAccountIdentityToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = {}; return attrs; } exports.dataAzurermStorageAccountIdentityToHclTerraform = dataAzurermStorageAccountIdentityToHclTerraform; class DataAzurermStorageAccountIdentityOutputReference extends cdktf.ComplexObject { /** * @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, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) { super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; } else { this.isEmptyObject = Object.keys(value).length === 0; } } // identity_ids - computed: true, optional: false, required: false get identityIds() { return this.getListAttribute('identity_ids'); } // principal_id - computed: true, optional: false, required: false get principalId() { return this.getStringAttribute('principal_id'); } // tenant_id - computed: true, optional: false, required: false get tenantId() { return this.getStringAttribute('tenant_id'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAzurermStorageAccountIdentityOutputReference = DataAzurermStorageAccountIdentityOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountIdentityOutputReference[_g] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountIdentityOutputReference", version: "12.27.0" }; class DataAzurermStorageAccountIdentityList extends cdktf.ComplexList { /** * @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, terraformAttribute, wrapsSet) { super(terraformResource, terraformAttribute, wrapsSet); this.terraformResource = terraformResource; this.terraformAttribute = terraformAttribute; this.wrapsSet = wrapsSet; } /** * @param index the index of the item to return */ get(index) { return new DataAzurermStorageAccountIdentityOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermStorageAccountIdentityList = DataAzurermStorageAccountIdentityList; _h = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountIdentityList[_h] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountIdentityList", version: "12.27.0" }; function dataAzurermStorageAccountTimeoutsToTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } return { read: cdktf.stringToTerraform(struct.read), }; } exports.dataAzurermStorageAccountTimeoutsToTerraform = dataAzurermStorageAccountTimeoutsToTerraform; function dataAzurermStorageAccountTimeoutsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration"); } const attrs = { read: { value: cdktf.stringToHclTerraform(struct.read), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataAzurermStorageAccountTimeoutsToHclTerraform = dataAzurermStorageAccountTimeoutsToHclTerraform; class DataAzurermStorageAccountTimeoutsOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource, terraformAttribute) { super(terraformResource, terraformAttribute, false); this.isEmptyObject = false; } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._read !== undefined) { hasAnyValues = true; internalValueResult.read = this._read; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._read = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._read = value.read; } } get read() { return this.getStringAttribute('read'); } set read(value) { this._read = value; } resetRead() { this._read = undefined; } // Temporarily expose input value. Use with caution. get readInput() { return this._read; } } exports.DataAzurermStorageAccountTimeoutsOutputReference = DataAzurermStorageAccountTimeoutsOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccountTimeoutsOutputReference[_j] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccountTimeoutsOutputReference", version: "12.27.0" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account azurerm_storage_account} */ class DataAzurermStorageAccount extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataAzurermStorageAccount 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 DataAzurermStorageAccount to import * @param importFromId The id of the existing DataAzurermStorageAccount that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataAzurermStorageAccount to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "azurerm_storage_account", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/data-sources/storage_account azurerm_storage_account} 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 DataAzurermStorageAccountConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'azurerm_storage_account', terraformGeneratorMetadata: { providerName: 'azurerm', providerVersion: '3.116.0', providerVersionConstraint: '~> 3.10' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // azure_files_authentication - computed: true, optional: false, required: false this._azureFilesAuthentication = new DataAzurermStorageAccountAzureFilesAuthenticationList(this, "azure_files_authentication", false); // custom_domain - computed: true, optional: false, required: false this._customDomain = new DataAzurermStorageAccountCustomDomainList(this, "custom_domain", false); // identity - computed: true, optional: false, required: false this._identity = new DataAzurermStorageAccountIdentityList(this, "identity", false); // tags - computed: true, optional: false, required: false this._tags = new cdktf.StringMap(this, "tags"); // timeouts - computed: false, optional: true, required: false this._timeouts = new DataAzurermStorageAccountTimeoutsOutputReference(this, "timeouts"); this._id = config.id; this._minTlsVersion = config.minTlsVersion; this._name = config.name; this._resourceGroupName = config.resourceGroupName; this._timeouts.internalValue = config.timeouts; } // ========== // ATTRIBUTES // ========== // access_tier - computed: true, optional: false, required: false get accessTier() { return this.getStringAttribute('access_tier'); } // account_kind - computed: true, optional: false, required: false get accountKind() { return this.getStringAttribute('account_kind'); } // account_replication_type - computed: true, optional: false, required: false get accountReplicationType() { return this.getStringAttribute('account_replication_type'); } // account_tier - computed: true, optional: false, required: false get accountTier() { return this.getStringAttribute('account_tier'); } // allow_nested_items_to_be_public - computed: true, optional: false, required: false get allowNestedItemsToBePublic() { return this.getBooleanAttribute('allow_nested_items_to_be_public'); } get azureFilesAuthentication() { return this._azureFilesAuthentication; } get customDomain() { return this._customDomain; } // dns_endpoint_type - computed: true, optional: false, required: false get dnsEndpointType() { return this.getStringAttribute('dns_endpoint_type'); } // enable_https_traffic_only - computed: true, optional: false, required: false get enableHttpsTrafficOnly() { return this.getBooleanAttribute('enable_https_traffic_only'); } // https_traffic_only_enabled - computed: true, optional: false, required: false get httpsTrafficOnlyEnabled() { return this.getBooleanAttribute('https_traffic_only_enabled'); } get id() { return this.getStringAttribute('id'); } set id(value) { this._id = value; } resetId() { this._id = undefined; } // Temporarily expose input value. Use with caution. get idInput() { return this._id; } get identity() { return this._identity; } // infrastructure_encryption_enabled - computed: true, optional: false, required: false get infrastructureEncryptionEnabled() { return this.getBooleanAttribute('infrastructure_encryption_enabled'); } // is_hns_enabled - computed: true, optional: false, required: false get isHnsEnabled() { return this.getBooleanAttribute('is_hns_enabled'); } // location - computed: true, optional: false, required: false get location() { return this.getStringAttribute('location'); } get minTlsVersion() { return this.getStringAttribute('min_tls_version'); } set minTlsVersion(value) { this._minTlsVersion = value; } resetMinTlsVersion() { this._minTlsVersion = undefined; } // Temporarily expose input value. Use with caution. get minTlsVersionInput() { return this._minTlsVersion; } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } // nfsv3_enabled - computed: true, optional: false, required: false get nfsv3Enabled() { return this.getBooleanAttribute('nfsv3_enabled'); } // primary_access_key - computed: true, optional: false, required: false get primaryAccessKey() { return this.getStringAttribute('primary_access_key'); } // primary_blob_connection_string - computed: true, optional: false, required: false get primaryBlobConnectionString() { return this.getStringAttribute('primary_blob_connection_string'); } // primary_blob_endpoint - computed: true, optional: false, required: false get primaryBlobEndpoint() { return this.getStringAttribute('primary_blob_endpoint'); } // primary_blob_host - computed: true, optional: false, required: false get primaryBlobHost() { return this.getStringAttribute('primary_blob_host'); } // primary_blob_internet_endpoint - computed: true, optional: false, required: false get primaryBlobInternetEndpoint() { return this.getStringAttribute('primary_blob_internet_endpoint'); } // primary_blob_internet_host - computed: true, optional: false, required: false get primaryBlobInternetHost() { return this.getStringAttribute('primary_blob_internet_host'); } // primary_blob_microsoft_endpoint - computed: true, optional: false, required: false get primaryBlobMicrosoftEndpoint() { return this.getStringAttribute('primary_blob_microsoft_endpoint'); } // primary_blob_microsoft_host - computed: true, optional: false, required: false get primaryBlobMicrosoftHost() { return this.getStringAttribute('primary_blob_microsoft_host'); } // primary_connection_string - computed: true, optional: false, required: false get primaryConnectionString() { return this.getStringAttribute('primary_connection_string'); } // primary_dfs_endpoint - computed: true, optional: false, required: false get primaryDfsEndpoint() { return this.getStringAttribute('primary_dfs_endpoint'); } // primary_dfs_host - computed: true, optional: false, required: false get primaryDfsHost() { return this.getStringAttribute('primary_dfs_host'); } // primary_dfs_internet_endpoint - computed: true, optional: false, required: false get primaryDfsInternetEndpoint() { return this.getStringAttribute('primary_dfs_internet_endpoint'); } // primary_dfs_internet_host - computed: true, optional: false, required: false get primaryDfsInternetHost() { return this.getStringAttribute('primary_dfs_internet_host'); } // primary_dfs_microsoft_endpoint - computed: true, optional: false, required: false get primaryDfsMicrosoftEndpoint() { return this.getStringAttribute('primary_dfs_microsoft_endpoint'); } // primary_dfs_microsoft_host - computed: true, optional: false, required: false get primaryDfsMicrosoftHost() { return this.getStringAttribute('primary_dfs_microsoft_host'); } // primary_file_endpoint - computed: true, optional: false, required: false get primaryFileEndpoint() { return this.getStringAttribute('primary_file_endpoint'); } // primary_file_host - computed: true, optional: false, required: false get primaryFileHost() { return this.getStringAttribute('primary_file_host'); } // primary_file_internet_endpoint - computed: true, optional: false, required: false get primaryFileInternetEndpoint() { return this.getStringAttribute('primary_file_internet_endpoint'); } // primary_file_internet_host - computed: true, optional: false, required: false get primaryFileInternetHost() { return this.getStringAttribute('primary_file_internet_host'); } // primary_file_microsoft_endpoint - computed: true, optional: false, required: false get primaryFileMicrosoftEndpoint() { return this.getStringAttribute('primary_file_microsoft_endpoint'); } // primary_file_microsoft_host - computed: true, optional: false, required: false get primaryFileMicrosoftHost() { return this.getStringAttribute('primary_file_microsoft_host'); } // primary_location - computed: true, optional: false, required: false get primaryLocation() { return this.getStringAttribute('primary_location'); } // primary_queue_endpoint - computed: true, optional: false, required: false get primaryQueueEndpoint() { return this.getStringAttribute('primary_queue_endpoint'); } // primary_queue_host - computed: true, optional: false, required: false get primaryQueueHost() { return this.getStringAttribute('primary_queue_host'); } // primary_queue_microsoft_endpoint - computed: true, optional: false, required: false get primaryQueueMicrosoftEndpoint() { return this.getStringAttribute('primary_queue_microsoft_endpoint'); } // primary_queue_microsoft_host - computed: true, optional: false, required: false get primaryQueueMicrosoftHost() { return this.getStringAttribute('primary_queue_microsoft_host'); } // primary_table_endpoint - computed: true, optional: false, required: false get primaryTableEndpoint() { return this.getStringAttribute('primary_table_endpoint'); } // primary_table_host - computed: true, optional: false, required: false get primaryTableHost() { return this.getStringAttribute('primary_table_host'); } // primary_table_microsoft_endpoint - computed: true, optional: false, required: false get primaryTableMicrosoftEndpoint() { return this.getStringAttribute('primary_table_microsoft_endpoint'); } // primary_table_microsoft_host - computed: true, optional: false, required: false get primaryTableMicrosoftHost() { return this.getStringAttribute('primary_table_microsoft_host'); } // primary_web_endpoint - computed: true, optional: false, required: false get primaryWebEndpoint() { return this.getStringAttribute('primary_web_endpoint'); } // primary_web_host - computed: true, optional: false, required: false get primaryWebHost() { return this.getStringAttribute('primary_web_host'); } // primary_web_internet_endpoint - computed: true, optional: false, required: false get primaryWebInternetEndpoint() { return this.getStringAttribute('primary_web_internet_endpoint'); } // primary_web_internet_host - computed: true, optional: false, required: false get primaryWebInternetHost() { return this.getStringAttribute('primary_web_internet_host'); } // primary_web_microsoft_endpoint - computed: true, optional: false, required: false get primaryWebMicrosoftEndpoint() { return this.getStringAttribute('primary_web_microsoft_endpoint'); } // primary_web_microsoft_host - computed: true, optional: false, required: false get primaryWebMicrosoftHost() { return this.getStringAttribute('primary_web_microsoft_host'); } // queue_encryption_key_type - computed: true, optional: false, required: false get queueEncryptionKeyType() { return this.getStringAttribute('queue_encryption_key_type'); } get resourceGroupName() { return this.getStringAttribute('resource_group_name'); } set resourceGroupName(value) { this._resourceGroupName = value; } // Temporarily expose input value. Use with caution. get resourceGroupNameInput() { return this._resourceGroupName; } // secondary_access_key - computed: true, optional: false, required: false get secondaryAccessKey() { return this.getStringAttribute('secondary_access_key'); } // secondary_blob_connection_string - computed: true, optional: false, required: false get secondaryBlobConnectionString() { return this.getStringAttribute('secondary_blob_connection_string'); } // secondary_blob_endpoint - computed: true, optional: false, required: false get secondaryBlobEndpoint() { return this.getStringAttribute('secondary_blob_endpoint'); } // secondary_blob_host - computed: true, optional: false, required: false get secondaryBlobHost() { return this.getStringAttribute('secondary_blob_host'); } // secondary_blob_internet_endpoint - computed: true, optional: false, required: false get secondaryBlobInternetEndpoint() { return this.getStringAttribute('secondary_blob_internet_endpoint'); } // secondary_blob_internet_host - computed: true, optional: false, required: false get secondaryBlobInternetHost() { return this.getStringAttribute('secondary_blob_internet_host'); } // secondary_blob_microsoft_endpoint - computed: true, optional: false, required: false get secondaryBlobMicrosoftEndpoint() { return this.getStringAttribute('secondary_blob_microsoft_endpoint'); } // secondary_blob_microsoft_host - computed: true, optional: false, required: false get secondaryBlobMicrosoftHost() { return this.getStringAttribute('secondary_blob_microsoft_host'); } // secondary_connection_string - computed: true, optional: false, required: false get secondaryConnectionString() { return this.getStringAttribute('secondary_connection_string'); } // secondary_dfs_endpoint - computed: true, optional: false, required: false get secondaryDfsEndpoint() { return this.getStringAttribute('secondary_dfs_endpoint'); } // secondary_dfs_host - computed: true, optional: false, required: false get secondaryDfsHost() { return this.getStringAttribute('secondary_dfs_host'); } // secondary_dfs_internet_endpoint - computed: true, optional: false, required: false get secondaryDfsInternetEndpoint() { return this.getStringAttribute('secondary_dfs_internet_endpoint'); } // secondary_dfs_internet_host - computed: true, optional: false, required: false get secondaryDfsInternetHost() { return this.getStringAttribute('secondary_dfs_internet_host'); } // secondary_dfs_microsoft_endpoint - computed: true, optional: false, required: false get secondaryDfsMicrosoftEndpoint() { return this.getStringAttribute('secondary_dfs_microsoft_endpoint'); } // secondary_dfs_microsoft_host - computed: true, optional: false, required: false get secondaryDfsMicrosoftHost() { return this.getStringAttribute('secondary_dfs_microsoft_host'); } // secondary_file_endpoint - computed: true, optional: false, required: false get secondaryFileEndpoint() { return this.getStringAttribute('secondary_file_endpoint'); } // secondary_file_host - computed: true, optional: false, required: false get secondaryFileHost() { return this.getStringAttribute('secondary_file_host'); } // secondary_file_internet_endpoint - computed: true, optional: false, required: false get secondaryFileInternetEndpoint() { return this.getStringAttribute('secondary_file_internet_endpoint'); } // secondary_file_internet_host - computed: true, optional: false, required: false get secondaryFileInternetHost() { return this.getStringAttribute('secondary_file_internet_host'); } // secondary_file_microsoft_endpoint - computed: true, optional: false, required: false get secondaryFileMicrosoftEndpoint() { return this.getStringAttribute('secondary_file_microsoft_endpoint'); } // secondary_file_microsoft_host - computed: true, optional: false, required: false get secondaryFileMicrosoftHost() { return this.getStringAttribute('secondary_file_microsoft_host'); } // secondary_location - computed: true, optional: false, required: false get secondaryLocation() { return this.getStringAttribute('secondary_location'); } // secondary_queue_endpoint - computed: true, optional: false, required: false get secondaryQueueEndpoint() { return this.getStringAttribute('secondary_queue_endpoint'); } // secondary_queue_host - computed: true, optional: false, required: false get secondaryQueueHost() { return this.getStringAttribute('secondary_queue_host'); } // secondary_queue_microsoft_endpoint - computed: true, optional: false, required: false get secondaryQueueMicrosoftEndpoint() { return this.getStringAttribute('secondary_queue_microsoft_endpoint'); } // secondary_queue_microsoft_host - computed: true, optional: false, required: false get secondaryQueueMicrosoftHost() { return this.getStringAttribute('secondary_queue_microsoft_host'); } // secondary_table_endpoint - computed: true, optional: false, required: false get secondaryTableEndpoint() { return this.getStringAttribute('secondary_table_endpoint'); } // secondary_table_host - computed: true, optional: false, required: false get secondaryTableHost() { return this.getStringAttribute('secondary_table_host'); } // secondary_table_microsoft_endpoint - computed: true, optional: false, required: false get secondaryTableMicrosoftEndpoint() { return this.getStringAttribute('secondary_table_microsoft_endpoint'); } // secondary_table_microsoft_host - computed: true, optional: false, required: false get secondaryTableMicrosoftHost() { return this.getStringAttribute('secondary_table_microsoft_host'); } // secondary_web_endpoint - computed: true, optional: false, required: false get secondaryWebEndpoint() { return this.getStringAttribute('secondary_web_endpoint'); } // secondary_web_host - computed: true, optional: false, required: false get secondaryWebHost() { return this.getStringAttribute('secondary_web_host'); } // secondary_web_internet_endpoint - computed: true, optional: false, required: false get secondaryWebInternetEndpoint() { return this.getStringAttribute('secondary_web_internet_endpoint'); } // secondary_web_internet_host - computed: true, optional: false, required: false get secondaryWebInternetHost() { return this.getStringAttribute('secondary_web_internet_host'); } // secondary_web_microsoft_endpoint - computed: true, optional: false, required: false get secondaryWebMicrosoftEndpoint() { return this.getStringAttribute('secondary_web_microsoft_endpoint'); } // secondary_web_microsoft_host - computed: true, optional: false, required: false get secondaryWebMicrosoftHost() { return this.getStringAttribute('secondary_web_microsoft_host'); } // table_encryption_key_type - computed: true, optional: false, required: false get tableEncryptionKeyType() { return this.getStringAttribute('table_encryption_key_type'); } get tags() { return this._tags; } get timeouts() { return this._timeouts; } putTimeouts(value) { this._timeouts.internalValue = value; } resetTimeouts() { this._timeouts.internalValue = undefined; } // Temporarily expose input value. Use with caution. get timeoutsInput() { return this._timeouts.internalValue; } // ========= // SYNTHESIS // ========= synthesizeAttributes() { return { id: cdktf.stringToTerraform(this._id), min_tls_version: cdktf.stringToTerraform(this._minTlsVersion), name: cdktf.stringToTerraform(this._name), resource_group_name: cdktf.stringToTerraform(this._resourceGroupName), timeouts: dataAzurermStorageAccountTimeoutsToTerraform(this._timeouts.internalValue), }; } synthesizeHclAttributes() { const attrs = { id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, min_tls_version: { value: cdktf.stringToHclTerraform(this._minTlsVersion), isBlock: false, type: "simple", storageClassType: "string", }, name: { value: cdktf.stringToHclTerraform(this._name), isBlock: false, type: "simple", storageClassType: "string", }, resource_group_name: { value: cdktf.stringToHclTerraform(this._resourceGroupName), isBlock: false, type: "simple", storageClassType: "string", }, timeouts: { value: dataAzurermStorageAccountTimeoutsToHclTerraform(this._timeouts.internalValue), isBlock: true, type: "struct", storageClassType: "DataAzurermStorageAccountTimeouts", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } } exports.DataAzurermStorageAccount = DataAzurermStorageAccount; _k = JSII_RTTI_SYMBOL_1; DataAzurermStorageAccount[_k] = { fqn: "@cdktf/provider-azurerm.dataAzurermStorageAccount.DataAzurermStorageAccount", version: "12.27.0" }; // ================= // STATIC PROPERTIES // ================= DataAzurermStorageAccount.tfResourceType = "azurerm_storage_account"; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8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