@pulumi/scm 1.0.0-alpha.1762562132 → 1.0.0-alpha.1762844275
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/{aggregateEthernetInterface.d.ts → aggregateInterface.d.ts} +26 -24
- package/{aggregateEthernetInterface.js → aggregateInterface.js} +13 -11
- package/aggregateInterface.js.map +1 -0
- package/antiSpywareSignature.d.ts +3 -3
- package/appOverrideRule.d.ts +128 -3
- package/appOverrideRule.js +95 -0
- package/appOverrideRule.js.map +1 -1
- package/applicationFilter.d.ts +16 -0
- package/applicationFilter.js +16 -0
- package/applicationFilter.js.map +1 -1
- package/authenticationRule.d.ts +123 -0
- package/authenticationRule.js +103 -0
- package/authenticationRule.js.map +1 -1
- package/bgpRouteMapRedistribution.d.ts +6 -6
- package/certificateProfile.d.ts +29 -0
- package/certificateProfile.js +29 -0
- package/certificateProfile.js.map +1 -1
- package/decryptionProfile.d.ts +139 -0
- package/decryptionProfile.js +139 -0
- package/decryptionProfile.js.map +1 -1
- package/decryptionRule.d.ts +139 -0
- package/decryptionRule.js +119 -0
- package/decryptionRule.js.map +1 -1
- package/dnsProxy.d.ts +6 -6
- package/dnsSecurityProfile.d.ts +2 -0
- package/dnsSecurityProfile.js +2 -0
- package/dnsSecurityProfile.js.map +1 -1
- package/dynamicUserGroup.d.ts +3 -3
- package/dynamicUserGroup.js +3 -3
- package/ethernetInterface.d.ts +13 -11
- package/ethernetInterface.js +2 -0
- package/ethernetInterface.js.map +1 -1
- package/externalDynamicList.d.ts +80 -0
- package/externalDynamicList.js +80 -0
- package/externalDynamicList.js.map +1 -1
- package/folder.d.ts +60 -0
- package/folder.js +60 -0
- 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/getAggregateInterface.d.ts +116 -0
- package/getAggregateInterface.js +68 -0
- package/getAggregateInterface.js.map +1 -0
- package/{getAggregateEthernetInterfaceList.d.ts → getAggregateInterfaceList.d.ts} +35 -9
- package/getAggregateInterfaceList.js +66 -0
- package/getAggregateInterfaceList.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 +65 -1
- package/getAppOverrideRule.js +52 -0
- package/getAppOverrideRule.js.map +1 -1
- package/getAppOverrideRuleList.d.ts +48 -2
- package/getAppOverrideRuleList.js +36 -2
- 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 +74 -0
- package/getAuthenticationRule.js +62 -0
- package/getAuthenticationRule.js.map +1 -1
- package/getAuthenticationRuleList.d.ts +50 -2
- package/getAuthenticationRuleList.js +38 -2
- 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 +40 -0
- package/getDecryptionProfile.js +40 -0
- package/getDecryptionProfile.js.map +1 -1
- package/getDecryptionProfileList.d.ts +32 -0
- package/getDecryptionProfileList.js +32 -0
- package/getDecryptionProfileList.js.map +1 -1
- package/getDecryptionRule.d.ts +74 -0
- package/getDecryptionRule.js +62 -0
- package/getDecryptionRule.js.map +1 -1
- package/getDecryptionRuleList.d.ts +48 -2
- package/getDecryptionRuleList.js +36 -2
- package/getDecryptionRuleList.js.map +1 -1
- package/getDnsProxy.d.ts +1 -1
- package/getDnsSecurityProfile.d.ts +40 -0
- package/getDnsSecurityProfile.js +40 -0
- package/getDnsSecurityProfile.js.map +1 -1
- package/getDnsSecurityProfileList.d.ts +32 -0
- package/getDnsSecurityProfileList.js +32 -0
- package/getDnsSecurityProfileList.js.map +1 -1
- package/getDynamicUserGroupList.d.ts +4 -4
- package/getDynamicUserGroupList.js +4 -4
- package/getEthernetInterface.d.ts +40 -2
- package/getEthernetInterface.js +38 -0
- package/getEthernetInterface.js.map +1 -1
- package/getEthernetInterfaceList.d.ts +26 -0
- package/getEthernetInterfaceList.js +26 -0
- package/getEthernetInterfaceList.js.map +1 -1
- package/getExternalDynamicListList.d.ts +4 -4
- package/getExternalDynamicListList.js +4 -4
- package/getFolder.d.ts +36 -0
- package/getFolder.js +36 -0
- 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 +89 -8
- package/getInterfaceManagementProfile.js +80 -0
- package/getInterfaceManagementProfile.js.map +1 -1
- package/getInterfaceManagementProfileList.d.ts +42 -0
- package/getInterfaceManagementProfileList.js +42 -0
- package/getInterfaceManagementProfileList.js.map +1 -1
- package/getLayer2Subinterface.d.ts +42 -2
- package/getLayer2Subinterface.js +40 -0
- package/getLayer2Subinterface.js.map +1 -1
- package/getLayer2SubinterfaceList.d.ts +26 -0
- package/getLayer2SubinterfaceList.js +26 -0
- package/getLayer2SubinterfaceList.js.map +1 -1
- package/getLayer3Subinterface.d.ts +45 -3
- package/getLayer3Subinterface.js +42 -0
- package/getLayer3Subinterface.js.map +1 -1
- package/getLayer3SubinterfaceList.d.ts +26 -0
- package/getLayer3SubinterfaceList.js +26 -0
- package/getLayer3SubinterfaceList.js.map +1 -1
- package/getLogicalRouter.d.ts +38 -0
- package/getLogicalRouter.js +38 -0
- package/getLogicalRouter.js.map +1 -1
- package/getLogicalRouterList.d.ts +40 -0
- package/getLogicalRouterList.js +30 -0
- package/getLogicalRouterList.js.map +1 -1
- package/getLoopbackInterface.d.ts +49 -7
- package/getLoopbackInterface.js +38 -0
- package/getLoopbackInterface.js.map +1 -1
- package/getLoopbackInterfaceList.d.ts +26 -0
- package/getLoopbackInterfaceList.js +26 -0
- package/getLoopbackInterfaceList.js.map +1 -1
- package/getNatRule.d.ts +86 -14
- package/getNatRule.js +76 -0
- package/getNatRule.js.map +1 -1
- package/getNatRuleList.d.ts +52 -2
- package/getNatRuleList.js +40 -2
- package/getNatRuleList.js.map +1 -1
- package/getPbfRule.d.ts +88 -0
- package/getPbfRule.js +88 -0
- package/getPbfRule.js.map +1 -1
- package/getPbfRuleList.d.ts +34 -0
- package/getPbfRuleList.js +34 -0
- package/getPbfRuleList.js.map +1 -1
- package/getQosPolicyRule.d.ts +72 -0
- package/getQosPolicyRule.js +60 -0
- package/getQosPolicyRule.js.map +1 -1
- package/getQosPolicyRuleList.d.ts +48 -2
- package/getQosPolicyRuleList.js +36 -2
- package/getQosPolicyRuleList.js.map +1 -1
- package/getRadiusServerProfile.d.ts +54 -0
- package/getRadiusServerProfile.js +54 -0
- package/getRadiusServerProfile.js.map +1 -1
- package/getSdwanTrafficDistributionProfile.d.ts +1 -1
- package/getSecurityRule.d.ts +106 -0
- package/getSecurityRule.js +94 -0
- package/getSecurityRule.js.map +1 -1
- package/getSecurityRuleList.d.ts +46 -2
- package/getSecurityRuleList.js +34 -2
- package/getSecurityRuleList.js.map +1 -1
- package/getServiceConnection.d.ts +177 -1
- package/getServiceConnection.js +176 -0
- package/getServiceConnection.js.map +1 -1
- package/getServiceConnectionGroup.d.ts +208 -0
- package/getServiceConnectionGroup.js +208 -0
- 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 +48 -0
- package/getSnippet.js +48 -0
- package/getSnippet.js.map +1 -1
- package/getSnippetList.d.ts +24 -0
- package/getSnippetList.js +24 -0
- package/getSnippetList.js.map +1 -1
- package/getTagList.d.ts +2 -2
- package/getTagList.js +2 -2
- package/getTunnelInterface.d.ts +42 -4
- package/getTunnelInterface.js +38 -0
- package/getTunnelInterface.js.map +1 -1
- package/getTunnelInterfaceList.d.ts +26 -0
- package/getTunnelInterfaceList.js +26 -0
- 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 +46 -6
- package/getVlanInterface.js +40 -0
- package/getVlanInterface.js.map +1 -1
- package/getVlanInterfaceList.d.ts +26 -0
- package/getVlanInterfaceList.js +26 -0
- package/getVlanInterfaceList.js.map +1 -1
- package/getVulnerabilityProtectionProfileList.d.ts +2 -2
- package/getVulnerabilityProtectionProfileList.js +2 -2
- package/getVulnerabilityProtectionSignature.d.ts +41 -1
- package/getVulnerabilityProtectionSignature.js +40 -0
- package/getVulnerabilityProtectionSignature.js.map +1 -1
- package/getVulnerabilityProtectionSignatureList.d.ts +32 -0
- package/getVulnerabilityProtectionSignatureList.js +32 -0
- package/getVulnerabilityProtectionSignatureList.js.map +1 -1
- package/getZone.d.ts +44 -0
- package/getZone.js +44 -0
- package/getZone.js.map +1 -1
- package/getZoneList.d.ts +26 -0
- package/getZoneList.js +26 -0
- package/getZoneList.js.map +1 -1
- package/ikeGateway.d.ts +49 -0
- package/ikeGateway.js +49 -0
- 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 +56 -24
- package/interfaceManagementProfile.js +30 -0
- package/interfaceManagementProfile.js.map +1 -1
- package/ipsecCryptoProfile.d.ts +28 -0
- package/ipsecCryptoProfile.js +28 -0
- package/ipsecCryptoProfile.js.map +1 -1
- package/ipsecTunnel.d.ts +66 -0
- package/ipsecTunnel.js +66 -0
- package/ipsecTunnel.js.map +1 -1
- package/layer2Subinterface.d.ts +36 -7
- package/layer2Subinterface.js +32 -0
- package/layer2Subinterface.js.map +1 -1
- package/layer3Subinterface.d.ts +70 -11
- package/layer3Subinterface.js +59 -0
- package/layer3Subinterface.js.map +1 -1
- package/logicalRouter.d.ts +2 -0
- package/logicalRouter.js +2 -0
- package/logicalRouter.js.map +1 -1
- package/loopbackInterface.d.ts +58 -15
- package/loopbackInterface.js +35 -2
- package/loopbackInterface.js.map +1 -1
- package/natRule.d.ts +135 -42
- package/natRule.js +121 -8
- package/natRule.js.map +1 -1
- package/package.json +2 -2
- package/pbfRule.d.ts +89 -0
- package/pbfRule.js +89 -0
- package/pbfRule.js.map +1 -1
- package/qosPolicyRule.d.ts +95 -0
- package/qosPolicyRule.js +75 -0
- package/qosPolicyRule.js.map +1 -1
- package/radiusServerProfile.d.ts +38 -0
- package/radiusServerProfile.js +38 -0
- package/radiusServerProfile.js.map +1 -1
- package/remoteNetwork.d.ts +81 -0
- package/remoteNetwork.js +81 -0
- package/remoteNetwork.js.map +1 -1
- package/sdwanTrafficDistributionProfile.d.ts +4 -4
- package/securityRule.d.ts +181 -0
- package/securityRule.js +161 -0
- package/securityRule.js.map +1 -1
- package/serviceConnection.d.ts +82 -3
- package/serviceConnection.js +81 -2
- package/serviceConnection.js.map +1 -1
- package/serviceConnectionGroup.d.ts +100 -0
- package/serviceConnectionGroup.js +100 -0
- package/serviceConnectionGroup.js.map +1 -1
- package/serviceGroup.d.ts +2 -2
- package/serviceGroup.js +2 -2
- package/snippet.d.ts +23 -0
- package/snippet.js +23 -0
- package/snippet.js.map +1 -1
- package/tag.d.ts +3 -3
- package/tag.js +3 -3
- package/tunnelInterface.d.ts +42 -12
- package/tunnelInterface.js +32 -2
- package/tunnelInterface.js.map +1 -1
- package/types/input.d.ts +607 -335
- package/types/output.d.ts +1945 -1069
- package/vlanInterface.d.ts +40 -20
- package/vlanInterface.js +20 -0
- package/vlanInterface.js.map +1 -1
- package/vulnerabilityProtectionSignature.d.ts +12 -10
- package/vulnerabilityProtectionSignature.js +14 -0
- package/vulnerabilityProtectionSignature.js.map +1 -1
- package/zone.d.ts +71 -0
- package/zone.js +71 -0
- package/zone.js.map +1 -1
- package/aggregateEthernetInterface.js.map +0 -1
- package/getAggregateEthernetInterface.d.ts +0 -78
- package/getAggregateEthernetInterface.js +0 -30
- package/getAggregateEthernetInterface.js.map +0 -1
- package/getAggregateEthernetInterfaceList.js +0 -40
- package/getAggregateEthernetInterfaceList.js.map +0 -1
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* AggregateInterface 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 aggregate interface by its ID.
|
|
13
|
+
* const scmAggregateInterfaceDs = scm.getAggregateInterface({
|
|
14
|
+
* id: "ddad1e64-0b64-41a4-b361-c6199761a8f1",
|
|
15
|
+
* });
|
|
16
|
+
* export const aggregateInterfaceDataSourceResults = {
|
|
17
|
+
* id: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.id),
|
|
18
|
+
* name: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.name),
|
|
19
|
+
* comment: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.comment),
|
|
20
|
+
* layer3: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.layer3),
|
|
21
|
+
* folder: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.folder),
|
|
22
|
+
* };
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare function getAggregateInterface(args: GetAggregateInterfaceArgs, opts?: pulumi.InvokeOptions): Promise<GetAggregateInterfaceResult>;
|
|
26
|
+
/**
|
|
27
|
+
* A collection of arguments for invoking getAggregateInterface.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetAggregateInterfaceArgs {
|
|
30
|
+
/**
|
|
31
|
+
* UUID of the resource
|
|
32
|
+
*/
|
|
33
|
+
id: string;
|
|
34
|
+
/**
|
|
35
|
+
* Aggregate interface name
|
|
36
|
+
*/
|
|
37
|
+
name?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* A collection of values returned by getAggregateInterface.
|
|
41
|
+
*/
|
|
42
|
+
export interface GetAggregateInterfaceResult {
|
|
43
|
+
/**
|
|
44
|
+
* Aggregate interface description
|
|
45
|
+
*/
|
|
46
|
+
readonly comment: string;
|
|
47
|
+
/**
|
|
48
|
+
* Default interface assignment
|
|
49
|
+
*/
|
|
50
|
+
readonly defaultValue: string;
|
|
51
|
+
/**
|
|
52
|
+
* The device in which the resource is defined
|
|
53
|
+
*/
|
|
54
|
+
readonly device: string;
|
|
55
|
+
/**
|
|
56
|
+
* The folder in which the resource is defined
|
|
57
|
+
*/
|
|
58
|
+
readonly folder: string;
|
|
59
|
+
/**
|
|
60
|
+
* UUID of the resource
|
|
61
|
+
*/
|
|
62
|
+
readonly id: string;
|
|
63
|
+
/**
|
|
64
|
+
* Layer2
|
|
65
|
+
*/
|
|
66
|
+
readonly layer2: outputs.GetAggregateInterfaceLayer2;
|
|
67
|
+
/**
|
|
68
|
+
* Aggregate Interface Layer 3 configuration
|
|
69
|
+
*/
|
|
70
|
+
readonly layer3: outputs.GetAggregateInterfaceLayer3;
|
|
71
|
+
/**
|
|
72
|
+
* Aggregate interface name
|
|
73
|
+
*/
|
|
74
|
+
readonly name: string;
|
|
75
|
+
/**
|
|
76
|
+
* The snippet in which the resource is defined
|
|
77
|
+
*/
|
|
78
|
+
readonly snippet: string;
|
|
79
|
+
readonly tfid: string;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* AggregateInterface data source
|
|
83
|
+
*
|
|
84
|
+
* ## Example Usage
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as scm from "@pulumi/scm";
|
|
89
|
+
*
|
|
90
|
+
* // Look up aggregate interface by its ID.
|
|
91
|
+
* const scmAggregateInterfaceDs = scm.getAggregateInterface({
|
|
92
|
+
* id: "ddad1e64-0b64-41a4-b361-c6199761a8f1",
|
|
93
|
+
* });
|
|
94
|
+
* export const aggregateInterfaceDataSourceResults = {
|
|
95
|
+
* id: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.id),
|
|
96
|
+
* name: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.name),
|
|
97
|
+
* comment: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.comment),
|
|
98
|
+
* layer3: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.layer3),
|
|
99
|
+
* folder: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.folder),
|
|
100
|
+
* };
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
export declare function getAggregateInterfaceOutput(args: GetAggregateInterfaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAggregateInterfaceResult>;
|
|
104
|
+
/**
|
|
105
|
+
* A collection of arguments for invoking getAggregateInterface.
|
|
106
|
+
*/
|
|
107
|
+
export interface GetAggregateInterfaceOutputArgs {
|
|
108
|
+
/**
|
|
109
|
+
* UUID of the resource
|
|
110
|
+
*/
|
|
111
|
+
id: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Aggregate interface name
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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.getAggregateInterfaceOutput = exports.getAggregateInterface = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* AggregateInterface 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 aggregate interface by its ID.
|
|
18
|
+
* const scmAggregateInterfaceDs = scm.getAggregateInterface({
|
|
19
|
+
* id: "ddad1e64-0b64-41a4-b361-c6199761a8f1",
|
|
20
|
+
* });
|
|
21
|
+
* export const aggregateInterfaceDataSourceResults = {
|
|
22
|
+
* id: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.id),
|
|
23
|
+
* name: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.name),
|
|
24
|
+
* comment: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.comment),
|
|
25
|
+
* layer3: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.layer3),
|
|
26
|
+
* folder: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.folder),
|
|
27
|
+
* };
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
function getAggregateInterface(args, opts) {
|
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
32
|
+
return pulumi.runtime.invoke("scm:index/getAggregateInterface:getAggregateInterface", {
|
|
33
|
+
"id": args.id,
|
|
34
|
+
"name": args.name,
|
|
35
|
+
}, opts);
|
|
36
|
+
}
|
|
37
|
+
exports.getAggregateInterface = getAggregateInterface;
|
|
38
|
+
/**
|
|
39
|
+
* AggregateInterface data source
|
|
40
|
+
*
|
|
41
|
+
* ## Example Usage
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as scm from "@pulumi/scm";
|
|
46
|
+
*
|
|
47
|
+
* // Look up aggregate interface by its ID.
|
|
48
|
+
* const scmAggregateInterfaceDs = scm.getAggregateInterface({
|
|
49
|
+
* id: "ddad1e64-0b64-41a4-b361-c6199761a8f1",
|
|
50
|
+
* });
|
|
51
|
+
* export const aggregateInterfaceDataSourceResults = {
|
|
52
|
+
* id: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.id),
|
|
53
|
+
* name: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.name),
|
|
54
|
+
* comment: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.comment),
|
|
55
|
+
* layer3: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.layer3),
|
|
56
|
+
* folder: scmAggregateInterfaceDs.then(scmAggregateInterfaceDs => scmAggregateInterfaceDs.folder),
|
|
57
|
+
* };
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
function getAggregateInterfaceOutput(args, opts) {
|
|
61
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
62
|
+
return pulumi.runtime.invokeOutput("scm:index/getAggregateInterface:getAggregateInterface", {
|
|
63
|
+
"id": args.id,
|
|
64
|
+
"name": args.name,
|
|
65
|
+
}, opts);
|
|
66
|
+
}
|
|
67
|
+
exports.getAggregateInterfaceOutput = getAggregateInterfaceOutput;
|
|
68
|
+
//# sourceMappingURL=getAggregateInterface.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAggregateInterface.js","sourceRoot":"","sources":["../getAggregateInterface.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA0DD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE;QACxF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
|
@@ -2,12 +2,25 @@ 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
|
+
* ```
|
|
5
18
|
*/
|
|
6
|
-
export declare function
|
|
19
|
+
export declare function getAggregateInterfaceList(args?: GetAggregateInterfaceListArgs, opts?: pulumi.InvokeOptions): Promise<GetAggregateInterfaceListResult>;
|
|
7
20
|
/**
|
|
8
|
-
* A collection of arguments for invoking
|
|
21
|
+
* A collection of arguments for invoking getAggregateInterfaceList.
|
|
9
22
|
*/
|
|
10
|
-
export interface
|
|
23
|
+
export interface GetAggregateInterfaceListArgs {
|
|
11
24
|
/**
|
|
12
25
|
* The device of the item.
|
|
13
26
|
*/
|
|
@@ -34,13 +47,13 @@ export interface GetAggregateEthernetInterfaceListArgs {
|
|
|
34
47
|
snippet?: string;
|
|
35
48
|
}
|
|
36
49
|
/**
|
|
37
|
-
* A collection of values returned by
|
|
50
|
+
* A collection of values returned by getAggregateInterfaceList.
|
|
38
51
|
*/
|
|
39
|
-
export interface
|
|
52
|
+
export interface GetAggregateInterfaceListResult {
|
|
40
53
|
/**
|
|
41
54
|
* The data.
|
|
42
55
|
*/
|
|
43
|
-
readonly datas: outputs.
|
|
56
|
+
readonly datas: outputs.GetAggregateInterfaceListData[];
|
|
44
57
|
/**
|
|
45
58
|
* The device of the item.
|
|
46
59
|
*/
|
|
@@ -77,12 +90,25 @@ export interface GetAggregateEthernetInterfaceListResult {
|
|
|
77
90
|
}
|
|
78
91
|
/**
|
|
79
92
|
* 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
|
+
* ```
|
|
80
106
|
*/
|
|
81
|
-
export declare function
|
|
107
|
+
export declare function getAggregateInterfaceListOutput(args?: GetAggregateInterfaceListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAggregateInterfaceListResult>;
|
|
82
108
|
/**
|
|
83
|
-
* A collection of arguments for invoking
|
|
109
|
+
* A collection of arguments for invoking getAggregateInterfaceList.
|
|
84
110
|
*/
|
|
85
|
-
export interface
|
|
111
|
+
export interface GetAggregateInterfaceListOutputArgs {
|
|
86
112
|
/**
|
|
87
113
|
* The device of the item.
|
|
88
114
|
*/
|
|
@@ -0,0 +1,66 @@
|
|
|
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.getAggregateInterfaceListOutput = exports.getAggregateInterfaceList = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a listing of config items.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as scm from "@pulumi/scm";
|
|
16
|
+
*
|
|
17
|
+
* // Fetch a list of all aggregate interfaces
|
|
18
|
+
* const allAggregateInterfaces = scm.getAggregateInterfaceList({
|
|
19
|
+
* folder: "ngfw-shared",
|
|
20
|
+
* });
|
|
21
|
+
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getAggregateInterfaceList(args, opts) {
|
|
25
|
+
args = args || {};
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
+
return pulumi.runtime.invoke("scm:index/getAggregateInterfaceList:getAggregateInterfaceList", {
|
|
28
|
+
"device": args.device,
|
|
29
|
+
"folder": args.folder,
|
|
30
|
+
"limit": args.limit,
|
|
31
|
+
"name": args.name,
|
|
32
|
+
"offset": args.offset,
|
|
33
|
+
"snippet": args.snippet,
|
|
34
|
+
}, opts);
|
|
35
|
+
}
|
|
36
|
+
exports.getAggregateInterfaceList = getAggregateInterfaceList;
|
|
37
|
+
/**
|
|
38
|
+
* Retrieves a listing of config items.
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ```typescript
|
|
43
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
44
|
+
* import * as scm from "@pulumi/scm";
|
|
45
|
+
*
|
|
46
|
+
* // Fetch a list of all aggregate interfaces
|
|
47
|
+
* const allAggregateInterfaces = scm.getAggregateInterfaceList({
|
|
48
|
+
* folder: "ngfw-shared",
|
|
49
|
+
* });
|
|
50
|
+
* export const scmAggregateInterfaceList = allAggregateInterfaces.then(allAggregateInterfaces => .reduce((__obj, interface) => ({ ...__obj, [_interface.name]: _interface })));
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
function getAggregateInterfaceListOutput(args, opts) {
|
|
54
|
+
args = args || {};
|
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
56
|
+
return pulumi.runtime.invokeOutput("scm:index/getAggregateInterfaceList:getAggregateInterfaceList", {
|
|
57
|
+
"device": args.device,
|
|
58
|
+
"folder": args.folder,
|
|
59
|
+
"limit": args.limit,
|
|
60
|
+
"name": args.name,
|
|
61
|
+
"offset": args.offset,
|
|
62
|
+
"snippet": args.snippet,
|
|
63
|
+
}, opts);
|
|
64
|
+
}
|
|
65
|
+
exports.getAggregateInterfaceListOutput = getAggregateInterfaceListOutput;
|
|
66
|
+
//# sourceMappingURL=getAggregateInterfaceList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAggregateInterfaceList.js","sourceRoot":"","sources":["../getAggregateInterfaceList.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,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,+DAA+D,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,8DAWC;AA0ED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,+BAA+B,CAAC,IAA0C,EAAE,IAAiC;IACzH,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,+DAA+D,EAAE;QAChG,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,0EAWC"}
|
|
@@ -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: "All",
|
|
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: "All",
|
|
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: "All",
|
|
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: "All",
|
|
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: "All",
|
|
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: "All",
|
|
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: "All",
|
|
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: "All",
|
|
49
49
|
* });
|
|
50
50
|
* export const scmAntiSpywareSignatureList = allAntiSpywareSignatures.then(allAntiSpywareSignatures => allAntiSpywareSignatures.datas);
|
|
51
51
|
* ```
|
package/getAppOverrideRule.d.ts
CHANGED
|
@@ -1,6 +1,32 @@
|
|
|
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
|
+
* ```
|
|
4
30
|
*/
|
|
5
31
|
export declare function getAppOverrideRule(args: GetAppOverrideRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetAppOverrideRuleResult>;
|
|
6
32
|
/**
|
|
@@ -71,11 +97,19 @@ export interface GetAppOverrideRuleResult {
|
|
|
71
97
|
/**
|
|
72
98
|
* Port
|
|
73
99
|
*/
|
|
74
|
-
readonly port:
|
|
100
|
+
readonly port: string;
|
|
101
|
+
/**
|
|
102
|
+
* The position of a security rule
|
|
103
|
+
*/
|
|
104
|
+
readonly position: string;
|
|
75
105
|
/**
|
|
76
106
|
* Protocol
|
|
77
107
|
*/
|
|
78
108
|
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;
|
|
79
113
|
/**
|
|
80
114
|
* The snippet in which the resource is defined
|
|
81
115
|
*/
|
|
@@ -88,6 +122,10 @@ export interface GetAppOverrideRuleResult {
|
|
|
88
122
|
* Tag
|
|
89
123
|
*/
|
|
90
124
|
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;
|
|
91
129
|
readonly tfid: string;
|
|
92
130
|
/**
|
|
93
131
|
* To
|
|
@@ -96,6 +134,32 @@ export interface GetAppOverrideRuleResult {
|
|
|
96
134
|
}
|
|
97
135
|
/**
|
|
98
136
|
* 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
|
+
* ```
|
|
99
163
|
*/
|
|
100
164
|
export declare function getAppOverrideRuleOutput(args: GetAppOverrideRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppOverrideRuleResult>;
|
|
101
165
|
/**
|
package/getAppOverrideRule.js
CHANGED
|
@@ -7,6 +7,32 @@ 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
|
+
* ```
|
|
10
36
|
*/
|
|
11
37
|
function getAppOverrideRule(args, opts) {
|
|
12
38
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -18,6 +44,32 @@ function getAppOverrideRule(args, opts) {
|
|
|
18
44
|
exports.getAppOverrideRule = getAppOverrideRule;
|
|
19
45
|
/**
|
|
20
46
|
* 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
|
+
* ```
|
|
21
73
|
*/
|
|
22
74
|
function getAppOverrideRuleOutput(args, opts) {
|
|
23
75
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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;AA0GD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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,8 +2,25 @@ 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
|
+
* ```
|
|
5
22
|
*/
|
|
6
|
-
export declare function getAppOverrideRuleList(args
|
|
23
|
+
export declare function getAppOverrideRuleList(args: GetAppOverrideRuleListArgs, opts?: pulumi.InvokeOptions): Promise<GetAppOverrideRuleListResult>;
|
|
7
24
|
/**
|
|
8
25
|
* A collection of arguments for invoking getAppOverrideRuleList.
|
|
9
26
|
*/
|
|
@@ -28,6 +45,10 @@ export interface GetAppOverrideRuleListArgs {
|
|
|
28
45
|
* The offset of the first item to return.
|
|
29
46
|
*/
|
|
30
47
|
offset?: number;
|
|
48
|
+
/**
|
|
49
|
+
* The position of a security rule
|
|
50
|
+
*/
|
|
51
|
+
position: string;
|
|
31
52
|
/**
|
|
32
53
|
* The snippet of the item.
|
|
33
54
|
*/
|
|
@@ -65,6 +86,10 @@ export interface GetAppOverrideRuleListResult {
|
|
|
65
86
|
* The offset of the first item to return.
|
|
66
87
|
*/
|
|
67
88
|
readonly offset?: number;
|
|
89
|
+
/**
|
|
90
|
+
* The position of a security rule
|
|
91
|
+
*/
|
|
92
|
+
readonly position: string;
|
|
68
93
|
/**
|
|
69
94
|
* The snippet of the item.
|
|
70
95
|
*/
|
|
@@ -77,8 +102,25 @@ export interface GetAppOverrideRuleListResult {
|
|
|
77
102
|
}
|
|
78
103
|
/**
|
|
79
104
|
* 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
|
+
* ```
|
|
80
122
|
*/
|
|
81
|
-
export declare function getAppOverrideRuleListOutput(args
|
|
123
|
+
export declare function getAppOverrideRuleListOutput(args: GetAppOverrideRuleListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppOverrideRuleListResult>;
|
|
82
124
|
/**
|
|
83
125
|
* A collection of arguments for invoking getAppOverrideRuleList.
|
|
84
126
|
*/
|
|
@@ -103,6 +145,10 @@ export interface GetAppOverrideRuleListOutputArgs {
|
|
|
103
145
|
* The offset of the first item to return.
|
|
104
146
|
*/
|
|
105
147
|
offset?: pulumi.Input<number>;
|
|
148
|
+
/**
|
|
149
|
+
* The position of a security rule
|
|
150
|
+
*/
|
|
151
|
+
position: pulumi.Input<string>;
|
|
106
152
|
/**
|
|
107
153
|
* The snippet of the item.
|
|
108
154
|
*/
|