UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

80 lines 3.86 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.getMwsCredentialsOutput = exports.getMwsCredentials = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * Lists all databricks.MwsCredentials in Databricks Account. * * > This data source can only be used with an account-level provider! * * ## Example Usage * * Listing all credentials in Databricks Account * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getMwsCredentials({}); * export const allMwsCredentials = all.then(all => all.ids); * ``` * * ## Related Resources * * The following resources are used in the same context: * * * Provisioning Databricks on AWS guide. * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. * * databricks.MwsStorageConfigurations to configure root bucket new workspaces within AWS. * * databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1). */ function getMwsCredentials(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("databricks:index/getMwsCredentials:getMwsCredentials", { "ids": args.ids, }, opts); } exports.getMwsCredentials = getMwsCredentials; /** * Lists all databricks.MwsCredentials in Databricks Account. * * > This data source can only be used with an account-level provider! * * ## Example Usage * * Listing all credentials in Databricks Account * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const all = databricks.getMwsCredentials({}); * export const allMwsCredentials = all.then(all => all.ids); * ``` * * ## Related Resources * * The following resources are used in the same context: * * * Provisioning Databricks on AWS guide. * * databricks.MwsCustomerManagedKeys to configure KMS keys for new workspaces within AWS. * * databricks.MwsLogDelivery to configure delivery of [billable usage logs](https://docs.databricks.com/administration-guide/account-settings/billable-usage-delivery.html) and [audit logs](https://docs.databricks.com/administration-guide/account-settings/audit-logs.html). * * databricks.MwsNetworks to [configure VPC](https://docs.databricks.com/administration-guide/cloud-configurations/aws/customer-managed-vpc.html) & subnets for new workspaces within AWS. * * databricks.MwsStorageConfigurations to configure root bucket new workspaces within AWS. * * databricks.MwsWorkspaces to set up [AWS and GCP workspaces](https://docs.databricks.com/getting-started/overview.html#e2-architecture-1). */ function getMwsCredentialsOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("databricks:index/getMwsCredentials:getMwsCredentials", { "ids": args.ids, }, opts); } exports.getMwsCredentialsOutput = getMwsCredentialsOutput; //# sourceMappingURL=getMwsCredentials.js.map