UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

188 lines (187 loc) 5.03 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * UrlAccessProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single URL Access Profile object by its ID. * // * // Replace the ID with the UUID of the URL Access Profile you want to find. * const example = scm.getUrlAccessProfile({ * id: "e97c7e7e-9906-42d6-90a8-606ed5527125", * }); * export const urlAccessProfileDetails = example; * ``` */ export declare function getUrlAccessProfile(args: GetUrlAccessProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetUrlAccessProfileResult>; /** * A collection of arguments for invoking getUrlAccessProfile. */ export interface GetUrlAccessProfileArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: string; /** * UUID of the resource */ id: string; /** * Name */ name?: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: string; } /** * A collection of values returned by getUrlAccessProfile. */ export interface GetUrlAccessProfileResult { /** * Alert */ readonly alerts: string[]; /** * Allow */ readonly allows: string[]; /** * Block */ readonly blocks: string[]; /** * Cloud inline cat */ readonly cloudInlineCat: boolean; /** * Continue */ readonly continues: string[]; /** * Credential enforcement */ readonly credentialEnforcement: outputs.GetUrlAccessProfileCredentialEnforcement; /** * Description */ readonly description: string; /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * UUID of the resource */ readonly id: string; /** * Local inline cat */ readonly localInlineCat: boolean; /** * Log container page only */ readonly logContainerPageOnly: boolean; /** * Log http hdr referer */ readonly logHttpHdrReferer: boolean; /** * Log http hdr user agent */ readonly logHttpHdrUserAgent: boolean; /** * Log http hdr xff */ readonly logHttpHdrXff: boolean; /** * Mlav category exception */ readonly mlavCategoryExceptions: string[]; /** * Name */ readonly name: string; /** * Redirect */ readonly redirects: string[]; /** * Safe search enforcement */ readonly safeSearchEnforcement: boolean; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; readonly tfid: string; } /** * UrlAccessProfile data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // * // Data source to retrieve a single URL Access Profile object by its ID. * // * // Replace the ID with the UUID of the URL Access Profile you want to find. * const example = scm.getUrlAccessProfile({ * id: "e97c7e7e-9906-42d6-90a8-606ed5527125", * }); * export const urlAccessProfileDetails = example; * ``` */ export declare function getUrlAccessProfileOutput(args: GetUrlAccessProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUrlAccessProfileResult>; /** * A collection of arguments for invoking getUrlAccessProfile. */ export interface GetUrlAccessProfileOutputArgs { /** * The device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: pulumi.Input<string>; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * UUID of the resource */ id: pulumi.Input<string>; /** * Name */ name?: pulumi.Input<string>; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; }