UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

976 lines 137 kB
"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q; Object.defineProperty(exports, "__esModule", { value: true }); exports.DataOciOcvpClusters = exports.DataOciOcvpClustersFilterList = exports.DataOciOcvpClustersFilterOutputReference = exports.dataOciOcvpClustersFilterToHclTerraform = exports.dataOciOcvpClustersFilterToTerraform = exports.DataOciOcvpClustersClusterCollectionList = exports.DataOciOcvpClustersClusterCollectionOutputReference = exports.dataOciOcvpClustersClusterCollectionToHclTerraform = exports.dataOciOcvpClustersClusterCollectionToTerraform = exports.DataOciOcvpClustersClusterCollectionItemsList = exports.DataOciOcvpClustersClusterCollectionItemsOutputReference = exports.dataOciOcvpClustersClusterCollectionItemsToHclTerraform = exports.dataOciOcvpClustersClusterCollectionItemsToTerraform = exports.DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsList = exports.DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsOutputReference = exports.dataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsToHclTerraform = exports.dataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsToTerraform = exports.DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesList = exports.DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesOutputReference = exports.dataOciOcvpClustersClusterCollectionItemsUpgradeLicensesToHclTerraform = exports.dataOciOcvpClustersClusterCollectionItemsUpgradeLicensesToTerraform = exports.DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationList = exports.DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationOutputReference = exports.dataOciOcvpClustersClusterCollectionItemsNetworkConfigurationToHclTerraform = exports.dataOciOcvpClustersClusterCollectionItemsNetworkConfigurationToTerraform = exports.DataOciOcvpClustersClusterCollectionItemsDatastoresList = exports.DataOciOcvpClustersClusterCollectionItemsDatastoresOutputReference = exports.dataOciOcvpClustersClusterCollectionItemsDatastoresToHclTerraform = exports.dataOciOcvpClustersClusterCollectionItemsDatastoresToTerraform = void 0; const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti"); const cdktf = require("cdktf"); function dataOciOcvpClustersClusterCollectionItemsDatastoresToTerraform(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.dataOciOcvpClustersClusterCollectionItemsDatastoresToTerraform = dataOciOcvpClustersClusterCollectionItemsDatastoresToTerraform; function dataOciOcvpClustersClusterCollectionItemsDatastoresToHclTerraform(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.dataOciOcvpClustersClusterCollectionItemsDatastoresToHclTerraform = dataOciOcvpClustersClusterCollectionItemsDatastoresToHclTerraform; class DataOciOcvpClustersClusterCollectionItemsDatastoresOutputReference 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; } } // block_volume_ids - computed: true, optional: false, required: false get blockVolumeIds() { return this.getListAttribute('block_volume_ids'); } // capacity - computed: true, optional: false, required: false get capacity() { return this.getNumberAttribute('capacity'); } // datastore_type - computed: true, optional: false, required: false get datastoreType() { return this.getStringAttribute('datastore_type'); } } exports.DataOciOcvpClustersClusterCollectionItemsDatastoresOutputReference = DataOciOcvpClustersClusterCollectionItemsDatastoresOutputReference; _a = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsDatastoresOutputReference[_a] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsDatastoresOutputReference", version: "1.0.0" }; class DataOciOcvpClustersClusterCollectionItemsDatastoresList 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 DataOciOcvpClustersClusterCollectionItemsDatastoresOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciOcvpClustersClusterCollectionItemsDatastoresList = DataOciOcvpClustersClusterCollectionItemsDatastoresList; _b = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsDatastoresList[_b] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsDatastoresList", version: "1.0.0" }; function dataOciOcvpClustersClusterCollectionItemsNetworkConfigurationToTerraform(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.dataOciOcvpClustersClusterCollectionItemsNetworkConfigurationToTerraform = dataOciOcvpClustersClusterCollectionItemsNetworkConfigurationToTerraform; function dataOciOcvpClustersClusterCollectionItemsNetworkConfigurationToHclTerraform(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.dataOciOcvpClustersClusterCollectionItemsNetworkConfigurationToHclTerraform = dataOciOcvpClustersClusterCollectionItemsNetworkConfigurationToHclTerraform; class DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationOutputReference 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; } } // hcx_vlan_id - computed: true, optional: false, required: false get hcxVlanId() { return this.getStringAttribute('hcx_vlan_id'); } // nsx_edge_uplink1vlan_id - computed: true, optional: false, required: false get nsxEdgeUplink1VlanId() { return this.getStringAttribute('nsx_edge_uplink1vlan_id'); } // nsx_edge_uplink2vlan_id - computed: true, optional: false, required: false get nsxEdgeUplink2VlanId() { return this.getStringAttribute('nsx_edge_uplink2vlan_id'); } // nsx_edge_vtep_vlan_id - computed: true, optional: false, required: false get nsxEdgeVtepVlanId() { return this.getStringAttribute('nsx_edge_vtep_vlan_id'); } // nsx_vtep_vlan_id - computed: true, optional: false, required: false get nsxVtepVlanId() { return this.getStringAttribute('nsx_vtep_vlan_id'); } // provisioning_subnet_id - computed: true, optional: false, required: false get provisioningSubnetId() { return this.getStringAttribute('provisioning_subnet_id'); } // provisioning_vlan_id - computed: true, optional: false, required: false get provisioningVlanId() { return this.getStringAttribute('provisioning_vlan_id'); } // replication_vlan_id - computed: true, optional: false, required: false get replicationVlanId() { return this.getStringAttribute('replication_vlan_id'); } // vmotion_vlan_id - computed: true, optional: false, required: false get vmotionVlanId() { return this.getStringAttribute('vmotion_vlan_id'); } // vsan_vlan_id - computed: true, optional: false, required: false get vsanVlanId() { return this.getStringAttribute('vsan_vlan_id'); } // vsphere_vlan_id - computed: true, optional: false, required: false get vsphereVlanId() { return this.getStringAttribute('vsphere_vlan_id'); } } exports.DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationOutputReference = DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationOutputReference; _c = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationOutputReference[_c] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationOutputReference", version: "1.0.0" }; class DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationList 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 DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationList = DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationList; _d = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationList[_d] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationList", version: "1.0.0" }; function dataOciOcvpClustersClusterCollectionItemsUpgradeLicensesToTerraform(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.dataOciOcvpClustersClusterCollectionItemsUpgradeLicensesToTerraform = dataOciOcvpClustersClusterCollectionItemsUpgradeLicensesToTerraform; function dataOciOcvpClustersClusterCollectionItemsUpgradeLicensesToHclTerraform(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.dataOciOcvpClustersClusterCollectionItemsUpgradeLicensesToHclTerraform = dataOciOcvpClustersClusterCollectionItemsUpgradeLicensesToHclTerraform; class DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesOutputReference 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; } } // license_key - computed: true, optional: false, required: false get licenseKey() { return this.getStringAttribute('license_key'); } // license_type - computed: true, optional: false, required: false get licenseType() { return this.getStringAttribute('license_type'); } } exports.DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesOutputReference = DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesOutputReference; _e = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesOutputReference[_e] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesOutputReference", version: "1.0.0" }; class DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesList 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 DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesList = DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesList; _f = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesList[_f] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesList", version: "1.0.0" }; function dataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsToTerraform(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.dataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsToTerraform = dataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsToTerraform; function dataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsToHclTerraform(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.dataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsToHclTerraform = dataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsToHclTerraform; class DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsOutputReference 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; } } // download_link - computed: true, optional: false, required: false get downloadLink() { return this.getStringAttribute('download_link'); } // link_description - computed: true, optional: false, required: false get linkDescription() { return this.getStringAttribute('link_description'); } } exports.DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsOutputReference = DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsOutputReference; _g = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsOutputReference[_g] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsOutputReference", version: "1.0.0" }; class DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsList 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 DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsList = DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsList; _h = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsList[_h] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsList", version: "1.0.0" }; function dataOciOcvpClustersClusterCollectionItemsToTerraform(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.dataOciOcvpClustersClusterCollectionItemsToTerraform = dataOciOcvpClustersClusterCollectionItemsToTerraform; function dataOciOcvpClustersClusterCollectionItemsToHclTerraform(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.dataOciOcvpClustersClusterCollectionItemsToHclTerraform = dataOciOcvpClustersClusterCollectionItemsToHclTerraform; class DataOciOcvpClustersClusterCollectionItemsOutputReference 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; // datastores - computed: true, optional: false, required: false this._datastores = new DataOciOcvpClustersClusterCollectionItemsDatastoresList(this, "datastores", false); // defined_tags - computed: true, optional: false, required: false this._definedTags = new cdktf.StringMap(this, "defined_tags"); // freeform_tags - computed: true, optional: false, required: false this._freeformTags = new cdktf.StringMap(this, "freeform_tags"); // network_configuration - computed: true, optional: false, required: false this._networkConfiguration = new DataOciOcvpClustersClusterCollectionItemsNetworkConfigurationList(this, "network_configuration", false); // upgrade_licenses - computed: true, optional: false, required: false this._upgradeLicenses = new DataOciOcvpClustersClusterCollectionItemsUpgradeLicensesList(this, "upgrade_licenses", false); // vsphere_upgrade_objects - computed: true, optional: false, required: false this._vsphereUpgradeObjects = new DataOciOcvpClustersClusterCollectionItemsVsphereUpgradeObjectsList(this, "vsphere_upgrade_objects", 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; } } // actual_esxi_hosts_count - computed: true, optional: false, required: false get actualEsxiHostsCount() { return this.getNumberAttribute('actual_esxi_hosts_count'); } // capacity_reservation_id - computed: true, optional: false, required: false get capacityReservationId() { return this.getStringAttribute('capacity_reservation_id'); } // compartment_id - computed: true, optional: false, required: false get compartmentId() { return this.getStringAttribute('compartment_id'); } // compute_availability_domain - computed: true, optional: false, required: false get computeAvailabilityDomain() { return this.getStringAttribute('compute_availability_domain'); } get datastores() { return this._datastores; } get definedTags() { return this._definedTags; } // display_name - computed: true, optional: false, required: false get displayName() { return this.getStringAttribute('display_name'); } // esxi_hosts_count - computed: true, optional: false, required: false get esxiHostsCount() { return this.getNumberAttribute('esxi_hosts_count'); } // esxi_software_version - computed: true, optional: false, required: false get esxiSoftwareVersion() { return this.getStringAttribute('esxi_software_version'); } get freeformTags() { return this._freeformTags; } // id - computed: true, optional: false, required: false get id() { return this.getStringAttribute('id'); } // initial_commitment - computed: true, optional: false, required: false get initialCommitment() { return this.getStringAttribute('initial_commitment'); } // initial_host_ocpu_count - computed: true, optional: false, required: false get initialHostOcpuCount() { return this.getNumberAttribute('initial_host_ocpu_count'); } // initial_host_shape_name - computed: true, optional: false, required: false get initialHostShapeName() { return this.getStringAttribute('initial_host_shape_name'); } // instance_display_name_prefix - computed: true, optional: false, required: false get instanceDisplayNamePrefix() { return this.getStringAttribute('instance_display_name_prefix'); } // is_shielded_instance_enabled - computed: true, optional: false, required: false get isShieldedInstanceEnabled() { return this.getBooleanAttribute('is_shielded_instance_enabled'); } get networkConfiguration() { return this._networkConfiguration; } // sddc_id - computed: true, optional: false, required: false get sddcId() { return this.getStringAttribute('sddc_id'); } // 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'); } // time_updated - computed: true, optional: false, required: false get timeUpdated() { return this.getStringAttribute('time_updated'); } get upgradeLicenses() { return this._upgradeLicenses; } // vmware_software_version - computed: true, optional: false, required: false get vmwareSoftwareVersion() { return this.getStringAttribute('vmware_software_version'); } // vsphere_type - computed: true, optional: false, required: false get vsphereType() { return this.getStringAttribute('vsphere_type'); } get vsphereUpgradeObjects() { return this._vsphereUpgradeObjects; } // workload_network_cidr - computed: true, optional: false, required: false get workloadNetworkCidr() { return this.getStringAttribute('workload_network_cidr'); } } exports.DataOciOcvpClustersClusterCollectionItemsOutputReference = DataOciOcvpClustersClusterCollectionItemsOutputReference; _j = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsOutputReference[_j] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsOutputReference", version: "1.0.0" }; class DataOciOcvpClustersClusterCollectionItemsList 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 DataOciOcvpClustersClusterCollectionItemsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciOcvpClustersClusterCollectionItemsList = DataOciOcvpClustersClusterCollectionItemsList; _k = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionItemsList[_k] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionItemsList", version: "1.0.0" }; function dataOciOcvpClustersClusterCollectionToTerraform(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.dataOciOcvpClustersClusterCollectionToTerraform = dataOciOcvpClustersClusterCollectionToTerraform; function dataOciOcvpClustersClusterCollectionToHclTerraform(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.dataOciOcvpClustersClusterCollectionToHclTerraform = dataOciOcvpClustersClusterCollectionToHclTerraform; class DataOciOcvpClustersClusterCollectionOutputReference 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; // items - computed: true, optional: false, required: false this._items = new DataOciOcvpClustersClusterCollectionItemsList(this, "items", 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 items() { return this._items; } } exports.DataOciOcvpClustersClusterCollectionOutputReference = DataOciOcvpClustersClusterCollectionOutputReference; _l = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionOutputReference[_l] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionOutputReference", version: "1.0.0" }; class DataOciOcvpClustersClusterCollectionList 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 DataOciOcvpClustersClusterCollectionOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciOcvpClustersClusterCollectionList = DataOciOcvpClustersClusterCollectionList; _m = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersClusterCollectionList[_m] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersClusterCollectionList", version: "1.0.0" }; function dataOciOcvpClustersFilterToTerraform(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 { name: cdktf.stringToTerraform(struct.name), regex: cdktf.booleanToTerraform(struct.regex), values: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.values), }; } exports.dataOciOcvpClustersFilterToTerraform = dataOciOcvpClustersFilterToTerraform; function dataOciOcvpClustersFilterToHclTerraform(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 = { name: { value: cdktf.stringToHclTerraform(struct.name), isBlock: false, type: "simple", storageClassType: "string", }, regex: { value: cdktf.booleanToHclTerraform(struct.regex), isBlock: false, type: "simple", storageClassType: "boolean", }, values: { value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.values), isBlock: false, type: "list", storageClassType: "stringList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } exports.dataOciOcvpClustersFilterToHclTerraform = dataOciOcvpClustersFilterToHclTerraform; class DataOciOcvpClustersFilterOutputReference 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() { if (this.resolvableValue) { return this.resolvableValue; } let hasAnyValues = this.isEmptyObject; const internalValueResult = {}; if (this._name !== undefined) { hasAnyValues = true; internalValueResult.name = this._name; } if (this._regex !== undefined) { hasAnyValues = true; internalValueResult.regex = this._regex; } if (this._values !== undefined) { hasAnyValues = true; internalValueResult.values = this._values; } return hasAnyValues ? internalValueResult : undefined; } set internalValue(value) { if (value === undefined) { this.isEmptyObject = false; this.resolvableValue = undefined; this._name = undefined; this._regex = undefined; this._values = 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._name = value.name; this._regex = value.regex; this._values = value.values; } } get name() { return this.getStringAttribute('name'); } set name(value) { this._name = value; } // Temporarily expose input value. Use with caution. get nameInput() { return this._name; } get regex() { return this.getBooleanAttribute('regex'); } set regex(value) { this._regex = value; } resetRegex() { this._regex = undefined; } // Temporarily expose input value. Use with caution. get regexInput() { return this._regex; } get values() { return this.getListAttribute('values'); } set values(value) { this._values = value; } // Temporarily expose input value. Use with caution. get valuesInput() { return this._values; } } exports.DataOciOcvpClustersFilterOutputReference = DataOciOcvpClustersFilterOutputReference; _o = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersFilterOutputReference[_o] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersFilterOutputReference", version: "1.0.0" }; class DataOciOcvpClustersFilterList 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 DataOciOcvpClustersFilterOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet); } } exports.DataOciOcvpClustersFilterList = DataOciOcvpClustersFilterList; _p = JSII_RTTI_SYMBOL_1; DataOciOcvpClustersFilterList[_p] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClustersFilterList", version: "1.0.0" }; /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/ocvp_clusters oci_ocvp_clusters} */ class DataOciOcvpClusters extends cdktf.TerraformDataSource { // ============== // STATIC Methods // ============== /** * Generates CDKTF code for importing a DataOciOcvpClusters resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataOciOcvpClusters to import * @param importFromId The id of the existing DataOciOcvpClusters that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/ocvp_clusters#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciOcvpClusters to import is found */ static generateConfigForImport(scope, importToId, importFromId, provider) { return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "oci_ocvp_clusters", importId: importFromId, provider }); } // =========== // INITIALIZER // =========== /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/ocvp_clusters oci_ocvp_clusters} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataOciOcvpClustersConfig = {} */ constructor(scope, id, config = {}) { super(scope, id, { terraformResourceType: 'oci_ocvp_clusters', terraformGeneratorMetadata: { providerName: 'oci', providerVersion: '6.18.0', providerVersionConstraint: '~> 6.18.0' }, provider: config.provider, dependsOn: config.dependsOn, count: config.count, lifecycle: config.lifecycle, provisioners: config.provisioners, connection: config.connection, forEach: config.forEach }); // ========== // ATTRIBUTES // ========== // cluster_collection - computed: true, optional: false, required: false this._clusterCollection = new DataOciOcvpClustersClusterCollectionList(this, "cluster_collection", false); // filter - computed: false, optional: true, required: false this._filter = new DataOciOcvpClustersFilterList(this, "filter", true); this._compartmentId = config.compartmentId; this._displayName = config.displayName; this._id = config.id; this._sddcId = config.sddcId; this._state = config.state; this._filter.internalValue = config.filter; } get clusterCollection() { return this._clusterCollection; } get compartmentId() { return this.getStringAttribute('compartment_id'); } set compartmentId(value) { this._compartmentId = value; } resetCompartmentId() { this._compartmentId = undefined; } // Temporarily expose input value. Use with caution. get compartmentIdInput() { return this._compartmentId; } 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 id() { return this.getStringAttribute('id'); } set id(value) { this._id = value; } resetId() { this._id = undefined; } // Temporarily expose input value. Use with caution. get idInput() { return this._id; } get sddcId() { return this.getStringAttribute('sddc_id'); } set sddcId(value) { this._sddcId = value; } resetSddcId() { this._sddcId = undefined; } // Temporarily expose input value. Use with caution. get sddcIdInput() { return this._sddcId; } get state() { return this.getStringAttribute('state'); } set state(value) { this._state = value; } resetState() { this._state = undefined; } // Temporarily expose input value. Use with caution. get stateInput() { return this._state; } get filter() { return this._filter; } putFilter(value) { this._filter.internalValue = value; } resetFilter() { this._filter.internalValue = undefined; } // Temporarily expose input value. Use with caution. get filterInput() { return this._filter.internalValue; } // ========= // SYNTHESIS // ========= synthesizeAttributes() { return { compartment_id: cdktf.stringToTerraform(this._compartmentId), display_name: cdktf.stringToTerraform(this._displayName), id: cdktf.stringToTerraform(this._id), sddc_id: cdktf.stringToTerraform(this._sddcId), state: cdktf.stringToTerraform(this._state), filter: cdktf.listMapper(dataOciOcvpClustersFilterToTerraform, true)(this._filter.internalValue), }; } synthesizeHclAttributes() { const attrs = { compartment_id: { value: cdktf.stringToHclTerraform(this._compartmentId), isBlock: false, type: "simple", storageClassType: "string", }, display_name: { value: cdktf.stringToHclTerraform(this._displayName), isBlock: false, type: "simple", storageClassType: "string", }, id: { value: cdktf.stringToHclTerraform(this._id), isBlock: false, type: "simple", storageClassType: "string", }, sddc_id: { value: cdktf.stringToHclTerraform(this._sddcId), isBlock: false, type: "simple", storageClassType: "string", }, state: { value: cdktf.stringToHclTerraform(this._state), isBlock: false, type: "simple", storageClassType: "string", }, filter: { value: cdktf.listMapperHcl(dataOciOcvpClustersFilterToHclTerraform, true)(this._filter.internalValue), isBlock: true, type: "set", storageClassType: "DataOciOcvpClustersFilterList", }, }; // remove undefined attributes return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)); } } exports.DataOciOcvpClusters = DataOciOcvpClusters; _q = JSII_RTTI_SYMBOL_1; DataOciOcvpClusters[_q] = { fqn: "rhizo-co-terraform-provider-oci.dataOciOcvpClusters.DataOciOcvpClusters", version: "1.0.0" }; // ================= // STATIC PROPERTIES // ================= DataOciOcvpClusters.tfResourceType = "oci_ocvp_clusters"; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvZGF0YS1vY2ktb2N2cC1jbHVzdGVycy9pbmRleC50c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