@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
@@ -13,7 +13,7 @@ import * as outputs from "./types/output";
13
13
  * const allEthernetInterfaces = scm.getEthernetInterfaceList({
14
14
  * folder: "ngfw-shared",
15
15
  * });
16
- * export const scmEthernetInterfaceList = allEthernetInterfaces.then(allEthernetInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
16
+ * export const scmEthernetInterfaceList = allEthernetInterfaces.then(allEthernetInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
17
17
  * ```
18
18
  */
19
19
  export declare function getEthernetInterfaceList(args?: GetEthernetInterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetEthernetInterfaceListResult>;
@@ -104,7 +104,7 @@ export interface GetEthernetInterfaceListResult {
104
104
  * const allEthernetInterfaces = scm.getEthernetInterfaceList({
105
105
  * folder: "ngfw-shared",
106
106
  * });
107
- * export const scmEthernetInterfaceList = allEthernetInterfaces.then(allEthernetInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
107
+ * export const scmEthernetInterfaceList = allEthernetInterfaces.then(allEthernetInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
108
108
  * ```
109
109
  */
110
110
  export declare function getEthernetInterfaceListOutput(args?: GetEthernetInterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEthernetInterfaceListResult>;
@@ -18,7 +18,7 @@ const utilities = require("./utilities");
18
18
  * const allEthernetInterfaces = scm.getEthernetInterfaceList({
19
19
  * folder: "ngfw-shared",
20
20
  * });
21
- * export const scmEthernetInterfaceList = allEthernetInterfaces.then(allEthernetInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
21
+ * export const scmEthernetInterfaceList = allEthernetInterfaces.then(allEthernetInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
22
22
  * ```
23
23
  */
24
24
  function getEthernetInterfaceList(args, opts) {
@@ -47,7 +47,7 @@ exports.getEthernetInterfaceList = getEthernetInterfaceList;
47
47
  * const allEthernetInterfaces = scm.getEthernetInterfaceList({
48
48
  * folder: "ngfw-shared",
49
49
  * });
50
- * export const scmEthernetInterfaceList = allEthernetInterfaces.then(allEthernetInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
50
+ * export const scmEthernetInterfaceList = allEthernetInterfaces.then(allEthernetInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface }), {}));
51
51
  * ```
52
52
  */
53
53
  function getEthernetInterfaceListOutput(args, opts) {
@@ -0,0 +1,137 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * ForwardingProfile 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 a basic Global Protect proxy forwarding profile by its ID.
13
+ * const gpProxyBasic = scm.getForwardingProfile({
14
+ * id: "a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d",
15
+ * });
16
+ * // Look up a full Global Protect proxy forwarding profile with block rules by its ID.
17
+ * const gpProxyFull = scm.getForwardingProfile({
18
+ * id: "f1e2d3c4-b5a6-4758-9192-a3b4c5d6e7f8",
19
+ * });
20
+ * // Look up a PAC file based forwarding profile by its ID.
21
+ * const pacFile = scm.getForwardingProfile({
22
+ * id: "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
23
+ * });
24
+ * // Look up a ZTNA agent forwarding profile by its ID.
25
+ * const ztnaAgent = scm.getForwardingProfile({
26
+ * id: "9f8e7d6c-5b4a-3210-fedc-ba9876543210",
27
+ * });
28
+ * export const forwardingProfileDataSourceResults = {
29
+ * gpProxyBasicObject: gpProxyBasic,
30
+ * gpProxyFullObject: gpProxyFull,
31
+ * pacFileObject: pacFile,
32
+ * ztnaAgentObject: ztnaAgent,
33
+ * };
34
+ * ```
35
+ */
36
+ export declare function getForwardingProfile(args: GetForwardingProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetForwardingProfileResult>;
37
+ /**
38
+ * A collection of arguments for invoking getForwardingProfile.
39
+ */
40
+ export interface GetForwardingProfileArgs {
41
+ /**
42
+ * The folder in which the resource is defined
43
+ */
44
+ folder?: string;
45
+ /**
46
+ * The UUID of the forwarding profile
47
+ */
48
+ id: string;
49
+ /**
50
+ * forwarding profile name as an alphanumeric string [ 0-9a-zA-Z._ -]
51
+ */
52
+ name?: string;
53
+ }
54
+ /**
55
+ * A collection of values returned by getForwardingProfile.
56
+ */
57
+ export interface GetForwardingProfileResult {
58
+ /**
59
+ * Enable forwarding rule for forwarding profile
60
+ */
61
+ readonly definitionMethod: string;
62
+ /**
63
+ * Forwarding profile description
64
+ */
65
+ readonly description: string;
66
+ /**
67
+ * The folder in which the resource is defined
68
+ */
69
+ readonly folder: string;
70
+ /**
71
+ * The UUID of the forwarding profile
72
+ */
73
+ readonly id: string;
74
+ /**
75
+ * forwarding profile name as an alphanumeric string [ 0-9a-zA-Z._ -]
76
+ */
77
+ readonly name: string;
78
+ /**
79
+ * The Terraform ID.
80
+ */
81
+ readonly tfid: string;
82
+ /**
83
+ * Forwarding profile type configuration (PAC file, GlobalProtect proxy, or ZTNA agent)
84
+ */
85
+ readonly type: outputs.GetForwardingProfileType;
86
+ }
87
+ /**
88
+ * ForwardingProfile data source
89
+ *
90
+ * ## Example Usage
91
+ *
92
+ * ```typescript
93
+ * import * as pulumi from "@pulumi/pulumi";
94
+ * import * as scm from "@pulumi/scm";
95
+ *
96
+ * // Look up a basic Global Protect proxy forwarding profile by its ID.
97
+ * const gpProxyBasic = scm.getForwardingProfile({
98
+ * id: "a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d",
99
+ * });
100
+ * // Look up a full Global Protect proxy forwarding profile with block rules by its ID.
101
+ * const gpProxyFull = scm.getForwardingProfile({
102
+ * id: "f1e2d3c4-b5a6-4758-9192-a3b4c5d6e7f8",
103
+ * });
104
+ * // Look up a PAC file based forwarding profile by its ID.
105
+ * const pacFile = scm.getForwardingProfile({
106
+ * id: "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
107
+ * });
108
+ * // Look up a ZTNA agent forwarding profile by its ID.
109
+ * const ztnaAgent = scm.getForwardingProfile({
110
+ * id: "9f8e7d6c-5b4a-3210-fedc-ba9876543210",
111
+ * });
112
+ * export const forwardingProfileDataSourceResults = {
113
+ * gpProxyBasicObject: gpProxyBasic,
114
+ * gpProxyFullObject: gpProxyFull,
115
+ * pacFileObject: pacFile,
116
+ * ztnaAgentObject: ztnaAgent,
117
+ * };
118
+ * ```
119
+ */
120
+ export declare function getForwardingProfileOutput(args: GetForwardingProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetForwardingProfileResult>;
121
+ /**
122
+ * A collection of arguments for invoking getForwardingProfile.
123
+ */
124
+ export interface GetForwardingProfileOutputArgs {
125
+ /**
126
+ * The folder in which the resource is defined
127
+ */
128
+ folder?: pulumi.Input<string>;
129
+ /**
130
+ * The UUID of the forwarding profile
131
+ */
132
+ id: pulumi.Input<string>;
133
+ /**
134
+ * forwarding profile name as an alphanumeric string [ 0-9a-zA-Z._ -]
135
+ */
136
+ name?: pulumi.Input<string>;
137
+ }
@@ -0,0 +1,92 @@
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.getForwardingProfileOutput = exports.getForwardingProfile = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ForwardingProfile 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 a basic Global Protect proxy forwarding profile by its ID.
18
+ * const gpProxyBasic = scm.getForwardingProfile({
19
+ * id: "a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d",
20
+ * });
21
+ * // Look up a full Global Protect proxy forwarding profile with block rules by its ID.
22
+ * const gpProxyFull = scm.getForwardingProfile({
23
+ * id: "f1e2d3c4-b5a6-4758-9192-a3b4c5d6e7f8",
24
+ * });
25
+ * // Look up a PAC file based forwarding profile by its ID.
26
+ * const pacFile = scm.getForwardingProfile({
27
+ * id: "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
28
+ * });
29
+ * // Look up a ZTNA agent forwarding profile by its ID.
30
+ * const ztnaAgent = scm.getForwardingProfile({
31
+ * id: "9f8e7d6c-5b4a-3210-fedc-ba9876543210",
32
+ * });
33
+ * export const forwardingProfileDataSourceResults = {
34
+ * gpProxyBasicObject: gpProxyBasic,
35
+ * gpProxyFullObject: gpProxyFull,
36
+ * pacFileObject: pacFile,
37
+ * ztnaAgentObject: ztnaAgent,
38
+ * };
39
+ * ```
40
+ */
41
+ function getForwardingProfile(args, opts) {
42
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
43
+ return pulumi.runtime.invoke("scm:index/getForwardingProfile:getForwardingProfile", {
44
+ "folder": args.folder,
45
+ "id": args.id,
46
+ "name": args.name,
47
+ }, opts);
48
+ }
49
+ exports.getForwardingProfile = getForwardingProfile;
50
+ /**
51
+ * ForwardingProfile data source
52
+ *
53
+ * ## Example Usage
54
+ *
55
+ * ```typescript
56
+ * import * as pulumi from "@pulumi/pulumi";
57
+ * import * as scm from "@pulumi/scm";
58
+ *
59
+ * // Look up a basic Global Protect proxy forwarding profile by its ID.
60
+ * const gpProxyBasic = scm.getForwardingProfile({
61
+ * id: "a1b2c3d4-e5f6-4a5b-8c9d-0e1f2a3b4c5d",
62
+ * });
63
+ * // Look up a full Global Protect proxy forwarding profile with block rules by its ID.
64
+ * const gpProxyFull = scm.getForwardingProfile({
65
+ * id: "f1e2d3c4-b5a6-4758-9192-a3b4c5d6e7f8",
66
+ * });
67
+ * // Look up a PAC file based forwarding profile by its ID.
68
+ * const pacFile = scm.getForwardingProfile({
69
+ * id: "1a2b3c4d-5e6f-7890-abcd-ef1234567890",
70
+ * });
71
+ * // Look up a ZTNA agent forwarding profile by its ID.
72
+ * const ztnaAgent = scm.getForwardingProfile({
73
+ * id: "9f8e7d6c-5b4a-3210-fedc-ba9876543210",
74
+ * });
75
+ * export const forwardingProfileDataSourceResults = {
76
+ * gpProxyBasicObject: gpProxyBasic,
77
+ * gpProxyFullObject: gpProxyFull,
78
+ * pacFileObject: pacFile,
79
+ * ztnaAgentObject: ztnaAgent,
80
+ * };
81
+ * ```
82
+ */
83
+ function getForwardingProfileOutput(args, opts) {
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
85
+ return pulumi.runtime.invokeOutput("scm:index/getForwardingProfile:getForwardingProfile", {
86
+ "folder": args.folder,
87
+ "id": args.id,
88
+ "name": args.name,
89
+ }, opts);
90
+ }
91
+ exports.getForwardingProfileOutput = getForwardingProfileOutput;
92
+ //# sourceMappingURL=getForwardingProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getForwardingProfile.js","sourceRoot":"","sources":["../getForwardingProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,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,oDAOC;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qDAAqD,EAAE;QACtF,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,gEAOC"}
@@ -0,0 +1,127 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * ForwardingProfileDestination 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 forwarding profile destination with FQDN by its ID.
13
+ * const scmForwardingProfileDestination1Ds = scm.getForwardingProfileDestination({
14
+ * id: "47c43e8b-eedf-483a-bfd8-5dfcf7a2462b",
15
+ * });
16
+ * // Look up the forwarding profile destination with IP addresses by its ID.
17
+ * const scmForwardingProfileDestination2Ds = scm.getForwardingProfileDestination({
18
+ * id: "7796420b-c45e-4ca2-a609-91ab83bbd219",
19
+ * });
20
+ * // Look up the forwarding profile destination with mixed types by its ID.
21
+ * const scmForwardingProfileDestination3Ds = scm.getForwardingProfileDestination({
22
+ * id: "b3730821-0692-4245-96b5-3474651ed2b5",
23
+ * });
24
+ * export const forwardingProfileDestinationDataSourceResults = {
25
+ * fqdnDestination: scmForwardingProfileDestination1Ds,
26
+ * ipDestination: scmForwardingProfileDestination2Ds,
27
+ * mixedDestination: scmForwardingProfileDestination3Ds,
28
+ * };
29
+ * ```
30
+ */
31
+ export declare function getForwardingProfileDestination(args: GetForwardingProfileDestinationArgs, opts?: pulumi.InvokeOptions): Promise<GetForwardingProfileDestinationResult>;
32
+ /**
33
+ * A collection of arguments for invoking getForwardingProfileDestination.
34
+ */
35
+ export interface GetForwardingProfileDestinationArgs {
36
+ /**
37
+ * The folder in which the resource is defined
38
+ */
39
+ folder?: string;
40
+ /**
41
+ * The UUID of the destination
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 getForwardingProfileDestination.
51
+ */
52
+ export interface GetForwardingProfileDestinationResult {
53
+ /**
54
+ * description of the destination
55
+ */
56
+ readonly description: string;
57
+ /**
58
+ * The folder in which the resource is defined
59
+ */
60
+ readonly folder: string;
61
+ /**
62
+ * List of FQDN based destination entries
63
+ */
64
+ readonly fqdns: outputs.GetForwardingProfileDestinationFqdn[];
65
+ /**
66
+ * The UUID of the destination
67
+ */
68
+ readonly id: string;
69
+ /**
70
+ * List of IP address based destination entries
71
+ */
72
+ readonly ipAddresses: outputs.GetForwardingProfileDestinationIpAddress[];
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
+ * ForwardingProfileDestination 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 forwarding profile destination with FQDN by its ID.
92
+ * const scmForwardingProfileDestination1Ds = scm.getForwardingProfileDestination({
93
+ * id: "47c43e8b-eedf-483a-bfd8-5dfcf7a2462b",
94
+ * });
95
+ * // Look up the forwarding profile destination with IP addresses by its ID.
96
+ * const scmForwardingProfileDestination2Ds = scm.getForwardingProfileDestination({
97
+ * id: "7796420b-c45e-4ca2-a609-91ab83bbd219",
98
+ * });
99
+ * // Look up the forwarding profile destination with mixed types by its ID.
100
+ * const scmForwardingProfileDestination3Ds = scm.getForwardingProfileDestination({
101
+ * id: "b3730821-0692-4245-96b5-3474651ed2b5",
102
+ * });
103
+ * export const forwardingProfileDestinationDataSourceResults = {
104
+ * fqdnDestination: scmForwardingProfileDestination1Ds,
105
+ * ipDestination: scmForwardingProfileDestination2Ds,
106
+ * mixedDestination: scmForwardingProfileDestination3Ds,
107
+ * };
108
+ * ```
109
+ */
110
+ export declare function getForwardingProfileDestinationOutput(args: GetForwardingProfileDestinationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetForwardingProfileDestinationResult>;
111
+ /**
112
+ * A collection of arguments for invoking getForwardingProfileDestination.
113
+ */
114
+ export interface GetForwardingProfileDestinationOutputArgs {
115
+ /**
116
+ * The folder in which the resource is defined
117
+ */
118
+ folder?: pulumi.Input<string>;
119
+ /**
120
+ * The UUID of the destination
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.getForwardingProfileDestinationOutput = exports.getForwardingProfileDestination = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ForwardingProfileDestination 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 forwarding profile destination with FQDN by its ID.
18
+ * const scmForwardingProfileDestination1Ds = scm.getForwardingProfileDestination({
19
+ * id: "47c43e8b-eedf-483a-bfd8-5dfcf7a2462b",
20
+ * });
21
+ * // Look up the forwarding profile destination with IP addresses by its ID.
22
+ * const scmForwardingProfileDestination2Ds = scm.getForwardingProfileDestination({
23
+ * id: "7796420b-c45e-4ca2-a609-91ab83bbd219",
24
+ * });
25
+ * // Look up the forwarding profile destination with mixed types by its ID.
26
+ * const scmForwardingProfileDestination3Ds = scm.getForwardingProfileDestination({
27
+ * id: "b3730821-0692-4245-96b5-3474651ed2b5",
28
+ * });
29
+ * export const forwardingProfileDestinationDataSourceResults = {
30
+ * fqdnDestination: scmForwardingProfileDestination1Ds,
31
+ * ipDestination: scmForwardingProfileDestination2Ds,
32
+ * mixedDestination: scmForwardingProfileDestination3Ds,
33
+ * };
34
+ * ```
35
+ */
36
+ function getForwardingProfileDestination(args, opts) {
37
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
38
+ return pulumi.runtime.invoke("scm:index/getForwardingProfileDestination:getForwardingProfileDestination", {
39
+ "folder": args.folder,
40
+ "id": args.id,
41
+ "name": args.name,
42
+ }, opts);
43
+ }
44
+ exports.getForwardingProfileDestination = getForwardingProfileDestination;
45
+ /**
46
+ * ForwardingProfileDestination 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 forwarding profile destination with FQDN by its ID.
55
+ * const scmForwardingProfileDestination1Ds = scm.getForwardingProfileDestination({
56
+ * id: "47c43e8b-eedf-483a-bfd8-5dfcf7a2462b",
57
+ * });
58
+ * // Look up the forwarding profile destination with IP addresses by its ID.
59
+ * const scmForwardingProfileDestination2Ds = scm.getForwardingProfileDestination({
60
+ * id: "7796420b-c45e-4ca2-a609-91ab83bbd219",
61
+ * });
62
+ * // Look up the forwarding profile destination with mixed types by its ID.
63
+ * const scmForwardingProfileDestination3Ds = scm.getForwardingProfileDestination({
64
+ * id: "b3730821-0692-4245-96b5-3474651ed2b5",
65
+ * });
66
+ * export const forwardingProfileDestinationDataSourceResults = {
67
+ * fqdnDestination: scmForwardingProfileDestination1Ds,
68
+ * ipDestination: scmForwardingProfileDestination2Ds,
69
+ * mixedDestination: scmForwardingProfileDestination3Ds,
70
+ * };
71
+ * ```
72
+ */
73
+ function getForwardingProfileDestinationOutput(args, opts) {
74
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
75
+ return pulumi.runtime.invokeOutput("scm:index/getForwardingProfileDestination:getForwardingProfileDestination", {
76
+ "folder": args.folder,
77
+ "id": args.id,
78
+ "name": args.name,
79
+ }, opts);
80
+ }
81
+ exports.getForwardingProfileDestinationOutput = getForwardingProfileDestinationOutput;
82
+ //# sourceMappingURL=getForwardingProfileDestination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getForwardingProfileDestination.js","sourceRoot":"","sources":["../getForwardingProfileDestination.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2EAA2E,EAAE;QACtG,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,0EAOC;AAqDD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAAiC;IACpI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2EAA2E,EAAE;QAC5G,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,sFAOC"}
@@ -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 "ListForwardingProfileDestinations" API endpoint
13
+ * // and return all forwarding profile destinations in the "Mobile Users" folder.
14
+ * // 1. Use a single data block to fetch ALL forwarding profile destinations in the "Mobile Users" folder.
15
+ * const allMobileUsers = scm.getForwardingProfileDestinationList({
16
+ * folder: "Mobile Users",
17
+ * });
18
+ * export const forwardingProfileDestinationDataSourceResultsFromList = allMobileUsers.then(allMobileUsers => .reduce((__obj, dest) => ({ ...__obj, [dest.id]: dest }), {}));
19
+ * const paginatedDestinationsExample = scm.getForwardingProfileDestinationList({
20
+ * folder: "Mobile Users",
21
+ * limit: 5,
22
+ * offset: 0,
23
+ * });
24
+ * export const paginatedDestinations = paginatedDestinationsExample.then(paginatedDestinationsExample => .reduce((__obj, dest) => ({ ...__obj, [dest.id]: dest }), {}));
25
+ * export const paginationDestinationsDetails = {
26
+ * totalObjectsInFolder: paginatedDestinationsExample.then(paginatedDestinationsExample => paginatedDestinationsExample.total),
27
+ * limitUsed: paginatedDestinationsExample.then(paginatedDestinationsExample => paginatedDestinationsExample.limit),
28
+ * };
29
+ * ```
30
+ */
31
+ export declare function getForwardingProfileDestinationList(args?: GetForwardingProfileDestinationListArgs, opts?: pulumi.InvokeOptions): Promise<GetForwardingProfileDestinationListResult>;
32
+ /**
33
+ * A collection of arguments for invoking getForwardingProfileDestinationList.
34
+ */
35
+ export interface GetForwardingProfileDestinationListArgs {
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 getForwardingProfileDestinationList.
63
+ */
64
+ export interface GetForwardingProfileDestinationListResult {
65
+ /**
66
+ * The data.
67
+ */
68
+ readonly datas: outputs.GetForwardingProfileDestinationListData[];
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 "ListForwardingProfileDestinations" API endpoint
116
+ * // and return all forwarding profile destinations in the "Mobile Users" folder.
117
+ * // 1. Use a single data block to fetch ALL forwarding profile destinations in the "Mobile Users" folder.
118
+ * const allMobileUsers = scm.getForwardingProfileDestinationList({
119
+ * folder: "Mobile Users",
120
+ * });
121
+ * export const forwardingProfileDestinationDataSourceResultsFromList = allMobileUsers.then(allMobileUsers => .reduce((__obj, dest) => ({ ...__obj, [dest.id]: dest }), {}));
122
+ * const paginatedDestinationsExample = scm.getForwardingProfileDestinationList({
123
+ * folder: "Mobile Users",
124
+ * limit: 5,
125
+ * offset: 0,
126
+ * });
127
+ * export const paginatedDestinations = paginatedDestinationsExample.then(paginatedDestinationsExample => .reduce((__obj, dest) => ({ ...__obj, [dest.id]: dest }), {}));
128
+ * export const paginationDestinationsDetails = {
129
+ * totalObjectsInFolder: paginatedDestinationsExample.then(paginatedDestinationsExample => paginatedDestinationsExample.total),
130
+ * limitUsed: paginatedDestinationsExample.then(paginatedDestinationsExample => paginatedDestinationsExample.limit),
131
+ * };
132
+ * ```
133
+ */
134
+ export declare function getForwardingProfileDestinationListOutput(args?: GetForwardingProfileDestinationListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetForwardingProfileDestinationListResult>;
135
+ /**
136
+ * A collection of arguments for invoking getForwardingProfileDestinationList.
137
+ */
138
+ export interface GetForwardingProfileDestinationListOutputArgs {
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
+ }