UNPKG

@pulumi/scm

Version:

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

141 lines (140 loc) 3.57 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const example = scm.getNatRule({ * id: "1234-56-789", * }); * ``` */ export declare function getNatRule(args: GetNatRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetNatRuleResult>; /** * A collection of arguments for invoking getNatRule. */ export interface GetNatRuleArgs { /** * The Id param. */ id: string; } /** * A collection of values returned by getNatRule. */ export interface GetNatRuleResult { /** * The ActiveActiveDeviceBinding param. String must be one of these: `"primary"`, `"both"`, `"0"`, `"1"`. */ readonly activeActiveDeviceBinding: string; /** * The Description param. */ readonly description: string; /** * Static destination translation parameter. */ readonly destinationTranslation: outputs.GetNatRuleDestinationTranslation; /** * The destination address(es). */ readonly destinations: string[]; /** * The device in which the resource is defined. String length must not exceed 64 characters. String validation regex: `^[a-zA-Z\d-_\. ]+$`. */ readonly device: string; /** * The Disabled param. */ readonly disabled: boolean; /** * Dynamic destination translation parameter. */ readonly dynamicDestinationTranslation: outputs.GetNatRuleDynamicDestinationTranslation; /** * The folder in which the resource is defined. String length must not exceed 64 characters. String validation regex: `^[a-zA-Z\d-_\. ]+$`. */ readonly folder: string; /** * The source security zone(s). */ readonly froms: string[]; /** * The GroupTag param. */ readonly groupTag: string; /** * The Id param. */ readonly id: string; /** * The Name param. */ readonly name: string; /** * The NatType param. String must be one of these: `"ipv4"`, `"nat64"`, `"nptv6"`. */ readonly natType: string; /** * The Service param. */ readonly service: string; /** * The snippet in which the resource is defined. String length must not exceed 64 characters. String validation regex: `^[a-zA-Z\d-_\. ]+$`. */ readonly snippet: string; /** * The SourceTranslation param. */ readonly sourceTranslation: outputs.GetNatRuleSourceTranslation; /** * The source address(es). */ readonly sources: string[]; /** * The Tags param. */ readonly tags: string[]; /** * The Target param. */ readonly target: outputs.GetNatRuleTarget; readonly tfid: string; /** * The ToInterface param. */ readonly toInterface: string; /** * The destination security zone(s). */ readonly tos: string[]; } /** * Retrieves a config item. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * const example = scm.getNatRule({ * id: "1234-56-789", * }); * ``` */ export declare function getNatRuleOutput(args: GetNatRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNatRuleResult>; /** * A collection of arguments for invoking getNatRule. */ export interface GetNatRuleOutputArgs { /** * The Id param. */ id: pulumi.Input<string>; }