@pulumi/sdwan 0.3.0-alpha.1743057086 → 0.3.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/cliConfigFeature.d.ts +3 -1
- package/cliConfigFeature.js +3 -1
- package/cliConfigFeature.js.map +1 -1
- package/configurationGroup.d.ts +7 -9
- package/configurationGroup.js +3 -5
- package/configurationGroup.js.map +1 -1
- package/dnsSecurityPolicy.d.ts +201 -0
- package/dnsSecurityPolicy.js +127 -0
- package/dnsSecurityPolicy.js.map +1 -0
- package/getConfigurationGroup.d.ts +2 -2
- package/getDnsSecurityPolicy.d.ts +114 -0
- package/getDnsSecurityPolicy.js +54 -0
- package/getDnsSecurityPolicy.js.map +1 -0
- package/getIntrusionPreventionPolicyDefinition.d.ts +6 -0
- package/getIntrusionPreventionPolicyDefinition.js.map +1 -1
- package/getSecurityPolicy.d.ts +28 -0
- package/getSecurityPolicy.js.map +1 -1
- package/getServiceLanVpnFeatureAssociateMulticastFeature.d.ts +4 -0
- package/getServiceLanVpnFeatureAssociateMulticastFeature.js.map +1 -1
- package/getServiceLanVpnFeatureAssociateRoutingBgpFeature.d.ts +4 -0
- package/getServiceLanVpnFeatureAssociateRoutingBgpFeature.js.map +1 -1
- package/getServiceLanVpnFeatureAssociateRoutingEigrpFeature.d.ts +4 -0
- package/getServiceLanVpnFeatureAssociateRoutingEigrpFeature.js.map +1 -1
- package/getServiceLanVpnFeatureAssociateRoutingOspfFeature.d.ts +4 -0
- package/getServiceLanVpnFeatureAssociateRoutingOspfFeature.js.map +1 -1
- package/getServiceLanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.d.ts +4 -0
- package/getServiceLanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.js.map +1 -1
- package/getServiceLanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.d.ts +4 -0
- package/getServiceLanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.js.map +1 -1
- package/getServiceLanVpnInterfaceEthernetFeatureAssociateDhcpServerFeature.d.ts +4 -0
- package/getServiceLanVpnInterfaceEthernetFeatureAssociateDhcpServerFeature.js.map +1 -1
- package/getServiceLanVpnInterfaceEthernetFeatureAssociateTrackerFeature.d.ts +4 -0
- package/getServiceLanVpnInterfaceEthernetFeatureAssociateTrackerFeature.js.map +1 -1
- package/getServiceLanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.d.ts +4 -0
- package/getServiceLanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.js.map +1 -1
- package/getServiceLanVpnInterfaceIpsecFeatureAssociateDhcpServerFeature.d.ts +4 -0
- package/getServiceLanVpnInterfaceIpsecFeatureAssociateDhcpServerFeature.js.map +1 -1
- package/getServiceLanVpnInterfaceSviFeatureAssociateDhcpServerFeature.d.ts +4 -0
- package/getServiceLanVpnInterfaceSviFeatureAssociateDhcpServerFeature.js.map +1 -1
- package/getTag.d.ts +70 -0
- package/getTag.js +50 -0
- package/getTag.js.map +1 -0
- package/getTransportWanVpnFeatureAssociateRoutingBgpFeature.d.ts +4 -0
- package/getTransportWanVpnFeatureAssociateRoutingBgpFeature.js.map +1 -1
- package/getTransportWanVpnFeatureAssociateRoutingOspfFeature.d.ts +4 -0
- package/getTransportWanVpnFeatureAssociateRoutingOspfFeature.js.map +1 -1
- package/getTransportWanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.d.ts +4 -0
- package/getTransportWanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.js.map +1 -1
- package/getTransportWanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.d.ts +4 -0
- package/getTransportWanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.js.map +1 -1
- package/getTransportWanVpnInterfaceCellularFeatureAssociateTrackerFeature.d.ts +4 -0
- package/getTransportWanVpnInterfaceCellularFeatureAssociateTrackerFeature.js.map +1 -1
- package/getTransportWanVpnInterfaceCellularFeatureAssociateTrackerGroupFeature.d.ts +4 -0
- package/getTransportWanVpnInterfaceCellularFeatureAssociateTrackerGroupFeature.js.map +1 -1
- package/getTransportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerFeature.d.ts +4 -0
- package/getTransportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerFeature.js.map +1 -1
- package/getTransportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerGroupFeature.d.ts +4 -0
- package/getTransportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerGroupFeature.js.map +1 -1
- package/getTransportWanVpnInterfaceEthernetFeatureAssociateTrackerFeature.d.ts +4 -0
- package/getTransportWanVpnInterfaceEthernetFeatureAssociateTrackerFeature.js.map +1 -1
- package/getTransportWanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.d.ts +4 -0
- package/getTransportWanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.js.map +1 -1
- package/getTransportWanVpnInterfaceGreFeatureAssociateTrackerFeature.d.ts +4 -0
- package/getTransportWanVpnInterfaceGreFeatureAssociateTrackerFeature.js.map +1 -1
- package/getTransportWanVpnInterfaceIpsecFeatureAssociateTrackerFeature.d.ts +4 -0
- package/getTransportWanVpnInterfaceIpsecFeatureAssociateTrackerFeature.js.map +1 -1
- package/getUrlFilteringPolicyDefinition.d.ts +2 -0
- package/getUrlFilteringPolicyDefinition.js.map +1 -1
- package/index.d.ts +12 -0
- package/index.js +30 -13
- package/index.js.map +1 -1
- package/intrusionPreventionPolicyDefinition.d.ts +17 -17
- package/intrusionPreventionPolicyDefinition.js +4 -17
- package/intrusionPreventionPolicyDefinition.js.map +1 -1
- package/package.json +2 -2
- package/securityPolicy.d.ts +84 -0
- package/securityPolicy.js +14 -0
- package/securityPolicy.js.map +1 -1
- package/serviceLanVpnFeatureAssociateMulticastFeature.d.ts +11 -1
- package/serviceLanVpnFeatureAssociateMulticastFeature.js +5 -1
- package/serviceLanVpnFeatureAssociateMulticastFeature.js.map +1 -1
- package/serviceLanVpnFeatureAssociateRoutingBgpFeature.d.ts +11 -1
- package/serviceLanVpnFeatureAssociateRoutingBgpFeature.js +5 -1
- package/serviceLanVpnFeatureAssociateRoutingBgpFeature.js.map +1 -1
- package/serviceLanVpnFeatureAssociateRoutingEigrpFeature.d.ts +11 -1
- package/serviceLanVpnFeatureAssociateRoutingEigrpFeature.js +5 -1
- package/serviceLanVpnFeatureAssociateRoutingEigrpFeature.js.map +1 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfFeature.d.ts +11 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfFeature.js +5 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfFeature.js.map +1 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.d.ts +11 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.js +5 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.js.map +1 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.d.ts +11 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.js +5 -1
- package/serviceLanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.js.map +1 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateDhcpServerFeature.d.ts +11 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateDhcpServerFeature.js +5 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateDhcpServerFeature.js.map +1 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateTrackerFeature.d.ts +11 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateTrackerFeature.js +5 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateTrackerFeature.js.map +1 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.d.ts +11 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.js +5 -1
- package/serviceLanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.js.map +1 -1
- package/serviceLanVpnInterfaceIpsecFeatureAssociateDhcpServerFeature.d.ts +11 -1
- package/serviceLanVpnInterfaceIpsecFeatureAssociateDhcpServerFeature.js +5 -1
- package/serviceLanVpnInterfaceIpsecFeatureAssociateDhcpServerFeature.js.map +1 -1
- package/serviceLanVpnInterfaceSviFeatureAssociateDhcpServerFeature.d.ts +11 -1
- package/serviceLanVpnInterfaceSviFeatureAssociateDhcpServerFeature.js +5 -1
- package/serviceLanVpnInterfaceSviFeatureAssociateDhcpServerFeature.js.map +1 -1
- package/tag.d.ts +95 -0
- package/tag.js +79 -0
- package/tag.js.map +1 -0
- package/transportCellularProfileFeature.d.ts +4 -4
- package/transportCellularProfileFeature.js +0 -6
- package/transportCellularProfileFeature.js.map +1 -1
- package/transportWanVpnFeatureAssociateRoutingBgpFeature.d.ts +11 -1
- package/transportWanVpnFeatureAssociateRoutingBgpFeature.js +5 -1
- package/transportWanVpnFeatureAssociateRoutingBgpFeature.js.map +1 -1
- package/transportWanVpnFeatureAssociateRoutingOspfFeature.d.ts +11 -1
- package/transportWanVpnFeatureAssociateRoutingOspfFeature.js +5 -1
- package/transportWanVpnFeatureAssociateRoutingOspfFeature.js.map +1 -1
- package/transportWanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.d.ts +11 -1
- package/transportWanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.js +5 -1
- package/transportWanVpnFeatureAssociateRoutingOspfv3Ipv4Feature.js.map +1 -1
- package/transportWanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.d.ts +11 -1
- package/transportWanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.js +5 -1
- package/transportWanVpnFeatureAssociateRoutingOspfv3Ipv6Feature.js.map +1 -1
- package/transportWanVpnInterfaceCellularFeatureAssociateTrackerFeature.d.ts +11 -1
- package/transportWanVpnInterfaceCellularFeatureAssociateTrackerFeature.js +5 -1
- package/transportWanVpnInterfaceCellularFeatureAssociateTrackerFeature.js.map +1 -1
- package/transportWanVpnInterfaceCellularFeatureAssociateTrackerGroupFeature.d.ts +11 -1
- package/transportWanVpnInterfaceCellularFeatureAssociateTrackerGroupFeature.js +5 -1
- package/transportWanVpnInterfaceCellularFeatureAssociateTrackerGroupFeature.js.map +1 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerFeature.d.ts +11 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerFeature.js +5 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerFeature.js.map +1 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerGroupFeature.d.ts +11 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerGroupFeature.js +5 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateIpv6TrackerGroupFeature.js.map +1 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateTrackerFeature.d.ts +11 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateTrackerFeature.js +5 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateTrackerFeature.js.map +1 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.d.ts +11 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.js +5 -1
- package/transportWanVpnInterfaceEthernetFeatureAssociateTrackerGroupFeature.js.map +1 -1
- package/transportWanVpnInterfaceGreFeatureAssociateTrackerFeature.d.ts +11 -1
- package/transportWanVpnInterfaceGreFeatureAssociateTrackerFeature.js +5 -1
- package/transportWanVpnInterfaceGreFeatureAssociateTrackerFeature.js.map +1 -1
- package/transportWanVpnInterfaceIpsecFeatureAssociateTrackerFeature.d.ts +11 -1
- package/transportWanVpnInterfaceIpsecFeatureAssociateTrackerFeature.js +5 -1
- package/transportWanVpnInterfaceIpsecFeatureAssociateTrackerFeature.js.map +1 -1
- package/types/input.d.ts +256 -211
- package/types/output.d.ts +307 -217
- package/urlFilteringPolicyDefinition.d.ts +5 -20
- package/urlFilteringPolicyDefinition.js +2 -20
- package/urlFilteringPolicyDefinition.js.map +1 -1
- package/zoneBasedFirewallPolicyDefinition.d.ts +11 -2
- package/zoneBasedFirewallPolicyDefinition.js +0 -3
- package/zoneBasedFirewallPolicyDefinition.js.map +1 -1
package/cliConfigFeature.d.ts
CHANGED
|
@@ -21,8 +21,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
21
|
*
|
|
22
22
|
* ## Import
|
|
23
23
|
*
|
|
24
|
+
* Expected import identifier with the format: "cli_config_feature_id,feature_profile_id"
|
|
25
|
+
*
|
|
24
26
|
* ```sh
|
|
25
|
-
* $ pulumi import sdwan:index/cliConfigFeature:CliConfigFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd"
|
|
27
|
+
* $ pulumi import sdwan:index/cliConfigFeature:CliConfigFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
26
28
|
* ```
|
|
27
29
|
*/
|
|
28
30
|
export declare class CliConfigFeature extends pulumi.CustomResource {
|
package/cliConfigFeature.js
CHANGED
|
@@ -27,8 +27,10 @@ const utilities = require("./utilities");
|
|
|
27
27
|
*
|
|
28
28
|
* ## Import
|
|
29
29
|
*
|
|
30
|
+
* Expected import identifier with the format: "cli_config_feature_id,feature_profile_id"
|
|
31
|
+
*
|
|
30
32
|
* ```sh
|
|
31
|
-
* $ pulumi import sdwan:index/cliConfigFeature:CliConfigFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd"
|
|
33
|
+
* $ pulumi import sdwan:index/cliConfigFeature:CliConfigFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
32
34
|
* ```
|
|
33
35
|
*/
|
|
34
36
|
class CliConfigFeature extends pulumi.CustomResource {
|
package/cliConfigFeature.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cliConfigFeature.js","sourceRoot":"","sources":["../cliConfigFeature.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,i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cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAtFL,4CAuFC;AAzEG,gBAAgB;AACO,6BAAY,GAAG,+CAA+C,CAAC"}
|
package/configurationGroup.d.ts
CHANGED
|
@@ -15,9 +15,7 @@ import * as outputs from "./types/output";
|
|
|
15
15
|
* name: "CG_1",
|
|
16
16
|
* description: "My config group 1",
|
|
17
17
|
* solution: "sdwan",
|
|
18
|
-
*
|
|
19
|
-
* id: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
20
|
-
* }],
|
|
18
|
+
* featureProfileIds: ["f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"],
|
|
21
19
|
* devices: [{
|
|
22
20
|
* id: "C8K-40C0CCFD-9EA8-2B2E-E73B-32C5924EC79B",
|
|
23
21
|
* variables: [{
|
|
@@ -59,9 +57,9 @@ export declare class ConfigurationGroup extends pulumi.CustomResource {
|
|
|
59
57
|
*/
|
|
60
58
|
readonly devices: pulumi.Output<outputs.ConfigurationGroupDevice[] | undefined>;
|
|
61
59
|
/**
|
|
62
|
-
* List of feature
|
|
60
|
+
* List of feature profile IDs
|
|
63
61
|
*/
|
|
64
|
-
readonly
|
|
62
|
+
readonly featureProfileIds: pulumi.Output<string[] | undefined>;
|
|
65
63
|
/**
|
|
66
64
|
* List of all associated feature versions
|
|
67
65
|
*/
|
|
@@ -104,9 +102,9 @@ export interface ConfigurationGroupState {
|
|
|
104
102
|
*/
|
|
105
103
|
devices?: pulumi.Input<pulumi.Input<inputs.ConfigurationGroupDevice>[]>;
|
|
106
104
|
/**
|
|
107
|
-
* List of feature
|
|
105
|
+
* List of feature profile IDs
|
|
108
106
|
*/
|
|
109
|
-
|
|
107
|
+
featureProfileIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
110
108
|
/**
|
|
111
109
|
* List of all associated feature versions
|
|
112
110
|
*/
|
|
@@ -141,9 +139,9 @@ export interface ConfigurationGroupArgs {
|
|
|
141
139
|
*/
|
|
142
140
|
devices?: pulumi.Input<pulumi.Input<inputs.ConfigurationGroupDevice>[]>;
|
|
143
141
|
/**
|
|
144
|
-
* List of feature
|
|
142
|
+
* List of feature profile IDs
|
|
145
143
|
*/
|
|
146
|
-
|
|
144
|
+
featureProfileIds?: pulumi.Input<pulumi.Input<string>[]>;
|
|
147
145
|
/**
|
|
148
146
|
* List of all associated feature versions
|
|
149
147
|
*/
|
package/configurationGroup.js
CHANGED
|
@@ -19,9 +19,7 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* name: "CG_1",
|
|
20
20
|
* description: "My config group 1",
|
|
21
21
|
* solution: "sdwan",
|
|
22
|
-
*
|
|
23
|
-
* id: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
24
|
-
* }],
|
|
22
|
+
* featureProfileIds: ["f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"],
|
|
25
23
|
* devices: [{
|
|
26
24
|
* id: "C8K-40C0CCFD-9EA8-2B2E-E73B-32C5924EC79B",
|
|
27
25
|
* variables: [{
|
|
@@ -68,7 +66,7 @@ class ConfigurationGroup extends pulumi.CustomResource {
|
|
|
68
66
|
const state = argsOrState;
|
|
69
67
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
70
68
|
resourceInputs["devices"] = state ? state.devices : undefined;
|
|
71
|
-
resourceInputs["
|
|
69
|
+
resourceInputs["featureProfileIds"] = state ? state.featureProfileIds : undefined;
|
|
72
70
|
resourceInputs["featureVersions"] = state ? state.featureVersions : undefined;
|
|
73
71
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
74
72
|
resourceInputs["solution"] = state ? state.solution : undefined;
|
|
@@ -85,7 +83,7 @@ class ConfigurationGroup extends pulumi.CustomResource {
|
|
|
85
83
|
}
|
|
86
84
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
87
85
|
resourceInputs["devices"] = args ? args.devices : undefined;
|
|
88
|
-
resourceInputs["
|
|
86
|
+
resourceInputs["featureProfileIds"] = args ? args.featureProfileIds : undefined;
|
|
89
87
|
resourceInputs["featureVersions"] = args ? args.featureVersions : undefined;
|
|
90
88
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
91
89
|
resourceInputs["solution"] = args ? args.solution : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurationGroup.js","sourceRoot":"","sources":["../configurationGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"configurationGroup.js","sourceRoot":"","sources":["../configurationGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA2CD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAA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AAC,CAAC;IACvE,CAAC;;AArGL,gDAsGC;AAxFG,gBAAgB;AACO,+BAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource can manage a DNS Security Policy.
|
|
6
|
+
* - Minimum SD-WAN Manager version: `20.12.0`
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
13
|
+
*
|
|
14
|
+
* const example = new sdwan.DnsSecurityPolicy("example", {
|
|
15
|
+
* name: "Example",
|
|
16
|
+
* description: "My Example",
|
|
17
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
18
|
+
* localDomainBypassListId: "0c4e096d-b06d-4052-93ed-70fe34fda6dc",
|
|
19
|
+
* matchAllVpn: true,
|
|
20
|
+
* umbrellaDefault: false,
|
|
21
|
+
* dnsServerIp: "1.2.3.4",
|
|
22
|
+
* localDomainBypassEnabled: true,
|
|
23
|
+
* dnsCrypt: false,
|
|
24
|
+
* childOrgId: "12334",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Expected import identifier with the format: "dns_security_policy_id,feature_profile_id"
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import sdwan:index/dnsSecurityPolicy:DnsSecurityPolicy example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class DnsSecurityPolicy extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing DnsSecurityPolicy resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DnsSecurityPolicyState, opts?: pulumi.CustomResourceOptions): DnsSecurityPolicy;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of DnsSecurityPolicy. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is DnsSecurityPolicy;
|
|
52
|
+
/**
|
|
53
|
+
* String that is a number that corresponds to Umbrella Multi Org, can be empty if not using Umbrella Multi Org
|
|
54
|
+
*/
|
|
55
|
+
readonly childOrgId: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The description of the Policy
|
|
58
|
+
*/
|
|
59
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* If matchAllVpn is false, this field is only true if at least one of the targetVpns entires contains an umbrellaDefault true
|
|
62
|
+
*/
|
|
63
|
+
readonly dnsCrypt: pulumi.Output<boolean>;
|
|
64
|
+
/**
|
|
65
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry, Attribute conditional on `matchAllVpn` being equal to `true`
|
|
66
|
+
*/
|
|
67
|
+
readonly dnsServerIp: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Feature Profile ID
|
|
70
|
+
*/
|
|
71
|
+
readonly featureProfileId: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
74
|
+
*/
|
|
75
|
+
readonly localDomainBypassEnabled: pulumi.Output<boolean>;
|
|
76
|
+
readonly localDomainBypassListId: pulumi.Output<string>;
|
|
77
|
+
/**
|
|
78
|
+
* If this is true, there shouldn't be a targetVpns field, if false then targetVpns field should be there
|
|
79
|
+
*/
|
|
80
|
+
readonly matchAllVpn: pulumi.Output<boolean>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the Policy
|
|
83
|
+
*/
|
|
84
|
+
readonly name: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Will be under data field only if matchAllVpn is false, if matchAllVpn is true field should not be in payload, Attribute conditional on `matchAllVpn` being equal to `false`
|
|
87
|
+
*/
|
|
88
|
+
readonly targetVpns: pulumi.Output<outputs.DnsSecurityPolicyTargetVpn[] | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
91
|
+
*/
|
|
92
|
+
readonly umbrellaDefault: pulumi.Output<boolean>;
|
|
93
|
+
/**
|
|
94
|
+
* The version of the Policy
|
|
95
|
+
*/
|
|
96
|
+
readonly version: pulumi.Output<number>;
|
|
97
|
+
/**
|
|
98
|
+
* Create a DnsSecurityPolicy resource with the given unique name, arguments, and options.
|
|
99
|
+
*
|
|
100
|
+
* @param name The _unique_ name of the resource.
|
|
101
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
102
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
103
|
+
*/
|
|
104
|
+
constructor(name: string, args: DnsSecurityPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Input properties used for looking up and filtering DnsSecurityPolicy resources.
|
|
108
|
+
*/
|
|
109
|
+
export interface DnsSecurityPolicyState {
|
|
110
|
+
/**
|
|
111
|
+
* String that is a number that corresponds to Umbrella Multi Org, can be empty if not using Umbrella Multi Org
|
|
112
|
+
*/
|
|
113
|
+
childOrgId?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* The description of the Policy
|
|
116
|
+
*/
|
|
117
|
+
description?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* If matchAllVpn is false, this field is only true if at least one of the targetVpns entires contains an umbrellaDefault true
|
|
120
|
+
*/
|
|
121
|
+
dnsCrypt?: pulumi.Input<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry, Attribute conditional on `matchAllVpn` being equal to `true`
|
|
124
|
+
*/
|
|
125
|
+
dnsServerIp?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Feature Profile ID
|
|
128
|
+
*/
|
|
129
|
+
featureProfileId?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
132
|
+
*/
|
|
133
|
+
localDomainBypassEnabled?: pulumi.Input<boolean>;
|
|
134
|
+
localDomainBypassListId?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* If this is true, there shouldn't be a targetVpns field, if false then targetVpns field should be there
|
|
137
|
+
*/
|
|
138
|
+
matchAllVpn?: pulumi.Input<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* The name of the Policy
|
|
141
|
+
*/
|
|
142
|
+
name?: pulumi.Input<string>;
|
|
143
|
+
/**
|
|
144
|
+
* Will be under data field only if matchAllVpn is false, if matchAllVpn is true field should not be in payload, Attribute conditional on `matchAllVpn` being equal to `false`
|
|
145
|
+
*/
|
|
146
|
+
targetVpns?: pulumi.Input<pulumi.Input<inputs.DnsSecurityPolicyTargetVpn>[]>;
|
|
147
|
+
/**
|
|
148
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
149
|
+
*/
|
|
150
|
+
umbrellaDefault?: pulumi.Input<boolean>;
|
|
151
|
+
/**
|
|
152
|
+
* The version of the Policy
|
|
153
|
+
*/
|
|
154
|
+
version?: pulumi.Input<number>;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* The set of arguments for constructing a DnsSecurityPolicy resource.
|
|
158
|
+
*/
|
|
159
|
+
export interface DnsSecurityPolicyArgs {
|
|
160
|
+
/**
|
|
161
|
+
* String that is a number that corresponds to Umbrella Multi Org, can be empty if not using Umbrella Multi Org
|
|
162
|
+
*/
|
|
163
|
+
childOrgId: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The description of the Policy
|
|
166
|
+
*/
|
|
167
|
+
description?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* If matchAllVpn is false, this field is only true if at least one of the targetVpns entires contains an umbrellaDefault true
|
|
170
|
+
*/
|
|
171
|
+
dnsCrypt: pulumi.Input<boolean>;
|
|
172
|
+
/**
|
|
173
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry, Attribute conditional on `matchAllVpn` being equal to `true`
|
|
174
|
+
*/
|
|
175
|
+
dnsServerIp: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Feature Profile ID
|
|
178
|
+
*/
|
|
179
|
+
featureProfileId: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
182
|
+
*/
|
|
183
|
+
localDomainBypassEnabled: pulumi.Input<boolean>;
|
|
184
|
+
localDomainBypassListId: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* If this is true, there shouldn't be a targetVpns field, if false then targetVpns field should be there
|
|
187
|
+
*/
|
|
188
|
+
matchAllVpn: pulumi.Input<boolean>;
|
|
189
|
+
/**
|
|
190
|
+
* The name of the Policy
|
|
191
|
+
*/
|
|
192
|
+
name?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* Will be under data field only if matchAllVpn is false, if matchAllVpn is true field should not be in payload, Attribute conditional on `matchAllVpn` being equal to `false`
|
|
195
|
+
*/
|
|
196
|
+
targetVpns?: pulumi.Input<pulumi.Input<inputs.DnsSecurityPolicyTargetVpn>[]>;
|
|
197
|
+
/**
|
|
198
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
199
|
+
*/
|
|
200
|
+
umbrellaDefault: pulumi.Input<boolean>;
|
|
201
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.DnsSecurityPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource can manage a DNS Security Policy.
|
|
10
|
+
* - Minimum SD-WAN Manager version: `20.12.0`
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
17
|
+
*
|
|
18
|
+
* const example = new sdwan.DnsSecurityPolicy("example", {
|
|
19
|
+
* name: "Example",
|
|
20
|
+
* description: "My Example",
|
|
21
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
22
|
+
* localDomainBypassListId: "0c4e096d-b06d-4052-93ed-70fe34fda6dc",
|
|
23
|
+
* matchAllVpn: true,
|
|
24
|
+
* umbrellaDefault: false,
|
|
25
|
+
* dnsServerIp: "1.2.3.4",
|
|
26
|
+
* localDomainBypassEnabled: true,
|
|
27
|
+
* dnsCrypt: false,
|
|
28
|
+
* childOrgId: "12334",
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* Expected import identifier with the format: "dns_security_policy_id,feature_profile_id"
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import sdwan:index/dnsSecurityPolicy:DnsSecurityPolicy example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class DnsSecurityPolicy extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing DnsSecurityPolicy resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new DnsSecurityPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of DnsSecurityPolicy. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === DnsSecurityPolicy.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["childOrgId"] = state ? state.childOrgId : undefined;
|
|
69
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
70
|
+
resourceInputs["dnsCrypt"] = state ? state.dnsCrypt : undefined;
|
|
71
|
+
resourceInputs["dnsServerIp"] = state ? state.dnsServerIp : undefined;
|
|
72
|
+
resourceInputs["featureProfileId"] = state ? state.featureProfileId : undefined;
|
|
73
|
+
resourceInputs["localDomainBypassEnabled"] = state ? state.localDomainBypassEnabled : undefined;
|
|
74
|
+
resourceInputs["localDomainBypassListId"] = state ? state.localDomainBypassListId : undefined;
|
|
75
|
+
resourceInputs["matchAllVpn"] = state ? state.matchAllVpn : undefined;
|
|
76
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
77
|
+
resourceInputs["targetVpns"] = state ? state.targetVpns : undefined;
|
|
78
|
+
resourceInputs["umbrellaDefault"] = state ? state.umbrellaDefault : undefined;
|
|
79
|
+
resourceInputs["version"] = state ? state.version : undefined;
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
const args = argsOrState;
|
|
83
|
+
if ((!args || args.childOrgId === undefined) && !opts.urn) {
|
|
84
|
+
throw new Error("Missing required property 'childOrgId'");
|
|
85
|
+
}
|
|
86
|
+
if ((!args || args.dnsCrypt === undefined) && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'dnsCrypt'");
|
|
88
|
+
}
|
|
89
|
+
if ((!args || args.dnsServerIp === undefined) && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'dnsServerIp'");
|
|
91
|
+
}
|
|
92
|
+
if ((!args || args.featureProfileId === undefined) && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'featureProfileId'");
|
|
94
|
+
}
|
|
95
|
+
if ((!args || args.localDomainBypassEnabled === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'localDomainBypassEnabled'");
|
|
97
|
+
}
|
|
98
|
+
if ((!args || args.localDomainBypassListId === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'localDomainBypassListId'");
|
|
100
|
+
}
|
|
101
|
+
if ((!args || args.matchAllVpn === undefined) && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'matchAllVpn'");
|
|
103
|
+
}
|
|
104
|
+
if ((!args || args.umbrellaDefault === undefined) && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'umbrellaDefault'");
|
|
106
|
+
}
|
|
107
|
+
resourceInputs["childOrgId"] = args ? args.childOrgId : undefined;
|
|
108
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
109
|
+
resourceInputs["dnsCrypt"] = args ? args.dnsCrypt : undefined;
|
|
110
|
+
resourceInputs["dnsServerIp"] = args ? args.dnsServerIp : undefined;
|
|
111
|
+
resourceInputs["featureProfileId"] = args ? args.featureProfileId : undefined;
|
|
112
|
+
resourceInputs["localDomainBypassEnabled"] = args ? args.localDomainBypassEnabled : undefined;
|
|
113
|
+
resourceInputs["localDomainBypassListId"] = args ? args.localDomainBypassListId : undefined;
|
|
114
|
+
resourceInputs["matchAllVpn"] = args ? args.matchAllVpn : undefined;
|
|
115
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
116
|
+
resourceInputs["targetVpns"] = args ? args.targetVpns : undefined;
|
|
117
|
+
resourceInputs["umbrellaDefault"] = args ? args.umbrellaDefault : undefined;
|
|
118
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
119
|
+
}
|
|
120
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
121
|
+
super(DnsSecurityPolicy.__pulumiType, name, resourceInputs, opts);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
exports.DnsSecurityPolicy = DnsSecurityPolicy;
|
|
125
|
+
/** @internal */
|
|
126
|
+
DnsSecurityPolicy.__pulumiType = 'sdwan:index/dnsSecurityPolicy:DnsSecurityPolicy';
|
|
127
|
+
//# sourceMappingURL=dnsSecurityPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnsSecurityPolicy.js","sourceRoot":"","sources":["../dnsSecurityPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAi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,CAAC;;AA5IL,8CA6IC;AA/HG,gBAAgB;AACO,8BAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -37,9 +37,9 @@ export interface GetConfigurationGroupResult {
|
|
|
37
37
|
*/
|
|
38
38
|
readonly devices: outputs.GetConfigurationGroupDevice[];
|
|
39
39
|
/**
|
|
40
|
-
* List of feature
|
|
40
|
+
* List of feature profile IDs
|
|
41
41
|
*/
|
|
42
|
-
readonly
|
|
42
|
+
readonly featureProfileIds: string[];
|
|
43
43
|
/**
|
|
44
44
|
* List of all associated feature versions
|
|
45
45
|
*/
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source can read the DNS Security Policy.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
11
|
+
*
|
|
12
|
+
* const example = sdwan.getDnsSecurityPolicy({
|
|
13
|
+
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
|
|
14
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getDnsSecurityPolicy(args: GetDnsSecurityPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetDnsSecurityPolicyResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getDnsSecurityPolicy.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDnsSecurityPolicyArgs {
|
|
23
|
+
/**
|
|
24
|
+
* Feature Profile ID
|
|
25
|
+
*/
|
|
26
|
+
featureProfileId: string;
|
|
27
|
+
/**
|
|
28
|
+
* The id of the Policy
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A collection of values returned by getDnsSecurityPolicy.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetDnsSecurityPolicyResult {
|
|
36
|
+
/**
|
|
37
|
+
* String that is a number that corresponds to Umbrella Multi Org, can be empty if not using Umbrella Multi Org
|
|
38
|
+
*/
|
|
39
|
+
readonly childOrgId: string;
|
|
40
|
+
/**
|
|
41
|
+
* The description of the Policy
|
|
42
|
+
*/
|
|
43
|
+
readonly description: string;
|
|
44
|
+
/**
|
|
45
|
+
* If matchAllVpn is false, this field is only true if at least one of the targetVpns entires contains an umbrellaDefault true
|
|
46
|
+
*/
|
|
47
|
+
readonly dnsCrypt: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
50
|
+
*/
|
|
51
|
+
readonly dnsServerIp: string;
|
|
52
|
+
/**
|
|
53
|
+
* Feature Profile ID
|
|
54
|
+
*/
|
|
55
|
+
readonly featureProfileId: string;
|
|
56
|
+
/**
|
|
57
|
+
* The id of the Policy
|
|
58
|
+
*/
|
|
59
|
+
readonly id: string;
|
|
60
|
+
/**
|
|
61
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
62
|
+
*/
|
|
63
|
+
readonly localDomainBypassEnabled: boolean;
|
|
64
|
+
readonly localDomainBypassListId: string;
|
|
65
|
+
/**
|
|
66
|
+
* If this is true, there shouldn't be a targetVpns field, if false then targetVpns field should be there
|
|
67
|
+
*/
|
|
68
|
+
readonly matchAllVpn: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the Policy
|
|
71
|
+
*/
|
|
72
|
+
readonly name: string;
|
|
73
|
+
/**
|
|
74
|
+
* Will be under data field only if matchAllVpn is false, if matchAllVpn is true field should not be in payload
|
|
75
|
+
*/
|
|
76
|
+
readonly targetVpns: outputs.GetDnsSecurityPolicyTargetVpn[];
|
|
77
|
+
/**
|
|
78
|
+
* Field will only be under data field if matchAllVpn is true, otherwise field will be under targetVpns and set per entry
|
|
79
|
+
*/
|
|
80
|
+
readonly umbrellaDefault: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* The version of the Policy
|
|
83
|
+
*/
|
|
84
|
+
readonly version: number;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* This data source can read the DNS Security Policy.
|
|
88
|
+
*
|
|
89
|
+
* ## Example Usage
|
|
90
|
+
*
|
|
91
|
+
* ```typescript
|
|
92
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
93
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
94
|
+
*
|
|
95
|
+
* const example = sdwan.getDnsSecurityPolicy({
|
|
96
|
+
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
|
|
97
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
98
|
+
* });
|
|
99
|
+
* ```
|
|
100
|
+
*/
|
|
101
|
+
export declare function getDnsSecurityPolicyOutput(args: GetDnsSecurityPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDnsSecurityPolicyResult>;
|
|
102
|
+
/**
|
|
103
|
+
* A collection of arguments for invoking getDnsSecurityPolicy.
|
|
104
|
+
*/
|
|
105
|
+
export interface GetDnsSecurityPolicyOutputArgs {
|
|
106
|
+
/**
|
|
107
|
+
* Feature Profile ID
|
|
108
|
+
*/
|
|
109
|
+
featureProfileId: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The id of the Policy
|
|
112
|
+
*/
|
|
113
|
+
id: pulumi.Input<string>;
|
|
114
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
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.getDnsSecurityPolicyOutput = exports.getDnsSecurityPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source can read the DNS Security Policy.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
16
|
+
*
|
|
17
|
+
* const example = sdwan.getDnsSecurityPolicy({
|
|
18
|
+
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
|
|
19
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getDnsSecurityPolicy(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("sdwan:index/getDnsSecurityPolicy:getDnsSecurityPolicy", {
|
|
26
|
+
"featureProfileId": args.featureProfileId,
|
|
27
|
+
"id": args.id,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getDnsSecurityPolicy = getDnsSecurityPolicy;
|
|
31
|
+
/**
|
|
32
|
+
* This data source can read the DNS Security Policy.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
39
|
+
*
|
|
40
|
+
* const example = sdwan.getDnsSecurityPolicy({
|
|
41
|
+
* id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
|
|
42
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function getDnsSecurityPolicyOutput(args, opts) {
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("sdwan:index/getDnsSecurityPolicy:getDnsSecurityPolicy", {
|
|
49
|
+
"featureProfileId": args.featureProfileId,
|
|
50
|
+
"id": args.id,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getDnsSecurityPolicyOutput = getDnsSecurityPolicyOutput;
|
|
54
|
+
//# sourceMappingURL=getDnsSecurityPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDnsSecurityPolicy.js","sourceRoot":"","sources":["../getDnsSecurityPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;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,uDAAuD,EAAE;QAClF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAsED;;;;;;;;;;;;;;GAcG;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,uDAAuD,EAAE;QACxF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gEAMC"}
|