@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,127 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * ForwardingProfileUserLocation data source
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as scm from "@pulumi/scm";
11
+ *
12
+ * // Look up the user location with IP addresses by its ID.
13
+ * const scmForwardingProfileUserLocation1Ds = scm.getForwardingProfileUserLocation({
14
+ * id: "847948c9-8973-48aa-8496-212f572ab859",
15
+ * });
16
+ * // Look up the user location with internal host detection by its ID.
17
+ * const scmForwardingProfileUserLocation2Ds = scm.getForwardingProfileUserLocation({
18
+ * id: "ee149f5a-533e-48be-8492-e3aa6b20acf2",
19
+ * });
20
+ * // Look up the user location with multiple IP ranges by its ID.
21
+ * const scmForwardingProfileUserLocation4Ds = scm.getForwardingProfileUserLocation({
22
+ * id: "23293d0f-0403-4549-870f-c6c04cd6c95c",
23
+ * });
24
+ * export const forwardingProfileUserLocationDataSourceResults = {
25
+ * ipAddressesObject: scmForwardingProfileUserLocation1Ds,
26
+ * internalHostDetectionObject: scmForwardingProfileUserLocation2Ds,
27
+ * multiIpRangeObject: scmForwardingProfileUserLocation4Ds,
28
+ * };
29
+ * ```
30
+ */
31
+ export declare function getForwardingProfileUserLocation(args: GetForwardingProfileUserLocationArgs, opts?: pulumi.InvokeOptions): Promise<GetForwardingProfileUserLocationResult>;
32
+ /**
33
+ * A collection of arguments for invoking getForwardingProfileUserLocation.
34
+ */
35
+ export interface GetForwardingProfileUserLocationArgs {
36
+ /**
37
+ * The folder in which the resource is defined
38
+ */
39
+ folder?: string;
40
+ /**
41
+ * The UUID of the user location
42
+ */
43
+ id: string;
44
+ /**
45
+ * alphanumeric string [ 0-9a-zA-Z._-]
46
+ */
47
+ name?: string;
48
+ }
49
+ /**
50
+ * A collection of values returned by getForwardingProfileUserLocation.
51
+ */
52
+ export interface GetForwardingProfileUserLocationResult {
53
+ /**
54
+ * Description of the user location
55
+ */
56
+ readonly description: string;
57
+ /**
58
+ * The folder in which the resource is defined
59
+ */
60
+ readonly folder: string;
61
+ /**
62
+ * The UUID of the user location
63
+ */
64
+ readonly id: string;
65
+ /**
66
+ * Configuration for detecting internal hosts using IP address and FQDN
67
+ */
68
+ readonly internalHostDetection: outputs.GetForwardingProfileUserLocationInternalHostDetection;
69
+ /**
70
+ * List of IP addresses that define the user location
71
+ */
72
+ readonly ipAddresses: string[];
73
+ /**
74
+ * alphanumeric string [ 0-9a-zA-Z._-]
75
+ */
76
+ readonly name: string;
77
+ /**
78
+ * The Terraform ID.
79
+ */
80
+ readonly tfid: string;
81
+ }
82
+ /**
83
+ * ForwardingProfileUserLocation data source
84
+ *
85
+ * ## Example Usage
86
+ *
87
+ * ```typescript
88
+ * import * as pulumi from "@pulumi/pulumi";
89
+ * import * as scm from "@pulumi/scm";
90
+ *
91
+ * // Look up the user location with IP addresses by its ID.
92
+ * const scmForwardingProfileUserLocation1Ds = scm.getForwardingProfileUserLocation({
93
+ * id: "847948c9-8973-48aa-8496-212f572ab859",
94
+ * });
95
+ * // Look up the user location with internal host detection by its ID.
96
+ * const scmForwardingProfileUserLocation2Ds = scm.getForwardingProfileUserLocation({
97
+ * id: "ee149f5a-533e-48be-8492-e3aa6b20acf2",
98
+ * });
99
+ * // Look up the user location with multiple IP ranges by its ID.
100
+ * const scmForwardingProfileUserLocation4Ds = scm.getForwardingProfileUserLocation({
101
+ * id: "23293d0f-0403-4549-870f-c6c04cd6c95c",
102
+ * });
103
+ * export const forwardingProfileUserLocationDataSourceResults = {
104
+ * ipAddressesObject: scmForwardingProfileUserLocation1Ds,
105
+ * internalHostDetectionObject: scmForwardingProfileUserLocation2Ds,
106
+ * multiIpRangeObject: scmForwardingProfileUserLocation4Ds,
107
+ * };
108
+ * ```
109
+ */
110
+ export declare function getForwardingProfileUserLocationOutput(args: GetForwardingProfileUserLocationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetForwardingProfileUserLocationResult>;
111
+ /**
112
+ * A collection of arguments for invoking getForwardingProfileUserLocation.
113
+ */
114
+ export interface GetForwardingProfileUserLocationOutputArgs {
115
+ /**
116
+ * The folder in which the resource is defined
117
+ */
118
+ folder?: pulumi.Input<string>;
119
+ /**
120
+ * The UUID of the user location
121
+ */
122
+ id: pulumi.Input<string>;
123
+ /**
124
+ * alphanumeric string [ 0-9a-zA-Z._-]
125
+ */
126
+ name?: pulumi.Input<string>;
127
+ }
@@ -0,0 +1,82 @@
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.getForwardingProfileUserLocationOutput = exports.getForwardingProfileUserLocation = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ForwardingProfileUserLocation data source
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as scm from "@pulumi/scm";
16
+ *
17
+ * // Look up the user location with IP addresses by its ID.
18
+ * const scmForwardingProfileUserLocation1Ds = scm.getForwardingProfileUserLocation({
19
+ * id: "847948c9-8973-48aa-8496-212f572ab859",
20
+ * });
21
+ * // Look up the user location with internal host detection by its ID.
22
+ * const scmForwardingProfileUserLocation2Ds = scm.getForwardingProfileUserLocation({
23
+ * id: "ee149f5a-533e-48be-8492-e3aa6b20acf2",
24
+ * });
25
+ * // Look up the user location with multiple IP ranges by its ID.
26
+ * const scmForwardingProfileUserLocation4Ds = scm.getForwardingProfileUserLocation({
27
+ * id: "23293d0f-0403-4549-870f-c6c04cd6c95c",
28
+ * });
29
+ * export const forwardingProfileUserLocationDataSourceResults = {
30
+ * ipAddressesObject: scmForwardingProfileUserLocation1Ds,
31
+ * internalHostDetectionObject: scmForwardingProfileUserLocation2Ds,
32
+ * multiIpRangeObject: scmForwardingProfileUserLocation4Ds,
33
+ * };
34
+ * ```
35
+ */
36
+ function getForwardingProfileUserLocation(args, opts) {
37
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
38
+ return pulumi.runtime.invoke("scm:index/getForwardingProfileUserLocation:getForwardingProfileUserLocation", {
39
+ "folder": args.folder,
40
+ "id": args.id,
41
+ "name": args.name,
42
+ }, opts);
43
+ }
44
+ exports.getForwardingProfileUserLocation = getForwardingProfileUserLocation;
45
+ /**
46
+ * ForwardingProfileUserLocation data source
47
+ *
48
+ * ## Example Usage
49
+ *
50
+ * ```typescript
51
+ * import * as pulumi from "@pulumi/pulumi";
52
+ * import * as scm from "@pulumi/scm";
53
+ *
54
+ * // Look up the user location with IP addresses by its ID.
55
+ * const scmForwardingProfileUserLocation1Ds = scm.getForwardingProfileUserLocation({
56
+ * id: "847948c9-8973-48aa-8496-212f572ab859",
57
+ * });
58
+ * // Look up the user location with internal host detection by its ID.
59
+ * const scmForwardingProfileUserLocation2Ds = scm.getForwardingProfileUserLocation({
60
+ * id: "ee149f5a-533e-48be-8492-e3aa6b20acf2",
61
+ * });
62
+ * // Look up the user location with multiple IP ranges by its ID.
63
+ * const scmForwardingProfileUserLocation4Ds = scm.getForwardingProfileUserLocation({
64
+ * id: "23293d0f-0403-4549-870f-c6c04cd6c95c",
65
+ * });
66
+ * export const forwardingProfileUserLocationDataSourceResults = {
67
+ * ipAddressesObject: scmForwardingProfileUserLocation1Ds,
68
+ * internalHostDetectionObject: scmForwardingProfileUserLocation2Ds,
69
+ * multiIpRangeObject: scmForwardingProfileUserLocation4Ds,
70
+ * };
71
+ * ```
72
+ */
73
+ function getForwardingProfileUserLocationOutput(args, opts) {
74
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
75
+ return pulumi.runtime.invokeOutput("scm:index/getForwardingProfileUserLocation:getForwardingProfileUserLocation", {
76
+ "folder": args.folder,
77
+ "id": args.id,
78
+ "name": args.name,
79
+ }, opts);
80
+ }
81
+ exports.getForwardingProfileUserLocationOutput = getForwardingProfileUserLocationOutput;
82
+ //# sourceMappingURL=getForwardingProfileUserLocation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getForwardingProfileUserLocation.js","sourceRoot":"","sources":["../getForwardingProfileUserLocation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE;QACxG,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAAiC;IACtI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,6EAA6E,EAAE;QAC9G,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wFAOC"}
@@ -0,0 +1,163 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Retrieves a listing of config items.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as scm from "@pulumi/scm";
11
+ *
12
+ * // This data source will call the "ListForwardingProfileUserLocations" API endpoint
13
+ * // and return all forwarding profile user locations in the "Mobile Users" folder.
14
+ * // 1. Use a single data block to fetch ALL user locations in the "Mobile Users" folder.
15
+ * const allMobileUsers = scm.getForwardingProfileUserLocationList({
16
+ * folder: "Mobile Users",
17
+ * });
18
+ * export const forwardingProfileUserLocationDataSourceResultsFromList = allMobileUsers.then(allMobileUsers => .reduce((__obj, loc) => ({ ...__obj, [loc.id]: loc }), {}));
19
+ * const paginatedUserLocationsExample = scm.getForwardingProfileUserLocationList({
20
+ * folder: "Mobile Users",
21
+ * limit: 5,
22
+ * offset: 0,
23
+ * });
24
+ * export const paginatedUserLocations = paginatedUserLocationsExample.then(paginatedUserLocationsExample => .reduce((__obj, loc) => ({ ...__obj, [loc.id]: loc }), {}));
25
+ * export const paginationUserLocationsDetails = {
26
+ * totalObjectsInFolder: paginatedUserLocationsExample.then(paginatedUserLocationsExample => paginatedUserLocationsExample.total),
27
+ * limitUsed: paginatedUserLocationsExample.then(paginatedUserLocationsExample => paginatedUserLocationsExample.limit),
28
+ * };
29
+ * ```
30
+ */
31
+ export declare function getForwardingProfileUserLocationList(args?: GetForwardingProfileUserLocationListArgs, opts?: pulumi.InvokeOptions): Promise<GetForwardingProfileUserLocationListResult>;
32
+ /**
33
+ * A collection of arguments for invoking getForwardingProfileUserLocationList.
34
+ */
35
+ export interface GetForwardingProfileUserLocationListArgs {
36
+ /**
37
+ * The device of the item.
38
+ */
39
+ device?: string;
40
+ /**
41
+ * The folder of the item. Default: Shared.
42
+ */
43
+ folder?: string;
44
+ /**
45
+ * The max number of items to return. Default: 200.
46
+ */
47
+ limit?: number;
48
+ /**
49
+ * The name of the item.
50
+ */
51
+ name?: string;
52
+ /**
53
+ * The offset of the first item to return.
54
+ */
55
+ offset?: number;
56
+ /**
57
+ * The snippet of the item.
58
+ */
59
+ snippet?: string;
60
+ }
61
+ /**
62
+ * A collection of values returned by getForwardingProfileUserLocationList.
63
+ */
64
+ export interface GetForwardingProfileUserLocationListResult {
65
+ /**
66
+ * The data.
67
+ */
68
+ readonly datas: outputs.GetForwardingProfileUserLocationListData[];
69
+ /**
70
+ * The device of the item.
71
+ */
72
+ readonly device?: string;
73
+ /**
74
+ * The folder of the item. Default: Shared.
75
+ */
76
+ readonly folder?: string;
77
+ /**
78
+ * The provider-assigned unique ID for this managed resource.
79
+ */
80
+ readonly id: string;
81
+ /**
82
+ * The max number of items to return. Default: 200.
83
+ */
84
+ readonly limit?: number;
85
+ /**
86
+ * The name of the item.
87
+ */
88
+ readonly name?: string;
89
+ /**
90
+ * The offset of the first item to return.
91
+ */
92
+ readonly offset?: number;
93
+ /**
94
+ * The snippet of the item.
95
+ */
96
+ readonly snippet?: string;
97
+ /**
98
+ * The Terraform ID.
99
+ */
100
+ readonly tfid: string;
101
+ /**
102
+ * The total number of items.
103
+ */
104
+ readonly total: number;
105
+ }
106
+ /**
107
+ * Retrieves a listing of config items.
108
+ *
109
+ * ## Example Usage
110
+ *
111
+ * ```typescript
112
+ * import * as pulumi from "@pulumi/pulumi";
113
+ * import * as scm from "@pulumi/scm";
114
+ *
115
+ * // This data source will call the "ListForwardingProfileUserLocations" API endpoint
116
+ * // and return all forwarding profile user locations in the "Mobile Users" folder.
117
+ * // 1. Use a single data block to fetch ALL user locations in the "Mobile Users" folder.
118
+ * const allMobileUsers = scm.getForwardingProfileUserLocationList({
119
+ * folder: "Mobile Users",
120
+ * });
121
+ * export const forwardingProfileUserLocationDataSourceResultsFromList = allMobileUsers.then(allMobileUsers => .reduce((__obj, loc) => ({ ...__obj, [loc.id]: loc }), {}));
122
+ * const paginatedUserLocationsExample = scm.getForwardingProfileUserLocationList({
123
+ * folder: "Mobile Users",
124
+ * limit: 5,
125
+ * offset: 0,
126
+ * });
127
+ * export const paginatedUserLocations = paginatedUserLocationsExample.then(paginatedUserLocationsExample => .reduce((__obj, loc) => ({ ...__obj, [loc.id]: loc }), {}));
128
+ * export const paginationUserLocationsDetails = {
129
+ * totalObjectsInFolder: paginatedUserLocationsExample.then(paginatedUserLocationsExample => paginatedUserLocationsExample.total),
130
+ * limitUsed: paginatedUserLocationsExample.then(paginatedUserLocationsExample => paginatedUserLocationsExample.limit),
131
+ * };
132
+ * ```
133
+ */
134
+ export declare function getForwardingProfileUserLocationListOutput(args?: GetForwardingProfileUserLocationListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetForwardingProfileUserLocationListResult>;
135
+ /**
136
+ * A collection of arguments for invoking getForwardingProfileUserLocationList.
137
+ */
138
+ export interface GetForwardingProfileUserLocationListOutputArgs {
139
+ /**
140
+ * The device of the item.
141
+ */
142
+ device?: pulumi.Input<string>;
143
+ /**
144
+ * The folder of the item. Default: Shared.
145
+ */
146
+ folder?: pulumi.Input<string>;
147
+ /**
148
+ * The max number of items to return. Default: 200.
149
+ */
150
+ limit?: pulumi.Input<number>;
151
+ /**
152
+ * The name of the item.
153
+ */
154
+ name?: pulumi.Input<string>;
155
+ /**
156
+ * The offset of the first item to return.
157
+ */
158
+ offset?: pulumi.Input<number>;
159
+ /**
160
+ * The snippet of the item.
161
+ */
162
+ snippet?: pulumi.Input<string>;
163
+ }
@@ -0,0 +1,90 @@
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.getForwardingProfileUserLocationListOutput = exports.getForwardingProfileUserLocationList = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Retrieves a listing of config items.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as scm from "@pulumi/scm";
16
+ *
17
+ * // This data source will call the "ListForwardingProfileUserLocations" API endpoint
18
+ * // and return all forwarding profile user locations in the "Mobile Users" folder.
19
+ * // 1. Use a single data block to fetch ALL user locations in the "Mobile Users" folder.
20
+ * const allMobileUsers = scm.getForwardingProfileUserLocationList({
21
+ * folder: "Mobile Users",
22
+ * });
23
+ * export const forwardingProfileUserLocationDataSourceResultsFromList = allMobileUsers.then(allMobileUsers => .reduce((__obj, loc) => ({ ...__obj, [loc.id]: loc }), {}));
24
+ * const paginatedUserLocationsExample = scm.getForwardingProfileUserLocationList({
25
+ * folder: "Mobile Users",
26
+ * limit: 5,
27
+ * offset: 0,
28
+ * });
29
+ * export const paginatedUserLocations = paginatedUserLocationsExample.then(paginatedUserLocationsExample => .reduce((__obj, loc) => ({ ...__obj, [loc.id]: loc }), {}));
30
+ * export const paginationUserLocationsDetails = {
31
+ * totalObjectsInFolder: paginatedUserLocationsExample.then(paginatedUserLocationsExample => paginatedUserLocationsExample.total),
32
+ * limitUsed: paginatedUserLocationsExample.then(paginatedUserLocationsExample => paginatedUserLocationsExample.limit),
33
+ * };
34
+ * ```
35
+ */
36
+ function getForwardingProfileUserLocationList(args, opts) {
37
+ args = args || {};
38
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
+ return pulumi.runtime.invoke("scm:index/getForwardingProfileUserLocationList:getForwardingProfileUserLocationList", {
40
+ "device": args.device,
41
+ "folder": args.folder,
42
+ "limit": args.limit,
43
+ "name": args.name,
44
+ "offset": args.offset,
45
+ "snippet": args.snippet,
46
+ }, opts);
47
+ }
48
+ exports.getForwardingProfileUserLocationList = getForwardingProfileUserLocationList;
49
+ /**
50
+ * Retrieves a listing of config items.
51
+ *
52
+ * ## Example Usage
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as scm from "@pulumi/scm";
57
+ *
58
+ * // This data source will call the "ListForwardingProfileUserLocations" API endpoint
59
+ * // and return all forwarding profile user locations in the "Mobile Users" folder.
60
+ * // 1. Use a single data block to fetch ALL user locations in the "Mobile Users" folder.
61
+ * const allMobileUsers = scm.getForwardingProfileUserLocationList({
62
+ * folder: "Mobile Users",
63
+ * });
64
+ * export const forwardingProfileUserLocationDataSourceResultsFromList = allMobileUsers.then(allMobileUsers => .reduce((__obj, loc) => ({ ...__obj, [loc.id]: loc }), {}));
65
+ * const paginatedUserLocationsExample = scm.getForwardingProfileUserLocationList({
66
+ * folder: "Mobile Users",
67
+ * limit: 5,
68
+ * offset: 0,
69
+ * });
70
+ * export const paginatedUserLocations = paginatedUserLocationsExample.then(paginatedUserLocationsExample => .reduce((__obj, loc) => ({ ...__obj, [loc.id]: loc }), {}));
71
+ * export const paginationUserLocationsDetails = {
72
+ * totalObjectsInFolder: paginatedUserLocationsExample.then(paginatedUserLocationsExample => paginatedUserLocationsExample.total),
73
+ * limitUsed: paginatedUserLocationsExample.then(paginatedUserLocationsExample => paginatedUserLocationsExample.limit),
74
+ * };
75
+ * ```
76
+ */
77
+ function getForwardingProfileUserLocationListOutput(args, opts) {
78
+ args = args || {};
79
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
80
+ return pulumi.runtime.invokeOutput("scm:index/getForwardingProfileUserLocationList:getForwardingProfileUserLocationList", {
81
+ "device": args.device,
82
+ "folder": args.folder,
83
+ "limit": args.limit,
84
+ "name": args.name,
85
+ "offset": args.offset,
86
+ "snippet": args.snippet,
87
+ }, opts);
88
+ }
89
+ exports.getForwardingProfileUserLocationListOutput = getForwardingProfileUserLocationListOutput;
90
+ //# sourceMappingURL=getForwardingProfileUserLocationList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getForwardingProfileUserLocationList.js","sourceRoot":"","sources":["../getForwardingProfileUserLocationList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,oCAAoC,CAAC,IAA+C,EAAE,IAA2B;IAC7H,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qFAAqF,EAAE;QAChH,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,oFAWC;AA6ED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,0CAA0C,CAAC,IAAqD,EAAE,IAAiC;IAC/I,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qFAAqF,EAAE;QACtH,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gGAWC"}
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
16
16
  * export const globalprotectMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
17
17
  * name: item.name,
18
18
  * folder: item.folder,
19
- * } })));
19
+ * } }), {}));
20
20
  * ```
21
21
  */
22
22
  export declare function getGlobalprotectMatchListList(args?: GetGlobalprotectMatchListListArgs, opts?: pulumi.InvokeOptions): Promise<GetGlobalprotectMatchListListResult>;
@@ -110,7 +110,7 @@ export interface GetGlobalprotectMatchListListResult {
110
110
  * export const globalprotectMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
111
111
  * name: item.name,
112
112
  * folder: item.folder,
113
- * } })));
113
+ * } }), {}));
114
114
  * ```
115
115
  */
116
116
  export declare function getGlobalprotectMatchListListOutput(args?: GetGlobalprotectMatchListListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGlobalprotectMatchListListResult>;
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
21
21
  * export const globalprotectMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
22
22
  * name: item.name,
23
23
  * folder: item.folder,
24
- * } })));
24
+ * } }), {}));
25
25
  * ```
26
26
  */
27
27
  function getGlobalprotectMatchListList(args, opts) {
@@ -53,7 +53,7 @@ exports.getGlobalprotectMatchListList = getGlobalprotectMatchListList;
53
53
  * export const globalprotectMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
54
54
  * name: item.name,
55
55
  * folder: item.folder,
56
- * } })));
56
+ * } }), {}));
57
57
  * ```
58
58
  */
59
59
  function getGlobalprotectMatchListListOutput(args, opts) {
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
16
16
  * export const hipmatchMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
17
17
  * name: item.name,
18
18
  * folder: item.folder,
19
- * } })));
19
+ * } }), {}));
20
20
  * ```
21
21
  */
22
22
  export declare function getHipmatchMatchListList(args?: GetHipmatchMatchListListArgs, opts?: pulumi.InvokeOptions): Promise<GetHipmatchMatchListListResult>;
@@ -110,7 +110,7 @@ export interface GetHipmatchMatchListListResult {
110
110
  * export const hipmatchMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
111
111
  * name: item.name,
112
112
  * folder: item.folder,
113
- * } })));
113
+ * } }), {}));
114
114
  * ```
115
115
  */
116
116
  export declare function getHipmatchMatchListListOutput(args?: GetHipmatchMatchListListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetHipmatchMatchListListResult>;
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
21
21
  * export const hipmatchMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
22
22
  * name: item.name,
23
23
  * folder: item.folder,
24
- * } })));
24
+ * } }), {}));
25
25
  * ```
26
26
  */
27
27
  function getHipmatchMatchListList(args, opts) {
@@ -53,7 +53,7 @@ exports.getHipmatchMatchListList = getHipmatchMatchListList;
53
53
  * export const hipmatchMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
54
54
  * name: item.name,
55
55
  * folder: item.folder,
56
- * } })));
56
+ * } }), {}));
57
57
  * ```
58
58
  */
59
59
  function getHipmatchMatchListListOutput(args, opts) {
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
16
16
  * export const iptagMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
17
17
  * name: item.name,
18
18
  * folder: item.folder,
19
- * } })));
19
+ * } }), {}));
20
20
  * ```
21
21
  */
22
22
  export declare function getIptagMatchListList(args?: GetIptagMatchListListArgs, opts?: pulumi.InvokeOptions): Promise<GetIptagMatchListListResult>;
@@ -110,7 +110,7 @@ export interface GetIptagMatchListListResult {
110
110
  * export const iptagMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
111
111
  * name: item.name,
112
112
  * folder: item.folder,
113
- * } })));
113
+ * } }), {}));
114
114
  * ```
115
115
  */
116
116
  export declare function getIptagMatchListListOutput(args?: GetIptagMatchListListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIptagMatchListListResult>;
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
21
21
  * export const iptagMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
22
22
  * name: item.name,
23
23
  * folder: item.folder,
24
- * } })));
24
+ * } }), {}));
25
25
  * ```
26
26
  */
27
27
  function getIptagMatchListList(args, opts) {
@@ -53,7 +53,7 @@ exports.getIptagMatchListList = getIptagMatchListList;
53
53
  * export const iptagMatchListListResults = example.then(example => .reduce((__obj, item) => ({ ...__obj, [item.id]: {
54
54
  * name: item.name,
55
55
  * folder: item.folder,
56
- * } })));
56
+ * } }), {}));
57
57
  * ```
58
58
  */
59
59
  function getIptagMatchListListOutput(args, opts) {
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
13
13
  * const allLayer2Subinterfaces = scm.getLayer2SubinterfaceList({
14
14
  * folder: "ngfw-shared",
15
15
  * });
16
- * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
16
+ * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
17
17
  * ```
18
18
  */
19
19
  export declare function getLayer2SubinterfaceList(args?: GetLayer2SubinterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetLayer2SubinterfaceListResult>;
@@ -104,7 +104,7 @@ export interface GetLayer2SubinterfaceListResult {
104
104
  * const allLayer2Subinterfaces = scm.getLayer2SubinterfaceList({
105
105
  * folder: "ngfw-shared",
106
106
  * });
107
- * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
107
+ * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
108
108
  * ```
109
109
  */
110
110
  export declare function getLayer2SubinterfaceListOutput(args?: GetLayer2SubinterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLayer2SubinterfaceListResult>;
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
18
18
  * const allLayer2Subinterfaces = scm.getLayer2SubinterfaceList({
19
19
  * folder: "ngfw-shared",
20
20
  * });
21
- * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
21
+ * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
22
22
  * ```
23
23
  */
24
24
  function getLayer2SubinterfaceList(args, opts) {
@@ -47,7 +47,7 @@ exports.getLayer2SubinterfaceList = getLayer2SubinterfaceList;
47
47
  * const allLayer2Subinterfaces = scm.getLayer2SubinterfaceList({
48
48
  * folder: "ngfw-shared",
49
49
  * });
50
- * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
50
+ * export const scmLayer2SubinterfaceList = allLayer2Subinterfaces.then(allLayer2Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
51
51
  * ```
52
52
  */
53
53
  function getLayer2SubinterfaceListOutput(args, opts) {
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
13
13
  * const allLayer3Subinterfaces = scm.getLayer3SubinterfaceList({
14
14
  * folder: "ngfw-shared",
15
15
  * });
16
- * export const scmLayer3SubinterfaceList = allLayer3Subinterfaces.then(allLayer3Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
16
+ * export const scmLayer3SubinterfaceList = allLayer3Subinterfaces.then(allLayer3Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
17
17
  * ```
18
18
  */
19
19
  export declare function getLayer3SubinterfaceList(args?: GetLayer3SubinterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetLayer3SubinterfaceListResult>;
@@ -104,7 +104,7 @@ export interface GetLayer3SubinterfaceListResult {
104
104
  * const allLayer3Subinterfaces = scm.getLayer3SubinterfaceList({
105
105
  * folder: "ngfw-shared",
106
106
  * });
107
- * export const scmLayer3SubinterfaceList = allLayer3Subinterfaces.then(allLayer3Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
107
+ * export const scmLayer3SubinterfaceList = allLayer3Subinterfaces.then(allLayer3Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
108
108
  * ```
109
109
  */
110
110
  export declare function getLayer3SubinterfaceListOutput(args?: GetLayer3SubinterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLayer3SubinterfaceListResult>;
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
18
18
  * const allLayer3Subinterfaces = scm.getLayer3SubinterfaceList({
19
19
  * folder: "ngfw-shared",
20
20
  * });
21
- * export const scmLayer3SubinterfaceList = allLayer3Subinterfaces.then(allLayer3Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
21
+ * export const scmLayer3SubinterfaceList = allLayer3Subinterfaces.then(allLayer3Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
22
22
  * ```
23
23
  */
24
24
  function getLayer3SubinterfaceList(args, opts) {
@@ -47,7 +47,7 @@ exports.getLayer3SubinterfaceList = getLayer3SubinterfaceList;
47
47
  * const allLayer3Subinterfaces = scm.getLayer3SubinterfaceList({
48
48
  * folder: "ngfw-shared",
49
49
  * });
50
- * export const scmLayer3SubinterfaceList = allLayer3Subinterfaces.then(allLayer3Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
50
+ * export const scmLayer3SubinterfaceList = allLayer3Subinterfaces.then(allLayer3Subinterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
51
51
  * ```
52
52
  */
53
53
  function getLayer3SubinterfaceListOutput(args, opts) {