@pulumi/scm 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/forwardingProfile.d.ts +294 -0
  2. package/forwardingProfile.js +247 -0
  3. package/forwardingProfile.js.map +1 -0
  4. package/forwardingProfileDestination.d.ts +190 -0
  5. package/forwardingProfileDestination.js +143 -0
  6. package/forwardingProfileDestination.js.map +1 -0
  7. package/forwardingProfileRegionalAndCustomProxy.d.ts +289 -0
  8. package/forwardingProfileRegionalAndCustomProxy.js +192 -0
  9. package/forwardingProfileRegionalAndCustomProxy.js.map +1 -0
  10. package/forwardingProfileSourceApplication.d.ts +161 -0
  11. package/forwardingProfileSourceApplication.js +129 -0
  12. package/forwardingProfileSourceApplication.js.map +1 -0
  13. package/forwardingProfileUserLocation.d.ts +172 -0
  14. package/forwardingProfileUserLocation.js +125 -0
  15. package/forwardingProfileUserLocation.js.map +1 -0
  16. package/getAddressGroupList.d.ts +4 -4
  17. package/getAddressGroupList.js +4 -4
  18. package/getAddressList.d.ts +4 -4
  19. package/getAddressList.js +4 -4
  20. package/getAggregateInterfaceList.d.ts +2 -2
  21. package/getAggregateInterfaceList.js +2 -2
  22. package/getApplicationGroupList.d.ts +4 -4
  23. package/getApplicationGroupList.js +4 -4
  24. package/getBgpAuthProfileList.d.ts +2 -2
  25. package/getBgpAuthProfileList.js +2 -2
  26. package/getBgpRedistributionProfileList.d.ts +2 -2
  27. package/getBgpRedistributionProfileList.js +2 -2
  28. package/getBgpRouteMapList.d.ts +2 -2
  29. package/getBgpRouteMapList.js +2 -2
  30. package/getConfigMatchListList.d.ts +2 -2
  31. package/getConfigMatchListList.js +2 -2
  32. package/getDevice.d.ts +267 -0
  33. package/getDevice.js +82 -0
  34. package/getDevice.js.map +1 -0
  35. package/getDeviceList.d.ts +171 -0
  36. package/getDeviceList.js +88 -0
  37. package/getDeviceList.js.map +1 -0
  38. package/getDynamicUserGroupList.d.ts +4 -4
  39. package/getDynamicUserGroupList.js +4 -4
  40. package/getEthernetInterfaceList.d.ts +2 -2
  41. package/getEthernetInterfaceList.js +2 -2
  42. package/getForwardingProfile.d.ts +137 -0
  43. package/getForwardingProfile.js +92 -0
  44. package/getForwardingProfile.js.map +1 -0
  45. package/getForwardingProfileDestination.d.ts +127 -0
  46. package/getForwardingProfileDestination.js +82 -0
  47. package/getForwardingProfileDestination.js.map +1 -0
  48. package/getForwardingProfileDestinationList.d.ts +163 -0
  49. package/getForwardingProfileDestinationList.js +90 -0
  50. package/getForwardingProfileDestinationList.js.map +1 -0
  51. package/getForwardingProfileList.d.ts +163 -0
  52. package/getForwardingProfileList.js +90 -0
  53. package/getForwardingProfileList.js.map +1 -0
  54. package/getForwardingProfileRegionalAndCustomProxy.d.ts +157 -0
  55. package/getForwardingProfileRegionalAndCustomProxy.js +92 -0
  56. package/getForwardingProfileRegionalAndCustomProxy.js.map +1 -0
  57. package/getForwardingProfileRegionalAndCustomProxyList.d.ts +163 -0
  58. package/getForwardingProfileRegionalAndCustomProxyList.js +90 -0
  59. package/getForwardingProfileRegionalAndCustomProxyList.js.map +1 -0
  60. package/getForwardingProfileSourceApplication.d.ts +98 -0
  61. package/getForwardingProfileSourceApplication.js +58 -0
  62. package/getForwardingProfileSourceApplication.js.map +1 -0
  63. package/getForwardingProfileSourceApplicationList.d.ts +113 -0
  64. package/getForwardingProfileSourceApplicationList.js +40 -0
  65. package/getForwardingProfileSourceApplicationList.js.map +1 -0
  66. package/getForwardingProfileUserLocation.d.ts +127 -0
  67. package/getForwardingProfileUserLocation.js +82 -0
  68. package/getForwardingProfileUserLocation.js.map +1 -0
  69. package/getForwardingProfileUserLocationList.d.ts +163 -0
  70. package/getForwardingProfileUserLocationList.js +90 -0
  71. package/getForwardingProfileUserLocationList.js.map +1 -0
  72. package/getGlobalprotectMatchListList.d.ts +2 -2
  73. package/getGlobalprotectMatchListList.js +2 -2
  74. package/getHipmatchMatchListList.d.ts +2 -2
  75. package/getHipmatchMatchListList.js +2 -2
  76. package/getIptagMatchListList.d.ts +2 -2
  77. package/getIptagMatchListList.js +2 -2
  78. package/getLayer2SubinterfaceList.d.ts +2 -2
  79. package/getLayer2SubinterfaceList.js +2 -2
  80. package/getLayer3SubinterfaceList.d.ts +2 -2
  81. package/getLayer3SubinterfaceList.js +2 -2
  82. package/getLogicalRouterList.d.ts +2 -2
  83. package/getLogicalRouterList.js +2 -2
  84. package/getLoopbackInterfaceList.d.ts +2 -2
  85. package/getLoopbackInterfaceList.js +2 -2
  86. package/getServiceConnection.d.ts +4 -0
  87. package/getServiceConnection.js.map +1 -1
  88. package/getServiceList.d.ts +2 -2
  89. package/getServiceList.js +2 -2
  90. package/getSystemMatchListList.d.ts +2 -2
  91. package/getSystemMatchListList.js +2 -2
  92. package/getTunnelInterfaceList.d.ts +2 -2
  93. package/getTunnelInterfaceList.js +2 -2
  94. package/getUseridMatchListList.d.ts +2 -2
  95. package/getUseridMatchListList.js +2 -2
  96. package/getVlanInterfaceList.d.ts +2 -2
  97. package/getVlanInterfaceList.js +2 -2
  98. package/getZoneList.d.ts +2 -2
  99. package/getZoneList.js +2 -2
  100. package/index.d.ts +51 -0
  101. package/index.js +74 -13
  102. package/index.js.map +1 -1
  103. package/package.json +2 -2
  104. package/securityRule.d.ts +27 -0
  105. package/securityRule.js +27 -0
  106. package/securityRule.js.map +1 -1
  107. package/serviceConnection.d.ts +12 -0
  108. package/serviceConnection.js +2 -0
  109. package/serviceConnection.js.map +1 -1
  110. package/types/input.d.ts +335 -1
  111. package/types/output.d.ts +1423 -1
@@ -0,0 +1,192 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ForwardingProfileRegionalAndCustomProxy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ForwardingProfileRegionalAndCustomProxy resource
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as scm from "@pulumi/scm";
16
+ *
17
+ * // Basic gp-and-pac proxy with a primary proxy server
18
+ * // proxy_1 and proxy_2 are only available for gp-and-pac
19
+ * const exampleGpAndPacBasic = new scm.ForwardingProfileRegionalAndCustomProxy("example_gp_and_pac_basic", {
20
+ * folder: "Mobile Users",
21
+ * name: "example-gp-pac-proxy-1",
22
+ * type: "gp-and-pac",
23
+ * proxy1: {
24
+ * fqdn: "proxy1.example.com",
25
+ * port: 8080,
26
+ * location: "us-east",
27
+ * },
28
+ * });
29
+ * // gp-and-pac with primary and secondary proxy servers for high availability
30
+ * const exampleGpAndPacDualProxy = new scm.ForwardingProfileRegionalAndCustomProxy("example_gp_and_pac_dual_proxy", {
31
+ * folder: "Mobile Users",
32
+ * name: "example-gp-pac-dual-proxy",
33
+ * description: "Managed by Terraform - Dual proxy configuration for high availability",
34
+ * type: "gp-and-pac",
35
+ * proxy1: {
36
+ * fqdn: "proxy1.example.com",
37
+ * port: 8080,
38
+ * location: "us-east",
39
+ * },
40
+ * proxy2: {
41
+ * fqdn: "proxy2.example.com",
42
+ * port: 8080,
43
+ * location: "us-west",
44
+ * },
45
+ * });
46
+ * // Basic ztna-agent proxy
47
+ * // connectivity_preference and fallback_option are only available for ztna-agent
48
+ * // At least one connectivity_preference entry must have enabled = true
49
+ * const exampleZtnaBasic = new scm.ForwardingProfileRegionalAndCustomProxy("example_ztna_basic", {
50
+ * folder: "Mobile Users",
51
+ * name: "example-ztna-proxy",
52
+ * description: "Managed by Terraform - ZTNA agent proxy configuration",
53
+ * type: "ztna-agent",
54
+ * fallbackOption: "fail-open",
55
+ * connectivityPreferences: [
56
+ * {
57
+ * name: "tunnel",
58
+ * enabled: true,
59
+ * },
60
+ * {
61
+ * name: "proxy",
62
+ * enabled: false,
63
+ * },
64
+ * ],
65
+ * });
66
+ * // Full ztna-agent with location_preference and Prisma Access locations
67
+ * // location_preference is only available for ztna-agent
68
+ * const exampleZtnaFull = new scm.ForwardingProfileRegionalAndCustomProxy("example_ztna_full", {
69
+ * folder: "Mobile Users",
70
+ * name: "example-ztna-full",
71
+ * description: "Managed by Terraform - Full ZTNA agent with location and connectivity settings",
72
+ * type: "ztna-agent",
73
+ * fallbackOption: "fail-safe",
74
+ * locationPreference: "specific-pa-location",
75
+ * prismaAccessLocations: [
76
+ * {
77
+ * name: "americas",
78
+ * locations: [
79
+ * "us-east-1",
80
+ * "us-west-1",
81
+ * ],
82
+ * },
83
+ * {
84
+ * name: "europe",
85
+ * locations: ["europe-west"],
86
+ * },
87
+ * {
88
+ * name: "apac",
89
+ * locations: ["asia-southeast1"],
90
+ * },
91
+ * ],
92
+ * connectivityPreferences: [
93
+ * {
94
+ * name: "tunnel",
95
+ * enabled: true,
96
+ * },
97
+ * {
98
+ * name: "adns",
99
+ * enabled: true,
100
+ * },
101
+ * {
102
+ * name: "masque",
103
+ * enabled: true,
104
+ * },
105
+ * ],
106
+ * });
107
+ * ```
108
+ *
109
+ * ## Import
110
+ *
111
+ * The following command can be used to import a resource not managed by Terraform:
112
+ *
113
+ * ```sh
114
+ * $ pulumi import scm:index/forwardingProfileRegionalAndCustomProxy:ForwardingProfileRegionalAndCustomProxy example folder:::id
115
+ * ```
116
+ *
117
+ * or
118
+ *
119
+ * ```sh
120
+ * $ pulumi import scm:index/forwardingProfileRegionalAndCustomProxy:ForwardingProfileRegionalAndCustomProxy example :snippet::id
121
+ * ```
122
+ *
123
+ * or
124
+ *
125
+ * ```sh
126
+ * $ pulumi import scm:index/forwardingProfileRegionalAndCustomProxy:ForwardingProfileRegionalAndCustomProxy example ::device:id
127
+ * ```
128
+ *
129
+ * **Note:** Please provide just one of folder, snippet, or device for the import command.
130
+ */
131
+ class ForwardingProfileRegionalAndCustomProxy extends pulumi.CustomResource {
132
+ /**
133
+ * Get an existing ForwardingProfileRegionalAndCustomProxy resource's state with the given name, ID, and optional extra
134
+ * properties used to qualify the lookup.
135
+ *
136
+ * @param name The _unique_ name of the resulting resource.
137
+ * @param id The _unique_ provider ID of the resource to lookup.
138
+ * @param state Any extra arguments used during the lookup.
139
+ * @param opts Optional settings to control the behavior of the CustomResource.
140
+ */
141
+ static get(name, id, state, opts) {
142
+ return new ForwardingProfileRegionalAndCustomProxy(name, state, { ...opts, id: id });
143
+ }
144
+ /**
145
+ * Returns true if the given object is an instance of ForwardingProfileRegionalAndCustomProxy. This is designed to work even
146
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
147
+ */
148
+ static isInstance(obj) {
149
+ if (obj === undefined || obj === null) {
150
+ return false;
151
+ }
152
+ return obj['__pulumiType'] === ForwardingProfileRegionalAndCustomProxy.__pulumiType;
153
+ }
154
+ constructor(name, argsOrState, opts) {
155
+ let resourceInputs = {};
156
+ opts = opts || {};
157
+ if (opts.id) {
158
+ const state = argsOrState;
159
+ resourceInputs["connectivityPreferences"] = state?.connectivityPreferences;
160
+ resourceInputs["description"] = state?.description;
161
+ resourceInputs["fallbackOption"] = state?.fallbackOption;
162
+ resourceInputs["folder"] = state?.folder;
163
+ resourceInputs["locationPreference"] = state?.locationPreference;
164
+ resourceInputs["name"] = state?.name;
165
+ resourceInputs["prismaAccessLocations"] = state?.prismaAccessLocations;
166
+ resourceInputs["proxy1"] = state?.proxy1;
167
+ resourceInputs["proxy2"] = state?.proxy2;
168
+ resourceInputs["tfid"] = state?.tfid;
169
+ resourceInputs["type"] = state?.type;
170
+ }
171
+ else {
172
+ const args = argsOrState;
173
+ resourceInputs["connectivityPreferences"] = args?.connectivityPreferences;
174
+ resourceInputs["description"] = args?.description;
175
+ resourceInputs["fallbackOption"] = args?.fallbackOption;
176
+ resourceInputs["folder"] = args?.folder;
177
+ resourceInputs["locationPreference"] = args?.locationPreference;
178
+ resourceInputs["name"] = args?.name;
179
+ resourceInputs["prismaAccessLocations"] = args?.prismaAccessLocations;
180
+ resourceInputs["proxy1"] = args?.proxy1;
181
+ resourceInputs["proxy2"] = args?.proxy2;
182
+ resourceInputs["type"] = args?.type;
183
+ resourceInputs["tfid"] = undefined /*out*/;
184
+ }
185
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
186
+ super(ForwardingProfileRegionalAndCustomProxy.__pulumiType, name, resourceInputs, opts);
187
+ }
188
+ }
189
+ exports.ForwardingProfileRegionalAndCustomProxy = ForwardingProfileRegionalAndCustomProxy;
190
+ /** @internal */
191
+ ForwardingProfileRegionalAndCustomProxy.__pulumiType = 'scm:index/forwardingProfileRegionalAndCustomProxy:ForwardingProfileRegionalAndCustomProxy';
192
+ //# sourceMappingURL=forwardingProfileRegionalAndCustomProxy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forwardingProfileRegionalAndCustomProxy.js","sourceRoot":"","sources":["../forwardingProfileRegionalAndCustomProxy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0HG;AACH,MAAa,uCAAwC,SAAQ,MAAM,CAAC,cAAc;IAC9E;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoD,EAAE,IAAmC;QAClJ,OAAO,IAAI,uCAAuC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9F,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,C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C,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uCAAuC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5F,CAAC;;AAjHL,0FAkHC;AApGG,gBAAgB;AACO,oDAAY,GAAG,2FAA2F,CAAC"}
@@ -0,0 +1,161 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ForwardingProfileSourceApplication resource
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as scm from "@pulumi/scm";
10
+ *
11
+ * // Basic forwarding profile source application
12
+ * const exampleBasic = new scm.ForwardingProfileSourceApplication("example_basic", {
13
+ * folder: "Mobile Users",
14
+ * name: "example-source-app",
15
+ * applications: [
16
+ * "ssl",
17
+ * "web-browsing",
18
+ * ],
19
+ * });
20
+ * // Forwarding profile source application with description
21
+ * const exampleWithDesc = new scm.ForwardingProfileSourceApplication("example_with_desc", {
22
+ * folder: "Mobile Users",
23
+ * name: "example-source-app-detailed",
24
+ * description: "Managed by Terraform - Source application profile for mobile users",
25
+ * applications: [
26
+ * "ssl",
27
+ * "web-browsing",
28
+ * "dns",
29
+ * "ntp",
30
+ * ],
31
+ * });
32
+ * // Forwarding profile source application with multiple applications
33
+ * const exampleMultiApps = new scm.ForwardingProfileSourceApplication("example_multi_apps", {
34
+ * folder: "Mobile Users",
35
+ * name: "corp-mobile-apps",
36
+ * description: "Corporate mobile applications profile",
37
+ * applications: [
38
+ * "ssl",
39
+ * "web-browsing",
40
+ * "dns",
41
+ * "ssh",
42
+ * "ping",
43
+ * "office365-consumer-access",
44
+ * "google-base",
45
+ * ],
46
+ * });
47
+ * ```
48
+ *
49
+ * ## Import
50
+ *
51
+ * The following command can be used to import a resource not managed by Terraform:
52
+ *
53
+ * ```sh
54
+ * $ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication example folder:::id
55
+ * ```
56
+ *
57
+ * or
58
+ *
59
+ * ```sh
60
+ * $ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication example :snippet::id
61
+ * ```
62
+ *
63
+ * or
64
+ *
65
+ * ```sh
66
+ * $ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication example ::device:id
67
+ * ```
68
+ *
69
+ * **Note:** Please provide just one of folder, snippet, or device for the import command.
70
+ */
71
+ export declare class ForwardingProfileSourceApplication extends pulumi.CustomResource {
72
+ /**
73
+ * Get an existing ForwardingProfileSourceApplication resource's state with the given name, ID, and optional extra
74
+ * properties used to qualify the lookup.
75
+ *
76
+ * @param name The _unique_ name of the resulting resource.
77
+ * @param id The _unique_ provider ID of the resource to lookup.
78
+ * @param state Any extra arguments used during the lookup.
79
+ * @param opts Optional settings to control the behavior of the CustomResource.
80
+ */
81
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ForwardingProfileSourceApplicationState, opts?: pulumi.CustomResourceOptions): ForwardingProfileSourceApplication;
82
+ /**
83
+ * Returns true if the given object is an instance of ForwardingProfileSourceApplication. This is designed to work even
84
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
85
+ */
86
+ static isInstance(obj: any): obj is ForwardingProfileSourceApplication;
87
+ /**
88
+ * List of application names to be included in this source application profile
89
+ */
90
+ readonly applications: pulumi.Output<string[]>;
91
+ /**
92
+ * fowarding profile source application description
93
+ */
94
+ readonly description: pulumi.Output<string | undefined>;
95
+ /**
96
+ * The folder in which the resource is defined
97
+ */
98
+ readonly folder: pulumi.Output<string>;
99
+ /**
100
+ * The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
101
+ */
102
+ readonly name: pulumi.Output<string>;
103
+ /**
104
+ * The Terraform ID.
105
+ */
106
+ readonly tfid: pulumi.Output<string>;
107
+ /**
108
+ * Create a ForwardingProfileSourceApplication resource with the given unique name, arguments, and options.
109
+ *
110
+ * @param name The _unique_ name of the resource.
111
+ * @param args The arguments to use to populate this resource's properties.
112
+ * @param opts A bag of options that control this resource's behavior.
113
+ */
114
+ constructor(name: string, args: ForwardingProfileSourceApplicationArgs, opts?: pulumi.CustomResourceOptions);
115
+ }
116
+ /**
117
+ * Input properties used for looking up and filtering ForwardingProfileSourceApplication resources.
118
+ */
119
+ export interface ForwardingProfileSourceApplicationState {
120
+ /**
121
+ * List of application names to be included in this source application profile
122
+ */
123
+ applications?: pulumi.Input<pulumi.Input<string>[]>;
124
+ /**
125
+ * fowarding profile source application description
126
+ */
127
+ description?: pulumi.Input<string>;
128
+ /**
129
+ * The folder in which the resource is defined
130
+ */
131
+ folder?: pulumi.Input<string>;
132
+ /**
133
+ * The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
134
+ */
135
+ name?: pulumi.Input<string>;
136
+ /**
137
+ * The Terraform ID.
138
+ */
139
+ tfid?: pulumi.Input<string>;
140
+ }
141
+ /**
142
+ * The set of arguments for constructing a ForwardingProfileSourceApplication resource.
143
+ */
144
+ export interface ForwardingProfileSourceApplicationArgs {
145
+ /**
146
+ * List of application names to be included in this source application profile
147
+ */
148
+ applications: pulumi.Input<pulumi.Input<string>[]>;
149
+ /**
150
+ * fowarding profile source application description
151
+ */
152
+ description?: pulumi.Input<string>;
153
+ /**
154
+ * The folder in which the resource is defined
155
+ */
156
+ folder?: pulumi.Input<string>;
157
+ /**
158
+ * The unique name identifying the source application. Must be alphanumeric with allowed characters [0-9a-zA-Z._-]
159
+ */
160
+ name?: pulumi.Input<string>;
161
+ }
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ForwardingProfileSourceApplication = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ForwardingProfileSourceApplication resource
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as scm from "@pulumi/scm";
16
+ *
17
+ * // Basic forwarding profile source application
18
+ * const exampleBasic = new scm.ForwardingProfileSourceApplication("example_basic", {
19
+ * folder: "Mobile Users",
20
+ * name: "example-source-app",
21
+ * applications: [
22
+ * "ssl",
23
+ * "web-browsing",
24
+ * ],
25
+ * });
26
+ * // Forwarding profile source application with description
27
+ * const exampleWithDesc = new scm.ForwardingProfileSourceApplication("example_with_desc", {
28
+ * folder: "Mobile Users",
29
+ * name: "example-source-app-detailed",
30
+ * description: "Managed by Terraform - Source application profile for mobile users",
31
+ * applications: [
32
+ * "ssl",
33
+ * "web-browsing",
34
+ * "dns",
35
+ * "ntp",
36
+ * ],
37
+ * });
38
+ * // Forwarding profile source application with multiple applications
39
+ * const exampleMultiApps = new scm.ForwardingProfileSourceApplication("example_multi_apps", {
40
+ * folder: "Mobile Users",
41
+ * name: "corp-mobile-apps",
42
+ * description: "Corporate mobile applications profile",
43
+ * applications: [
44
+ * "ssl",
45
+ * "web-browsing",
46
+ * "dns",
47
+ * "ssh",
48
+ * "ping",
49
+ * "office365-consumer-access",
50
+ * "google-base",
51
+ * ],
52
+ * });
53
+ * ```
54
+ *
55
+ * ## Import
56
+ *
57
+ * The following command can be used to import a resource not managed by Terraform:
58
+ *
59
+ * ```sh
60
+ * $ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication example folder:::id
61
+ * ```
62
+ *
63
+ * or
64
+ *
65
+ * ```sh
66
+ * $ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication example :snippet::id
67
+ * ```
68
+ *
69
+ * or
70
+ *
71
+ * ```sh
72
+ * $ pulumi import scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication example ::device:id
73
+ * ```
74
+ *
75
+ * **Note:** Please provide just one of folder, snippet, or device for the import command.
76
+ */
77
+ class ForwardingProfileSourceApplication extends pulumi.CustomResource {
78
+ /**
79
+ * Get an existing ForwardingProfileSourceApplication resource's state with the given name, ID, and optional extra
80
+ * properties used to qualify the lookup.
81
+ *
82
+ * @param name The _unique_ name of the resulting resource.
83
+ * @param id The _unique_ provider ID of the resource to lookup.
84
+ * @param state Any extra arguments used during the lookup.
85
+ * @param opts Optional settings to control the behavior of the CustomResource.
86
+ */
87
+ static get(name, id, state, opts) {
88
+ return new ForwardingProfileSourceApplication(name, state, { ...opts, id: id });
89
+ }
90
+ /**
91
+ * Returns true if the given object is an instance of ForwardingProfileSourceApplication. This is designed to work even
92
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
93
+ */
94
+ static isInstance(obj) {
95
+ if (obj === undefined || obj === null) {
96
+ return false;
97
+ }
98
+ return obj['__pulumiType'] === ForwardingProfileSourceApplication.__pulumiType;
99
+ }
100
+ constructor(name, argsOrState, opts) {
101
+ let resourceInputs = {};
102
+ opts = opts || {};
103
+ if (opts.id) {
104
+ const state = argsOrState;
105
+ resourceInputs["applications"] = state?.applications;
106
+ resourceInputs["description"] = state?.description;
107
+ resourceInputs["folder"] = state?.folder;
108
+ resourceInputs["name"] = state?.name;
109
+ resourceInputs["tfid"] = state?.tfid;
110
+ }
111
+ else {
112
+ const args = argsOrState;
113
+ if (args?.applications === undefined && !opts.urn) {
114
+ throw new Error("Missing required property 'applications'");
115
+ }
116
+ resourceInputs["applications"] = args?.applications;
117
+ resourceInputs["description"] = args?.description;
118
+ resourceInputs["folder"] = args?.folder;
119
+ resourceInputs["name"] = args?.name;
120
+ resourceInputs["tfid"] = undefined /*out*/;
121
+ }
122
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
123
+ super(ForwardingProfileSourceApplication.__pulumiType, name, resourceInputs, opts);
124
+ }
125
+ }
126
+ exports.ForwardingProfileSourceApplication = ForwardingProfileSourceApplication;
127
+ /** @internal */
128
+ ForwardingProfileSourceApplication.__pulumiType = 'scm:index/forwardingProfileSourceApplication:ForwardingProfileSourceApplication';
129
+ //# sourceMappingURL=forwardingProfileSourceApplication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forwardingProfileSourceApplication.js","sourceRoot":"","sources":["../forwardingProfileSourceApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,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,gFAiFC;AAnEG,gBAAgB;AACO,+CAAY,GAAG,iFAAiF,CAAC"}
@@ -0,0 +1,172 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ForwardingProfileUserLocation resource
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as scm from "@pulumi/scm";
12
+ *
13
+ * // This file is embedded using go:embed
14
+ * // IP addresses only
15
+ * const scmUserLocation1 = new scm.ForwardingProfileUserLocation("scm_user_location_1", {
16
+ * folder: "Mobile Users",
17
+ * name: "tf_user_location_1",
18
+ * description: "Made by Pulumi",
19
+ * ipAddresses: [
20
+ * "10.0.0.0/8",
21
+ * "192.168.1.0/24",
22
+ * ],
23
+ * });
24
+ * // Internal host detection only
25
+ * const scmUserLocation2 = new scm.ForwardingProfileUserLocation("scm_user_location_2", {
26
+ * folder: "Mobile Users",
27
+ * name: "tf_user_location_2",
28
+ * description: "Internal host detection test",
29
+ * internalHostDetection: {
30
+ * ipAddress: "10.10.0.1",
31
+ * fqdn: "internal.corp.example.com",
32
+ * },
33
+ * });
34
+ * // Multiple IP addresses with wildcard
35
+ * const scmUserLocation4 = new scm.ForwardingProfileUserLocation("scm_user_location_4", {
36
+ * folder: "Mobile Users",
37
+ * name: "tf_user_location_4",
38
+ * description: "Multiple IP ranges for office locations",
39
+ * ipAddresses: [
40
+ * "10.0.0.0/8",
41
+ * "172.16.0.0/12",
42
+ * "192.168.0.0/16",
43
+ * "203.0.113.0/24",
44
+ * ],
45
+ * });
46
+ * ```
47
+ *
48
+ * ## Import
49
+ *
50
+ * The following command can be used to import a resource not managed by Terraform:
51
+ *
52
+ * ```sh
53
+ * $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example folder:::id
54
+ * ```
55
+ *
56
+ * or
57
+ *
58
+ * ```sh
59
+ * $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example :snippet::id
60
+ * ```
61
+ *
62
+ * or
63
+ *
64
+ * ```sh
65
+ * $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example ::device:id
66
+ * ```
67
+ *
68
+ * **Note:** Please provide just one of folder, snippet, or device for the import command.
69
+ */
70
+ export declare class ForwardingProfileUserLocation extends pulumi.CustomResource {
71
+ /**
72
+ * Get an existing ForwardingProfileUserLocation resource's state with the given name, ID, and optional extra
73
+ * properties used to qualify the lookup.
74
+ *
75
+ * @param name The _unique_ name of the resulting resource.
76
+ * @param id The _unique_ provider ID of the resource to lookup.
77
+ * @param state Any extra arguments used during the lookup.
78
+ * @param opts Optional settings to control the behavior of the CustomResource.
79
+ */
80
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ForwardingProfileUserLocationState, opts?: pulumi.CustomResourceOptions): ForwardingProfileUserLocation;
81
+ /**
82
+ * Returns true if the given object is an instance of ForwardingProfileUserLocation. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj: any): obj is ForwardingProfileUserLocation;
86
+ /**
87
+ * Description of the user location
88
+ */
89
+ readonly description: pulumi.Output<string | undefined>;
90
+ /**
91
+ * The folder in which the resource is defined
92
+ */
93
+ readonly folder: pulumi.Output<string>;
94
+ /**
95
+ * Configuration for detecting internal hosts using IP address and FQDN
96
+ */
97
+ readonly internalHostDetection: pulumi.Output<outputs.ForwardingProfileUserLocationInternalHostDetection | undefined>;
98
+ /**
99
+ * List of IP addresses that define the user location
100
+ */
101
+ readonly ipAddresses: pulumi.Output<string[] | undefined>;
102
+ /**
103
+ * alphanumeric string [ 0-9a-zA-Z._-]
104
+ */
105
+ readonly name: pulumi.Output<string>;
106
+ /**
107
+ * The Terraform ID.
108
+ */
109
+ readonly tfid: pulumi.Output<string>;
110
+ /**
111
+ * Create a ForwardingProfileUserLocation resource with the given unique name, arguments, and options.
112
+ *
113
+ * @param name The _unique_ name of the resource.
114
+ * @param args The arguments to use to populate this resource's properties.
115
+ * @param opts A bag of options that control this resource's behavior.
116
+ */
117
+ constructor(name: string, args?: ForwardingProfileUserLocationArgs, opts?: pulumi.CustomResourceOptions);
118
+ }
119
+ /**
120
+ * Input properties used for looking up and filtering ForwardingProfileUserLocation resources.
121
+ */
122
+ export interface ForwardingProfileUserLocationState {
123
+ /**
124
+ * Description of the user location
125
+ */
126
+ description?: pulumi.Input<string>;
127
+ /**
128
+ * The folder in which the resource is defined
129
+ */
130
+ folder?: pulumi.Input<string>;
131
+ /**
132
+ * Configuration for detecting internal hosts using IP address and FQDN
133
+ */
134
+ internalHostDetection?: pulumi.Input<inputs.ForwardingProfileUserLocationInternalHostDetection>;
135
+ /**
136
+ * List of IP addresses that define the user location
137
+ */
138
+ ipAddresses?: pulumi.Input<pulumi.Input<string>[]>;
139
+ /**
140
+ * alphanumeric string [ 0-9a-zA-Z._-]
141
+ */
142
+ name?: pulumi.Input<string>;
143
+ /**
144
+ * The Terraform ID.
145
+ */
146
+ tfid?: pulumi.Input<string>;
147
+ }
148
+ /**
149
+ * The set of arguments for constructing a ForwardingProfileUserLocation resource.
150
+ */
151
+ export interface ForwardingProfileUserLocationArgs {
152
+ /**
153
+ * Description of the user location
154
+ */
155
+ description?: pulumi.Input<string>;
156
+ /**
157
+ * The folder in which the resource is defined
158
+ */
159
+ folder?: pulumi.Input<string>;
160
+ /**
161
+ * Configuration for detecting internal hosts using IP address and FQDN
162
+ */
163
+ internalHostDetection?: pulumi.Input<inputs.ForwardingProfileUserLocationInternalHostDetection>;
164
+ /**
165
+ * List of IP addresses that define the user location
166
+ */
167
+ ipAddresses?: pulumi.Input<pulumi.Input<string>[]>;
168
+ /**
169
+ * alphanumeric string [ 0-9a-zA-Z._-]
170
+ */
171
+ name?: pulumi.Input<string>;
172
+ }