UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

879 lines 302 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; Object.defineProperty(exports, "__esModule", { value: true }); exports.coreClusterNetworkTimeoutsToTerraform = exports.CoreClusterNetworkPlacementConfigurationOutputReference = exports.coreClusterNetworkPlacementConfigurationToHclTerraform = exports.coreClusterNetworkPlacementConfigurationToTerraform = exports.CoreClusterNetworkPlacementConfigurationSecondaryVnicSubnetsList = exports.CoreClusterNetworkPlacementConfigurationSecondaryVnicSubnetsOutputReference = exports.coreClusterNetworkPlacementConfigurationSecondaryVnicSubnetsToHclTerraform = exports.coreClusterNetworkPlacementConfigurationSecondaryVnicSubnetsToTerraform = exports.CoreClusterNetworkPlacementConfigurationSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList = exports.CoreClusterNetworkPlacementConfigurationSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference = exports.coreClusterNetworkPlacementConfigurationSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform = exports.coreClusterNetworkPlacementConfigurationSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform = exports.CoreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsOutputReference = exports.coreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsToHclTerraform = exports.coreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsToTerraform = exports.CoreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList = exports.CoreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference = exports.coreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform = exports.coreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform = exports.CoreClusterNetworkInstancePoolsList = exports.CoreClusterNetworkInstancePoolsOutputReference = exports.coreClusterNetworkInstancePoolsToHclTerraform = exports.coreClusterNetworkInstancePoolsToTerraform = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsList = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsOutputReference = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsToHclTerraform = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsToTerraform = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsList = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsOutputReference = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsToHclTerraform = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsToTerraform = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsList = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsOutputReference = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsToHclTerraform = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsToTerraform = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList = exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform = exports.coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform = exports.CoreClusterNetworkInstancePoolsLoadBalancersList = exports.CoreClusterNetworkInstancePoolsLoadBalancersOutputReference = exports.coreClusterNetworkInstancePoolsLoadBalancersToHclTerraform = exports.coreClusterNetworkInstancePoolsLoadBalancersToTerraform = exports.CoreClusterNetworkClusterConfigurationOutputReference = exports.coreClusterNetworkClusterConfigurationToHclTerraform = exports.coreClusterNetworkClusterConfigurationToTerraform = void 0; exports.CoreClusterNetwork = exports.CoreClusterNetworkTimeoutsOutputReference = exports.coreClusterNetworkTimeoutsToHclTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function coreClusterNetworkClusterConfigurationToTerraform(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 { hpc_island_id: cdktf.stringToTerraform(struct.hpcIslandId), network_block_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.networkBlockIds), }; } exports.coreClusterNetworkClusterConfigurationToTerraform = coreClusterNetworkClusterConfigurationToTerraform; function coreClusterNetworkClusterConfigurationToHclTerraform(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 = { hpc_island_id: { value: cdktf.stringToHclTerraform(struct.hpcIslandId), isBlock: false, type: "simple", storageClassType: "string", }, network_block_ids: { value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.networkBlockIds), isBlock: false, type: "list", storageClassType: "stringList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.coreClusterNetworkClusterConfigurationToHclTerraform = coreClusterNetworkClusterConfigurationToHclTerraform; class CoreClusterNetworkClusterConfigurationOutputReference extends cdktf.ComplexObject { /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource, terraformAttribute) { super(terraformResource, terraformAttribute, false, 0); this.isEmptyObject = false; } get internalValue() { let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._hpcIslandId !== undefined) { hasAnyValues = true; internalValueResult.hpcIslandId = this._hpcIslandId; } if (this._networkBlockIds !== undefined) { hasAnyValues = true; internalValueResult.networkBlockIds = this._networkBlockIds; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this._hpcIslandId = undefined; this._networkBlockIds = undefined; } else { this.isEmptyObject = Object.keys(value).length === 0; this._hpcIslandId = value.hpcIslandId; this._networkBlockIds = value.networkBlockIds; } } get hpcIslandId() { return this.getStringAttribute('hpc_island_id'); } set hpcIslandId(value) { this._hpcIslandId = value; } // Temporarily expose input value. Use with caution. get hpcIslandIdInput() { return this._hpcIslandId; } get networkBlockIds() { return this.getListAttribute('network_block_ids'); } set networkBlockIds(value) { this._networkBlockIds = value; } resetNetworkBlockIds() { this._networkBlockIds = undefined; } // Temporarily expose input value. Use with caution. get networkBlockIdsInput() { return this._networkBlockIds; } } exports.CoreClusterNetworkClusterConfigurationOutputReference = CoreClusterNetworkClusterConfigurationOutputReference; _a = JSII_RTTI_SYMBOL_1; CoreClusterNetworkClusterConfigurationOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkClusterConfigurationOutputReference", version: "1.0.0" }; function coreClusterNetworkInstancePoolsLoadBalancersToTerraform(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.coreClusterNetworkInstancePoolsLoadBalancersToTerraform = coreClusterNetworkInstancePoolsLoadBalancersToTerraform; function coreClusterNetworkInstancePoolsLoadBalancersToHclTerraform(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.coreClusterNetworkInstancePoolsLoadBalancersToHclTerraform = coreClusterNetworkInstancePoolsLoadBalancersToHclTerraform; class CoreClusterNetworkInstancePoolsLoadBalancersOutputReference 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; } } // backend_set_name - computed: true, optional: false, required: false get backendSetName() { return this.getStringAttribute('backend_set_name'); } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // instance_pool_id - computed: true, optional: false, required: false get instancePoolId() { return this.getStringAttribute('instance_pool_id'); } // load_balancer_id - computed: true, optional: false, required: false get loadBalancerId() { return this.getStringAttribute('load_balancer_id'); } // port - computed: true, optional: false, required: false get port() { return this.getNumberAttribute('port'); } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } // vnic_selection - computed: true, optional: false, required: false get vnicSelection() { return this.getStringAttribute('vnic_selection'); } } exports.CoreClusterNetworkInstancePoolsLoadBalancersOutputReference = CoreClusterNetworkInstancePoolsLoadBalancersOutputReference; _b = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsLoadBalancersOutputReference[_b] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsLoadBalancersOutputReference", version: "1.0.0" }; class CoreClusterNetworkInstancePoolsLoadBalancersList 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 CoreClusterNetworkInstancePoolsLoadBalancersOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CoreClusterNetworkInstancePoolsLoadBalancersList = CoreClusterNetworkInstancePoolsLoadBalancersList; _c = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsLoadBalancersList[_c] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsLoadBalancersList", version: "1.0.0" }; function coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform; function coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform; class CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference 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; } } // ipv6subnet_cidr - computed: true, optional: false, required: false get ipv6SubnetCidr() { return this.getStringAttribute('ipv6subnet_cidr'); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference = CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference; _d = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference[_d] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference", version: "1.0.0" }; class CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList 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 CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList = CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList; _e = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList[_e] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList", version: "1.0.0" }; function coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsToTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsToTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsToTerraform; function coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsToHclTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsToHclTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsToHclTerraform; class CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsOutputReference 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; // ipv6address_ipv6subnet_cidr_pair_details - computed: true, optional: false, required: false this._ipv6AddressIpv6SubnetCidrPairDetails = new CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList(this, "ipv6address_ipv6subnet_cidr_pair_details", 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 ipv6AddressIpv6SubnetCidrPairDetails() { return this._ipv6AddressIpv6SubnetCidrPairDetails; } // is_assign_ipv6ip - computed: true, optional: false, required: false get isAssignIpv6Ip() { return this.getBooleanAttribute('is_assign_ipv6ip'); } // subnet_id - computed: true, optional: false, required: false get subnetId() { return this.getStringAttribute('subnet_id'); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsOutputReference = CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsOutputReference; _f = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsOutputReference[_f] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsOutputReference", version: "1.0.0" }; class CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsList 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 CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsList = CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsList; _g = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsList[_g] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsList", version: "1.0.0" }; function coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform; function coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform; class CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference 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; } } // ipv6subnet_cidr - computed: true, optional: false, required: false get ipv6SubnetCidr() { return this.getStringAttribute('ipv6subnet_cidr'); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference = CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference; _h = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference[_h] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference", version: "1.0.0" }; class CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList 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 CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList = CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList; _j = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList[_j] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList", version: "1.0.0" }; function coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsToTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsToTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsToTerraform; function coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsToHclTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsToHclTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsToHclTerraform; class CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsOutputReference 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; // ipv6address_ipv6subnet_cidr_pair_details - computed: true, optional: false, required: false this._ipv6AddressIpv6SubnetCidrPairDetails = new CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsList(this, "ipv6address_ipv6subnet_cidr_pair_details", 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; } } // display_name - computed: true, optional: false, required: false get displayName() { return this.getStringAttribute('display_name'); } get ipv6AddressIpv6SubnetCidrPairDetails() { return this._ipv6AddressIpv6SubnetCidrPairDetails; } // is_assign_ipv6ip - computed: true, optional: false, required: false get isAssignIpv6Ip() { return this.getBooleanAttribute('is_assign_ipv6ip'); } // subnet_id - computed: true, optional: false, required: false get subnetId() { return this.getStringAttribute('subnet_id'); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsOutputReference = CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsOutputReference; _k = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsOutputReference[_k] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsOutputReference", version: "1.0.0" }; class CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsList 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 CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsList = CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsList; _l = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsList[_l] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsList", version: "1.0.0" }; function coreClusterNetworkInstancePoolsPlacementConfigurationsToTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsToTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsToTerraform; function coreClusterNetworkInstancePoolsPlacementConfigurationsToHclTerraform(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.coreClusterNetworkInstancePoolsPlacementConfigurationsToHclTerraform = coreClusterNetworkInstancePoolsPlacementConfigurationsToHclTerraform; class CoreClusterNetworkInstancePoolsPlacementConfigurationsOutputReference 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; // primary_vnic_subnets - computed: true, optional: false, required: false this._primaryVnicSubnets = new CoreClusterNetworkInstancePoolsPlacementConfigurationsPrimaryVnicSubnetsList(this, "primary_vnic_subnets", false); // secondary_vnic_subnets - computed: true, optional: false, required: false this._secondaryVnicSubnets = new CoreClusterNetworkInstancePoolsPlacementConfigurationsSecondaryVnicSubnetsList(this, "secondary_vnic_subnets", true); } 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; } } // availability_domain - computed: true, optional: false, required: false get availabilityDomain() { return this.getStringAttribute('availability_domain'); } // fault_domains - computed: true, optional: false, required: false get faultDomains() { return this.getListAttribute('fault_domains'); } // primary_subnet_id - computed: true, optional: false, required: false get primarySubnetId() { return this.getStringAttribute('primary_subnet_id'); } get primaryVnicSubnets() { return this._primaryVnicSubnets; } get secondaryVnicSubnets() { return this._secondaryVnicSubnets; } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsOutputReference = CoreClusterNetworkInstancePoolsPlacementConfigurationsOutputReference; _m = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsOutputReference[_m] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsOutputReference", version: "1.0.0" }; class CoreClusterNetworkInstancePoolsPlacementConfigurationsList 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 CoreClusterNetworkInstancePoolsPlacementConfigurationsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CoreClusterNetworkInstancePoolsPlacementConfigurationsList = CoreClusterNetworkInstancePoolsPlacementConfigurationsList; _o = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsPlacementConfigurationsList[_o] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsPlacementConfigurationsList", version: "1.0.0" }; function coreClusterNetworkInstancePoolsToTerraform(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 { defined_tags: cdktf.hashMapper(cdktf.stringToTerraform)(struct.definedTags), display_name: cdktf.stringToTerraform(struct.displayName), freeform_tags: cdktf.hashMapper(cdktf.stringToTerraform)(struct.freeformTags), instance_configuration_id: cdktf.stringToTerraform(struct.instanceConfigurationId), size: cdktf.numberToTerraform(struct.size), }; } exports.coreClusterNetworkInstancePoolsToTerraform = coreClusterNetworkInstancePoolsToTerraform; function coreClusterNetworkInstancePoolsToHclTerraform(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 = { defined_tags: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.definedTags), isBlock: false, type: "map", storageClassType: "stringMap", }, display_name: { value: cdktf.stringToHclTerraform(struct.displayName), isBlock: false, type: "simple", storageClassType: "string", }, freeform_tags: { value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(struct.freeformTags), isBlock: false, type: "map", storageClassType: "stringMap", }, instance_configuration_id: { value: cdktf.stringToHclTerraform(struct.instanceConfigurationId), isBlock: false, type: "simple", storageClassType: "string", }, size: { value: cdktf.numberToHclTerraform(struct.size), isBlock: false, type: "simple", storageClassType: "number", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.coreClusterNetworkInstancePoolsToHclTerraform = coreClusterNetworkInstancePoolsToHclTerraform; class CoreClusterNetworkInstancePoolsOutputReference 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; // load_balancers - computed: true, optional: false, required: false this._loadBalancers = new CoreClusterNetworkInstancePoolsLoadBalancersList(this, "load_balancers", false); // placement_configurations - computed: true, optional: false, required: false this._placementConfigurations = new CoreClusterNetworkInstancePoolsPlacementConfigurationsList(this, "placement_configurations", false); } get internalValue() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._definedTags !== undefined) { hasAnyValues = true; internalValueResult.definedTags = this._definedTags; } if (this._displayName !== undefined) { hasAnyValues = true; internalValueResult.displayName = this._displayName; } if (this._freeformTags !== undefined) { hasAnyValues = true; internalValueResult.freeformTags = this._freeformTags; } if (this._instanceConfigurationId !== undefined) { hasAnyValues = true; internalValueResult.instanceConfigurationId = this._instanceConfigurationId; } if (this._size !== undefined) { hasAnyValues = true; internalValueResult.size = this._size; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._definedTags = undefined; this._displayName = undefined; this._freeformTags = undefined; this._instanceConfigurationId = undefined; this._size = undefined; } else if (cdktf.Tokenization.isResolvable(value)) { this.isEmptyObject = false; this.resolvableValue = value; } else { this.isEmptyObject = Object.keys(value).length === 0; this.resolvableValue = undefined; this._definedTags = value.definedTags; this._displayName = value.displayName; this._freeformTags = value.freeformTags; this._instanceConfigurationId = value.instanceConfigurationId; this._size = value.size; } } // compartment_id - computed: true, optional: false, required: false get compartmentId() { return this.getStringAttribute('compartment_id'); } get definedTags() { return this.getStringMapAttribute('defined_tags'); } set definedTags(value) { this._definedTags = value; } resetDefinedTags() { this._definedTags = undefined; } // Temporarily expose input value. Use with caution. get definedTagsInput() { return this._definedTags; } get displayName() { return this.getStringAttribute('display_name'); } set displayName(value) { this._displayName = value; } resetDisplayName() { this._displayName = undefined; } // Temporarily expose input value. Use with caution. get displayNameInput() { return this._displayName; } get freeformTags() { return this.getStringMapAttribute('freeform_tags'); } set freeformTags(value) { this._freeformTags = value; } resetFreeformTags() { this._freeformTags = undefined; } // Temporarily expose input value. Use with caution. get freeformTagsInput() { return this._freeformTags; } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } get instanceConfigurationId() { return this.getStringAttribute('instance_configuration_id'); } set instanceConfigurationId(value) { this._instanceConfigurationId = value; } // Temporarily expose input value. Use with caution. get instanceConfigurationIdInput() { return this._instanceConfigurationId; } // instance_display_name_formatter - computed: true, optional: false, required: false get instanceDisplayNameFormatter() { return this.getStringAttribute('instance_display_name_formatter'); } // instance_hostname_formatter - computed: true, optional: false, required: false get instanceHostnameFormatter() { return this.getStringAttribute('instance_hostname_formatter'); } get loadBalancers() { return this._loadBalancers; } get placementConfigurations() { return this._placementConfigurations; } get size() { return this.getNumberAttribute('size'); } set size(value) { this._size = value; } // Temporarily expose input value. Use with caution. get sizeInput() { return this._size; } // state - computed: true, optional: false, required: false get state() { return this.getStringAttribute('state'); } // time_created - computed: true, optional: false, required: false get timeCreated() { return this.getStringAttribute('time_created'); } } exports.CoreClusterNetworkInstancePoolsOutputReference = CoreClusterNetworkInstancePoolsOutputReference; _p = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsOutputReference[_p] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsOutputReference", version: "1.0.0" }; class CoreClusterNetworkInstancePoolsList 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 CoreClusterNetworkInstancePoolsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.CoreClusterNetworkInstancePoolsList = CoreClusterNetworkInstancePoolsList; _q = JSII_RTTI_SYMBOL_1; CoreClusterNetworkInstancePoolsList[_q] = { fqn: "rhizo-co-terraform-provider-oci.coreClusterNetwork.CoreClusterNetworkInstancePoolsList", version: "1.0.0" }; function coreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform(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 { ipv6subnet_cidr: cdktf.stringToTerraform(struct.ipv6SubnetCidr), }; } exports.coreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform = coreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToTerraform; function coreClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6AddressIpv6SubnetCidrPairDetailsToHclTerraform(struct) { if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) { return struct; } if (cdktf.isComplexElement(struct)) { throw new Error("A complex element w