import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ForwardingProfileUserLocation resource * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scm from "@pulumi/scm"; * * // This file is embedded using go:embed * // IP addresses only * const scmUserLocation1 = new scm.ForwardingProfileUserLocation("scm_user_location_1", { * folder: "Mobile Users", * name: "tf_user_location_1", * description: "Made by Pulumi", * ipAddresses: [ * "10.0.0.0/8", * "192.168.1.0/24", * ], * }); * // Internal host detection only * const scmUserLocation2 = new scm.ForwardingProfileUserLocation("scm_user_location_2", { * folder: "Mobile Users", * name: "tf_user_location_2", * description: "Internal host detection test", * internalHostDetection: { * ipAddress: "10.10.0.1", * fqdn: "internal.corp.example.com", * }, * }); * // Multiple IP addresses with wildcard * const scmUserLocation4 = new scm.ForwardingProfileUserLocation("scm_user_location_4", { * folder: "Mobile Users", * name: "tf_user_location_4", * description: "Multiple IP ranges for office locations", * ipAddresses: [ * "10.0.0.0/8", * "172.16.0.0/12", * "192.168.0.0/16", * "203.0.113.0/24", * ], * }); * ``` * * ## Import * * The following command can be used to import a resource not managed by Terraform: * * ```sh * $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example folder:::id * ``` * * or * * ```sh * $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example :snippet::id * ``` * * or * * ```sh * $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example ::device:id * ``` * * **Note:** Please provide just one of folder, snippet, or device for the import command. */ export declare class ForwardingProfileUserLocation extends pulumi.CustomResource { /** * Get an existing ForwardingProfileUserLocation 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?: ForwardingProfileUserLocationState, opts?: pulumi.CustomResourceOptions): ForwardingProfileUserLocation; /** * Returns true if the given object is an instance of ForwardingProfileUserLocation. 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 ForwardingProfileUserLocation; /** * Description of the user location */ readonly description: pulumi.Output; /** * The folder in which the resource is defined */ readonly folder: pulumi.Output; /** * Configuration for detecting internal hosts using IP address and FQDN */ readonly internalHostDetection: pulumi.Output; /** * List of IP addresses that define the user location */ readonly ipAddresses: pulumi.Output; /** * alphanumeric string [ 0-9a-zA-Z._-] */ readonly name: pulumi.Output; /** * The Terraform ID. */ readonly tfid: pulumi.Output; /** * Create a ForwardingProfileUserLocation 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?: ForwardingProfileUserLocationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ForwardingProfileUserLocation resources. */ export interface ForwardingProfileUserLocationState { /** * Description of the user location */ description?: pulumi.Input; /** * The folder in which the resource is defined */ folder?: pulumi.Input; /** * Configuration for detecting internal hosts using IP address and FQDN */ internalHostDetection?: pulumi.Input; /** * List of IP addresses that define the user location */ 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 ForwardingProfileUserLocation resource. */ export interface ForwardingProfileUserLocationArgs { /** * Description of the user location */ description?: pulumi.Input; /** * The folder in which the resource is defined */ folder?: pulumi.Input; /** * Configuration for detecting internal hosts using IP address and FQDN */ internalHostDetection?: pulumi.Input; /** * List of IP addresses that define the user location */ ipAddresses?: pulumi.Input[] | undefined>; /** * alphanumeric string [ 0-9a-zA-Z._-] */ name?: pulumi.Input; } //# sourceMappingURL=forwardingProfileUserLocation.d.ts.map