UNPKG

@pulumi/scm

Version:

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

114 lines (113 loc) 3.06 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * PbfRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Define the data source (the item to be retrieved via API GET) * const pbfExternalWebTestGet = scm.getPbfRule({ * id: "044d67ad-1c36-4b97-bbf4-584445fe8a7d", * }); * export const retrievedIDAndName = { * id: pbfExternalWebTestGet.then(pbfExternalWebTestGet => pbfExternalWebTestGet.id), * name: pbfExternalWebTestGet.then(pbfExternalWebTestGet => pbfExternalWebTestGet.name), * }; * export const recievedResponse = pbfExternalWebTestGet; * ``` */ export declare function getPbfRule(args: GetPbfRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetPbfRuleResult>; /** * A collection of arguments for invoking getPbfRule. */ export interface GetPbfRuleArgs { /** * UUID of the resource */ id: string; /** * PBF rule name */ name?: string; } /** * A collection of values returned by getPbfRule. */ export interface GetPbfRuleResult { /** * Action */ readonly action: outputs.GetPbfRuleAction; /** * Applications */ readonly applications: string[]; /** * Description */ readonly description: string; /** * Destination addresses */ readonly destinations: string[]; /** * The device in which the resource is defined */ readonly device: string; readonly enforceSymmetricReturn: outputs.GetPbfRuleEnforceSymmetricReturn; readonly folder: string; readonly from: outputs.GetPbfRuleFrom; /** * UUID of the resource */ readonly id: string; /** * PBF rule name */ readonly name: string; readonly schedule: string; readonly services: string[]; readonly snippet: string; readonly sourceUsers: string[]; readonly sources: string[]; readonly tags: string[]; readonly tfid: string; } /** * PbfRule data source * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Define the data source (the item to be retrieved via API GET) * const pbfExternalWebTestGet = scm.getPbfRule({ * id: "044d67ad-1c36-4b97-bbf4-584445fe8a7d", * }); * export const retrievedIDAndName = { * id: pbfExternalWebTestGet.then(pbfExternalWebTestGet => pbfExternalWebTestGet.id), * name: pbfExternalWebTestGet.then(pbfExternalWebTestGet => pbfExternalWebTestGet.name), * }; * export const recievedResponse = pbfExternalWebTestGet; * ``` */ export declare function getPbfRuleOutput(args: GetPbfRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPbfRuleResult>; /** * A collection of arguments for invoking getPbfRule. */ export interface GetPbfRuleOutputArgs { /** * UUID of the resource */ id: pulumi.Input<string>; /** * PBF rule name */ name?: pulumi.Input<string>; }