UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

97 lines (96 loc) 3.98 kB
import * as pulumi from "@pulumi/pulumi"; /** * 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). */ export declare function getMwsCredentials(args?: GetMwsCredentialsArgs, opts?: pulumi.InvokeOptions): Promise<GetMwsCredentialsResult>; /** * A collection of arguments for invoking getMwsCredentials. */ export interface GetMwsCredentialsArgs { /** * name-to-id map for all of the credentials in the account */ ids?: { [key: string]: string; }; } /** * A collection of values returned by getMwsCredentials. */ export interface GetMwsCredentialsResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * name-to-id map for all of the credentials in the account */ readonly ids: { [key: string]: string; }; } /** * 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). */ export declare function getMwsCredentialsOutput(args?: GetMwsCredentialsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMwsCredentialsResult>; /** * A collection of arguments for invoking getMwsCredentials. */ export interface GetMwsCredentialsOutputArgs { /** * name-to-id map for all of the credentials in the account */ ids?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }