@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.
- package/forwardingProfile.d.ts +294 -0
- package/forwardingProfile.js +247 -0
- package/forwardingProfile.js.map +1 -0
- package/forwardingProfileDestination.d.ts +190 -0
- package/forwardingProfileDestination.js +143 -0
- package/forwardingProfileDestination.js.map +1 -0
- package/forwardingProfileRegionalAndCustomProxy.d.ts +289 -0
- package/forwardingProfileRegionalAndCustomProxy.js +192 -0
- package/forwardingProfileRegionalAndCustomProxy.js.map +1 -0
- package/forwardingProfileSourceApplication.d.ts +161 -0
- package/forwardingProfileSourceApplication.js +129 -0
- package/forwardingProfileSourceApplication.js.map +1 -0
- package/forwardingProfileUserLocation.d.ts +172 -0
- package/forwardingProfileUserLocation.js +125 -0
- package/forwardingProfileUserLocation.js.map +1 -0
- package/getAddressGroupList.d.ts +4 -4
- package/getAddressGroupList.js +4 -4
- package/getAddressList.d.ts +4 -4
- package/getAddressList.js +4 -4
- package/getAggregateInterfaceList.d.ts +2 -2
- package/getAggregateInterfaceList.js +2 -2
- package/getApplicationGroupList.d.ts +4 -4
- package/getApplicationGroupList.js +4 -4
- package/getBgpAuthProfileList.d.ts +2 -2
- package/getBgpAuthProfileList.js +2 -2
- package/getBgpRedistributionProfileList.d.ts +2 -2
- package/getBgpRedistributionProfileList.js +2 -2
- package/getBgpRouteMapList.d.ts +2 -2
- package/getBgpRouteMapList.js +2 -2
- package/getConfigMatchListList.d.ts +2 -2
- package/getConfigMatchListList.js +2 -2
- package/getDevice.d.ts +267 -0
- package/getDevice.js +82 -0
- package/getDevice.js.map +1 -0
- package/getDeviceList.d.ts +171 -0
- package/getDeviceList.js +88 -0
- package/getDeviceList.js.map +1 -0
- package/getDynamicUserGroupList.d.ts +4 -4
- package/getDynamicUserGroupList.js +4 -4
- package/getEthernetInterfaceList.d.ts +2 -2
- package/getEthernetInterfaceList.js +2 -2
- package/getForwardingProfile.d.ts +137 -0
- package/getForwardingProfile.js +92 -0
- package/getForwardingProfile.js.map +1 -0
- package/getForwardingProfileDestination.d.ts +127 -0
- package/getForwardingProfileDestination.js +82 -0
- package/getForwardingProfileDestination.js.map +1 -0
- package/getForwardingProfileDestinationList.d.ts +163 -0
- package/getForwardingProfileDestinationList.js +90 -0
- package/getForwardingProfileDestinationList.js.map +1 -0
- package/getForwardingProfileList.d.ts +163 -0
- package/getForwardingProfileList.js +90 -0
- package/getForwardingProfileList.js.map +1 -0
- package/getForwardingProfileRegionalAndCustomProxy.d.ts +157 -0
- package/getForwardingProfileRegionalAndCustomProxy.js +92 -0
- package/getForwardingProfileRegionalAndCustomProxy.js.map +1 -0
- package/getForwardingProfileRegionalAndCustomProxyList.d.ts +163 -0
- package/getForwardingProfileRegionalAndCustomProxyList.js +90 -0
- package/getForwardingProfileRegionalAndCustomProxyList.js.map +1 -0
- package/getForwardingProfileSourceApplication.d.ts +98 -0
- package/getForwardingProfileSourceApplication.js +58 -0
- package/getForwardingProfileSourceApplication.js.map +1 -0
- package/getForwardingProfileSourceApplicationList.d.ts +113 -0
- package/getForwardingProfileSourceApplicationList.js +40 -0
- package/getForwardingProfileSourceApplicationList.js.map +1 -0
- package/getForwardingProfileUserLocation.d.ts +127 -0
- package/getForwardingProfileUserLocation.js +82 -0
- package/getForwardingProfileUserLocation.js.map +1 -0
- package/getForwardingProfileUserLocationList.d.ts +163 -0
- package/getForwardingProfileUserLocationList.js +90 -0
- package/getForwardingProfileUserLocationList.js.map +1 -0
- package/getGlobalprotectMatchListList.d.ts +2 -2
- package/getGlobalprotectMatchListList.js +2 -2
- package/getHipmatchMatchListList.d.ts +2 -2
- package/getHipmatchMatchListList.js +2 -2
- package/getIptagMatchListList.d.ts +2 -2
- package/getIptagMatchListList.js +2 -2
- package/getLayer2SubinterfaceList.d.ts +2 -2
- package/getLayer2SubinterfaceList.js +2 -2
- package/getLayer3SubinterfaceList.d.ts +2 -2
- package/getLayer3SubinterfaceList.js +2 -2
- package/getLogicalRouterList.d.ts +2 -2
- package/getLogicalRouterList.js +2 -2
- package/getLoopbackInterfaceList.d.ts +2 -2
- package/getLoopbackInterfaceList.js +2 -2
- package/getServiceConnection.d.ts +4 -0
- package/getServiceConnection.js.map +1 -1
- package/getServiceList.d.ts +2 -2
- package/getServiceList.js +2 -2
- package/getSystemMatchListList.d.ts +2 -2
- package/getSystemMatchListList.js +2 -2
- package/getTunnelInterfaceList.d.ts +2 -2
- package/getTunnelInterfaceList.js +2 -2
- package/getUseridMatchListList.d.ts +2 -2
- package/getUseridMatchListList.js +2 -2
- package/getVlanInterfaceList.d.ts +2 -2
- package/getVlanInterfaceList.js +2 -2
- package/getZoneList.d.ts +2 -2
- package/getZoneList.js +2 -2
- package/index.d.ts +51 -0
- package/index.js +74 -13
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/securityRule.d.ts +27 -0
- package/securityRule.js +27 -0
- package/securityRule.js.map +1 -1
- package/serviceConnection.d.ts +12 -0
- package/serviceConnection.js +2 -0
- package/serviceConnection.js.map +1 -1
- package/types/input.d.ts +335 -1
- package/types/output.d.ts +1423 -1
|
@@ -0,0 +1,125 @@
|
|
|
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.ForwardingProfileUserLocation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ForwardingProfileUserLocation resource
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scm from "@pulumi/scm";
|
|
16
|
+
*
|
|
17
|
+
* // This file is embedded using go:embed
|
|
18
|
+
* // IP addresses only
|
|
19
|
+
* const scmUserLocation1 = new scm.ForwardingProfileUserLocation("scm_user_location_1", {
|
|
20
|
+
* folder: "Mobile Users",
|
|
21
|
+
* name: "tf_user_location_1",
|
|
22
|
+
* description: "Made by Pulumi",
|
|
23
|
+
* ipAddresses: [
|
|
24
|
+
* "10.0.0.0/8",
|
|
25
|
+
* "192.168.1.0/24",
|
|
26
|
+
* ],
|
|
27
|
+
* });
|
|
28
|
+
* // Internal host detection only
|
|
29
|
+
* const scmUserLocation2 = new scm.ForwardingProfileUserLocation("scm_user_location_2", {
|
|
30
|
+
* folder: "Mobile Users",
|
|
31
|
+
* name: "tf_user_location_2",
|
|
32
|
+
* description: "Internal host detection test",
|
|
33
|
+
* internalHostDetection: {
|
|
34
|
+
* ipAddress: "10.10.0.1",
|
|
35
|
+
* fqdn: "internal.corp.example.com",
|
|
36
|
+
* },
|
|
37
|
+
* });
|
|
38
|
+
* // Multiple IP addresses with wildcard
|
|
39
|
+
* const scmUserLocation4 = new scm.ForwardingProfileUserLocation("scm_user_location_4", {
|
|
40
|
+
* folder: "Mobile Users",
|
|
41
|
+
* name: "tf_user_location_4",
|
|
42
|
+
* description: "Multiple IP ranges for office locations",
|
|
43
|
+
* ipAddresses: [
|
|
44
|
+
* "10.0.0.0/8",
|
|
45
|
+
* "172.16.0.0/12",
|
|
46
|
+
* "192.168.0.0/16",
|
|
47
|
+
* "203.0.113.0/24",
|
|
48
|
+
* ],
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* ## Import
|
|
53
|
+
*
|
|
54
|
+
* The following command can be used to import a resource not managed by Terraform:
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example folder:::id
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* or
|
|
61
|
+
*
|
|
62
|
+
* ```sh
|
|
63
|
+
* $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example :snippet::id
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* or
|
|
67
|
+
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation example ::device:id
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* **Note:** Please provide just one of folder, snippet, or device for the import command.
|
|
73
|
+
*/
|
|
74
|
+
class ForwardingProfileUserLocation extends pulumi.CustomResource {
|
|
75
|
+
/**
|
|
76
|
+
* Get an existing ForwardingProfileUserLocation resource's state with the given name, ID, and optional extra
|
|
77
|
+
* properties used to qualify the lookup.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resulting resource.
|
|
80
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
81
|
+
* @param state Any extra arguments used during the lookup.
|
|
82
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
83
|
+
*/
|
|
84
|
+
static get(name, id, state, opts) {
|
|
85
|
+
return new ForwardingProfileUserLocation(name, state, { ...opts, id: id });
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Returns true if the given object is an instance of ForwardingProfileUserLocation. This is designed to work even
|
|
89
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
90
|
+
*/
|
|
91
|
+
static isInstance(obj) {
|
|
92
|
+
if (obj === undefined || obj === null) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return obj['__pulumiType'] === ForwardingProfileUserLocation.__pulumiType;
|
|
96
|
+
}
|
|
97
|
+
constructor(name, argsOrState, opts) {
|
|
98
|
+
let resourceInputs = {};
|
|
99
|
+
opts = opts || {};
|
|
100
|
+
if (opts.id) {
|
|
101
|
+
const state = argsOrState;
|
|
102
|
+
resourceInputs["description"] = state?.description;
|
|
103
|
+
resourceInputs["folder"] = state?.folder;
|
|
104
|
+
resourceInputs["internalHostDetection"] = state?.internalHostDetection;
|
|
105
|
+
resourceInputs["ipAddresses"] = state?.ipAddresses;
|
|
106
|
+
resourceInputs["name"] = state?.name;
|
|
107
|
+
resourceInputs["tfid"] = state?.tfid;
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
const args = argsOrState;
|
|
111
|
+
resourceInputs["description"] = args?.description;
|
|
112
|
+
resourceInputs["folder"] = args?.folder;
|
|
113
|
+
resourceInputs["internalHostDetection"] = args?.internalHostDetection;
|
|
114
|
+
resourceInputs["ipAddresses"] = args?.ipAddresses;
|
|
115
|
+
resourceInputs["name"] = args?.name;
|
|
116
|
+
resourceInputs["tfid"] = undefined /*out*/;
|
|
117
|
+
}
|
|
118
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
119
|
+
super(ForwardingProfileUserLocation.__pulumiType, name, resourceInputs, opts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.ForwardingProfileUserLocation = ForwardingProfileUserLocation;
|
|
123
|
+
/** @internal */
|
|
124
|
+
ForwardingProfileUserLocation.__pulumiType = 'scm:index/forwardingProfileUserLocation:ForwardingProfileUserLocation';
|
|
125
|
+
//# sourceMappingURL=forwardingProfileUserLocation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"forwardingProfileUserLocation.js","sourceRoot":"","sources":["../forwardingProfileUserLocation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,IAAI,6BAA6B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpF,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,6BAA6B,CAAC,YAAY,CAAC;IAC9E,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6D,CAAC;YAC5E,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,EAAE,qBAAqB,CAAC;YACvE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAA4D,CAAC;YAC1E,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,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,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AAnFL,sEAoFC;AAtEG,gBAAgB;AACO,0CAAY,GAAG,uEAAuE,CAAC"}
|
package/getAddressGroupList.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* const allShared = scm.getAddressGroupList({
|
|
16
16
|
* folder: "All",
|
|
17
17
|
* });
|
|
18
|
-
* export const addressGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
18
|
+
* export const addressGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
19
19
|
* const paginatedAddressGroupsExample = scm.getAddressGroupList({
|
|
20
20
|
* folder: "All",
|
|
21
21
|
* limit: 5,
|
|
22
22
|
* offset: 0,
|
|
23
23
|
* });
|
|
24
|
-
* export const paginatedAddressGroups = paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
24
|
+
* export const paginatedAddressGroups = paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
25
25
|
* export const paginationAddressGroupsDetails = {
|
|
26
26
|
* totalObjectsInFolder: paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => paginatedAddressGroupsExample.total),
|
|
27
27
|
* limitUsed: paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => paginatedAddressGroupsExample.limit),
|
|
@@ -118,13 +118,13 @@ export interface GetAddressGroupListResult {
|
|
|
118
118
|
* const allShared = scm.getAddressGroupList({
|
|
119
119
|
* folder: "All",
|
|
120
120
|
* });
|
|
121
|
-
* export const addressGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
121
|
+
* export const addressGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
122
122
|
* const paginatedAddressGroupsExample = scm.getAddressGroupList({
|
|
123
123
|
* folder: "All",
|
|
124
124
|
* limit: 5,
|
|
125
125
|
* offset: 0,
|
|
126
126
|
* });
|
|
127
|
-
* export const paginatedAddressGroups = paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
127
|
+
* export const paginatedAddressGroups = paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
128
128
|
* export const paginationAddressGroupsDetails = {
|
|
129
129
|
* totalObjectsInFolder: paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => paginatedAddressGroupsExample.total),
|
|
130
130
|
* limitUsed: paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => paginatedAddressGroupsExample.limit),
|
package/getAddressGroupList.js
CHANGED
|
@@ -20,13 +20,13 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* const allShared = scm.getAddressGroupList({
|
|
21
21
|
* folder: "All",
|
|
22
22
|
* });
|
|
23
|
-
* export const addressGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
23
|
+
* export const addressGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
24
24
|
* const paginatedAddressGroupsExample = scm.getAddressGroupList({
|
|
25
25
|
* folder: "All",
|
|
26
26
|
* limit: 5,
|
|
27
27
|
* offset: 0,
|
|
28
28
|
* });
|
|
29
|
-
* export const paginatedAddressGroups = paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
29
|
+
* export const paginatedAddressGroups = paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
30
30
|
* export const paginationAddressGroupsDetails = {
|
|
31
31
|
* totalObjectsInFolder: paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => paginatedAddressGroupsExample.total),
|
|
32
32
|
* limitUsed: paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => paginatedAddressGroupsExample.limit),
|
|
@@ -61,13 +61,13 @@ exports.getAddressGroupList = getAddressGroupList;
|
|
|
61
61
|
* const allShared = scm.getAddressGroupList({
|
|
62
62
|
* folder: "All",
|
|
63
63
|
* });
|
|
64
|
-
* export const addressGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
64
|
+
* export const addressGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
65
65
|
* const paginatedAddressGroupsExample = scm.getAddressGroupList({
|
|
66
66
|
* folder: "All",
|
|
67
67
|
* limit: 5,
|
|
68
68
|
* offset: 0,
|
|
69
69
|
* });
|
|
70
|
-
* export const paginatedAddressGroups = paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
70
|
+
* export const paginatedAddressGroups = paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
71
71
|
* export const paginationAddressGroupsDetails = {
|
|
72
72
|
* totalObjectsInFolder: paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => paginatedAddressGroupsExample.total),
|
|
73
73
|
* limitUsed: paginatedAddressGroupsExample.then(paginatedAddressGroupsExample => paginatedAddressGroupsExample.limit),
|
package/getAddressList.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* const allShared = scm.getAddressList({
|
|
16
16
|
* folder: "All",
|
|
17
17
|
* });
|
|
18
|
-
* export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
18
|
+
* export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
19
19
|
* const paginatedAddressesExample = scm.getAddressList({
|
|
20
20
|
* folder: "All",
|
|
21
21
|
* limit: 5,
|
|
22
22
|
* offset: 0,
|
|
23
23
|
* });
|
|
24
|
-
* export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
24
|
+
* export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
25
25
|
* export const paginationAddressesDetails = {
|
|
26
26
|
* totalObjectsInFolder: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.total),
|
|
27
27
|
* limitUsed: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.limit),
|
|
@@ -118,13 +118,13 @@ export interface GetAddressListResult {
|
|
|
118
118
|
* const allShared = scm.getAddressList({
|
|
119
119
|
* folder: "All",
|
|
120
120
|
* });
|
|
121
|
-
* export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
121
|
+
* export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
122
122
|
* const paginatedAddressesExample = scm.getAddressList({
|
|
123
123
|
* folder: "All",
|
|
124
124
|
* limit: 5,
|
|
125
125
|
* offset: 0,
|
|
126
126
|
* });
|
|
127
|
-
* export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
127
|
+
* export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
128
128
|
* export const paginationAddressesDetails = {
|
|
129
129
|
* totalObjectsInFolder: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.total),
|
|
130
130
|
* limitUsed: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.limit),
|
package/getAddressList.js
CHANGED
|
@@ -20,13 +20,13 @@ const utilities = require("./utilities");
|
|
|
20
20
|
* const allShared = scm.getAddressList({
|
|
21
21
|
* folder: "All",
|
|
22
22
|
* });
|
|
23
|
-
* export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
23
|
+
* export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
24
24
|
* const paginatedAddressesExample = scm.getAddressList({
|
|
25
25
|
* folder: "All",
|
|
26
26
|
* limit: 5,
|
|
27
27
|
* offset: 0,
|
|
28
28
|
* });
|
|
29
|
-
* export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
29
|
+
* export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
30
30
|
* export const paginationAddressesDetails = {
|
|
31
31
|
* totalObjectsInFolder: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.total),
|
|
32
32
|
* limitUsed: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.limit),
|
|
@@ -61,13 +61,13 @@ exports.getAddressList = getAddressList;
|
|
|
61
61
|
* const allShared = scm.getAddressList({
|
|
62
62
|
* folder: "All",
|
|
63
63
|
* });
|
|
64
|
-
* export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
64
|
+
* export const addressDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
65
65
|
* const paginatedAddressesExample = scm.getAddressList({
|
|
66
66
|
* folder: "All",
|
|
67
67
|
* limit: 5,
|
|
68
68
|
* offset: 0,
|
|
69
69
|
* });
|
|
70
|
-
* export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr })));
|
|
70
|
+
* export const paginatedAddresses = paginatedAddressesExample.then(paginatedAddressesExample => .reduce((__obj, addr) => ({ ...__obj, [addr.id]: addr }), {}));
|
|
71
71
|
* export const paginationAddressesDetails = {
|
|
72
72
|
* totalObjectsInFolder: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.total),
|
|
73
73
|
* limitUsed: paginatedAddressesExample.then(paginatedAddressesExample => paginatedAddressesExample.limit),
|
|
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* const allAggregateInterfaces = scm.getAggregateInterfaceList({
|
|
14
14
|
* folder: "ngfw-shared",
|
|
15
15
|
* });
|
|
16
|
-
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
16
|
+
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare function getAggregateInterfaceList(args?: GetAggregateInterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetAggregateInterfaceListResult>;
|
|
@@ -104,7 +104,7 @@ export interface GetAggregateInterfaceListResult {
|
|
|
104
104
|
* const allAggregateInterfaces = scm.getAggregateInterfaceList({
|
|
105
105
|
* folder: "ngfw-shared",
|
|
106
106
|
* });
|
|
107
|
-
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
107
|
+
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
|
|
108
108
|
* ```
|
|
109
109
|
*/
|
|
110
110
|
export declare function getAggregateInterfaceListOutput(args?: GetAggregateInterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAggregateInterfaceListResult>;
|
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* const allAggregateInterfaces = scm.getAggregateInterfaceList({
|
|
19
19
|
* folder: "ngfw-shared",
|
|
20
20
|
* });
|
|
21
|
-
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
21
|
+
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getAggregateInterfaceList(args, opts) {
|
|
@@ -47,7 +47,7 @@ exports.getAggregateInterfaceList = getAggregateInterfaceList;
|
|
|
47
47
|
* const allAggregateInterfaces = scm.getAggregateInterfaceList({
|
|
48
48
|
* folder: "ngfw-shared",
|
|
49
49
|
* });
|
|
50
|
-
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
50
|
+
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
function getAggregateInterfaceListOutput(args, opts) {
|
|
@@ -13,14 +13,14 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* const allShared = scm.getApplicationGroupList({
|
|
14
14
|
* folder: "All",
|
|
15
15
|
* });
|
|
16
|
-
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
16
|
+
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group }), {}));
|
|
17
17
|
* // Example of using pagination to get a subset of application groups.
|
|
18
18
|
* const paginatedExample = scm.getApplicationGroupList({
|
|
19
19
|
* folder: "All",
|
|
20
20
|
* limit: 5,
|
|
21
21
|
* offset: 0,
|
|
22
22
|
* });
|
|
23
|
-
* export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
23
|
+
* export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group }), {}));
|
|
24
24
|
* export const paginationApplicationGroupsDetails = {
|
|
25
25
|
* totalObjectsInFolder: paginatedExample.then(paginatedExample => paginatedExample.total),
|
|
26
26
|
* limitUsed: paginatedExample.then(paginatedExample => paginatedExample.limit),
|
|
@@ -115,14 +115,14 @@ export interface GetApplicationGroupListResult {
|
|
|
115
115
|
* const allShared = scm.getApplicationGroupList({
|
|
116
116
|
* folder: "All",
|
|
117
117
|
* });
|
|
118
|
-
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
118
|
+
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group }), {}));
|
|
119
119
|
* // Example of using pagination to get a subset of application groups.
|
|
120
120
|
* const paginatedExample = scm.getApplicationGroupList({
|
|
121
121
|
* folder: "All",
|
|
122
122
|
* limit: 5,
|
|
123
123
|
* offset: 0,
|
|
124
124
|
* });
|
|
125
|
-
* export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
125
|
+
* export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group }), {}));
|
|
126
126
|
* export const paginationApplicationGroupsDetails = {
|
|
127
127
|
* totalObjectsInFolder: paginatedExample.then(paginatedExample => paginatedExample.total),
|
|
128
128
|
* limitUsed: paginatedExample.then(paginatedExample => paginatedExample.limit),
|
|
@@ -18,14 +18,14 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* const allShared = scm.getApplicationGroupList({
|
|
19
19
|
* folder: "All",
|
|
20
20
|
* });
|
|
21
|
-
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
21
|
+
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group }), {}));
|
|
22
22
|
* // Example of using pagination to get a subset of application groups.
|
|
23
23
|
* const paginatedExample = scm.getApplicationGroupList({
|
|
24
24
|
* folder: "All",
|
|
25
25
|
* limit: 5,
|
|
26
26
|
* offset: 0,
|
|
27
27
|
* });
|
|
28
|
-
* export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
28
|
+
* export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group }), {}));
|
|
29
29
|
* export const paginationApplicationGroupsDetails = {
|
|
30
30
|
* totalObjectsInFolder: paginatedExample.then(paginatedExample => paginatedExample.total),
|
|
31
31
|
* limitUsed: paginatedExample.then(paginatedExample => paginatedExample.limit),
|
|
@@ -58,14 +58,14 @@ exports.getApplicationGroupList = getApplicationGroupList;
|
|
|
58
58
|
* const allShared = scm.getApplicationGroupList({
|
|
59
59
|
* folder: "All",
|
|
60
60
|
* });
|
|
61
|
-
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
61
|
+
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group }), {}));
|
|
62
62
|
* // Example of using pagination to get a subset of application groups.
|
|
63
63
|
* const paginatedExample = scm.getApplicationGroupList({
|
|
64
64
|
* folder: "All",
|
|
65
65
|
* limit: 5,
|
|
66
66
|
* offset: 0,
|
|
67
67
|
* });
|
|
68
|
-
* export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
68
|
+
* export const paginatedApplicationGroups = paginatedExample.then(paginatedExample => .reduce((__obj, group) => ({ ...__obj, [group.id]: group }), {}));
|
|
69
69
|
* export const paginationApplicationGroupsDetails = {
|
|
70
70
|
* totalObjectsInFolder: paginatedExample.then(paginatedExample => paginatedExample.total),
|
|
71
71
|
* limitUsed: paginatedExample.then(paginatedExample => paginatedExample.limit),
|
|
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* const allBgpAuthProfiles = scm.getBgpAuthProfileList({
|
|
14
14
|
* folder: "ngfw-shared",
|
|
15
15
|
* });
|
|
16
|
-
* export const scmBgpAuthProfileList = allBgpAuthProfiles.then(allBgpAuthProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile })));
|
|
16
|
+
* export const scmBgpAuthProfileList = allBgpAuthProfiles.then(allBgpAuthProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile }), {}));
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare function getBgpAuthProfileList(args?: GetBgpAuthProfileListArgs, opts?: pulumi.InvokeOptions): Promise<GetBgpAuthProfileListResult>;
|
|
@@ -104,7 +104,7 @@ export interface GetBgpAuthProfileListResult {
|
|
|
104
104
|
* const allBgpAuthProfiles = scm.getBgpAuthProfileList({
|
|
105
105
|
* folder: "ngfw-shared",
|
|
106
106
|
* });
|
|
107
|
-
* export const scmBgpAuthProfileList = allBgpAuthProfiles.then(allBgpAuthProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile })));
|
|
107
|
+
* export const scmBgpAuthProfileList = allBgpAuthProfiles.then(allBgpAuthProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile }), {}));
|
|
108
108
|
* ```
|
|
109
109
|
*/
|
|
110
110
|
export declare function getBgpAuthProfileListOutput(args?: GetBgpAuthProfileListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBgpAuthProfileListResult>;
|
package/getBgpAuthProfileList.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* const allBgpAuthProfiles = scm.getBgpAuthProfileList({
|
|
19
19
|
* folder: "ngfw-shared",
|
|
20
20
|
* });
|
|
21
|
-
* export const scmBgpAuthProfileList = allBgpAuthProfiles.then(allBgpAuthProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile })));
|
|
21
|
+
* export const scmBgpAuthProfileList = allBgpAuthProfiles.then(allBgpAuthProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile }), {}));
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getBgpAuthProfileList(args, opts) {
|
|
@@ -47,7 +47,7 @@ exports.getBgpAuthProfileList = getBgpAuthProfileList;
|
|
|
47
47
|
* const allBgpAuthProfiles = scm.getBgpAuthProfileList({
|
|
48
48
|
* folder: "ngfw-shared",
|
|
49
49
|
* });
|
|
50
|
-
* export const scmBgpAuthProfileList = allBgpAuthProfiles.then(allBgpAuthProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile })));
|
|
50
|
+
* export const scmBgpAuthProfileList = allBgpAuthProfiles.then(allBgpAuthProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile }), {}));
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
function getBgpAuthProfileListOutput(args, opts) {
|
|
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* const allBgpRedistributionProfiles = scm.getBgpRedistributionProfileList({
|
|
14
14
|
* folder: "ngfw-shared",
|
|
15
15
|
* });
|
|
16
|
-
* export const scmBgpRedistributionProfileList = allBgpRedistributionProfiles.then(allBgpRedistributionProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile })));
|
|
16
|
+
* export const scmBgpRedistributionProfileList = allBgpRedistributionProfiles.then(allBgpRedistributionProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile }), {}));
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare function getBgpRedistributionProfileList(args?: GetBgpRedistributionProfileListArgs, opts?: pulumi.InvokeOptions): Promise<GetBgpRedistributionProfileListResult>;
|
|
@@ -104,7 +104,7 @@ export interface GetBgpRedistributionProfileListResult {
|
|
|
104
104
|
* const allBgpRedistributionProfiles = scm.getBgpRedistributionProfileList({
|
|
105
105
|
* folder: "ngfw-shared",
|
|
106
106
|
* });
|
|
107
|
-
* export const scmBgpRedistributionProfileList = allBgpRedistributionProfiles.then(allBgpRedistributionProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile })));
|
|
107
|
+
* export const scmBgpRedistributionProfileList = allBgpRedistributionProfiles.then(allBgpRedistributionProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile }), {}));
|
|
108
108
|
* ```
|
|
109
109
|
*/
|
|
110
110
|
export declare function getBgpRedistributionProfileListOutput(args?: GetBgpRedistributionProfileListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBgpRedistributionProfileListResult>;
|
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* const allBgpRedistributionProfiles = scm.getBgpRedistributionProfileList({
|
|
19
19
|
* folder: "ngfw-shared",
|
|
20
20
|
* });
|
|
21
|
-
* export const scmBgpRedistributionProfileList = allBgpRedistributionProfiles.then(allBgpRedistributionProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile })));
|
|
21
|
+
* export const scmBgpRedistributionProfileList = allBgpRedistributionProfiles.then(allBgpRedistributionProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile }), {}));
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getBgpRedistributionProfileList(args, opts) {
|
|
@@ -47,7 +47,7 @@ exports.getBgpRedistributionProfileList = getBgpRedistributionProfileList;
|
|
|
47
47
|
* const allBgpRedistributionProfiles = scm.getBgpRedistributionProfileList({
|
|
48
48
|
* folder: "ngfw-shared",
|
|
49
49
|
* });
|
|
50
|
-
* export const scmBgpRedistributionProfileList = allBgpRedistributionProfiles.then(allBgpRedistributionProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile })));
|
|
50
|
+
* export const scmBgpRedistributionProfileList = allBgpRedistributionProfiles.then(allBgpRedistributionProfiles => .reduce((__obj, profile) => ({ ...__obj, [profile.id]: profile }), {}));
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
function getBgpRedistributionProfileListOutput(args, opts) {
|
package/getBgpRouteMapList.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
|
|
|
13
13
|
* const allBgpRouteMaps = scm.getBgpRouteMapList({
|
|
14
14
|
* folder: "ngfw-shared",
|
|
15
15
|
* });
|
|
16
|
-
* export const scmBgpRouteMapList = allBgpRouteMaps.then(allBgpRouteMaps => .reduce((__obj, routeMap) => ({ ...__obj, [routeMap.id]: routeMap })));
|
|
16
|
+
* export const scmBgpRouteMapList = allBgpRouteMaps.then(allBgpRouteMaps => .reduce((__obj, routeMap) => ({ ...__obj, [routeMap.id]: routeMap }), {}));
|
|
17
17
|
* ```
|
|
18
18
|
*/
|
|
19
19
|
export declare function getBgpRouteMapList(args?: GetBgpRouteMapListArgs, opts?: pulumi.InvokeOptions): Promise<GetBgpRouteMapListResult>;
|
|
@@ -104,7 +104,7 @@ export interface GetBgpRouteMapListResult {
|
|
|
104
104
|
* const allBgpRouteMaps = scm.getBgpRouteMapList({
|
|
105
105
|
* folder: "ngfw-shared",
|
|
106
106
|
* });
|
|
107
|
-
* export const scmBgpRouteMapList = allBgpRouteMaps.then(allBgpRouteMaps => .reduce((__obj, routeMap) => ({ ...__obj, [routeMap.id]: routeMap })));
|
|
107
|
+
* export const scmBgpRouteMapList = allBgpRouteMaps.then(allBgpRouteMaps => .reduce((__obj, routeMap) => ({ ...__obj, [routeMap.id]: routeMap }), {}));
|
|
108
108
|
* ```
|
|
109
109
|
*/
|
|
110
110
|
export declare function getBgpRouteMapListOutput(args?: GetBgpRouteMapListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBgpRouteMapListResult>;
|
package/getBgpRouteMapList.js
CHANGED
|
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
|
|
|
18
18
|
* const allBgpRouteMaps = scm.getBgpRouteMapList({
|
|
19
19
|
* folder: "ngfw-shared",
|
|
20
20
|
* });
|
|
21
|
-
* export const scmBgpRouteMapList = allBgpRouteMaps.then(allBgpRouteMaps => .reduce((__obj, routeMap) => ({ ...__obj, [routeMap.id]: routeMap })));
|
|
21
|
+
* export const scmBgpRouteMapList = allBgpRouteMaps.then(allBgpRouteMaps => .reduce((__obj, routeMap) => ({ ...__obj, [routeMap.id]: routeMap }), {}));
|
|
22
22
|
* ```
|
|
23
23
|
*/
|
|
24
24
|
function getBgpRouteMapList(args, opts) {
|
|
@@ -47,7 +47,7 @@ exports.getBgpRouteMapList = getBgpRouteMapList;
|
|
|
47
47
|
* const allBgpRouteMaps = scm.getBgpRouteMapList({
|
|
48
48
|
* folder: "ngfw-shared",
|
|
49
49
|
* });
|
|
50
|
-
* export const scmBgpRouteMapList = allBgpRouteMaps.then(allBgpRouteMaps => .reduce((__obj, routeMap) => ({ ...__obj, [routeMap.id]: routeMap })));
|
|
50
|
+
* export const scmBgpRouteMapList = allBgpRouteMaps.then(allBgpRouteMaps => .reduce((__obj, routeMap) => ({ ...__obj, [routeMap.id]: routeMap }), {}));
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
function getBgpRouteMapListOutput(args, opts) {
|
|
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
|
|
|
16
16
|
* export const configMatchListListResults = 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 getConfigMatchListList(args?: GetConfigMatchListListArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigMatchListListResult>;
|
|
@@ -110,7 +110,7 @@ export interface GetConfigMatchListListResult {
|
|
|
110
110
|
* export const configMatchListListResults = 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 getConfigMatchListListOutput(args?: GetConfigMatchListListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConfigMatchListListResult>;
|
|
@@ -21,7 +21,7 @@ const utilities = require("./utilities");
|
|
|
21
21
|
* export const configMatchListListResults = 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 getConfigMatchListList(args, opts) {
|
|
@@ -53,7 +53,7 @@ exports.getConfigMatchListList = getConfigMatchListList;
|
|
|
53
53
|
* export const configMatchListListResults = 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 getConfigMatchListListOutput(args, opts) {
|