UNPKG

@emailbob/twingate

Version:

A Pulumi package for creating and managing Twingate cloud resources.

75 lines (74 loc) 2.58 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 * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateSecurityPolicy({ * name: "<your security policy name>", * }); * ``` * <!--End PulumiCodeChooser --> */ 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 * * <!--Start PulumiCodeChooser --> * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as twingate from "@pulumi/twingate"; * * const foo = twingate.getTwingateSecurityPolicy({ * name: "<your security policy name>", * }); * ``` * <!--End PulumiCodeChooser --> */ export declare function getTwingateSecurityPolicyOutput(args?: GetTwingateSecurityPolicyOutputArgs, opts?: pulumi.InvokeOptions): 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>; }