UNPKG

@twingate/pulumi-twingate

Version:

A Pulumi package for creating and managing Twingate cloud resources.

71 lines (70 loc) 2.47 kB
import * as pulumi from "@pulumi/pulumi"; /** * Security Policies are defined in the Twingate Admin Console and determine user and device authentication requirements for Resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@twingate/pulumi-twingate"; * * const foo = twingate.getTwingateSecurityPolicy({ * name: "<your security policy name>", * }); * ``` */ export declare function getTwingateSecurityPolicy(args?: GetTwingateSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetTwingateSecurityPolicyResult>; /** * A collection of arguments for invoking getTwingateSecurityPolicy. */ export interface GetTwingateSecurityPolicyArgs { /** * Return a Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console. */ id?: string; /** * Return a Security Policy that exactly matches this name. */ name?: string; } /** * A collection of values returned by getTwingateSecurityPolicy. */ export interface GetTwingateSecurityPolicyResult { /** * Return a Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console. */ readonly id?: string; /** * Return a Security Policy that exactly matches this name. */ readonly name?: string; } /** * Security Policies are defined in the Twingate Admin Console and determine user and device authentication requirements for Resources. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@twingate/pulumi-twingate"; * * const foo = twingate.getTwingateSecurityPolicy({ * name: "<your security policy name>", * }); * ``` */ export declare function getTwingateSecurityPolicyOutput(args?: GetTwingateSecurityPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTwingateSecurityPolicyResult>; /** * A collection of arguments for invoking getTwingateSecurityPolicy. */ export interface GetTwingateSecurityPolicyOutputArgs { /** * Return a Security Policy by its ID. The ID for the Security Policy can be obtained from the Admin API or the URL string in the Admin Console. */ id?: pulumi.Input<string>; /** * Return a Security Policy that exactly matches this name. */ name?: pulumi.Input<string>; }