@pulumi/scm 1.0.0-alpha.1762844275 → 1.0.0
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/address.d.ts +3 -3
- package/address.js +3 -3
- package/addressGroup.d.ts +2 -2
- package/addressGroup.js +2 -2
- package/{aggregateInterface.d.ts → aggregateEthernetInterface.d.ts} +24 -26
- package/{aggregateInterface.js → aggregateEthernetInterface.js} +11 -13
- package/aggregateEthernetInterface.js.map +1 -0
- package/antiSpywareSignature.d.ts +3 -3
- package/appOverrideRule.d.ts +3 -128
- package/appOverrideRule.js +0 -95
- package/appOverrideRule.js.map +1 -1
- package/applicationFilter.d.ts +0 -16
- package/applicationFilter.js +0 -16
- package/applicationFilter.js.map +1 -1
- package/authenticationRule.d.ts +0 -123
- package/authenticationRule.js +0 -103
- package/authenticationRule.js.map +1 -1
- package/bgpRouteMapRedistribution.d.ts +6 -6
- package/certificateProfile.d.ts +0 -29
- package/certificateProfile.js +0 -29
- package/certificateProfile.js.map +1 -1
- package/decryptionProfile.d.ts +0 -139
- package/decryptionProfile.js +0 -139
- package/decryptionProfile.js.map +1 -1
- package/decryptionRule.d.ts +0 -139
- package/decryptionRule.js +0 -119
- package/decryptionRule.js.map +1 -1
- package/dnsProxy.d.ts +6 -6
- package/dnsSecurityProfile.d.ts +0 -2
- package/dnsSecurityProfile.js +0 -2
- package/dnsSecurityProfile.js.map +1 -1
- package/dynamicUserGroup.d.ts +3 -3
- package/dynamicUserGroup.js +3 -3
- package/ethernetInterface.d.ts +11 -13
- package/ethernetInterface.js +0 -2
- package/ethernetInterface.js.map +1 -1
- package/externalDynamicList.d.ts +0 -80
- package/externalDynamicList.js +0 -80
- package/externalDynamicList.js.map +1 -1
- package/folder.d.ts +0 -60
- package/folder.js +0 -60
- package/folder.js.map +1 -1
- package/getAddressGroupList.d.ts +4 -4
- package/getAddressGroupList.js +4 -4
- package/getAddressList.d.ts +4 -4
- package/getAddressList.js +4 -4
- package/getAggregateEthernetInterface.d.ts +78 -0
- package/getAggregateEthernetInterface.js +30 -0
- package/getAggregateEthernetInterface.js.map +1 -0
- package/{getAggregateInterfaceList.d.ts → getAggregateEthernetInterfaceList.d.ts} +9 -35
- package/getAggregateEthernetInterfaceList.js +40 -0
- package/getAggregateEthernetInterfaceList.js.map +1 -0
- package/getAntiSpywareProfileList.d.ts +2 -2
- package/getAntiSpywareProfileList.js +2 -2
- package/getAntiSpywareSignature.d.ts +1 -1
- package/getAntiSpywareSignatureList.d.ts +2 -2
- package/getAntiSpywareSignatureList.js +2 -2
- package/getAppOverrideRule.d.ts +1 -65
- package/getAppOverrideRule.js +0 -52
- package/getAppOverrideRule.js.map +1 -1
- package/getAppOverrideRuleList.d.ts +2 -48
- package/getAppOverrideRuleList.js +2 -36
- package/getAppOverrideRuleList.js.map +1 -1
- package/getApplicationGroupList.d.ts +4 -4
- package/getApplicationGroupList.js +4 -4
- package/getApplicationList.d.ts +2 -2
- package/getApplicationList.js +2 -2
- package/getAuthenticationRule.d.ts +0 -74
- package/getAuthenticationRule.js +0 -62
- package/getAuthenticationRule.js.map +1 -1
- package/getAuthenticationRuleList.d.ts +2 -50
- package/getAuthenticationRuleList.js +2 -38
- package/getAuthenticationRuleList.js.map +1 -1
- package/getBgpRouteMapRedistribution.d.ts +7 -7
- package/getCertificateProfileList.d.ts +2 -2
- package/getCertificateProfileList.js +2 -2
- package/getDecryptionProfile.d.ts +0 -40
- package/getDecryptionProfile.js +0 -40
- package/getDecryptionProfile.js.map +1 -1
- package/getDecryptionProfileList.d.ts +0 -32
- package/getDecryptionProfileList.js +0 -32
- package/getDecryptionProfileList.js.map +1 -1
- package/getDecryptionRule.d.ts +0 -74
- package/getDecryptionRule.js +0 -62
- package/getDecryptionRule.js.map +1 -1
- package/getDecryptionRuleList.d.ts +2 -48
- package/getDecryptionRuleList.js +2 -36
- package/getDecryptionRuleList.js.map +1 -1
- package/getDnsProxy.d.ts +1 -1
- package/getDnsSecurityProfile.d.ts +0 -40
- package/getDnsSecurityProfile.js +0 -40
- package/getDnsSecurityProfile.js.map +1 -1
- package/getDnsSecurityProfileList.d.ts +0 -32
- package/getDnsSecurityProfileList.js +0 -32
- package/getDnsSecurityProfileList.js.map +1 -1
- package/getDynamicUserGroupList.d.ts +4 -4
- package/getDynamicUserGroupList.js +4 -4
- package/getEthernetInterface.d.ts +2 -40
- package/getEthernetInterface.js +0 -38
- package/getEthernetInterface.js.map +1 -1
- package/getEthernetInterfaceList.d.ts +0 -26
- package/getEthernetInterfaceList.js +0 -26
- package/getEthernetInterfaceList.js.map +1 -1
- package/getExternalDynamicListList.d.ts +4 -4
- package/getExternalDynamicListList.js +4 -4
- package/getFolder.d.ts +0 -36
- package/getFolder.js +0 -36
- package/getFolder.js.map +1 -1
- package/getHipObjectList.d.ts +4 -4
- package/getHipObjectList.js +4 -4
- package/getHipProfileList.d.ts +4 -4
- package/getHipProfileList.js +4 -4
- package/getInterfaceManagementProfile.d.ts +8 -89
- package/getInterfaceManagementProfile.js +0 -80
- package/getInterfaceManagementProfile.js.map +1 -1
- package/getInterfaceManagementProfileList.d.ts +0 -42
- package/getInterfaceManagementProfileList.js +0 -42
- package/getInterfaceManagementProfileList.js.map +1 -1
- package/getLayer2Subinterface.d.ts +2 -42
- package/getLayer2Subinterface.js +0 -40
- package/getLayer2Subinterface.js.map +1 -1
- package/getLayer2SubinterfaceList.d.ts +0 -26
- package/getLayer2SubinterfaceList.js +0 -26
- package/getLayer2SubinterfaceList.js.map +1 -1
- package/getLayer3Subinterface.d.ts +3 -45
- package/getLayer3Subinterface.js +0 -42
- package/getLayer3Subinterface.js.map +1 -1
- package/getLayer3SubinterfaceList.d.ts +0 -26
- package/getLayer3SubinterfaceList.js +0 -26
- package/getLayer3SubinterfaceList.js.map +1 -1
- package/getLogicalRouter.d.ts +0 -38
- package/getLogicalRouter.js +0 -38
- package/getLogicalRouter.js.map +1 -1
- package/getLogicalRouterList.d.ts +0 -40
- package/getLogicalRouterList.js +0 -30
- package/getLogicalRouterList.js.map +1 -1
- package/getLoopbackInterface.d.ts +7 -49
- package/getLoopbackInterface.js +0 -38
- package/getLoopbackInterface.js.map +1 -1
- package/getLoopbackInterfaceList.d.ts +0 -26
- package/getLoopbackInterfaceList.js +0 -26
- package/getLoopbackInterfaceList.js.map +1 -1
- package/getNatRule.d.ts +14 -86
- package/getNatRule.js +0 -76
- package/getNatRule.js.map +1 -1
- package/getNatRuleList.d.ts +2 -52
- package/getNatRuleList.js +2 -40
- package/getNatRuleList.js.map +1 -1
- package/getPbfRule.d.ts +0 -88
- package/getPbfRule.js +0 -88
- package/getPbfRule.js.map +1 -1
- package/getPbfRuleList.d.ts +0 -34
- package/getPbfRuleList.js +0 -34
- package/getPbfRuleList.js.map +1 -1
- package/getQosPolicyRule.d.ts +0 -72
- package/getQosPolicyRule.js +0 -60
- package/getQosPolicyRule.js.map +1 -1
- package/getQosPolicyRuleList.d.ts +2 -48
- package/getQosPolicyRuleList.js +2 -36
- package/getQosPolicyRuleList.js.map +1 -1
- package/getRadiusServerProfile.d.ts +0 -54
- package/getRadiusServerProfile.js +0 -54
- package/getRadiusServerProfile.js.map +1 -1
- package/getSdwanTrafficDistributionProfile.d.ts +1 -1
- package/getSecurityRule.d.ts +0 -106
- package/getSecurityRule.js +0 -94
- package/getSecurityRule.js.map +1 -1
- package/getSecurityRuleList.d.ts +2 -46
- package/getSecurityRuleList.js +2 -34
- package/getSecurityRuleList.js.map +1 -1
- package/getServiceConnection.d.ts +1 -177
- package/getServiceConnection.js +0 -176
- package/getServiceConnection.js.map +1 -1
- package/getServiceConnectionGroup.d.ts +0 -208
- package/getServiceConnectionGroup.js +0 -208
- package/getServiceConnectionGroup.js.map +1 -1
- package/getServiceGroupList.d.ts +2 -2
- package/getServiceGroupList.js +2 -2
- package/getServiceList.d.ts +4 -4
- package/getServiceList.js +4 -4
- package/getSnippet.d.ts +0 -48
- package/getSnippet.js +0 -48
- package/getSnippet.js.map +1 -1
- package/getSnippetList.d.ts +0 -24
- package/getSnippetList.js +0 -24
- package/getSnippetList.js.map +1 -1
- package/getTagList.d.ts +2 -2
- package/getTagList.js +2 -2
- package/getTunnelInterface.d.ts +4 -42
- package/getTunnelInterface.js +0 -38
- package/getTunnelInterface.js.map +1 -1
- package/getTunnelInterfaceList.d.ts +0 -26
- package/getTunnelInterfaceList.js +0 -26
- package/getTunnelInterfaceList.js.map +1 -1
- package/getUrlAccessProfileList.d.ts +2 -2
- package/getUrlAccessProfileList.js +2 -2
- package/getUrlCategoryList.d.ts +4 -4
- package/getUrlCategoryList.js +4 -4
- package/getVlanInterface.d.ts +6 -46
- package/getVlanInterface.js +0 -40
- package/getVlanInterface.js.map +1 -1
- package/getVlanInterfaceList.d.ts +0 -26
- package/getVlanInterfaceList.js +0 -26
- package/getVlanInterfaceList.js.map +1 -1
- package/getVulnerabilityProtectionProfileList.d.ts +2 -2
- package/getVulnerabilityProtectionProfileList.js +2 -2
- package/getVulnerabilityProtectionSignature.d.ts +1 -41
- package/getVulnerabilityProtectionSignature.js +0 -40
- package/getVulnerabilityProtectionSignature.js.map +1 -1
- package/getVulnerabilityProtectionSignatureList.d.ts +0 -32
- package/getVulnerabilityProtectionSignatureList.js +0 -32
- package/getVulnerabilityProtectionSignatureList.js.map +1 -1
- package/getZone.d.ts +0 -44
- package/getZone.js +0 -44
- package/getZone.js.map +1 -1
- package/getZoneList.d.ts +0 -26
- package/getZoneList.js +0 -26
- package/getZoneList.js.map +1 -1
- package/ikeGateway.d.ts +0 -49
- package/ikeGateway.js +0 -49
- package/ikeGateway.js.map +1 -1
- package/index.d.ts +9 -9
- package/index.js +12 -12
- package/index.js.map +1 -1
- package/interfaceManagementProfile.d.ts +24 -56
- package/interfaceManagementProfile.js +0 -30
- package/interfaceManagementProfile.js.map +1 -1
- package/ipsecCryptoProfile.d.ts +0 -28
- package/ipsecCryptoProfile.js +0 -28
- package/ipsecCryptoProfile.js.map +1 -1
- package/ipsecTunnel.d.ts +0 -66
- package/ipsecTunnel.js +0 -66
- package/ipsecTunnel.js.map +1 -1
- package/layer2Subinterface.d.ts +7 -36
- package/layer2Subinterface.js +0 -32
- package/layer2Subinterface.js.map +1 -1
- package/layer3Subinterface.d.ts +11 -70
- package/layer3Subinterface.js +0 -59
- package/layer3Subinterface.js.map +1 -1
- package/logicalRouter.d.ts +0 -2
- package/logicalRouter.js +0 -2
- package/logicalRouter.js.map +1 -1
- package/loopbackInterface.d.ts +15 -58
- package/loopbackInterface.js +2 -35
- package/loopbackInterface.js.map +1 -1
- package/natRule.d.ts +42 -135
- package/natRule.js +8 -121
- package/natRule.js.map +1 -1
- package/package.json +2 -2
- package/pbfRule.d.ts +0 -89
- package/pbfRule.js +0 -89
- package/pbfRule.js.map +1 -1
- package/qosPolicyRule.d.ts +0 -95
- package/qosPolicyRule.js +0 -75
- package/qosPolicyRule.js.map +1 -1
- package/radiusServerProfile.d.ts +0 -38
- package/radiusServerProfile.js +0 -38
- package/radiusServerProfile.js.map +1 -1
- package/remoteNetwork.d.ts +0 -81
- package/remoteNetwork.js +0 -81
- package/remoteNetwork.js.map +1 -1
- package/sdwanTrafficDistributionProfile.d.ts +4 -4
- package/securityRule.d.ts +0 -181
- package/securityRule.js +0 -161
- package/securityRule.js.map +1 -1
- package/serviceConnection.d.ts +3 -82
- package/serviceConnection.js +2 -81
- package/serviceConnection.js.map +1 -1
- package/serviceConnectionGroup.d.ts +0 -100
- package/serviceConnectionGroup.js +0 -100
- package/serviceConnectionGroup.js.map +1 -1
- package/serviceGroup.d.ts +2 -2
- package/serviceGroup.js +2 -2
- package/snippet.d.ts +0 -23
- package/snippet.js +0 -23
- package/snippet.js.map +1 -1
- package/tag.d.ts +3 -3
- package/tag.js +3 -3
- package/tunnelInterface.d.ts +12 -42
- package/tunnelInterface.js +2 -32
- package/tunnelInterface.js.map +1 -1
- package/types/input.d.ts +335 -607
- package/types/output.d.ts +1069 -1945
- package/vlanInterface.d.ts +20 -40
- package/vlanInterface.js +0 -20
- package/vlanInterface.js.map +1 -1
- package/vulnerabilityProtectionSignature.d.ts +10 -12
- package/vulnerabilityProtectionSignature.js +0 -14
- package/vulnerabilityProtectionSignature.js.map +1 -1
- package/zone.d.ts +0 -71
- package/zone.js +0 -71
- package/zone.js.map +1 -1
- package/aggregateInterface.js.map +0 -1
- package/getAggregateInterface.d.ts +0 -116
- package/getAggregateInterface.js +0 -68
- package/getAggregateInterface.js.map +0 -1
- package/getAggregateInterfaceList.js +0 -66
- package/getAggregateInterfaceList.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAggregateEthernetInterface.js","sourceRoot":"","sources":["../getAggregateEthernetInterface.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uEAAuE,EAAE;QAClG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC;AA0DD;;GAEG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAAiC;IAChI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uEAAuE,EAAE;QACxG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kFAMC"}
|
|
@@ -2,25 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
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
|
-
* // Fetch a list of all aggregate interfaces
|
|
13
|
-
* const allAggregateInterfaces = scm.getAggregateInterfaceList({
|
|
14
|
-
* folder: "ngfw-shared",
|
|
15
|
-
* });
|
|
16
|
-
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
17
|
-
* ```
|
|
18
5
|
*/
|
|
19
|
-
export declare function
|
|
6
|
+
export declare function getAggregateEthernetInterfaceList(args?: GetAggregateEthernetInterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetAggregateEthernetInterfaceListResult>;
|
|
20
7
|
/**
|
|
21
|
-
* A collection of arguments for invoking
|
|
8
|
+
* A collection of arguments for invoking getAggregateEthernetInterfaceList.
|
|
22
9
|
*/
|
|
23
|
-
export interface
|
|
10
|
+
export interface GetAggregateEthernetInterfaceListArgs {
|
|
24
11
|
/**
|
|
25
12
|
* The device of the item.
|
|
26
13
|
*/
|
|
@@ -47,13 +34,13 @@ export interface GetAggregateInterfaceListArgs {
|
|
|
47
34
|
snippet?: string;
|
|
48
35
|
}
|
|
49
36
|
/**
|
|
50
|
-
* A collection of values returned by
|
|
37
|
+
* A collection of values returned by getAggregateEthernetInterfaceList.
|
|
51
38
|
*/
|
|
52
|
-
export interface
|
|
39
|
+
export interface GetAggregateEthernetInterfaceListResult {
|
|
53
40
|
/**
|
|
54
41
|
* The data.
|
|
55
42
|
*/
|
|
56
|
-
readonly datas: outputs.
|
|
43
|
+
readonly datas: outputs.GetAggregateEthernetInterfaceListData[];
|
|
57
44
|
/**
|
|
58
45
|
* The device of the item.
|
|
59
46
|
*/
|
|
@@ -90,25 +77,12 @@ export interface GetAggregateInterfaceListResult {
|
|
|
90
77
|
}
|
|
91
78
|
/**
|
|
92
79
|
* Retrieves a listing of config items.
|
|
93
|
-
*
|
|
94
|
-
* ## Example Usage
|
|
95
|
-
*
|
|
96
|
-
* ```typescript
|
|
97
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
98
|
-
* import * as scm from "@pulumi/scm";
|
|
99
|
-
*
|
|
100
|
-
* // Fetch a list of all aggregate interfaces
|
|
101
|
-
* const allAggregateInterfaces = scm.getAggregateInterfaceList({
|
|
102
|
-
* folder: "ngfw-shared",
|
|
103
|
-
* });
|
|
104
|
-
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
105
|
-
* ```
|
|
106
80
|
*/
|
|
107
|
-
export declare function
|
|
81
|
+
export declare function getAggregateEthernetInterfaceListOutput(args?: GetAggregateEthernetInterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAggregateEthernetInterfaceListResult>;
|
|
108
82
|
/**
|
|
109
|
-
* A collection of arguments for invoking
|
|
83
|
+
* A collection of arguments for invoking getAggregateEthernetInterfaceList.
|
|
110
84
|
*/
|
|
111
|
-
export interface
|
|
85
|
+
export interface GetAggregateEthernetInterfaceListOutputArgs {
|
|
112
86
|
/**
|
|
113
87
|
* The device of the item.
|
|
114
88
|
*/
|
|
@@ -0,0 +1,40 @@
|
|
|
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.getAggregateEthernetInterfaceListOutput = exports.getAggregateEthernetInterfaceList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a listing of config items.
|
|
10
|
+
*/
|
|
11
|
+
function getAggregateEthernetInterfaceList(args, opts) {
|
|
12
|
+
args = args || {};
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
+
return pulumi.runtime.invoke("scm:index/getAggregateEthernetInterfaceList:getAggregateEthernetInterfaceList", {
|
|
15
|
+
"device": args.device,
|
|
16
|
+
"folder": args.folder,
|
|
17
|
+
"limit": args.limit,
|
|
18
|
+
"name": args.name,
|
|
19
|
+
"offset": args.offset,
|
|
20
|
+
"snippet": args.snippet,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.getAggregateEthernetInterfaceList = getAggregateEthernetInterfaceList;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves a listing of config items.
|
|
26
|
+
*/
|
|
27
|
+
function getAggregateEthernetInterfaceListOutput(args, opts) {
|
|
28
|
+
args = args || {};
|
|
29
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
|
+
return pulumi.runtime.invokeOutput("scm:index/getAggregateEthernetInterfaceList:getAggregateEthernetInterfaceList", {
|
|
31
|
+
"device": args.device,
|
|
32
|
+
"folder": args.folder,
|
|
33
|
+
"limit": args.limit,
|
|
34
|
+
"name": args.name,
|
|
35
|
+
"offset": args.offset,
|
|
36
|
+
"snippet": args.snippet,
|
|
37
|
+
}, opts);
|
|
38
|
+
}
|
|
39
|
+
exports.getAggregateEthernetInterfaceListOutput = getAggregateEthernetInterfaceListOutput;
|
|
40
|
+
//# sourceMappingURL=getAggregateEthernetInterfaceList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAggregateEthernetInterfaceList.js","sourceRoot":"","sources":["../getAggregateEthernetInterfaceList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA4C,EAAE,IAA2B;IACvH,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,+EAA+E,EAAE;QAC1G,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,8EAWC;AA0ED;;GAEG;AACH,SAAgB,uCAAuC,CAAC,IAAkD,EAAE,IAAiC;IACzI,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,+EAA+E,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,0FAWC"}
|
|
@@ -11,7 +11,7 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
*
|
|
12
12
|
* // Fetch a list of all anti-spyware profiles
|
|
13
13
|
* const allAntiSpywareProfiles = scm.getAntiSpywareProfileList({
|
|
14
|
-
* folder: "
|
|
14
|
+
* folder: "Shared",
|
|
15
15
|
* });
|
|
16
16
|
* export const scmAntiSpywareProfileList = allAntiSpywareProfiles.then(allAntiSpywareProfiles => allAntiSpywareProfiles.datas);
|
|
17
17
|
* ```
|
|
@@ -99,7 +99,7 @@ export interface GetAntiSpywareProfileListResult {
|
|
|
99
99
|
*
|
|
100
100
|
* // Fetch a list of all anti-spyware profiles
|
|
101
101
|
* const allAntiSpywareProfiles = scm.getAntiSpywareProfileList({
|
|
102
|
-
* folder: "
|
|
102
|
+
* folder: "Shared",
|
|
103
103
|
* });
|
|
104
104
|
* export const scmAntiSpywareProfileList = allAntiSpywareProfiles.then(allAntiSpywareProfiles => allAntiSpywareProfiles.datas);
|
|
105
105
|
* ```
|
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* // Fetch a list of all anti-spyware profiles
|
|
18
18
|
* const allAntiSpywareProfiles = scm.getAntiSpywareProfileList({
|
|
19
|
-
* folder: "
|
|
19
|
+
* folder: "Shared",
|
|
20
20
|
* });
|
|
21
21
|
* export const scmAntiSpywareProfileList = allAntiSpywareProfiles.then(allAntiSpywareProfiles => allAntiSpywareProfiles.datas);
|
|
22
22
|
* ```
|
|
@@ -45,7 +45,7 @@ exports.getAntiSpywareProfileList = getAntiSpywareProfileList;
|
|
|
45
45
|
*
|
|
46
46
|
* // Fetch a list of all anti-spyware profiles
|
|
47
47
|
* const allAntiSpywareProfiles = scm.getAntiSpywareProfileList({
|
|
48
|
-
* folder: "
|
|
48
|
+
* folder: "Shared",
|
|
49
49
|
* });
|
|
50
50
|
* export const scmAntiSpywareProfileList = allAntiSpywareProfiles.then(allAntiSpywareProfiles => allAntiSpywareProfiles.datas);
|
|
51
51
|
* ```
|
|
@@ -11,7 +11,7 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
*
|
|
12
12
|
* // Fetch a list of all anti-spyware profiles
|
|
13
13
|
* const allAntiSpywareSignatures = scm.getAntiSpywareSignatureList({
|
|
14
|
-
* folder: "
|
|
14
|
+
* folder: "Shared",
|
|
15
15
|
* });
|
|
16
16
|
* export const scmAntiSpywareSignatureList = allAntiSpywareSignatures.then(allAntiSpywareSignatures => allAntiSpywareSignatures.datas);
|
|
17
17
|
* ```
|
|
@@ -99,7 +99,7 @@ export interface GetAntiSpywareSignatureListResult {
|
|
|
99
99
|
*
|
|
100
100
|
* // Fetch a list of all anti-spyware profiles
|
|
101
101
|
* const allAntiSpywareSignatures = scm.getAntiSpywareSignatureList({
|
|
102
|
-
* folder: "
|
|
102
|
+
* folder: "Shared",
|
|
103
103
|
* });
|
|
104
104
|
* export const scmAntiSpywareSignatureList = allAntiSpywareSignatures.then(allAntiSpywareSignatures => allAntiSpywareSignatures.datas);
|
|
105
105
|
* ```
|
|
@@ -16,7 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* // Fetch a list of all anti-spyware profiles
|
|
18
18
|
* const allAntiSpywareSignatures = scm.getAntiSpywareSignatureList({
|
|
19
|
-
* folder: "
|
|
19
|
+
* folder: "Shared",
|
|
20
20
|
* });
|
|
21
21
|
* export const scmAntiSpywareSignatureList = allAntiSpywareSignatures.then(allAntiSpywareSignatures => allAntiSpywareSignatures.datas);
|
|
22
22
|
* ```
|
|
@@ -45,7 +45,7 @@ exports.getAntiSpywareSignatureList = getAntiSpywareSignatureList;
|
|
|
45
45
|
*
|
|
46
46
|
* // Fetch a list of all anti-spyware profiles
|
|
47
47
|
* const allAntiSpywareSignatures = scm.getAntiSpywareSignatureList({
|
|
48
|
-
* folder: "
|
|
48
|
+
* folder: "Shared",
|
|
49
49
|
* });
|
|
50
50
|
* export const scmAntiSpywareSignatureList = allAntiSpywareSignatures.then(allAntiSpywareSignatures => allAntiSpywareSignatures.datas);
|
|
51
51
|
* ```
|
package/getAppOverrideRule.d.ts
CHANGED
|
@@ -1,32 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* AppOverrideRule data source
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
*
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as scm from "@pulumi/scm";
|
|
10
|
-
*
|
|
11
|
-
* // 1. RESOURCE: Create an Application Override rule to ensure a predictable target for lookups
|
|
12
|
-
* const testAppOverrideRule = new scm.AppOverrideRule("test_app_override_rule", {
|
|
13
|
-
* name: "data-source-app-override-test",
|
|
14
|
-
* description: "Rule created specifically for data source testing.",
|
|
15
|
-
* folder: "All",
|
|
16
|
-
* position: "pre",
|
|
17
|
-
* application: "ssl",
|
|
18
|
-
* protocol: "tcp",
|
|
19
|
-
* port: "8443",
|
|
20
|
-
* froms: ["trust"],
|
|
21
|
-
* tos: ["untrust"],
|
|
22
|
-
* sources: ["any"],
|
|
23
|
-
* destinations: ["any"],
|
|
24
|
-
* });
|
|
25
|
-
* const singleRuleById = scm.getAppOverrideRuleOutput({
|
|
26
|
-
* id: testAppOverrideRule.id,
|
|
27
|
-
* });
|
|
28
|
-
* export const singleAppOverrideRuleName = singleRuleById;
|
|
29
|
-
* ```
|
|
30
4
|
*/
|
|
31
5
|
export declare function getAppOverrideRule(args: GetAppOverrideRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetAppOverrideRuleResult>;
|
|
32
6
|
/**
|
|
@@ -97,19 +71,11 @@ export interface GetAppOverrideRuleResult {
|
|
|
97
71
|
/**
|
|
98
72
|
* Port
|
|
99
73
|
*/
|
|
100
|
-
readonly port:
|
|
101
|
-
/**
|
|
102
|
-
* The position of a security rule
|
|
103
|
-
*/
|
|
104
|
-
readonly position: string;
|
|
74
|
+
readonly port: number;
|
|
105
75
|
/**
|
|
106
76
|
* Protocol
|
|
107
77
|
*/
|
|
108
78
|
readonly protocol: string;
|
|
109
|
-
/**
|
|
110
|
-
* Relative positioning rule. String must be one of these: `"before"`, `"after"`, `"top"`, `"bottom"`. If not specified, rule is created at the bottom of the ruleset.
|
|
111
|
-
*/
|
|
112
|
-
readonly relativePosition: string;
|
|
113
79
|
/**
|
|
114
80
|
* The snippet in which the resource is defined
|
|
115
81
|
*/
|
|
@@ -122,10 +88,6 @@ export interface GetAppOverrideRuleResult {
|
|
|
122
88
|
* Tag
|
|
123
89
|
*/
|
|
124
90
|
readonly tags: string[];
|
|
125
|
-
/**
|
|
126
|
-
* The name or UUID of the rule to position this rule relative to. Required when `relativePosition` is `"before"` or `"after"`.
|
|
127
|
-
*/
|
|
128
|
-
readonly targetRule: string;
|
|
129
91
|
readonly tfid: string;
|
|
130
92
|
/**
|
|
131
93
|
* To
|
|
@@ -134,32 +96,6 @@ export interface GetAppOverrideRuleResult {
|
|
|
134
96
|
}
|
|
135
97
|
/**
|
|
136
98
|
* AppOverrideRule data source
|
|
137
|
-
*
|
|
138
|
-
* ## Example Usage
|
|
139
|
-
*
|
|
140
|
-
* ```typescript
|
|
141
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
142
|
-
* import * as scm from "@pulumi/scm";
|
|
143
|
-
*
|
|
144
|
-
* // 1. RESOURCE: Create an Application Override rule to ensure a predictable target for lookups
|
|
145
|
-
* const testAppOverrideRule = new scm.AppOverrideRule("test_app_override_rule", {
|
|
146
|
-
* name: "data-source-app-override-test",
|
|
147
|
-
* description: "Rule created specifically for data source testing.",
|
|
148
|
-
* folder: "All",
|
|
149
|
-
* position: "pre",
|
|
150
|
-
* application: "ssl",
|
|
151
|
-
* protocol: "tcp",
|
|
152
|
-
* port: "8443",
|
|
153
|
-
* froms: ["trust"],
|
|
154
|
-
* tos: ["untrust"],
|
|
155
|
-
* sources: ["any"],
|
|
156
|
-
* destinations: ["any"],
|
|
157
|
-
* });
|
|
158
|
-
* const singleRuleById = scm.getAppOverrideRuleOutput({
|
|
159
|
-
* id: testAppOverrideRule.id,
|
|
160
|
-
* });
|
|
161
|
-
* export const singleAppOverrideRuleName = singleRuleById;
|
|
162
|
-
* ```
|
|
163
99
|
*/
|
|
164
100
|
export declare function getAppOverrideRuleOutput(args: GetAppOverrideRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppOverrideRuleResult>;
|
|
165
101
|
/**
|
package/getAppOverrideRule.js
CHANGED
|
@@ -7,32 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* AppOverrideRule 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
|
-
* // 1. RESOURCE: Create an Application Override rule to ensure a predictable target for lookups
|
|
18
|
-
* const testAppOverrideRule = new scm.AppOverrideRule("test_app_override_rule", {
|
|
19
|
-
* name: "data-source-app-override-test",
|
|
20
|
-
* description: "Rule created specifically for data source testing.",
|
|
21
|
-
* folder: "All",
|
|
22
|
-
* position: "pre",
|
|
23
|
-
* application: "ssl",
|
|
24
|
-
* protocol: "tcp",
|
|
25
|
-
* port: "8443",
|
|
26
|
-
* froms: ["trust"],
|
|
27
|
-
* tos: ["untrust"],
|
|
28
|
-
* sources: ["any"],
|
|
29
|
-
* destinations: ["any"],
|
|
30
|
-
* });
|
|
31
|
-
* const singleRuleById = scm.getAppOverrideRuleOutput({
|
|
32
|
-
* id: testAppOverrideRule.id,
|
|
33
|
-
* });
|
|
34
|
-
* export const singleAppOverrideRuleName = singleRuleById;
|
|
35
|
-
* ```
|
|
36
10
|
*/
|
|
37
11
|
function getAppOverrideRule(args, opts) {
|
|
38
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -44,32 +18,6 @@ function getAppOverrideRule(args, opts) {
|
|
|
44
18
|
exports.getAppOverrideRule = getAppOverrideRule;
|
|
45
19
|
/**
|
|
46
20
|
* AppOverrideRule 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
|
-
* // 1. RESOURCE: Create an Application Override rule to ensure a predictable target for lookups
|
|
55
|
-
* const testAppOverrideRule = new scm.AppOverrideRule("test_app_override_rule", {
|
|
56
|
-
* name: "data-source-app-override-test",
|
|
57
|
-
* description: "Rule created specifically for data source testing.",
|
|
58
|
-
* folder: "All",
|
|
59
|
-
* position: "pre",
|
|
60
|
-
* application: "ssl",
|
|
61
|
-
* protocol: "tcp",
|
|
62
|
-
* port: "8443",
|
|
63
|
-
* froms: ["trust"],
|
|
64
|
-
* tos: ["untrust"],
|
|
65
|
-
* sources: ["any"],
|
|
66
|
-
* destinations: ["any"],
|
|
67
|
-
* });
|
|
68
|
-
* const singleRuleById = scm.getAppOverrideRuleOutput({
|
|
69
|
-
* id: testAppOverrideRule.id,
|
|
70
|
-
* });
|
|
71
|
-
* export const singleAppOverrideRuleName = singleRuleById;
|
|
72
|
-
* ```
|
|
73
21
|
*/
|
|
74
22
|
function getAppOverrideRuleOutput(args, opts) {
|
|
75
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAppOverrideRule.js","sourceRoot":"","sources":["../getAppOverrideRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAppOverrideRule.js","sourceRoot":"","sources":["../getAppOverrideRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AA8FD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC"}
|
|
@@ -2,25 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
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
|
-
* const allPreRules = scm.getAppOverrideRuleList({
|
|
13
|
-
* offset: 10,
|
|
14
|
-
* position: "pre",
|
|
15
|
-
* folder: "All",
|
|
16
|
-
* });
|
|
17
|
-
* export const fetchedRuleListSummary = {
|
|
18
|
-
* countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total),
|
|
19
|
-
* firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name),
|
|
20
|
-
* };
|
|
21
|
-
* ```
|
|
22
5
|
*/
|
|
23
|
-
export declare function getAppOverrideRuleList(args
|
|
6
|
+
export declare function getAppOverrideRuleList(args?: GetAppOverrideRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetAppOverrideRuleListResult>;
|
|
24
7
|
/**
|
|
25
8
|
* A collection of arguments for invoking getAppOverrideRuleList.
|
|
26
9
|
*/
|
|
@@ -45,10 +28,6 @@ export interface GetAppOverrideRuleListArgs {
|
|
|
45
28
|
* The offset of the first item to return.
|
|
46
29
|
*/
|
|
47
30
|
offset?: number;
|
|
48
|
-
/**
|
|
49
|
-
* The position of a security rule
|
|
50
|
-
*/
|
|
51
|
-
position: string;
|
|
52
31
|
/**
|
|
53
32
|
* The snippet of the item.
|
|
54
33
|
*/
|
|
@@ -86,10 +65,6 @@ export interface GetAppOverrideRuleListResult {
|
|
|
86
65
|
* The offset of the first item to return.
|
|
87
66
|
*/
|
|
88
67
|
readonly offset?: number;
|
|
89
|
-
/**
|
|
90
|
-
* The position of a security rule
|
|
91
|
-
*/
|
|
92
|
-
readonly position: string;
|
|
93
68
|
/**
|
|
94
69
|
* The snippet of the item.
|
|
95
70
|
*/
|
|
@@ -102,25 +77,8 @@ export interface GetAppOverrideRuleListResult {
|
|
|
102
77
|
}
|
|
103
78
|
/**
|
|
104
79
|
* Retrieves a listing of config items.
|
|
105
|
-
*
|
|
106
|
-
* ## Example Usage
|
|
107
|
-
*
|
|
108
|
-
* ```typescript
|
|
109
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
110
|
-
* import * as scm from "@pulumi/scm";
|
|
111
|
-
*
|
|
112
|
-
* const allPreRules = scm.getAppOverrideRuleList({
|
|
113
|
-
* offset: 10,
|
|
114
|
-
* position: "pre",
|
|
115
|
-
* folder: "All",
|
|
116
|
-
* });
|
|
117
|
-
* export const fetchedRuleListSummary = {
|
|
118
|
-
* countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total),
|
|
119
|
-
* firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name),
|
|
120
|
-
* };
|
|
121
|
-
* ```
|
|
122
80
|
*/
|
|
123
|
-
export declare function getAppOverrideRuleListOutput(args
|
|
81
|
+
export declare function getAppOverrideRuleListOutput(args?: GetAppOverrideRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppOverrideRuleListResult>;
|
|
124
82
|
/**
|
|
125
83
|
* A collection of arguments for invoking getAppOverrideRuleList.
|
|
126
84
|
*/
|
|
@@ -145,10 +103,6 @@ export interface GetAppOverrideRuleListOutputArgs {
|
|
|
145
103
|
* The offset of the first item to return.
|
|
146
104
|
*/
|
|
147
105
|
offset?: pulumi.Input<number>;
|
|
148
|
-
/**
|
|
149
|
-
* The position of a security rule
|
|
150
|
-
*/
|
|
151
|
-
position: pulumi.Input<string>;
|
|
152
106
|
/**
|
|
153
107
|
* The snippet of the item.
|
|
154
108
|
*/
|
|
@@ -7,25 +7,9 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
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
|
-
* const allPreRules = scm.getAppOverrideRuleList({
|
|
18
|
-
* offset: 10,
|
|
19
|
-
* position: "pre",
|
|
20
|
-
* folder: "All",
|
|
21
|
-
* });
|
|
22
|
-
* export const fetchedRuleListSummary = {
|
|
23
|
-
* countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total),
|
|
24
|
-
* firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name),
|
|
25
|
-
* };
|
|
26
|
-
* ```
|
|
27
10
|
*/
|
|
28
11
|
function getAppOverrideRuleList(args, opts) {
|
|
12
|
+
args = args || {};
|
|
29
13
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
14
|
return pulumi.runtime.invoke("scm:index/getAppOverrideRuleList:getAppOverrideRuleList", {
|
|
31
15
|
"device": args.device,
|
|
@@ -33,32 +17,15 @@ function getAppOverrideRuleList(args, opts) {
|
|
|
33
17
|
"limit": args.limit,
|
|
34
18
|
"name": args.name,
|
|
35
19
|
"offset": args.offset,
|
|
36
|
-
"position": args.position,
|
|
37
20
|
"snippet": args.snippet,
|
|
38
21
|
}, opts);
|
|
39
22
|
}
|
|
40
23
|
exports.getAppOverrideRuleList = getAppOverrideRuleList;
|
|
41
24
|
/**
|
|
42
25
|
* Retrieves a listing of config items.
|
|
43
|
-
*
|
|
44
|
-
* ## Example Usage
|
|
45
|
-
*
|
|
46
|
-
* ```typescript
|
|
47
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
-
* import * as scm from "@pulumi/scm";
|
|
49
|
-
*
|
|
50
|
-
* const allPreRules = scm.getAppOverrideRuleList({
|
|
51
|
-
* offset: 10,
|
|
52
|
-
* position: "pre",
|
|
53
|
-
* folder: "All",
|
|
54
|
-
* });
|
|
55
|
-
* export const fetchedRuleListSummary = {
|
|
56
|
-
* countOfRulesFetched: allPreRules.then(allPreRules => allPreRules.total),
|
|
57
|
-
* firstRuleName: allPreRules.then(allPreRules => allPreRules.datas?.[0]?.name),
|
|
58
|
-
* };
|
|
59
|
-
* ```
|
|
60
26
|
*/
|
|
61
27
|
function getAppOverrideRuleListOutput(args, opts) {
|
|
28
|
+
args = args || {};
|
|
62
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
63
30
|
return pulumi.runtime.invokeOutput("scm:index/getAppOverrideRuleList:getAppOverrideRuleList", {
|
|
64
31
|
"device": args.device,
|
|
@@ -66,7 +33,6 @@ function getAppOverrideRuleListOutput(args, opts) {
|
|
|
66
33
|
"limit": args.limit,
|
|
67
34
|
"name": args.name,
|
|
68
35
|
"offset": args.offset,
|
|
69
|
-
"position": args.position,
|
|
70
36
|
"snippet": args.snippet,
|
|
71
37
|
}, opts);
|
|
72
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAppOverrideRuleList.js","sourceRoot":"","sources":["../getAppOverrideRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAppOverrideRuleList.js","sourceRoot":"","sources":["../getAppOverrideRuleList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,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,yDAAyD,EAAE;QACpF,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,wDAWC;AA0ED;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAuC,EAAE,IAAiC;IACnH,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,yDAAyD,EAAE;QAC1F,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,oEAWC"}
|
|
@@ -11,12 +11,12 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
*
|
|
12
12
|
* // 1. Use a single data block to fetch ALL application groups in the "Shared" folder.
|
|
13
13
|
* const allShared = scm.getApplicationGroupList({
|
|
14
|
-
* folder: "
|
|
14
|
+
* folder: "Shared",
|
|
15
15
|
* });
|
|
16
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
|
-
* folder: "
|
|
19
|
+
* folder: "Shared",
|
|
20
20
|
* limit: 5,
|
|
21
21
|
* offset: 0,
|
|
22
22
|
* });
|
|
@@ -110,12 +110,12 @@ export interface GetApplicationGroupListResult {
|
|
|
110
110
|
*
|
|
111
111
|
* // 1. Use a single data block to fetch ALL application groups in the "Shared" folder.
|
|
112
112
|
* const allShared = scm.getApplicationGroupList({
|
|
113
|
-
* folder: "
|
|
113
|
+
* folder: "Shared",
|
|
114
114
|
* });
|
|
115
115
|
* export const applicationGroupsDataSourceResultsFromList = allShared.then(allShared => .reduce((__obj, group) => ({ ...__obj, [group.id]: group })));
|
|
116
116
|
* // Example of using pagination to get a subset of application groups.
|
|
117
117
|
* const paginatedExample = scm.getApplicationGroupList({
|
|
118
|
-
* folder: "
|
|
118
|
+
* folder: "Shared",
|
|
119
119
|
* limit: 5,
|
|
120
120
|
* offset: 0,
|
|
121
121
|
* });
|
|
@@ -16,12 +16,12 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* // 1. Use a single data block to fetch ALL application groups in the "Shared" folder.
|
|
18
18
|
* const allShared = scm.getApplicationGroupList({
|
|
19
|
-
* folder: "
|
|
19
|
+
* folder: "Shared",
|
|
20
20
|
* });
|
|
21
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
|
-
* folder: "
|
|
24
|
+
* folder: "Shared",
|
|
25
25
|
* limit: 5,
|
|
26
26
|
* offset: 0,
|
|
27
27
|
* });
|
|
@@ -56,12 +56,12 @@ exports.getApplicationGroupList = getApplicationGroupList;
|
|
|
56
56
|
*
|
|
57
57
|
* // 1. Use a single data block to fetch ALL application groups in the "Shared" folder.
|
|
58
58
|
* const allShared = scm.getApplicationGroupList({
|
|
59
|
-
* folder: "
|
|
59
|
+
* folder: "Shared",
|
|
60
60
|
* });
|
|
61
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
|
-
* folder: "
|
|
64
|
+
* folder: "Shared",
|
|
65
65
|
* limit: 5,
|
|
66
66
|
* offset: 0,
|
|
67
67
|
* });
|
package/getApplicationList.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* // Fetch a list of all application objects.
|
|
13
13
|
* // This data source will call the "List" API endpoint.
|
|
14
14
|
* const allApps = scm.getApplicationList({
|
|
15
|
-
* folder: "
|
|
15
|
+
* folder: "Shared",
|
|
16
16
|
* });
|
|
17
17
|
* export const applicationsListRaw = allApps.then(allApps => allApps.datas);
|
|
18
18
|
* ```
|
|
@@ -101,7 +101,7 @@ export interface GetApplicationListResult {
|
|
|
101
101
|
* // Fetch a list of all application objects.
|
|
102
102
|
* // This data source will call the "List" API endpoint.
|
|
103
103
|
* const allApps = scm.getApplicationList({
|
|
104
|
-
* folder: "
|
|
104
|
+
* folder: "Shared",
|
|
105
105
|
* });
|
|
106
106
|
* export const applicationsListRaw = allApps.then(allApps => allApps.datas);
|
|
107
107
|
* ```
|
package/getApplicationList.js
CHANGED
|
@@ -17,7 +17,7 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* // Fetch a list of all application objects.
|
|
18
18
|
* // This data source will call the "List" API endpoint.
|
|
19
19
|
* const allApps = scm.getApplicationList({
|
|
20
|
-
* folder: "
|
|
20
|
+
* folder: "Shared",
|
|
21
21
|
* });
|
|
22
22
|
* export const applicationsListRaw = allApps.then(allApps => allApps.datas);
|
|
23
23
|
* ```
|
|
@@ -47,7 +47,7 @@ exports.getApplicationList = getApplicationList;
|
|
|
47
47
|
* // Fetch a list of all application objects.
|
|
48
48
|
* // This data source will call the "List" API endpoint.
|
|
49
49
|
* const allApps = scm.getApplicationList({
|
|
50
|
-
* folder: "
|
|
50
|
+
* folder: "Shared",
|
|
51
51
|
* });
|
|
52
52
|
* export const applicationsListRaw = allApps.then(allApps => allApps.datas);
|
|
53
53
|
* ```
|