UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

81 lines (80 loc) 3.19 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; export declare function getRecipientFederationPolicy(args?: GetRecipientFederationPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetRecipientFederationPolicyResult>; /** * A collection of arguments for invoking getRecipientFederationPolicy. */ export interface GetRecipientFederationPolicyArgs { /** * (string) - Description of the policy. This is a user-provided description */ comment?: string; /** * Name of the federation policy. A recipient can have multiple policies with different names. * The name must contain only lowercase alphanumeric characters, numbers, and hyphens */ name?: string; /** * (OidcFederationPolicy) - Specifies the policy to use for validating OIDC claims in the federated tokens */ oidcPolicy?: inputs.GetRecipientFederationPolicyOidcPolicy; /** * Workspace ID of the resource */ workspaceId?: string; } /** * A collection of values returned by getRecipientFederationPolicy. */ export interface GetRecipientFederationPolicyResult { /** * (string) - Description of the policy. This is a user-provided description */ readonly comment?: string; /** * (string) - System-generated timestamp indicating when the policy was created */ readonly createTime: string; /** * (string) - Unique, immutable system-generated identifier for the federation policy */ readonly id: string; /** * (string) - Name of the federation policy. A recipient can have multiple policies with different names. * The name must contain only lowercase alphanumeric characters, numbers, and hyphens */ readonly name?: string; /** * (OidcFederationPolicy) - Specifies the policy to use for validating OIDC claims in the federated tokens */ readonly oidcPolicy?: outputs.GetRecipientFederationPolicyOidcPolicy; /** * (string) - System-generated timestamp indicating when the policy was last updated */ readonly updateTime: string; readonly workspaceId?: string; } export declare function getRecipientFederationPolicyOutput(args?: GetRecipientFederationPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRecipientFederationPolicyResult>; /** * A collection of arguments for invoking getRecipientFederationPolicy. */ export interface GetRecipientFederationPolicyOutputArgs { /** * (string) - Description of the policy. This is a user-provided description */ comment?: pulumi.Input<string>; /** * Name of the federation policy. A recipient can have multiple policies with different names. * The name must contain only lowercase alphanumeric characters, numbers, and hyphens */ name?: pulumi.Input<string>; /** * (OidcFederationPolicy) - Specifies the policy to use for validating OIDC claims in the federated tokens */ oidcPolicy?: pulumi.Input<inputs.GetRecipientFederationPolicyOidcPolicyArgs>; /** * Workspace ID of the resource */ workspaceId?: pulumi.Input<string>; }