UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

91 lines (90 loc) 3.31 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types) * * This data source can be used to get a single account federation policy. * * > **Note** This data source can only be used with an account-level provider! * * ## Example Usage * * Referring to an account federation policy by id: */ export declare function getAccountFederationPolicy(args: GetAccountFederationPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountFederationPolicyResult>; /** * A collection of arguments for invoking getAccountFederationPolicy. */ export interface GetAccountFederationPolicyArgs { /** * The ID of the federation policy. Output only */ policyId: string; } /** * A collection of values returned by getAccountFederationPolicy. */ export interface GetAccountFederationPolicyResult { /** * (string) - Creation time of the federation policy */ readonly createTime: string; /** * (string) - Description of the federation policy */ readonly description: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (string) - Resource name for the federation policy. Example values include * `accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and * `accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy` * for Service Principal Federation Policies. Typically an output parameter, which does not need to be * specified in create or update requests. If specified in a request, must match the value in the * request URL */ readonly name: string; /** * (OidcFederationPolicy) */ readonly oidcPolicy: outputs.GetAccountFederationPolicyOidcPolicy; /** * (string) - The ID of the federation policy. Output only */ readonly policyId: string; /** * (integer) - The service principal ID that this federation policy applies to. Output only. Only set for service principal federation policies */ readonly servicePrincipalId: number; /** * (string) - Unique, immutable id of the federation policy */ readonly uid: string; /** * (string) - Last update time of the federation policy */ readonly updateTime: string; } /** * [![GA](https://img.shields.io/badge/Release_Stage-GA-green)](https://docs.databricks.com/aws/en/release-notes/release-types) * * This data source can be used to get a single account federation policy. * * > **Note** This data source can only be used with an account-level provider! * * ## Example Usage * * Referring to an account federation policy by id: */ export declare function getAccountFederationPolicyOutput(args: GetAccountFederationPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountFederationPolicyResult>; /** * A collection of arguments for invoking getAccountFederationPolicy. */ export interface GetAccountFederationPolicyOutputArgs { /** * The ID of the federation policy. Output only */ policyId: pulumi.Input<string>; }