@pulumi/databricks
Version:
A Pulumi package for creating and managing databricks cloud resources.
66 lines (65 loc) • 2.21 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 get a single network policy.
*
* > **Note** This data source can only be used with an account-level provider!
*
* ## Example Usage
*
* Referring to a network policy by id:
*/
export declare function getAccountNetworkPolicy(args: GetAccountNetworkPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountNetworkPolicyResult>;
/**
* A collection of arguments for invoking getAccountNetworkPolicy.
*/
export interface GetAccountNetworkPolicyArgs {
/**
* The unique identifier for the network policy
*/
networkPolicyId: string;
}
/**
* A collection of values returned by getAccountNetworkPolicy.
*/
export interface GetAccountNetworkPolicyResult {
/**
* (string) - The associated account ID for this Network Policy object
*/
readonly accountId: string;
/**
* (NetworkPolicyEgress) - The network policies applying for egress traffic
*/
readonly egress: outputs.GetAccountNetworkPolicyEgress;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* (string) - The unique identifier for the network policy
*/
readonly networkPolicyId: string;
}
/**
* [](https://docs.databricks.com/aws/en/release-notes/release-types)
*
* This data source can be used to get a single network policy.
*
* > **Note** This data source can only be used with an account-level provider!
*
* ## Example Usage
*
* Referring to a network policy by id:
*/
export declare function getAccountNetworkPolicyOutput(args: GetAccountNetworkPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountNetworkPolicyResult>;
/**
* A collection of arguments for invoking getAccountNetworkPolicy.
*/
export interface GetAccountNetworkPolicyOutputArgs {
/**
* The unique identifier for the network policy
*/
networkPolicyId: pulumi.Input<string>;
}