import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ForwardingProfileDestination resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // Basic forwarding profile destination with FQDN * const exampleBasicFqdn = new scm.ForwardingProfileDestination("example_basic_fqdn", { * folder: "Mobile Users", * name: "example-dest-fqdn", * fqdns: [{ * name: "example.com", * port: 443, * }], * }); * // Forwarding profile destination with IP addresses * const exampleIpAddresses = new scm.ForwardingProfileDestination("example_ip_addresses", { * folder: "Mobile Users", * name: "example-dest-ip", * description: "Managed by Terraform - Destination profile with IP addresses", * ipAddresses: [ * { * name: "10.0.0.0/8", * port: 443, * }, * { * name: "192.168.1.100", * port: 8080, * }, * ], * }); * // Forwarding profile destination with both FQDN and IP addresses * const exampleMixed = new scm.ForwardingProfileDestination("example_mixed", { * folder: "Mobile Users", * name: "corp-destinations", * description: "Corporate destinations profile with mixed types", * fqdns: [ * { * name: "*.corporate.com", * port: 443, * }, * { * name: "api.example.com", * port: 8443, * }, * ], * ipAddresses: [ * { * name: "10.10.0.0/16", * port: 443, * }, * { * name: "172.16.0.1", * port: 80, * }, * ], * }); * ``` * * ## Import * * The following command can be used to import a resource not managed by Terraform: * * ```sh * $ pulumi import scm:index/forwardingProfileDestination:ForwardingProfileDestination example folder:::id * ``` * * or * * ```sh * $ pulumi import scm:index/forwardingProfileDestination:ForwardingProfileDestination example :snippet::id * ``` * * or * * ```sh * $ pulumi import scm:index/forwardingProfileDestination:ForwardingProfileDestination example ::device:id * ``` * * **Note:** Please provide just one of folder, snippet, or device for the import command. */ export declare class ForwardingProfileDestination extends pulumi.CustomResource { /** * Get an existing ForwardingProfileDestination resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ForwardingProfileDestinationState, opts?: pulumi.CustomResourceOptions): ForwardingProfileDestination; /** * Returns true if the given object is an instance of ForwardingProfileDestination. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ForwardingProfileDestination; /** * description of the destination */ readonly description: pulumi.Output; /** * The folder in which the resource is defined */ readonly folder: pulumi.Output; /** * List of FQDN based destination entries */ readonly fqdns: pulumi.Output; /** * List of IP address based destination entries */ readonly ipAddresses: pulumi.Output; /** * alphanumeric string [ 0-9a-zA-Z._ -] */ readonly name: pulumi.Output; /** * The Terraform ID. */ readonly tfid: pulumi.Output; /** * Create a ForwardingProfileDestination resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ForwardingProfileDestinationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ForwardingProfileDestination resources. */ export interface ForwardingProfileDestinationState { /** * description of the destination */ description?: pulumi.Input; /** * The folder in which the resource is defined */ folder?: pulumi.Input; /** * List of FQDN based destination entries */ fqdns?: pulumi.Input[] | undefined>; /** * List of IP address based destination entries */ ipAddresses?: pulumi.Input[] | undefined>; /** * alphanumeric string [ 0-9a-zA-Z._ -] */ name?: pulumi.Input; /** * The Terraform ID. */ tfid?: pulumi.Input; } /** * The set of arguments for constructing a ForwardingProfileDestination resource. */ export interface ForwardingProfileDestinationArgs { /** * description of the destination */ description?: pulumi.Input; /** * The folder in which the resource is defined */ folder?: pulumi.Input; /** * List of FQDN based destination entries */ fqdns?: pulumi.Input[] | undefined>; /** * List of IP address based destination entries */ ipAddresses?: pulumi.Input[] | undefined>; /** * alphanumeric string [ 0-9a-zA-Z._ -] */ name?: pulumi.Input; } //# sourceMappingURL=forwardingProfileDestination.d.ts.map