UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

1,151 lines 162 kB
"use strict"; var _a, _b, _c, _d, _e, _f; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataFactoryDatasetBinary = exports.DataFactoryDatasetBinaryTimeoutsOutputReference = exports.dataFactoryDatasetBinaryTimeoutsToHclTerraform = exports.dataFactoryDatasetBinaryTimeoutsToTerraform = exports.DataFactoryDatasetBinarySftpServerLocationOutputReference = exports.dataFactoryDatasetBinarySftpServerLocationToHclTerraform = exports.dataFactoryDatasetBinarySftpServerLocationToTerraform = exports.DataFactoryDatasetBinaryHttpServerLocationOutputReference = exports.dataFactoryDatasetBinaryHttpServerLocationToHclTerraform = exports.dataFactoryDatasetBinaryHttpServerLocationToTerraform = exports.DataFactoryDatasetBinaryCompressionOutputReference = exports.dataFactoryDatasetBinaryCompressionToHclTerraform = exports.dataFactoryDatasetBinaryCompressionToTerraform = exports.DataFactoryDatasetBinaryAzureBlobStorageLocationOutputReference = exports.dataFactoryDatasetBinaryAzureBlobStorageLocationToHclTerraform = exports.dataFactoryDatasetBinaryAzureBlobStorageLocationToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataFactoryDatasetBinaryAzureBlobStorageLocationToTerraform(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 { container: cdktf.stringToTerraform(struct.container), dynamic_container_enabled: cdktf.booleanToTerraform(struct.dynamicContainerEnabled), dynamic_filename_enabled: cdktf.booleanToTerraform(struct.dynamicFilenameEnabled), dynamic_path_enabled: cdktf.booleanToTerraform(struct.dynamicPathEnabled), filename: cdktf.stringToTerraform(struct.filename), path: cdktf.stringToTerraform(struct.path), }; } exports.dataFactoryDatasetBinaryAzureBlobStorageLocationToTerraform = dataFactoryDatasetBinaryAzureBlobStorageLocationToTerraform; function dataFactoryDatasetBinaryAzureBlobStorageLocationToHclTerraform(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 = { container: { value: cdktf.stringToHclTerraform(struct.container), isBlock: false, type: "simple", storageClassType: "string", }, dynamic_container_enabled: { value: cdktf.booleanToHclTerraform(struct.dynamicContainerEnabled), isBlock: false, type: "simple", storageClassType: "boolean", }, dynamic_filename_enabled: { value: cdktf.booleanToHclTerraform(struct.dynamicFilenameEnabled), isBlock: false, type: "simple", storageClassType: "boolean", }, dynamic_path_enabled: { value: cdktf.booleanToHclTerraform(struct.dynamicPathEnabled), isBlock: false, type: "simple", storageClassType: "boolean", }, filename: { value: cdktf.stringToHclTerraform(struct.filename), isBlock: false, type: "simple", storageClassType: "string", }, path: { value: cdktf.stringToHclTerraform(struct.path), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataFactoryDatasetBinaryAzureBlobStorageLocationToHclTerraform = dataFactoryDatasetBinaryAzureBlobStorageLocationToHclTerraform; class DataFactoryDatasetBinaryAzureBlobStorageLocationOutputReference 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, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._container !== undefined) { hasAnyValues = true; internalValueResult.container = this._container; } if (this._dynamicContainerEnabled !== undefined) { hasAnyValues = true; internalValueResult.dynamicContainerEnabled = this._dynamicContainerEnabled; } if (this._dynamicFilenameEnabled !== undefined) { hasAnyValues = true; internalValueResult.dynamicFilenameEnabled = this._dynamicFilenameEnabled; } if (this._dynamicPathEnabled !== undefined) { hasAnyValues = true; internalValueResult.dynamicPathEnabled = this._dynamicPathEnabled; } if (this._filename !== undefined) { hasAnyValues = true; internalValueResult.filename = this._filename; } if (this._path !== undefined) { hasAnyValues = true; internalValueResult.path = this._path; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._container = undefined; this._dynamicContainerEnabled = undefined; this._dynamicFilenameEnabled = undefined; this._dynamicPathEnabled = undefined; this._filename = undefined; this._path = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._container = value.container; this._dynamicContainerEnabled = value.dynamicContainerEnabled; this._dynamicFilenameEnabled = value.dynamicFilenameEnabled; this._dynamicPathEnabled = value.dynamicPathEnabled; this._filename = value.filename; this._path = value.path; } } get container() { return this.getStringAttribute('container'); } set container(value) { this._container = value; } // Temporarily expose input value. Use with caution. get containerInput() { return this._container; } get dynamicContainerEnabled() { return this.getBooleanAttribute('dynamic_container_enabled'); } set dynamicContainerEnabled(value) { this._dynamicContainerEnabled = value; } resetDynamicContainerEnabled() { this._dynamicContainerEnabled = undefined; } // Temporarily expose input value. Use with caution. get dynamicContainerEnabledInput() { return this._dynamicContainerEnabled; } get dynamicFilenameEnabled() { return this.getBooleanAttribute('dynamic_filename_enabled'); } set dynamicFilenameEnabled(value) { this._dynamicFilenameEnabled = value; } resetDynamicFilenameEnabled() { this._dynamicFilenameEnabled = undefined; } // Temporarily expose input value. Use with caution. get dynamicFilenameEnabledInput() { return this._dynamicFilenameEnabled; } get dynamicPathEnabled() { return this.getBooleanAttribute('dynamic_path_enabled'); } set dynamicPathEnabled(value) { this._dynamicPathEnabled = value; } resetDynamicPathEnabled() { this._dynamicPathEnabled = undefined; } // Temporarily expose input value. Use with caution. get dynamicPathEnabledInput() { return this._dynamicPathEnabled; } get filename() { return this.getStringAttribute('filename'); } set filename(value) { this._filename = value; } resetFilename() { this._filename = undefined; } // Temporarily expose input value. Use with caution. get filenameInput() { return this._filename; } get path() { return this.getStringAttribute('path'); } set path(value) { this._path = value; } resetPath() { this._path = undefined; } // Temporarily expose input value. Use with caution. get pathInput() { return this._path; } } exports.DataFactoryDatasetBinaryAzureBlobStorageLocationOutputReference = DataFactoryDatasetBinaryAzureBlobStorageLocationOutputReference; _a = JSII_RTTI_SYMBOL_1; DataFactoryDatasetBinaryAzureBlobStorageLocationOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.dataFactoryDatasetBinary.DataFactoryDatasetBinaryAzureBlobStorageLocationOutputReference", version: "12.27.0" }; function dataFactoryDatasetBinaryCompressionToTerraform(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 { level: cdktf.stringToTerraform(struct.level), type: cdktf.stringToTerraform(struct.type), }; } exports.dataFactoryDatasetBinaryCompressionToTerraform = dataFactoryDatasetBinaryCompressionToTerraform; function dataFactoryDatasetBinaryCompressionToHclTerraform(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 = { level: { value: cdktf.stringToHclTerraform(struct.level), isBlock: false, type: "simple", storageClassType: "string", }, type: { value: cdktf.stringToHclTerraform(struct.type), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataFactoryDatasetBinaryCompressionToHclTerraform = dataFactoryDatasetBinaryCompressionToHclTerraform; class DataFactoryDatasetBinaryCompressionOutputReference 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, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._level !== undefined) { hasAnyValues = true; internalValueResult.level = this._level; } if (this._type !== undefined) { hasAnyValues = true; internalValueResult.type = this._type; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._level = undefined; this._type = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._level = value.level; this._type = value.type; } } get level() { return this.getStringAttribute('level'); } set level(value) { this._level = value; } resetLevel() { this._level = undefined; } // Temporarily expose input value. Use with caution. get levelInput() { return this._level; } get type() { return this.getStringAttribute('type'); } set type(value) { this._type = value; } // Temporarily expose input value. Use with caution. get typeInput() { return this._type; } } exports.DataFactoryDatasetBinaryCompressionOutputReference = DataFactoryDatasetBinaryCompressionOutputReference; _b = JSII_RTTI_SYMBOL_1; DataFactoryDatasetBinaryCompressionOutputReference[_b] = { fqn: "@cdktf/provider-azurerm.dataFactoryDatasetBinary.DataFactoryDatasetBinaryCompressionOutputReference", version: "12.27.0" }; function dataFactoryDatasetBinaryHttpServerLocationToTerraform(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 { dynamic_filename_enabled: cdktf.booleanToTerraform(struct.dynamicFilenameEnabled), dynamic_path_enabled: cdktf.booleanToTerraform(struct.dynamicPathEnabled), filename: cdktf.stringToTerraform(struct.filename), path: cdktf.stringToTerraform(struct.path), relative_url: cdktf.stringToTerraform(struct.relativeUrl), }; } exports.dataFactoryDatasetBinaryHttpServerLocationToTerraform = dataFactoryDatasetBinaryHttpServerLocationToTerraform; function dataFactoryDatasetBinaryHttpServerLocationToHclTerraform(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 = { dynamic_filename_enabled: { value: cdktf.booleanToHclTerraform(struct.dynamicFilenameEnabled), isBlock: false, type: "simple", storageClassType: "boolean", }, dynamic_path_enabled: { value: cdktf.booleanToHclTerraform(struct.dynamicPathEnabled), isBlock: false, type: "simple", storageClassType: "boolean", }, filename: { value: cdktf.stringToHclTerraform(struct.filename), isBlock: false, type: "simple", storageClassType: "string", }, path: { value: cdktf.stringToHclTerraform(struct.path), isBlock: false, type: "simple", storageClassType: "string", }, relative_url: { value: cdktf.stringToHclTerraform(struct.relativeUrl), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataFactoryDatasetBinaryHttpServerLocationToHclTerraform = dataFactoryDatasetBinaryHttpServerLocationToHclTerraform; class DataFactoryDatasetBinaryHttpServerLocationOutputReference 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, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._dynamicFilenameEnabled !== undefined) { hasAnyValues = true; internalValueResult.dynamicFilenameEnabled = this._dynamicFilenameEnabled; } if (this._dynamicPathEnabled !== undefined) { hasAnyValues = true; internalValueResult.dynamicPathEnabled = this._dynamicPathEnabled; } if (this._filename !== undefined) { hasAnyValues = true; internalValueResult.filename = this._filename; } if (this._path !== undefined) { hasAnyValues = true; internalValueResult.path = this._path; } if (this._relativeUrl !== undefined) { hasAnyValues = true; internalValueResult.relativeUrl = this._relativeUrl; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._dynamicFilenameEnabled = undefined; this._dynamicPathEnabled = undefined; this._filename = undefined; this._path = undefined; this._relativeUrl = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._dynamicFilenameEnabled = value.dynamicFilenameEnabled; this._dynamicPathEnabled = value.dynamicPathEnabled; this._filename = value.filename; this._path = value.path; this._relativeUrl = value.relativeUrl; } } get dynamicFilenameEnabled() { return this.getBooleanAttribute('dynamic_filename_enabled'); } set dynamicFilenameEnabled(value) { this._dynamicFilenameEnabled = value; } resetDynamicFilenameEnabled() { this._dynamicFilenameEnabled = undefined; } // Temporarily expose input value. Use with caution. get dynamicFilenameEnabledInput() { return this._dynamicFilenameEnabled; } get dynamicPathEnabled() { return this.getBooleanAttribute('dynamic_path_enabled'); } set dynamicPathEnabled(value) { this._dynamicPathEnabled = value; } resetDynamicPathEnabled() { this._dynamicPathEnabled = undefined; } // Temporarily expose input value. Use with caution. get dynamicPathEnabledInput() { return this._dynamicPathEnabled; } get filename() { return this.getStringAttribute('filename'); } set filename(value) { this._filename = value; } // Temporarily expose input value. Use with caution. get filenameInput() { return this._filename; } get path() { return this.getStringAttribute('path'); } set path(value) { this._path = value; } // Temporarily expose input value. Use with caution. get pathInput() { return this._path; } get relativeUrl() { return this.getStringAttribute('relative_url'); } set relativeUrl(value) { this._relativeUrl = value; } // Temporarily expose input value. Use with caution. get relativeUrlInput() { return this._relativeUrl; } } exports.DataFactoryDatasetBinaryHttpServerLocationOutputReference = DataFactoryDatasetBinaryHttpServerLocationOutputReference; _c = JSII_RTTI_SYMBOL_1; DataFactoryDatasetBinaryHttpServerLocationOutputReference[_c] = { fqn: "@cdktf/provider-azurerm.dataFactoryDatasetBinary.DataFactoryDatasetBinaryHttpServerLocationOutputReference", version: "12.27.0" }; function dataFactoryDatasetBinarySftpServerLocationToTerraform(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 { dynamic_filename_enabled: cdktf.booleanToTerraform(struct.dynamicFilenameEnabled), dynamic_path_enabled: cdktf.booleanToTerraform(struct.dynamicPathEnabled), filename: cdktf.stringToTerraform(struct.filename), path: cdktf.stringToTerraform(struct.path), }; } exports.dataFactoryDatasetBinarySftpServerLocationToTerraform = dataFactoryDatasetBinarySftpServerLocationToTerraform; function dataFactoryDatasetBinarySftpServerLocationToHclTerraform(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 = { dynamic_filename_enabled: { value: cdktf.booleanToHclTerraform(struct.dynamicFilenameEnabled), isBlock: false, type: "simple", storageClassType: "boolean", }, dynamic_path_enabled: { value: cdktf.booleanToHclTerraform(struct.dynamicPathEnabled), isBlock: false, type: "simple", storageClassType: "boolean", }, filename: { value: cdktf.stringToHclTerraform(struct.filename), isBlock: false, type: "simple", storageClassType: "string", }, path: { value: cdktf.stringToHclTerraform(struct.path), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataFactoryDatasetBinarySftpServerLocationToHclTerraform = dataFactoryDatasetBinarySftpServerLocationToHclTerraform; class DataFactoryDatasetBinarySftpServerLocationOutputReference 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, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._dynamicFilenameEnabled !== undefined) { hasAnyValues = true; internalValueResult.dynamicFilenameEnabled = this._dynamicFilenameEnabled; } if (this._dynamicPathEnabled !== undefined) { hasAnyValues = true; internalValueResult.dynamicPathEnabled = this._dynamicPathEnabled; } if (this._filename !== undefined) { hasAnyValues = true; internalValueResult.filename = this._filename; } if (this._path !== undefined) { hasAnyValues = true; internalValueResult.path = this._path; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._dynamicFilenameEnabled = undefined; this._dynamicPathEnabled = undefined; this._filename = undefined; this._path = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._dynamicFilenameEnabled = value.dynamicFilenameEnabled; this._dynamicPathEnabled = value.dynamicPathEnabled; this._filename = value.filename; this._path = value.path; } } get dynamicFilenameEnabled() { return this.getBooleanAttribute('dynamic_filename_enabled'); } set dynamicFilenameEnabled(value) { this._dynamicFilenameEnabled = value; } resetDynamicFilenameEnabled() { this._dynamicFilenameEnabled = undefined; } // Temporarily expose input value. Use with caution. get dynamicFilenameEnabledInput() { return this._dynamicFilenameEnabled; } get dynamicPathEnabled() { return this.getBooleanAttribute('dynamic_path_enabled'); } set dynamicPathEnabled(value) { this._dynamicPathEnabled = value; } resetDynamicPathEnabled() { this._dynamicPathEnabled = undefined; } // Temporarily expose input value. Use with caution. get dynamicPathEnabledInput() { return this._dynamicPathEnabled; } get filename() { return this.getStringAttribute('filename'); } set filename(value) { this._filename = value; } // Temporarily expose input value. Use with caution. get filenameInput() { return this._filename; } get path() { return this.getStringAttribute('path'); } set path(value) { this._path = value; } // Temporarily expose input value. Use with caution. get pathInput() { return this._path; } } exports.DataFactoryDatasetBinarySftpServerLocationOutputReference = DataFactoryDatasetBinarySftpServerLocationOutputReference; _d = JSII_RTTI_SYMBOL_1; DataFactoryDatasetBinarySftpServerLocationOutputReference[_d] = { fqn: "@cdktf/provider-azurerm.dataFactoryDatasetBinary.DataFactoryDatasetBinarySftpServerLocationOutputReference", version: "12.27.0" }; function dataFactoryDatasetBinaryTimeoutsToTerraform(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 { create: cdktf.stringToTerraform(struct.create), delete: cdktf.stringToTerraform(struct.delete), read: cdktf.stringToTerraform(struct.read), update: cdktf.stringToTerraform(struct.update), }; } exports.dataFactoryDatasetBinaryTimeoutsToTerraform = dataFactoryDatasetBinaryTimeoutsToTerraform; function dataFactoryDatasetBinaryTimeoutsToHclTerraform(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 = { create: { value: cdktf.stringToHclTerraform(struct.create), isBlock: false, type: "simple", storageClassType: "string", }, delete: { value: cdktf.stringToHclTerraform(struct.delete), isBlock: false, type: "simple", storageClassType: "string", }, read: { value: cdktf.stringToHclTerraform(struct.read), isBlock: false, type: "simple", storageClassType: "string", }, update: { value: cdktf.stringToHclTerraform(struct.update), isBlock: false, type: "simple", storageClassType: "string", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataFactoryDatasetBinaryTimeoutsToHclTerraform = dataFactoryDatasetBinaryTimeoutsToHclTerraform; class DataFactoryDatasetBinaryTimeoutsOutputReference 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._create !== undefined) { hasAnyValues = true; internalValueResult.create = this._create; } if (this._delete !== undefined) { hasAnyValues = true; internalValueResult.delete = this._delete; } if (this._read !== undefined) { hasAnyValues = true; internalValueResult.read = this._read; } if (this._update !== undefined) { hasAnyValues = true; internalValueResult.update = this._update; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._create = undefined; this._delete = undefined; this._read = undefined; this._update = 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._create = value.create; this._delete = value.delete; this._read = value.read; this._update = value.update; } } get create() { return this.getStringAttribute('create'); } set create(value) { this._create = value; } resetCreate() { this._create = undefined; } // Temporarily expose input value. Use with caution. get createInput() { return this._create; } get delete() { return this.getStringAttribute('delete'); } set delete(value) { this._delete = value; } resetDelete() { this._delete = undefined; } // Temporarily expose input value. Use with caution. get deleteInput() { return this._delete; } 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; } get update() { return this.getStringAttribute('update'); } set update(value) { this._update = value; } resetUpdate() { this._update = undefined; } // Temporarily expose input value. Use with caution. get updateInput() { return this._update; } } exports.DataFactoryDatasetBinaryTimeoutsOutputReference = DataFactoryDatasetBinaryTimeoutsOutputReference; _e = JSII_RTTI_SYMBOL_1; DataFactoryDatasetBinaryTimeoutsOutputReference[_e] = { fqn: "@cdktf/provider-azurerm.dataFactoryDatasetBinary.DataFactoryDatasetBinaryTimeoutsOutputReference", version: "12.27.0" }; /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/data_factory_dataset_binary azurerm_data_factory_dataset_binary} */ class DataFactoryDatasetBinary extends cdktf.TerraformResource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataFactoryDatasetBinary 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 DataFactoryDatasetBinary to import * @param importFromId The id of the existing DataFactoryDatasetBinary that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/data_factory_dataset_binary#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataFactoryDatasetBinary to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "azurerm_data_factory_dataset_binary", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/azurerm/3.116.0/docs/resources/data_factory_dataset_binary azurerm_data_factory_dataset_binary} 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 DataFactoryDatasetBinaryConfig */ constructor(scope, id, config) { super(scope, id, { terraformResourceType: 'azurerm_data_factory_dataset_binary', 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_blob_storage_location - computed: false, optional: true, required: false this._azureBlobStorageLocation = new DataFactoryDatasetBinaryAzureBlobStorageLocationOutputReference(this, "azure_blob_storage_location"); // compression - computed: false, optional: true, required: false this._compression = new DataFactoryDatasetBinaryCompressionOutputReference(this, "compression"); // http_server_location - computed: false, optional: true, required: false this._httpServerLocation = new DataFactoryDatasetBinaryHttpServerLocationOutputReference(this, "http_server_location"); // sftp_server_location - computed: false, optional: true, required: false this._sftpServerLocation = new DataFactoryDatasetBinarySftpServerLocationOutputReference(this, "sftp_server_location"); // timeouts - computed: false, optional: true, required: false this._timeouts = new DataFactoryDatasetBinaryTimeoutsOutputReference(this, "timeouts"); this._additionalProperties = config.additionalProperties; this._annotations = config.annotations; this._dataFactoryId = config.dataFactoryId; this._description = config.description; this._folder = config.folder; this._id = config.id; this._linkedServiceName = config.linkedServiceName; this._name = config.name; this._parameters = config.parameters; this._azureBlobStorageLocation.internalValue = config.azureBlobStorageLocation; this._compression.internalValue = config.compression; this._httpServerLocation.internalValue = config.httpServerLocation; this._sftpServerLocation.internalValue = config.sftpServerLocation; this._timeouts.internalValue = config.timeouts; } get additionalProperties() { return this.getStringMapAttribute('additional_properties'); } set additionalProperties(value) { this._additionalProperties = value; } resetAdditionalProperties() { this._additionalProperties = undefined; } // Temporarily expose input value. Use with caution. get additionalPropertiesInput() { return this._additionalProperties; } get annotations() { return this.getListAttribute('annotations'); } set annotations(value) { this._annotations = value; } resetAnnotations() { this._annotations = undefined; } // Temporarily expose input value. Use with caution. get annotationsInput() { return this._annotations; } get dataFactoryId() { return this.getStringAttribute('data_factory_id'); } set dataFactoryId(value) { this._dataFactoryId = value; } // Temporarily expose input value. Use with caution. get dataFactoryIdInput() { return this._dataFactoryId; } get description() { return this.getStringAttribute('description'); } set description(value) { this._description = value; } resetDescription() { this._description = undefined; } // Temporarily expose input value. Use with caution. get descriptionInput() { return this._description; } get folder() { return this.getStringAttribute('folder'); } set folder(value) { this._folder = value; } resetFolder() { this._folder = undefined; } // Temporarily expose input value. Use with caution. get folderInput() { return this._folder; } 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 linkedServiceName() { return this.getStringAttribute('linked_service_name'); } set linkedServiceName(value) { this._linkedServiceName = value; } // Temporarily expose input value. Use with caution. get linkedServiceNameInput() { return this._linkedServiceName; } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } get parameters() { return this.getStringMapAttribute('parameters'); } set parameters(value) { this._parameters = value; } resetParameters() { this._parameters = undefined; } // Temporarily expose input value. Use with caution. get parametersInput() { return this._parameters; } get azureBlobStorageLocation() { return this._azureBlobStorageLocation; } putAzureBlobStorageLocation(value) { this._azureBlobStorageLocation.internalValue = value; } resetAzureBlobStorageLocation() { this._azureBlobStorageLocation.internalValue = undefined; } // Temporarily expose input value. Use with caution. get azureBlobStorageLocationInput() { return this._azureBlobStorageLocation.internalValue; } get compression() { return this._compression; } putCompression(value) { this._compression.internalValue = value; } resetCompression() { this._compression.internalValue = undefined; } // Temporarily expose input value. Use with caution. get compressionInput() { return this._compression.internalValue; } get httpServerLocation() { return this._httpServerLocation; } putHttpServerLocation(value) { this._httpServerLocation.internalValue = value; } resetHttpServerLocation() { this._httpServerLocation.internalValue = undefined; } // Temporarily expose input value. Use with caution. get httpServerLocationInput() { return this._httpServerLocation.internalValue; } get sftpServerLocation() { return this._sftpServerLocation; } putSftpServerLocation(value) { this._sftpServerLocation.internalValue = value; } resetSftpServerLocation() { this._sftpServerLocation.internalValue = undefined; } // Temporarily expose input value. Use with caution. get sftpServerLocationInput() { return this._sftpServerLocation.internalValue; } 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 { additional_properties: cdktf.hashMapper(cdktf.stringToTerraform)(this._additionalProperties), annotations: cdktf.listMapper(cdktf.stringToTerraform, false)(this._annotations), data_factory_id: cdktf.stringToTerraform(this._dataFactoryId), description: cdktf.stringToTerraform(this._description), folder: cdktf.stringToTerraform(this._folder), id: cdktf.stringToTerraform(this._id), linked_service_name: cdktf.stringToTerraform(this._linkedServiceName), name: cdktf.stringToTerraform(this._name), parameters: cdktf.hashMapper(cdktf.stringToTerraform)(this._parameters), azure_blob_storage_location: dataFactoryDatasetBinaryAzureBlobStorageLocationToTerraform(this._azureBlobStorageLocation.internalValue), compression: dataFactoryDatasetBinaryCompressionToTerraform(this._compression.internalValue), http_server_location: dataFactoryDatasetBinaryHttpServerLocationToTerraform(this._httpServerLocation.internalValue), sftp_server_location: dataFactoryDatasetBinarySftpServerLocationToTerraform(this._sftpServerLocation.internalValue), timeouts: dataFactoryDatasetBinaryTimeoutsToTerraform(this._timeouts.internalValue), }; } synthesizeHclAttributes() { const attrs = { additional_properties: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._additionalProperties), isBlock: false, type: "map", storageClassType: "stringMap", }, annotations: { value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._annotations), isBlock: false, type: "list", storageClassType: "stringList", }, data_factory_id: { value: cdktf.stringToHclTerraform(this._dataFactoryId), isBlock: false, type: "simple", storageClassType: "string", }, description: { value: cdktf.stringToHclTerraform(this._description), isBlock: false, type: "simple", storageClassType: "string", }, folder: { value: cdktf.stringToHclTerraform(this._folder), isBlock: false, type: "simple", storageClassType: "string", }, id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, linked_service_name: { value: cdktf.stringToHclTerraform(this._linkedServiceName), isBlock: false, type: "simple", storageClassType: "string", }, name: { value: cdktf.stringToHclTerraform(this._name), isBlock: false, type: "simple", storageClassType: "string", }, parameters: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._parameters), isBlock: false, type: "map", storageClassType: "stringMap", }, azure_blob_storage_location: { value: dataFactoryDatasetBinaryAzureBlobStorageLocationToHclTerraform(this._azureBlobStorageLocation.internalValue), isBlock: true, type: "list", storageClassType: "DataFactoryDatasetBinaryAzureBlobStorageLocationList", }, compression: { value: dataFactoryDatasetBinaryCompressionToHclTerraform(this._compression.internalValue), isBlock: true, type: "list", storageClassType: "DataFactoryDatasetBinaryCompressionList", }, http_server_location: { value: dataFactoryDatasetBinaryHttpServerLocationToHclTerraform(this._httpServerLocation.internalValue), isBlock: true, type: "list", storageClassType: "DataFactoryDatasetBinaryHttpServerLocationList", }, sftp_server_location: { value: dataFactoryDatasetBinarySftpServerLocationToHclTerraform(this._sftpServerLocation.internalValue), isBlock: true, type: "list", storageClassType: "DataFactoryDatasetBinarySftpServerLocationList", }, timeouts: { value: dataFactoryDatasetBinaryTimeoutsToHclTerraform(this._timeouts.internalValue), isBlock: true, type: "struct", storageClassType: "DataFactoryDatasetBinaryTimeouts", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } } exports.DataFactoryDatasetBinary = DataFactoryDatasetBinary; _f = JSII_RTTI_SYMBOL_1; DataFactoryDatasetBinary[_f] = { fqn: "@cdktf/provider-azurerm.dataFactoryDatasetBinary.DataFactoryDatasetBinary", version: "12.27.0" }; // ================= // STATIC PROPERTIES // ================= DataFactoryDatasetBinary.tfResourceType = "azurerm_data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