UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

76 lines 3.19 kB
"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! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.Mount = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * ## Import * * !> Importing this resource is not currently supported. */ class Mount extends pulumi.CustomResource { /** * Get an existing Mount 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 Mount(name, state, { ...opts, id: id }); } /** * Returns true if the given object is an instance of Mount. 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'] === Mount.__pulumiType; } constructor(name, argsOrState, opts) { let resourceInputs = {}; opts = opts || {}; if (opts.id) { const state = argsOrState; resourceInputs["abfs"] = state?.abfs; resourceInputs["adl"] = state?.adl; resourceInputs["clusterId"] = state?.clusterId; resourceInputs["encryptionType"] = state?.encryptionType; resourceInputs["extraConfigs"] = state?.extraConfigs; resourceInputs["gs"] = state?.gs; resourceInputs["name"] = state?.name; resourceInputs["resourceId"] = state?.resourceId; resourceInputs["s3"] = state?.s3; resourceInputs["source"] = state?.source; resourceInputs["uri"] = state?.uri; resourceInputs["wasb"] = state?.wasb; } else { const args = argsOrState; resourceInputs["abfs"] = args?.abfs; resourceInputs["adl"] = args?.adl; resourceInputs["clusterId"] = args?.clusterId; resourceInputs["encryptionType"] = args?.encryptionType; resourceInputs["extraConfigs"] = args?.extraConfigs; resourceInputs["gs"] = args?.gs; resourceInputs["name"] = args?.name; resourceInputs["resourceId"] = args?.resourceId; resourceInputs["s3"] = args?.s3; resourceInputs["uri"] = args?.uri; resourceInputs["wasb"] = args?.wasb; resourceInputs["source"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(Mount.__pulumiType, name, resourceInputs, opts); } } exports.Mount = Mount; /** @internal */ Mount.__pulumiType = 'databricks:index/mount:Mount'; //# sourceMappingURL=mount.js.map