UNPKG

@pulumi/scm

Version:

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

120 lines (119 loc) 3.27 kB
import * as pulumi from "@pulumi/pulumi"; /** * AuthenticationRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const ruleData = scm.getAuthenticationRule({ * id: "1f1e08af-fe7b-4c36-882a-411101ad36d7", * }); * export const fetchedRuleId = ruleData.then(ruleData => ruleData.id); * export const fetchedRuleData = ruleData; * ``` */ export declare function getAuthenticationRule(args: GetAuthenticationRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetAuthenticationRuleResult>; /** * A collection of arguments for invoking getAuthenticationRule. */ export interface GetAuthenticationRuleArgs { /** * The UUID of the authentication rule */ id: string; /** * The name of the authentication rule */ name?: string; } /** * A collection of values returned by getAuthenticationRule. */ export interface GetAuthenticationRuleResult { /** * The authentication profile name */ readonly authenticationEnforcement: string; /** * The destination URL categories */ readonly categories: string[]; /** * The description of the authentication rule */ readonly description: string; /** * The destination Host Integrity Profile (HIP) */ readonly destinationHips: string[]; /** * The destination addresses */ readonly destinations: string[]; /** * Device */ readonly device: string; readonly disabled: boolean; readonly folder: string; readonly froms: string[]; readonly groupTag: string; readonly hipProfiles: string[]; /** * The UUID of the authentication rule */ readonly id: string; readonly logAuthenticationTimeout: boolean; readonly logSetting: string; /** * The name of the authentication rule */ readonly name: string; readonly negateDestination: boolean; readonly negateSource: boolean; readonly position: string; readonly relativePosition: string; readonly services: string[]; readonly snippet: string; readonly sourceHips: string[]; readonly sourceUsers: string[]; readonly sources: string[]; readonly tags: string[]; readonly targetRule: string; readonly tfid: string; readonly timeout: number; readonly tos: string[]; } /** * AuthenticationRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const ruleData = scm.getAuthenticationRule({ * id: "1f1e08af-fe7b-4c36-882a-411101ad36d7", * }); * export const fetchedRuleId = ruleData.then(ruleData => ruleData.id); * export const fetchedRuleData = ruleData; * ``` */ export declare function getAuthenticationRuleOutput(args: GetAuthenticationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAuthenticationRuleResult>; /** * A collection of arguments for invoking getAuthenticationRule. */ export interface GetAuthenticationRuleOutputArgs { /** * The UUID of the authentication rule */ id: pulumi.Input<string>; /** * The name of the authentication rule */ name?: pulumi.Input<string>; }