@cdktf/provider-azurerm
Version:
Prebuilt azurerm Provider for Terraform CDK (cdktf)
935 lines • 209 kB
JavaScript
"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;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dataAzurermArcMachineServiceStatusGuestConfigurationServiceToHclTerraform = exports.dataAzurermArcMachineServiceStatusGuestConfigurationServiceToTerraform = exports.DataAzurermArcMachineServiceStatusExtensionServiceList = exports.DataAzurermArcMachineServiceStatusExtensionServiceOutputReference = exports.dataAzurermArcMachineServiceStatusExtensionServiceToHclTerraform = exports.dataAzurermArcMachineServiceStatusExtensionServiceToTerraform = exports.DataAzurermArcMachineOsProfileList = exports.DataAzurermArcMachineOsProfileOutputReference = exports.dataAzurermArcMachineOsProfileToHclTerraform = exports.dataAzurermArcMachineOsProfileToTerraform = exports.DataAzurermArcMachineOsProfileWindowsList = exports.DataAzurermArcMachineOsProfileWindowsOutputReference = exports.dataAzurermArcMachineOsProfileWindowsToHclTerraform = exports.dataAzurermArcMachineOsProfileWindowsToTerraform = exports.DataAzurermArcMachineOsProfileWindowsPatchList = exports.DataAzurermArcMachineOsProfileWindowsPatchOutputReference = exports.dataAzurermArcMachineOsProfileWindowsPatchToHclTerraform = exports.dataAzurermArcMachineOsProfileWindowsPatchToTerraform = exports.DataAzurermArcMachineOsProfileLinuxList = exports.DataAzurermArcMachineOsProfileLinuxOutputReference = exports.dataAzurermArcMachineOsProfileLinuxToHclTerraform = exports.dataAzurermArcMachineOsProfileLinuxToTerraform = exports.DataAzurermArcMachineOsProfileLinuxPatchList = exports.DataAzurermArcMachineOsProfileLinuxPatchOutputReference = exports.dataAzurermArcMachineOsProfileLinuxPatchToHclTerraform = exports.dataAzurermArcMachineOsProfileLinuxPatchToTerraform = exports.DataAzurermArcMachineLocationDataList = exports.DataAzurermArcMachineLocationDataOutputReference = exports.dataAzurermArcMachineLocationDataToHclTerraform = exports.dataAzurermArcMachineLocationDataToTerraform = exports.DataAzurermArcMachineIdentityList = exports.DataAzurermArcMachineIdentityOutputReference = exports.dataAzurermArcMachineIdentityToHclTerraform = exports.dataAzurermArcMachineIdentityToTerraform = exports.DataAzurermArcMachineCloudMetadataList = exports.DataAzurermArcMachineCloudMetadataOutputReference = exports.dataAzurermArcMachineCloudMetadataToHclTerraform = exports.dataAzurermArcMachineCloudMetadataToTerraform = exports.DataAzurermArcMachineAgentList = exports.DataAzurermArcMachineAgentOutputReference = exports.dataAzurermArcMachineAgentToHclTerraform = exports.dataAzurermArcMachineAgentToTerraform = exports.DataAzurermArcMachineAgentExtensionsBlockListStructList = exports.DataAzurermArcMachineAgentExtensionsBlockListStructOutputReference = exports.dataAzurermArcMachineAgentExtensionsBlockListStructToHclTerraform = exports.dataAzurermArcMachineAgentExtensionsBlockListStructToTerraform = exports.DataAzurermArcMachineAgentExtensionsAllowListStructList = exports.DataAzurermArcMachineAgentExtensionsAllowListStructOutputReference = exports.dataAzurermArcMachineAgentExtensionsAllowListStructToHclTerraform = exports.dataAzurermArcMachineAgentExtensionsAllowListStructToTerraform = void 0;
exports.DataAzurermArcMachine = exports.DataAzurermArcMachineTimeoutsOutputReference = exports.dataAzurermArcMachineTimeoutsToHclTerraform = exports.dataAzurermArcMachineTimeoutsToTerraform = exports.DataAzurermArcMachineServiceStatusList = exports.DataAzurermArcMachineServiceStatusOutputReference = exports.dataAzurermArcMachineServiceStatusToHclTerraform = exports.dataAzurermArcMachineServiceStatusToTerraform = exports.DataAzurermArcMachineServiceStatusGuestConfigurationServiceList = exports.DataAzurermArcMachineServiceStatusGuestConfigurationServiceOutputReference = void 0;
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
const cdktf = require("cdktf");
function dataAzurermArcMachineAgentExtensionsAllowListStructToTerraform(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.dataAzurermArcMachineAgentExtensionsAllowListStructToTerraform = dataAzurermArcMachineAgentExtensionsAllowListStructToTerraform;
function dataAzurermArcMachineAgentExtensionsAllowListStructToHclTerraform(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.dataAzurermArcMachineAgentExtensionsAllowListStructToHclTerraform = dataAzurermArcMachineAgentExtensionsAllowListStructToHclTerraform;
class DataAzurermArcMachineAgentExtensionsAllowListStructOutputReference 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.DataAzurermArcMachineAgentExtensionsAllowListStructOutputReference = DataAzurermArcMachineAgentExtensionsAllowListStructOutputReference;
_a = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineAgentExtensionsAllowListStructOutputReference[_a] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineAgentExtensionsAllowListStructOutputReference", version: "12.27.0" };
class DataAzurermArcMachineAgentExtensionsAllowListStructList 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 DataAzurermArcMachineAgentExtensionsAllowListStructOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineAgentExtensionsAllowListStructList = DataAzurermArcMachineAgentExtensionsAllowListStructList;
_b = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineAgentExtensionsAllowListStructList[_b] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineAgentExtensionsAllowListStructList", version: "12.27.0" };
function dataAzurermArcMachineAgentExtensionsBlockListStructToTerraform(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.dataAzurermArcMachineAgentExtensionsBlockListStructToTerraform = dataAzurermArcMachineAgentExtensionsBlockListStructToTerraform;
function dataAzurermArcMachineAgentExtensionsBlockListStructToHclTerraform(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.dataAzurermArcMachineAgentExtensionsBlockListStructToHclTerraform = dataAzurermArcMachineAgentExtensionsBlockListStructToHclTerraform;
class DataAzurermArcMachineAgentExtensionsBlockListStructOutputReference 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.DataAzurermArcMachineAgentExtensionsBlockListStructOutputReference = DataAzurermArcMachineAgentExtensionsBlockListStructOutputReference;
_c = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineAgentExtensionsBlockListStructOutputReference[_c] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineAgentExtensionsBlockListStructOutputReference", version: "12.27.0" };
class DataAzurermArcMachineAgentExtensionsBlockListStructList 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 DataAzurermArcMachineAgentExtensionsBlockListStructOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineAgentExtensionsBlockListStructList = DataAzurermArcMachineAgentExtensionsBlockListStructList;
_d = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineAgentExtensionsBlockListStructList[_d] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineAgentExtensionsBlockListStructList", version: "12.27.0" };
function dataAzurermArcMachineAgentToTerraform(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.dataAzurermArcMachineAgentToTerraform = dataAzurermArcMachineAgentToTerraform;
function dataAzurermArcMachineAgentToHclTerraform(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.dataAzurermArcMachineAgentToHclTerraform = dataAzurermArcMachineAgentToHclTerraform;
class DataAzurermArcMachineAgentOutputReference 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 DataAzurermArcMachineAgentExtensionsAllowListStructList(this, "extensions_allow_list", false);
// extensions_block_list - computed: true, optional: false, required: false
this._extensionsBlockList = new DataAzurermArcMachineAgentExtensionsBlockListStructList(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.DataAzurermArcMachineAgentOutputReference = DataAzurermArcMachineAgentOutputReference;
_e = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineAgentOutputReference[_e] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineAgentOutputReference", version: "12.27.0" };
class DataAzurermArcMachineAgentList 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 DataAzurermArcMachineAgentOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineAgentList = DataAzurermArcMachineAgentList;
_f = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineAgentList[_f] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineAgentList", version: "12.27.0" };
function dataAzurermArcMachineCloudMetadataToTerraform(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.dataAzurermArcMachineCloudMetadataToTerraform = dataAzurermArcMachineCloudMetadataToTerraform;
function dataAzurermArcMachineCloudMetadataToHclTerraform(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.dataAzurermArcMachineCloudMetadataToHclTerraform = dataAzurermArcMachineCloudMetadataToHclTerraform;
class DataAzurermArcMachineCloudMetadataOutputReference 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.DataAzurermArcMachineCloudMetadataOutputReference = DataAzurermArcMachineCloudMetadataOutputReference;
_g = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineCloudMetadataOutputReference[_g] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineCloudMetadataOutputReference", version: "12.27.0" };
class DataAzurermArcMachineCloudMetadataList 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 DataAzurermArcMachineCloudMetadataOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineCloudMetadataList = DataAzurermArcMachineCloudMetadataList;
_h = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineCloudMetadataList[_h] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineCloudMetadataList", version: "12.27.0" };
function dataAzurermArcMachineIdentityToTerraform(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.dataAzurermArcMachineIdentityToTerraform = dataAzurermArcMachineIdentityToTerraform;
function dataAzurermArcMachineIdentityToHclTerraform(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.dataAzurermArcMachineIdentityToHclTerraform = dataAzurermArcMachineIdentityToHclTerraform;
class DataAzurermArcMachineIdentityOutputReference 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.DataAzurermArcMachineIdentityOutputReference = DataAzurermArcMachineIdentityOutputReference;
_j = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineIdentityOutputReference[_j] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineIdentityOutputReference", version: "12.27.0" };
class DataAzurermArcMachineIdentityList 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 DataAzurermArcMachineIdentityOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineIdentityList = DataAzurermArcMachineIdentityList;
_k = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineIdentityList[_k] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineIdentityList", version: "12.27.0" };
function dataAzurermArcMachineLocationDataToTerraform(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.dataAzurermArcMachineLocationDataToTerraform = dataAzurermArcMachineLocationDataToTerraform;
function dataAzurermArcMachineLocationDataToHclTerraform(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.dataAzurermArcMachineLocationDataToHclTerraform = dataAzurermArcMachineLocationDataToHclTerraform;
class DataAzurermArcMachineLocationDataOutputReference 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.DataAzurermArcMachineLocationDataOutputReference = DataAzurermArcMachineLocationDataOutputReference;
_l = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineLocationDataOutputReference[_l] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineLocationDataOutputReference", version: "12.27.0" };
class DataAzurermArcMachineLocationDataList 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 DataAzurermArcMachineLocationDataOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineLocationDataList = DataAzurermArcMachineLocationDataList;
_m = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineLocationDataList[_m] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineLocationDataList", version: "12.27.0" };
function dataAzurermArcMachineOsProfileLinuxPatchToTerraform(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.dataAzurermArcMachineOsProfileLinuxPatchToTerraform = dataAzurermArcMachineOsProfileLinuxPatchToTerraform;
function dataAzurermArcMachineOsProfileLinuxPatchToHclTerraform(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.dataAzurermArcMachineOsProfileLinuxPatchToHclTerraform = dataAzurermArcMachineOsProfileLinuxPatchToHclTerraform;
class DataAzurermArcMachineOsProfileLinuxPatchOutputReference 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.DataAzurermArcMachineOsProfileLinuxPatchOutputReference = DataAzurermArcMachineOsProfileLinuxPatchOutputReference;
_o = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileLinuxPatchOutputReference[_o] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileLinuxPatchOutputReference", version: "12.27.0" };
class DataAzurermArcMachineOsProfileLinuxPatchList 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 DataAzurermArcMachineOsProfileLinuxPatchOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineOsProfileLinuxPatchList = DataAzurermArcMachineOsProfileLinuxPatchList;
_p = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileLinuxPatchList[_p] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileLinuxPatchList", version: "12.27.0" };
function dataAzurermArcMachineOsProfileLinuxToTerraform(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.dataAzurermArcMachineOsProfileLinuxToTerraform = dataAzurermArcMachineOsProfileLinuxToTerraform;
function dataAzurermArcMachineOsProfileLinuxToHclTerraform(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.dataAzurermArcMachineOsProfileLinuxToHclTerraform = dataAzurermArcMachineOsProfileLinuxToHclTerraform;
class DataAzurermArcMachineOsProfileLinuxOutputReference 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 - computed: true, optional: false, required: false
this._patch = new DataAzurermArcMachineOsProfileLinuxPatchList(this, "patch", 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 patch() {
return this._patch;
}
}
exports.DataAzurermArcMachineOsProfileLinuxOutputReference = DataAzurermArcMachineOsProfileLinuxOutputReference;
_q = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileLinuxOutputReference[_q] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileLinuxOutputReference", version: "12.27.0" };
class DataAzurermArcMachineOsProfileLinuxList 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 DataAzurermArcMachineOsProfileLinuxOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineOsProfileLinuxList = DataAzurermArcMachineOsProfileLinuxList;
_r = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileLinuxList[_r] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileLinuxList", version: "12.27.0" };
function dataAzurermArcMachineOsProfileWindowsPatchToTerraform(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.dataAzurermArcMachineOsProfileWindowsPatchToTerraform = dataAzurermArcMachineOsProfileWindowsPatchToTerraform;
function dataAzurermArcMachineOsProfileWindowsPatchToHclTerraform(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.dataAzurermArcMachineOsProfileWindowsPatchToHclTerraform = dataAzurermArcMachineOsProfileWindowsPatchToHclTerraform;
class DataAzurermArcMachineOsProfileWindowsPatchOutputReference 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.DataAzurermArcMachineOsProfileWindowsPatchOutputReference = DataAzurermArcMachineOsProfileWindowsPatchOutputReference;
_s = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileWindowsPatchOutputReference[_s] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileWindowsPatchOutputReference", version: "12.27.0" };
class DataAzurermArcMachineOsProfileWindowsPatchList 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 DataAzurermArcMachineOsProfileWindowsPatchOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineOsProfileWindowsPatchList = DataAzurermArcMachineOsProfileWindowsPatchList;
_t = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileWindowsPatchList[_t] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileWindowsPatchList", version: "12.27.0" };
function dataAzurermArcMachineOsProfileWindowsToTerraform(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.dataAzurermArcMachineOsProfileWindowsToTerraform = dataAzurermArcMachineOsProfileWindowsToTerraform;
function dataAzurermArcMachineOsProfileWindowsToHclTerraform(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.dataAzurermArcMachineOsProfileWindowsToHclTerraform = dataAzurermArcMachineOsProfileWindowsToHclTerraform;
class DataAzurermArcMachineOsProfileWindowsOutputReference 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 - computed: true, optional: false, required: false
this._patch = new DataAzurermArcMachineOsProfileWindowsPatchList(this, "patch", 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 patch() {
return this._patch;
}
}
exports.DataAzurermArcMachineOsProfileWindowsOutputReference = DataAzurermArcMachineOsProfileWindowsOutputReference;
_u = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileWindowsOutputReference[_u] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileWindowsOutputReference", version: "12.27.0" };
class DataAzurermArcMachineOsProfileWindowsList 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 DataAzurermArcMachineOsProfileWindowsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineOsProfileWindowsList = DataAzurermArcMachineOsProfileWindowsList;
_v = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileWindowsList[_v] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileWindowsList", version: "12.27.0" };
function dataAzurermArcMachineOsProfileToTerraform(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.dataAzurermArcMachineOsProfileToTerraform = dataAzurermArcMachineOsProfileToTerraform;
function dataAzurermArcMachineOsProfileToHclTerraform(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.dataAzurermArcMachineOsProfileToHclTerraform = dataAzurermArcMachineOsProfileToHclTerraform;
class DataAzurermArcMachineOsProfileOutputReference 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;
// linux - computed: true, optional: false, required: false
this._linux = new DataAzurermArcMachineOsProfileLinuxList(this, "linux", false);
// windows - computed: true, optional: false, required: false
this._windows = new DataAzurermArcMachineOsProfileWindowsList(this, "windows", 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;
}
}
// computer_name - computed: true, optional: false, required: false
get computerName() {
return this.getStringAttribute('computer_name');
}
get linux() {
return this._linux;
}
get windows() {
return this._windows;
}
}
exports.DataAzurermArcMachineOsProfileOutputReference = DataAzurermArcMachineOsProfileOutputReference;
_w = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileOutputReference[_w] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileOutputReference", version: "12.27.0" };
class DataAzurermArcMachineOsProfileList 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 DataAzurermArcMachineOsProfileOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
}
}
exports.DataAzurermArcMachineOsProfileList = DataAzurermArcMachineOsProfileList;
_x = JSII_RTTI_SYMBOL_1;
DataAzurermArcMachineOsProfileList[_x] = { fqn: "@cdktf/provider-azurerm.dataAzurermArcMachine.DataAzurermArcMachineOsProfileList", version: "12.27.0" };
function dataAzurermArcMachineServiceStatusExtensionServiceToTerraform(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.dataAzurermArcMachineServiceStatusExtensionServiceToTerraform = dataAzurermArcMachineServiceStatusExtensionServiceToTerraform;
function dataAzurermArcMachineServiceStatusExtensionServiceToHclTerraform(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.dataAzurermArcMachineServiceStatusExtensionServiceToHclTerraform = dataAzurermArcMachineServiceStatusExtensionServiceToHclTerraform;
class DataAzurermArcMachineServiceStatusExtensionServiceOutputReference 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, terraformAttr