UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

127 lines (126 loc) 4.86 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Import * * As of Pulumi v1.5, resources can be imported through configuration. * * hcl * * import { * * id = "name" * * to = databricks_recipient_federation_policy.this * * } * * If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows: * * ```sh * $ pulumi import databricks:index/recipientFederationPolicy:RecipientFederationPolicy databricks_recipient_federation_policy "name" * ``` */ export declare class RecipientFederationPolicy extends pulumi.CustomResource { /** * Get an existing RecipientFederationPolicy resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecipientFederationPolicyState, opts?: pulumi.CustomResourceOptions): RecipientFederationPolicy; /** * Returns true if the given object is an instance of RecipientFederationPolicy. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RecipientFederationPolicy; /** * Description of the policy. This is a user-provided description */ readonly comment: pulumi.Output<string | undefined>; /** * (string) - System-generated timestamp indicating when the policy was created */ readonly createTime: pulumi.Output<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: pulumi.Output<string>; /** * Specifies the policy to use for validating OIDC claims in the federated tokens */ readonly oidcPolicy: pulumi.Output<outputs.RecipientFederationPolicyOidcPolicy | undefined>; /** * (string) - System-generated timestamp indicating when the policy was last updated */ readonly updateTime: pulumi.Output<string>; /** * Workspace ID of the resource */ readonly workspaceId: pulumi.Output<string | undefined>; /** * Create a RecipientFederationPolicy resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: RecipientFederationPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RecipientFederationPolicy resources. */ export interface RecipientFederationPolicyState { /** * Description of the policy. This is a user-provided description */ comment?: pulumi.Input<string>; /** * (string) - System-generated timestamp indicating when the policy was created */ createTime?: 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>; /** * Specifies the policy to use for validating OIDC claims in the federated tokens */ oidcPolicy?: pulumi.Input<inputs.RecipientFederationPolicyOidcPolicy>; /** * (string) - System-generated timestamp indicating when the policy was last updated */ updateTime?: pulumi.Input<string>; /** * Workspace ID of the resource */ workspaceId?: pulumi.Input<string>; } /** * The set of arguments for constructing a RecipientFederationPolicy resource. */ export interface RecipientFederationPolicyArgs { /** * 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>; /** * Specifies the policy to use for validating OIDC claims in the federated tokens */ oidcPolicy?: pulumi.Input<inputs.RecipientFederationPolicyOidcPolicy>; /** * Workspace ID of the resource */ workspaceId?: pulumi.Input<string>; }