"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExadataInfrastructureCompute = void 0;
const pulumi = __importStar(require("@pulumi/pulumi"));
const utilities = __importStar(require("../utilities"));
/**
 * ## Example Usage
 */
class ExadataInfrastructureCompute extends pulumi.CustomResource {
    /**
     * Get an existing ExadataInfrastructureCompute resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name, id, state, opts) {
        return new ExadataInfrastructureCompute(name, state, { ...opts, id: id });
    }
    /** @internal */
    static __pulumiType = 'oci:Database/exadataInfrastructureCompute:ExadataInfrastructureCompute';
    /**
     * Returns true if the given object is an instance of ExadataInfrastructureCompute.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj) {
        if (obj === undefined || obj === null) {
            return false;
        }
        return obj['__pulumiType'] === ExadataInfrastructureCompute.__pulumiType;
    }
    constructor(name, argsOrState, opts) {
        let resourceInputs = {};
        opts = opts || {};
        if (opts.id) {
            const state = argsOrState;
            resourceInputs["activatedStorageCount"] = state?.activatedStorageCount;
            resourceInputs["activationFile"] = state?.activationFile;
            resourceInputs["additionalComputeCount"] = state?.additionalComputeCount;
            resourceInputs["additionalComputeCountComputeManagedResource"] = state?.additionalComputeCountComputeManagedResource;
            resourceInputs["additionalComputeSystemModel"] = state?.additionalComputeSystemModel;
            resourceInputs["additionalComputeSystemModelComputeManagedResource"] = state?.additionalComputeSystemModelComputeManagedResource;
            resourceInputs["additionalStorageCount"] = state?.additionalStorageCount;
            resourceInputs["adminNetworkCidr"] = state?.adminNetworkCidr;
            resourceInputs["cloudControlPlaneServer1"] = state?.cloudControlPlaneServer1;
            resourceInputs["cloudControlPlaneServer2"] = state?.cloudControlPlaneServer2;
            resourceInputs["compartmentId"] = state?.compartmentId;
            resourceInputs["computeCount"] = state?.computeCount;
            resourceInputs["contacts"] = state?.contacts;
            resourceInputs["corporateProxy"] = state?.corporateProxy;
            resourceInputs["cpusEnabled"] = state?.cpusEnabled;
            resourceInputs["createAsync"] = state?.createAsync;
            resourceInputs["csiNumber"] = state?.csiNumber;
            resourceInputs["dataStorageSizeInTbs"] = state?.dataStorageSizeInTbs;
            resourceInputs["dbNodeStorageSizeInGbs"] = state?.dbNodeStorageSizeInGbs;
            resourceInputs["dbServerVersion"] = state?.dbServerVersion;
            resourceInputs["definedTags"] = state?.definedTags;
            resourceInputs["displayName"] = state?.displayName;
            resourceInputs["dnsServers"] = state?.dnsServers;
            resourceInputs["exadataInfrastructureId"] = state?.exadataInfrastructureId;
            resourceInputs["freeformTags"] = state?.freeformTags;
            resourceInputs["gateway"] = state?.gateway;
            resourceInputs["infiniBandNetworkCidr"] = state?.infiniBandNetworkCidr;
            resourceInputs["isCpsOfflineReportEnabled"] = state?.isCpsOfflineReportEnabled;
            resourceInputs["lifecycleDetails"] = state?.lifecycleDetails;
            resourceInputs["maintenanceSloStatus"] = state?.maintenanceSloStatus;
            resourceInputs["maintenanceWindows"] = state?.maintenanceWindows;
            resourceInputs["maxCpuCount"] = state?.maxCpuCount;
            resourceInputs["maxDataStorageInTbs"] = state?.maxDataStorageInTbs;
            resourceInputs["maxDbNodeStorageInGbs"] = state?.maxDbNodeStorageInGbs;
            resourceInputs["maxMemoryInGbs"] = state?.maxMemoryInGbs;
            resourceInputs["memorySizeInGbs"] = state?.memorySizeInGbs;
            resourceInputs["monthlyDbServerVersion"] = state?.monthlyDbServerVersion;
            resourceInputs["netmask"] = state?.netmask;
            resourceInputs["ntpServers"] = state?.ntpServers;
            resourceInputs["shape"] = state?.shape;
            resourceInputs["state"] = state?.state;
            resourceInputs["storageCount"] = state?.storageCount;
            resourceInputs["storageServerVersion"] = state?.storageServerVersion;
            resourceInputs["timeCreated"] = state?.timeCreated;
            resourceInputs["timeZone"] = state?.timeZone;
        }
        else {
            const args = argsOrState;
            if (args?.exadataInfrastructureId === undefined && !opts.urn) {
                throw new Error("Missing required property 'exadataInfrastructureId'");
            }
            resourceInputs["activationFile"] = args?.activationFile;
            resourceInputs["additionalComputeCountComputeManagedResource"] = args?.additionalComputeCountComputeManagedResource;
            resourceInputs["additionalComputeSystemModelComputeManagedResource"] = args?.additionalComputeSystemModelComputeManagedResource;
            resourceInputs["exadataInfrastructureId"] = args?.exadataInfrastructureId;
            resourceInputs["activatedStorageCount"] = undefined /*out*/;
            resourceInputs["additionalComputeCount"] = undefined /*out*/;
            resourceInputs["additionalComputeSystemModel"] = undefined /*out*/;
            resourceInputs["additionalStorageCount"] = undefined /*out*/;
            resourceInputs["adminNetworkCidr"] = undefined /*out*/;
            resourceInputs["cloudControlPlaneServer1"] = undefined /*out*/;
            resourceInputs["cloudControlPlaneServer2"] = undefined /*out*/;
            resourceInputs["compartmentId"] = undefined /*out*/;
            resourceInputs["computeCount"] = undefined /*out*/;
            resourceInputs["contacts"] = undefined /*out*/;
            resourceInputs["corporateProxy"] = undefined /*out*/;
            resourceInputs["cpusEnabled"] = undefined /*out*/;
            resourceInputs["createAsync"] = undefined /*out*/;
            resourceInputs["csiNumber"] = undefined /*out*/;
            resourceInputs["dataStorageSizeInTbs"] = undefined /*out*/;
            resourceInputs["dbNodeStorageSizeInGbs"] = undefined /*out*/;
            resourceInputs["dbServerVersion"] = undefined /*out*/;
            resourceInputs["definedTags"] = undefined /*out*/;
            resourceInputs["displayName"] = undefined /*out*/;
            resourceInputs["dnsServers"] = undefined /*out*/;
            resourceInputs["freeformTags"] = undefined /*out*/;
            resourceInputs["gateway"] = undefined /*out*/;
            resourceInputs["infiniBandNetworkCidr"] = undefined /*out*/;
            resourceInputs["isCpsOfflineReportEnabled"] = undefined /*out*/;
            resourceInputs["lifecycleDetails"] = undefined /*out*/;
            resourceInputs["maintenanceSloStatus"] = undefined /*out*/;
            resourceInputs["maintenanceWindows"] = undefined /*out*/;
            resourceInputs["maxCpuCount"] = undefined /*out*/;
            resourceInputs["maxDataStorageInTbs"] = undefined /*out*/;
            resourceInputs["maxDbNodeStorageInGbs"] = undefined /*out*/;
            resourceInputs["maxMemoryInGbs"] = undefined /*out*/;
            resourceInputs["memorySizeInGbs"] = undefined /*out*/;
            resourceInputs["monthlyDbServerVersion"] = undefined /*out*/;
            resourceInputs["netmask"] = undefined /*out*/;
            resourceInputs["ntpServers"] = undefined /*out*/;
            resourceInputs["shape"] = undefined /*out*/;
            resourceInputs["state"] = undefined /*out*/;
            resourceInputs["storageCount"] = undefined /*out*/;
            resourceInputs["storageServerVersion"] = undefined /*out*/;
            resourceInputs["timeCreated"] = undefined /*out*/;
            resourceInputs["timeZone"] = undefined /*out*/;
        }
        opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
        super(ExadataInfrastructureCompute.__pulumiType, name, resourceInputs, opts);
    }
}
exports.ExadataInfrastructureCompute = ExadataInfrastructureCompute;
//# sourceMappingURL=exadataInfrastructureCompute.js.map