UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

71 lines (70 loc) 2.42 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * 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! */ export declare function getAccountNetworkPolicy(args?: GetAccountNetworkPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountNetworkPolicyResult>; /** * A collection of arguments for invoking getAccountNetworkPolicy. */ export interface GetAccountNetworkPolicyArgs { /** * (string) - The associated account ID for this Network Policy object */ accountId?: string; /** * (NetworkPolicyEgress) - The network policies applying for egress traffic */ egress?: inputs.GetAccountNetworkPolicyEgress; /** * 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; } /** * 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! */ export declare function getAccountNetworkPolicyOutput(args?: GetAccountNetworkPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountNetworkPolicyResult>; /** * A collection of arguments for invoking getAccountNetworkPolicy. */ export interface GetAccountNetworkPolicyOutputArgs { /** * (string) - The associated account ID for this Network Policy object */ accountId?: pulumi.Input<string>; /** * (NetworkPolicyEgress) - The network policies applying for egress traffic */ egress?: pulumi.Input<inputs.GetAccountNetworkPolicyEgressArgs>; /** * The unique identifier for the network policy */ networkPolicyId?: pulumi.Input<string>; }