@pulumi/databricks
Version:
A Pulumi package for creating and managing databricks cloud resources.
72 lines (71 loc) • 2.54 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
*
* This data source can be used to fetch the list of external metadata objects.
*
* > **Note** This resource can only be used with an workspace-level provider!
*
* ## Example Usage
*
* Getting a list of all external metadata objects:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as databricks from "@pulumi/databricks";
*
* const all = databricks.getExternalMetadatas({});
* ```
*/
export declare function getExternalMetadatas(args?: GetExternalMetadatasArgs, opts?: pulumi.InvokeOptions): Promise<GetExternalMetadatasResult>;
/**
* A collection of arguments for invoking getExternalMetadatas.
*/
export interface GetExternalMetadatasArgs {
/**
* Specifies the maximum number of external metadata objects to return in a single response.
* The value must be less than or equal to 1000
*/
pageSize?: number;
}
/**
* A collection of values returned by getExternalMetadatas.
*/
export interface GetExternalMetadatasResult {
readonly externalMetadatas: outputs.GetExternalMetadatasExternalMetadata[];
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly pageSize?: number;
}
/**
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
*
* This data source can be used to fetch the list of external metadata objects.
*
* > **Note** This resource can only be used with an workspace-level provider!
*
* ## Example Usage
*
* Getting a list of all external metadata objects:
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as databricks from "@pulumi/databricks";
*
* const all = databricks.getExternalMetadatas({});
* ```
*/
export declare function getExternalMetadatasOutput(args?: GetExternalMetadatasOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExternalMetadatasResult>;
/**
* A collection of arguments for invoking getExternalMetadatas.
*/
export interface GetExternalMetadatasOutputArgs {
/**
* Specifies the maximum number of external metadata objects to return in a single response.
* The value must be less than or equal to 1000
*/
pageSize?: pulumi.Input<number>;
}