UNPKG

@cdktf/provider-azurerm

Version:

Prebuilt azurerm Provider for Terraform CDK (cdktf)

839 lines 245 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9; Object.defineProperty(exports, "__esModule", { value: true }); exports.dataAzurermHybridComputeMachineOsProfileToHclTerraform = exports.dataAzurermHybridComputeMachineOsProfileToTerraform = exports.DataAzurermHybridComputeMachineOsProfileWindowsConfigurationList = exports.DataAzurermHybridComputeMachineOsProfileWindowsConfigurationOutputReference = exports.dataAzurermHybridComputeMachineOsProfileWindowsConfigurationToHclTerraform = exports.dataAzurermHybridComputeMachineOsProfileWindowsConfigurationToTerraform = exports.DataAzurermHybridComputeMachineOsProfileWindowsConfigurationPatchSettingsList = exports.DataAzurermHybridComputeMachineOsProfileWindowsConfigurationPatchSettingsOutputReference = exports.dataAzurermHybridComputeMachineOsProfileWindowsConfigurationPatchSettingsToHclTerraform = exports.dataAzurermHybridComputeMachineOsProfileWindowsConfigurationPatchSettingsToTerraform = exports.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationList = exports.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationOutputReference = exports.dataAzurermHybridComputeMachineOsProfileLinuxConfigurationToHclTerraform = exports.dataAzurermHybridComputeMachineOsProfileLinuxConfigurationToTerraform = exports.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsList = exports.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsOutputReference = exports.dataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsToHclTerraform = exports.dataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsToTerraform = exports.DataAzurermHybridComputeMachineLocationDataList = exports.DataAzurermHybridComputeMachineLocationDataOutputReference = exports.dataAzurermHybridComputeMachineLocationDataToHclTerraform = exports.dataAzurermHybridComputeMachineLocationDataToTerraform = exports.DataAzurermHybridComputeMachineIdentityList = exports.DataAzurermHybridComputeMachineIdentityOutputReference = exports.dataAzurermHybridComputeMachineIdentityToHclTerraform = exports.dataAzurermHybridComputeMachineIdentityToTerraform = exports.DataAzurermHybridComputeMachineErrorDetailsList = exports.DataAzurermHybridComputeMachineErrorDetailsOutputReference = exports.dataAzurermHybridComputeMachineErrorDetailsToHclTerraform = exports.dataAzurermHybridComputeMachineErrorDetailsToTerraform = exports.DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoList = exports.DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoOutputReference = exports.dataAzurermHybridComputeMachineErrorDetailsAdditionalInfoToHclTerraform = exports.dataAzurermHybridComputeMachineErrorDetailsAdditionalInfoToTerraform = exports.DataAzurermHybridComputeMachineCloudMetadataList = exports.DataAzurermHybridComputeMachineCloudMetadataOutputReference = exports.dataAzurermHybridComputeMachineCloudMetadataToHclTerraform = exports.dataAzurermHybridComputeMachineCloudMetadataToTerraform = exports.DataAzurermHybridComputeMachineAgentConfigurationList = exports.DataAzurermHybridComputeMachineAgentConfigurationOutputReference = exports.dataAzurermHybridComputeMachineAgentConfigurationToHclTerraform = exports.dataAzurermHybridComputeMachineAgentConfigurationToTerraform = exports.DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructList = exports.DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructOutputReference = exports.dataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructToHclTerraform = exports.dataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructToTerraform = exports.DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructList = exports.DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructOutputReference = exports.dataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructToHclTerraform = exports.dataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructToTerraform = void 0; exports.DataAzurermHybridComputeMachine = exports.DataAzurermHybridComputeMachineTimeoutsOutputReference = exports.dataAzurermHybridComputeMachineTimeoutsToHclTerraform = exports.dataAzurermHybridComputeMachineTimeoutsToTerraform = exports.DataAzurermHybridComputeMachineServiceStatusList = exports.DataAzurermHybridComputeMachineServiceStatusOutputReference = exports.dataAzurermHybridComputeMachineServiceStatusToHclTerraform = exports.dataAzurermHybridComputeMachineServiceStatusToTerraform = exports.DataAzurermHybridComputeMachineServiceStatusGuestConfigurationServiceList = exports.DataAzurermHybridComputeMachineServiceStatusGuestConfigurationServiceOutputReference = exports.dataAzurermHybridComputeMachineServiceStatusGuestConfigurationServiceToHclTerraform = exports.dataAzurermHybridComputeMachineServiceStatusGuestConfigurationServiceToTerraform = exports.DataAzurermHybridComputeMachineServiceStatusExtensionServiceList = exports.DataAzurermHybridComputeMachineServiceStatusExtensionServiceOutputReference = exports.dataAzurermHybridComputeMachineServiceStatusExtensionServiceToHclTerraform = exports.dataAzurermHybridComputeMachineServiceStatusExtensionServiceToTerraform = exports.DataAzurermHybridComputeMachineOsProfileList = exports.DataAzurermHybridComputeMachineOsProfileOutputReference = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructToTerraform(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.dataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructToTerraform = dataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructToTerraform; function dataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructToHclTerraform(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.dataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructToHclTerraform = dataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructToHclTerraform; class DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructOutputReference 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; } } // publisher - computed: true, optional: false, required: false get publisher() { return this.getStringAttribute('publisher'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructOutputReference = DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructOutputReference; _a = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructList 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 DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructList = DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructList; _b = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructList[_b] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructList", version: "12.27.0" }; function dataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructToTerraform(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.dataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructToTerraform = dataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructToTerraform; function dataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructToHclTerraform(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.dataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructToHclTerraform = dataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructToHclTerraform; class DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructOutputReference 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; } } // publisher - computed: true, optional: false, required: false get publisher() { return this.getStringAttribute('publisher'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructOutputReference = DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructOutputReference; _c = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructOutputReference[_c] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructList 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 DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructList = DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructList; _d = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructList[_d] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructList", version: "12.27.0" }; function dataAzurermHybridComputeMachineAgentConfigurationToTerraform(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.dataAzurermHybridComputeMachineAgentConfigurationToTerraform = dataAzurermHybridComputeMachineAgentConfigurationToTerraform; function dataAzurermHybridComputeMachineAgentConfigurationToHclTerraform(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.dataAzurermHybridComputeMachineAgentConfigurationToHclTerraform = dataAzurermHybridComputeMachineAgentConfigurationToHclTerraform; class DataAzurermHybridComputeMachineAgentConfigurationOutputReference 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; // extensions_allow_list - computed: true, optional: false, required: false this._extensionsAllowList = new DataAzurermHybridComputeMachineAgentConfigurationExtensionsAllowListStructList(this, "extensions_allow_list", false); // extensions_block_list - computed: true, optional: false, required: false this._extensionsBlockList = new DataAzurermHybridComputeMachineAgentConfigurationExtensionsBlockListStructList(this, "extensions_block_list", 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 extensionsAllowList() { return this._extensionsAllowList; } get extensionsBlockList() { return this._extensionsBlockList; } // extensions_enabled - computed: true, optional: false, required: false get extensionsEnabled() { return this.getBooleanAttribute('extensions_enabled'); } // guest_configuration_enabled - computed: true, optional: false, required: false get guestConfigurationEnabled() { return this.getBooleanAttribute('guest_configuration_enabled'); } // incoming_connections_ports - computed: true, optional: false, required: false get incomingConnectionsPorts() { return this.getListAttribute('incoming_connections_ports'); } // proxy_bypass - computed: true, optional: false, required: false get proxyBypass() { return this.getListAttribute('proxy_bypass'); } // proxy_url - computed: true, optional: false, required: false get proxyUrl() { return this.getStringAttribute('proxy_url'); } } exports.DataAzurermHybridComputeMachineAgentConfigurationOutputReference = DataAzurermHybridComputeMachineAgentConfigurationOutputReference; _e = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineAgentConfigurationOutputReference[_e] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineAgentConfigurationOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineAgentConfigurationList 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 DataAzurermHybridComputeMachineAgentConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineAgentConfigurationList = DataAzurermHybridComputeMachineAgentConfigurationList; _f = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineAgentConfigurationList[_f] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineAgentConfigurationList", version: "12.27.0" }; function dataAzurermHybridComputeMachineCloudMetadataToTerraform(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.dataAzurermHybridComputeMachineCloudMetadataToTerraform = dataAzurermHybridComputeMachineCloudMetadataToTerraform; function dataAzurermHybridComputeMachineCloudMetadataToHclTerraform(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.dataAzurermHybridComputeMachineCloudMetadataToHclTerraform = dataAzurermHybridComputeMachineCloudMetadataToHclTerraform; class DataAzurermHybridComputeMachineCloudMetadataOutputReference 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; } } // provider - computed: true, optional: false, required: false get provider() { return this.getStringAttribute('provider'); } } exports.DataAzurermHybridComputeMachineCloudMetadataOutputReference = DataAzurermHybridComputeMachineCloudMetadataOutputReference; _g = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineCloudMetadataOutputReference[_g] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineCloudMetadataOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineCloudMetadataList 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 DataAzurermHybridComputeMachineCloudMetadataOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineCloudMetadataList = DataAzurermHybridComputeMachineCloudMetadataList; _h = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineCloudMetadataList[_h] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineCloudMetadataList", version: "12.27.0" }; function dataAzurermHybridComputeMachineErrorDetailsAdditionalInfoToTerraform(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.dataAzurermHybridComputeMachineErrorDetailsAdditionalInfoToTerraform = dataAzurermHybridComputeMachineErrorDetailsAdditionalInfoToTerraform; function dataAzurermHybridComputeMachineErrorDetailsAdditionalInfoToHclTerraform(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.dataAzurermHybridComputeMachineErrorDetailsAdditionalInfoToHclTerraform = dataAzurermHybridComputeMachineErrorDetailsAdditionalInfoToHclTerraform; class DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoOutputReference 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; } } // info - computed: true, optional: false, required: false get info() { return this.getStringAttribute('info'); } // type - computed: true, optional: false, required: false get type() { return this.getStringAttribute('type'); } } exports.DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoOutputReference = DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoOutputReference; _j = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoOutputReference[_j] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoList 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 DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoList = DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoList; _k = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoList[_k] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoList", version: "12.27.0" }; function dataAzurermHybridComputeMachineErrorDetailsToTerraform(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.dataAzurermHybridComputeMachineErrorDetailsToTerraform = dataAzurermHybridComputeMachineErrorDetailsToTerraform; function dataAzurermHybridComputeMachineErrorDetailsToHclTerraform(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.dataAzurermHybridComputeMachineErrorDetailsToHclTerraform = dataAzurermHybridComputeMachineErrorDetailsToHclTerraform; class DataAzurermHybridComputeMachineErrorDetailsOutputReference 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; // additional_info - computed: true, optional: false, required: false this._additionalInfo = new DataAzurermHybridComputeMachineErrorDetailsAdditionalInfoList(this, "additional_info", 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 additionalInfo() { return this._additionalInfo; } // code - computed: true, optional: false, required: false get code() { return this.getStringAttribute('code'); } // message - computed: true, optional: false, required: false get message() { return this.getStringAttribute('message'); } // target - computed: true, optional: false, required: false get target() { return this.getStringAttribute('target'); } } exports.DataAzurermHybridComputeMachineErrorDetailsOutputReference = DataAzurermHybridComputeMachineErrorDetailsOutputReference; _l = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineErrorDetailsOutputReference[_l] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineErrorDetailsOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineErrorDetailsList 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 DataAzurermHybridComputeMachineErrorDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineErrorDetailsList = DataAzurermHybridComputeMachineErrorDetailsList; _m = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineErrorDetailsList[_m] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineErrorDetailsList", version: "12.27.0" }; function dataAzurermHybridComputeMachineIdentityToTerraform(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.dataAzurermHybridComputeMachineIdentityToTerraform = dataAzurermHybridComputeMachineIdentityToTerraform; function dataAzurermHybridComputeMachineIdentityToHclTerraform(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.dataAzurermHybridComputeMachineIdentityToHclTerraform = dataAzurermHybridComputeMachineIdentityToHclTerraform; class DataAzurermHybridComputeMachineIdentityOutputReference 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; } } // 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.DataAzurermHybridComputeMachineIdentityOutputReference = DataAzurermHybridComputeMachineIdentityOutputReference; _o = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineIdentityOutputReference[_o] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineIdentityOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineIdentityList 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 DataAzurermHybridComputeMachineIdentityOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineIdentityList = DataAzurermHybridComputeMachineIdentityList; _p = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineIdentityList[_p] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineIdentityList", version: "12.27.0" }; function dataAzurermHybridComputeMachineLocationDataToTerraform(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.dataAzurermHybridComputeMachineLocationDataToTerraform = dataAzurermHybridComputeMachineLocationDataToTerraform; function dataAzurermHybridComputeMachineLocationDataToHclTerraform(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.dataAzurermHybridComputeMachineLocationDataToHclTerraform = dataAzurermHybridComputeMachineLocationDataToHclTerraform; class DataAzurermHybridComputeMachineLocationDataOutputReference 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; } } // city - computed: true, optional: false, required: false get city() { return this.getStringAttribute('city'); } // country_or_region - computed: true, optional: false, required: false get countryOrRegion() { return this.getStringAttribute('country_or_region'); } // district - computed: true, optional: false, required: false get district() { return this.getStringAttribute('district'); } // name - computed: true, optional: false, required: false get name() { return this.getStringAttribute('name'); } } exports.DataAzurermHybridComputeMachineLocationDataOutputReference = DataAzurermHybridComputeMachineLocationDataOutputReference; _q = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineLocationDataOutputReference[_q] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineLocationDataOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineLocationDataList 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 DataAzurermHybridComputeMachineLocationDataOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineLocationDataList = DataAzurermHybridComputeMachineLocationDataList; _r = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineLocationDataList[_r] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineLocationDataList", version: "12.27.0" }; function dataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsToTerraform(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.dataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsToTerraform = dataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsToTerraform; function dataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsToHclTerraform(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.dataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsToHclTerraform = dataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsToHclTerraform; class DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsOutputReference 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; } } // assessment_mode - computed: true, optional: false, required: false get assessmentMode() { return this.getStringAttribute('assessment_mode'); } // patch_mode - computed: true, optional: false, required: false get patchMode() { return this.getStringAttribute('patch_mode'); } } exports.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsOutputReference = DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsOutputReference; _s = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsOutputReference[_s] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsList 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 DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsList = DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsList; _t = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsList[_t] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsList", version: "12.27.0" }; function dataAzurermHybridComputeMachineOsProfileLinuxConfigurationToTerraform(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.dataAzurermHybridComputeMachineOsProfileLinuxConfigurationToTerraform = dataAzurermHybridComputeMachineOsProfileLinuxConfigurationToTerraform; function dataAzurermHybridComputeMachineOsProfileLinuxConfigurationToHclTerraform(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.dataAzurermHybridComputeMachineOsProfileLinuxConfigurationToHclTerraform = dataAzurermHybridComputeMachineOsProfileLinuxConfigurationToHclTerraform; class DataAzurermHybridComputeMachineOsProfileLinuxConfigurationOutputReference 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; // patch_settings - computed: true, optional: false, required: false this._patchSettings = new DataAzurermHybridComputeMachineOsProfileLinuxConfigurationPatchSettingsList(this, "patch_settings", 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 patchSettings() { return this._patchSettings; } } exports.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationOutputReference = DataAzurermHybridComputeMachineOsProfileLinuxConfigurationOutputReference; _u = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineOsProfileLinuxConfigurationOutputReference[_u] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationOutputReference", version: "12.27.0" }; class DataAzurermHybridComputeMachineOsProfileLinuxConfigurationList 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 DataAzurermHybridComputeMachineOsProfileLinuxConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationList = DataAzurermHybridComputeMachineOsProfileLinuxConfigurationList; _v = JSII_RTTI_SYMBOL_1; DataAzurermHybridComputeMachineOsProfileLinuxConfigurationList[_v] = { fqn: "@cdktf/provider-azurerm.dataAzurermHybridComputeMachine.DataAzurermHybridComputeMachineOsProfileLinuxConfigurationList", version: "12.27.0" }; function dataAzurermHybridComputeMachineOsProfileWindowsConfigurationPatchSettingsToTerraform(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