@pulumi/sdwan 0.9.0 → 0.9.1
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/activateTopologyGroup.d.ts +65 -0
- package/activateTopologyGroup.d.ts.map +1 -0
- package/activateTopologyGroup.js +81 -0
- package/activateTopologyGroup.js.map +1 -0
- package/cloudProviderSettings.d.ts +1 -1
- package/cloudProviderSettings.js +1 -1
- package/customApplication.d.ts +176 -0
- package/customApplication.d.ts.map +1 -0
- package/customApplication.js +122 -0
- package/customApplication.js.map +1 -0
- package/getCustomApplication.d.ts +92 -0
- package/getCustomApplication.d.ts.map +1 -0
- package/getCustomApplication.js +73 -0
- package/getCustomApplication.js.map +1 -0
- package/getSseCiscoFeature.d.ts +130 -0
- package/getSseCiscoFeature.d.ts.map +1 -0
- package/getSseCiscoFeature.js +79 -0
- package/getSseCiscoFeature.js.map +1 -0
- package/getSseFeatureProfile.d.ts +67 -0
- package/getSseFeatureProfile.d.ts.map +1 -0
- package/getSseFeatureProfile.js +73 -0
- package/getSseFeatureProfile.js.map +1 -0
- package/getSseZscalerFeature.d.ts +283 -0
- package/getSseZscalerFeature.d.ts.map +1 -0
- package/getSseZscalerFeature.js +79 -0
- package/getSseZscalerFeature.js.map +1 -0
- package/getTopologyCustomControlFeature.d.ts +101 -0
- package/getTopologyCustomControlFeature.d.ts.map +1 -0
- package/getTopologyCustomControlFeature.js +77 -0
- package/getTopologyCustomControlFeature.js.map +1 -0
- package/getTopologyFeatureProfile.d.ts +67 -0
- package/getTopologyFeatureProfile.d.ts.map +1 -0
- package/getTopologyFeatureProfile.js +73 -0
- package/getTopologyFeatureProfile.js.map +1 -0
- package/getTopologyGroup.d.ts +75 -0
- package/getTopologyGroup.d.ts.map +1 -0
- package/getTopologyGroup.js +73 -0
- package/getTopologyGroup.js.map +1 -0
- package/getTopologyHubSpokeFeature.d.ts +92 -0
- package/getTopologyHubSpokeFeature.d.ts.map +1 -0
- package/getTopologyHubSpokeFeature.js +77 -0
- package/getTopologyHubSpokeFeature.js.map +1 -0
- package/getTopologyMeshFeature.d.ts +87 -0
- package/getTopologyMeshFeature.d.ts.map +1 -0
- package/getTopologyMeshFeature.js +77 -0
- package/getTopologyMeshFeature.js.map +1 -0
- package/index.d.ts +57 -0
- package/index.d.ts.map +1 -1
- package/index.js +93 -15
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/sseCiscoFeature.d.ts +251 -0
- package/sseCiscoFeature.d.ts.map +1 -0
- package/sseCiscoFeature.js +162 -0
- package/sseCiscoFeature.js.map +1 -0
- package/sseFeatureProfile.d.ts +85 -0
- package/sseFeatureProfile.d.ts.map +1 -0
- package/sseFeatureProfile.js +101 -0
- package/sseFeatureProfile.js.map +1 -0
- package/sseZscalerFeature.d.ts +828 -0
- package/sseZscalerFeature.d.ts.map +1 -0
- package/sseZscalerFeature.js +256 -0
- package/sseZscalerFeature.js.map +1 -0
- package/systemOmpFeature.d.ts +6 -6
- package/topologyCustomControlFeature.d.ts +237 -0
- package/topologyCustomControlFeature.d.ts.map +1 -0
- package/topologyCustomControlFeature.js +157 -0
- package/topologyCustomControlFeature.js.map +1 -0
- package/topologyFeatureProfile.d.ts +85 -0
- package/topologyFeatureProfile.d.ts.map +1 -0
- package/topologyFeatureProfile.js +101 -0
- package/topologyFeatureProfile.js.map +1 -0
- package/topologyGroup.d.ts +114 -0
- package/topologyGroup.d.ts.map +1 -0
- package/topologyGroup.js +110 -0
- package/topologyGroup.js.map +1 -0
- package/topologyHubSpokeFeature.d.ts +138 -0
- package/topologyHubSpokeFeature.d.ts.map +1 -0
- package/topologyHubSpokeFeature.js +133 -0
- package/topologyHubSpokeFeature.js.map +1 -0
- package/topologyMeshFeature.d.ts +116 -0
- package/topologyMeshFeature.d.ts.map +1 -0
- package/topologyMeshFeature.js +120 -0
- package/topologyMeshFeature.js.map +1 -0
- package/types/input.d.ts +1132 -128
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +7183 -5300
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,157 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.TopologyCustomControlFeature = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource can manage a Topology Custom Control Feature.
|
|
33
|
+
* - Minimum SD-WAN Manager version: `20.15.0`
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
40
|
+
*
|
|
41
|
+
* const example = new sdwan.TopologyCustomControlFeature("example", {
|
|
42
|
+
* name: "Example",
|
|
43
|
+
* description: "My Example",
|
|
44
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
45
|
+
* defaultAction: "reject",
|
|
46
|
+
* targetLevel: "SITE",
|
|
47
|
+
* targetInboundSites: ["SITE_100"],
|
|
48
|
+
* targetOutboundSites: ["SITE_200"],
|
|
49
|
+
* sequences: [{
|
|
50
|
+
* id: 1,
|
|
51
|
+
* name: "Rule1",
|
|
52
|
+
* baseAction: "accept",
|
|
53
|
+
* type: "route",
|
|
54
|
+
* ipType: "ipv4",
|
|
55
|
+
* matchEntries: [{
|
|
56
|
+
* ompTag: 100,
|
|
57
|
+
* origin: "connected",
|
|
58
|
+
* originator: "1.2.3.4",
|
|
59
|
+
* tlocIp: "1.2.3.4",
|
|
60
|
+
* tlocColor: "bronze",
|
|
61
|
+
* tlocEncapsulation: "ipsec",
|
|
62
|
+
* }],
|
|
63
|
+
* actionEntries: [{
|
|
64
|
+
* setParameters: [{
|
|
65
|
+
* preference: 100,
|
|
66
|
+
* ompTag: 100,
|
|
67
|
+
* }],
|
|
68
|
+
* }],
|
|
69
|
+
* }],
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* ## Import
|
|
74
|
+
*
|
|
75
|
+
* The `pulumi import` command can be used, for example:
|
|
76
|
+
*
|
|
77
|
+
* Expected import identifier with the format: "topology_custom_control_feature_id,feature_profile_id"
|
|
78
|
+
*
|
|
79
|
+
* ```sh
|
|
80
|
+
* $ pulumi import sdwan:index/topologyCustomControlFeature:TopologyCustomControlFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
class TopologyCustomControlFeature extends pulumi.CustomResource {
|
|
84
|
+
/**
|
|
85
|
+
* Get an existing TopologyCustomControlFeature resource's state with the given name, ID, and optional extra
|
|
86
|
+
* properties used to qualify the lookup.
|
|
87
|
+
*
|
|
88
|
+
* @param name The _unique_ name of the resulting resource.
|
|
89
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
90
|
+
* @param state Any extra arguments used during the lookup.
|
|
91
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
92
|
+
*/
|
|
93
|
+
static get(name, id, state, opts) {
|
|
94
|
+
return new TopologyCustomControlFeature(name, state, { ...opts, id: id });
|
|
95
|
+
}
|
|
96
|
+
/** @internal */
|
|
97
|
+
static __pulumiType = 'sdwan:index/topologyCustomControlFeature:TopologyCustomControlFeature';
|
|
98
|
+
/**
|
|
99
|
+
* Returns true if the given object is an instance of TopologyCustomControlFeature. This is designed to work even
|
|
100
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
101
|
+
*/
|
|
102
|
+
static isInstance(obj) {
|
|
103
|
+
if (obj === undefined || obj === null) {
|
|
104
|
+
return false;
|
|
105
|
+
}
|
|
106
|
+
return obj['__pulumiType'] === TopologyCustomControlFeature.__pulumiType;
|
|
107
|
+
}
|
|
108
|
+
constructor(name, argsOrState, opts) {
|
|
109
|
+
let resourceInputs = {};
|
|
110
|
+
opts = opts || {};
|
|
111
|
+
if (opts.id) {
|
|
112
|
+
const state = argsOrState;
|
|
113
|
+
resourceInputs["defaultAction"] = state?.defaultAction;
|
|
114
|
+
resourceInputs["description"] = state?.description;
|
|
115
|
+
resourceInputs["featureProfileId"] = state?.featureProfileId;
|
|
116
|
+
resourceInputs["name"] = state?.name;
|
|
117
|
+
resourceInputs["sequences"] = state?.sequences;
|
|
118
|
+
resourceInputs["targetInboundRegions"] = state?.targetInboundRegions;
|
|
119
|
+
resourceInputs["targetInboundSites"] = state?.targetInboundSites;
|
|
120
|
+
resourceInputs["targetLevel"] = state?.targetLevel;
|
|
121
|
+
resourceInputs["targetOutboundRegions"] = state?.targetOutboundRegions;
|
|
122
|
+
resourceInputs["targetOutboundSites"] = state?.targetOutboundSites;
|
|
123
|
+
resourceInputs["targetRole"] = state?.targetRole;
|
|
124
|
+
resourceInputs["targetVpns"] = state?.targetVpns;
|
|
125
|
+
resourceInputs["version"] = state?.version;
|
|
126
|
+
}
|
|
127
|
+
else {
|
|
128
|
+
const args = argsOrState;
|
|
129
|
+
if (args?.defaultAction === undefined && !opts.urn) {
|
|
130
|
+
throw new Error("Missing required property 'defaultAction'");
|
|
131
|
+
}
|
|
132
|
+
if (args?.featureProfileId === undefined && !opts.urn) {
|
|
133
|
+
throw new Error("Missing required property 'featureProfileId'");
|
|
134
|
+
}
|
|
135
|
+
if (args?.targetLevel === undefined && !opts.urn) {
|
|
136
|
+
throw new Error("Missing required property 'targetLevel'");
|
|
137
|
+
}
|
|
138
|
+
resourceInputs["defaultAction"] = args?.defaultAction;
|
|
139
|
+
resourceInputs["description"] = args?.description;
|
|
140
|
+
resourceInputs["featureProfileId"] = args?.featureProfileId;
|
|
141
|
+
resourceInputs["name"] = args?.name;
|
|
142
|
+
resourceInputs["sequences"] = args?.sequences;
|
|
143
|
+
resourceInputs["targetInboundRegions"] = args?.targetInboundRegions;
|
|
144
|
+
resourceInputs["targetInboundSites"] = args?.targetInboundSites;
|
|
145
|
+
resourceInputs["targetLevel"] = args?.targetLevel;
|
|
146
|
+
resourceInputs["targetOutboundRegions"] = args?.targetOutboundRegions;
|
|
147
|
+
resourceInputs["targetOutboundSites"] = args?.targetOutboundSites;
|
|
148
|
+
resourceInputs["targetRole"] = args?.targetRole;
|
|
149
|
+
resourceInputs["targetVpns"] = args?.targetVpns;
|
|
150
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
151
|
+
}
|
|
152
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
153
|
+
super(TopologyCustomControlFeature.__pulumiType, name, resourceInputs, opts);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
exports.TopologyCustomControlFeature = TopologyCustomControlFeature;
|
|
157
|
+
//# sourceMappingURL=topologyCustomControlFeature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topologyCustomControlFeature.js","sourceRoot":"","sources":["../topologyCustomControlFeature.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource can manage a Topology Feature Profile .
|
|
4
|
+
* - Minimum SD-WAN Manager version: `20.15.0`
|
|
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 = new sdwan.TopologyFeatureProfile("example", {
|
|
13
|
+
* name: "TOPOLOGY_FP_1",
|
|
14
|
+
* description: "My topology feature profile 1",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Import
|
|
19
|
+
*
|
|
20
|
+
* The `pulumi import` command can be used, for example:
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import sdwan:index/topologyFeatureProfile:TopologyFeatureProfile example "f6b2c44c-693c-4763-b010-895aa3d236bd"
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class TopologyFeatureProfile extends pulumi.CustomResource {
|
|
27
|
+
/**
|
|
28
|
+
* Get an existing TopologyFeatureProfile resource's state with the given name, ID, and optional extra
|
|
29
|
+
* properties used to qualify the lookup.
|
|
30
|
+
*
|
|
31
|
+
* @param name The _unique_ name of the resulting resource.
|
|
32
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
33
|
+
* @param state Any extra arguments used during the lookup.
|
|
34
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
35
|
+
*/
|
|
36
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopologyFeatureProfileState, opts?: pulumi.CustomResourceOptions): TopologyFeatureProfile;
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of TopologyFeatureProfile. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj: any): obj is TopologyFeatureProfile;
|
|
42
|
+
/**
|
|
43
|
+
* Description
|
|
44
|
+
*/
|
|
45
|
+
readonly description: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The name of the topology feature profile
|
|
48
|
+
*/
|
|
49
|
+
readonly name: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Create a TopologyFeatureProfile resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name: string, args: TopologyFeatureProfileArgs, opts?: pulumi.CustomResourceOptions);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Input properties used for looking up and filtering TopologyFeatureProfile resources.
|
|
61
|
+
*/
|
|
62
|
+
export interface TopologyFeatureProfileState {
|
|
63
|
+
/**
|
|
64
|
+
* Description
|
|
65
|
+
*/
|
|
66
|
+
description?: pulumi.Input<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* The name of the topology feature profile
|
|
69
|
+
*/
|
|
70
|
+
name?: pulumi.Input<string | undefined>;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* The set of arguments for constructing a TopologyFeatureProfile resource.
|
|
74
|
+
*/
|
|
75
|
+
export interface TopologyFeatureProfileArgs {
|
|
76
|
+
/**
|
|
77
|
+
* Description
|
|
78
|
+
*/
|
|
79
|
+
description: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The name of the topology feature profile
|
|
82
|
+
*/
|
|
83
|
+
name?: pulumi.Input<string | undefined>;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=topologyFeatureProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topologyFeatureProfile.d.ts","sourceRoot":"","sources":["../topologyFeatureProfile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,qBAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,sBAAsB;IAO9J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,sBAAsB;IAOjE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEpD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmBlG;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1,101 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.TopologyFeatureProfile = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource can manage a Topology Feature Profile .
|
|
33
|
+
* - Minimum SD-WAN Manager version: `20.15.0`
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
40
|
+
*
|
|
41
|
+
* const example = new sdwan.TopologyFeatureProfile("example", {
|
|
42
|
+
* name: "TOPOLOGY_FP_1",
|
|
43
|
+
* description: "My topology feature profile 1",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* The `pulumi import` command can be used, for example:
|
|
50
|
+
*
|
|
51
|
+
* ```sh
|
|
52
|
+
* $ pulumi import sdwan:index/topologyFeatureProfile:TopologyFeatureProfile example "f6b2c44c-693c-4763-b010-895aa3d236bd"
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
class TopologyFeatureProfile extends pulumi.CustomResource {
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing TopologyFeatureProfile resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name, id, state, opts) {
|
|
66
|
+
return new TopologyFeatureProfile(name, state, { ...opts, id: id });
|
|
67
|
+
}
|
|
68
|
+
/** @internal */
|
|
69
|
+
static __pulumiType = 'sdwan:index/topologyFeatureProfile:TopologyFeatureProfile';
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of TopologyFeatureProfile. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj) {
|
|
75
|
+
if (obj === undefined || obj === null) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
return obj['__pulumiType'] === TopologyFeatureProfile.__pulumiType;
|
|
79
|
+
}
|
|
80
|
+
constructor(name, argsOrState, opts) {
|
|
81
|
+
let resourceInputs = {};
|
|
82
|
+
opts = opts || {};
|
|
83
|
+
if (opts.id) {
|
|
84
|
+
const state = argsOrState;
|
|
85
|
+
resourceInputs["description"] = state?.description;
|
|
86
|
+
resourceInputs["name"] = state?.name;
|
|
87
|
+
}
|
|
88
|
+
else {
|
|
89
|
+
const args = argsOrState;
|
|
90
|
+
if (args?.description === undefined && !opts.urn) {
|
|
91
|
+
throw new Error("Missing required property 'description'");
|
|
92
|
+
}
|
|
93
|
+
resourceInputs["description"] = args?.description;
|
|
94
|
+
resourceInputs["name"] = args?.name;
|
|
95
|
+
}
|
|
96
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
97
|
+
super(TopologyFeatureProfile.__pulumiType, name, resourceInputs, opts);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
exports.TopologyFeatureProfile = TopologyFeatureProfile;
|
|
101
|
+
//# sourceMappingURL=topologyFeatureProfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topologyFeatureProfile.js","sourceRoot":"","sources":["../topologyFeatureProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,2DAA2D,CAAC;IAElG;;;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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;SACxC;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA9DL,wDA+DC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource can manage a Topology Group .
|
|
4
|
+
* - Minimum SD-WAN Manager version: `20.15.0`
|
|
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 = new sdwan.TopologyGroup("example", {
|
|
13
|
+
* name: "TG_1",
|
|
14
|
+
* description: "My topology group 1",
|
|
15
|
+
* solution: "sdwan",
|
|
16
|
+
* featureProfileIds: ["f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"],
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* The `pulumi import` command can be used, for example:
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import sdwan:index/topologyGroup:TopologyGroup example "f6b2c44c-693c-4763-b010-895aa3d236bd"
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class TopologyGroup extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing TopologyGroup resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopologyGroupState, opts?: pulumi.CustomResourceOptions): TopologyGroup;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of TopologyGroup. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is TopologyGroup;
|
|
44
|
+
/**
|
|
45
|
+
* Description
|
|
46
|
+
*/
|
|
47
|
+
readonly description: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* List of feature profile IDs
|
|
50
|
+
*/
|
|
51
|
+
readonly featureProfileIds: pulumi.Output<string[] | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* The name of the topology group
|
|
54
|
+
*/
|
|
55
|
+
readonly name: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Type of solution
|
|
58
|
+
* - Choices: `sdwan`
|
|
59
|
+
*/
|
|
60
|
+
readonly solution: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a TopologyGroup resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: TopologyGroupArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Input properties used for looking up and filtering TopologyGroup resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface TopologyGroupState {
|
|
74
|
+
/**
|
|
75
|
+
* Description
|
|
76
|
+
*/
|
|
77
|
+
description?: pulumi.Input<string | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* List of feature profile IDs
|
|
80
|
+
*/
|
|
81
|
+
featureProfileIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* The name of the topology group
|
|
84
|
+
*/
|
|
85
|
+
name?: pulumi.Input<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Type of solution
|
|
88
|
+
* - Choices: `sdwan`
|
|
89
|
+
*/
|
|
90
|
+
solution?: pulumi.Input<string | undefined>;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The set of arguments for constructing a TopologyGroup resource.
|
|
94
|
+
*/
|
|
95
|
+
export interface TopologyGroupArgs {
|
|
96
|
+
/**
|
|
97
|
+
* Description
|
|
98
|
+
*/
|
|
99
|
+
description: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* List of feature profile IDs
|
|
102
|
+
*/
|
|
103
|
+
featureProfileIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the topology group
|
|
106
|
+
*/
|
|
107
|
+
name?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* Type of solution
|
|
110
|
+
* - Choices: `sdwan`
|
|
111
|
+
*/
|
|
112
|
+
solution: pulumi.Input<string>;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=topologyGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topologyGroup.d.ts","sourceRoot":"","sources":["../topologyGroup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,aAAa;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/E;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;;OAGG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAExD;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CA0BzF;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;OAGG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAClC"}
|
package/topologyGroup.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
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
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.TopologyGroup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource can manage a Topology Group .
|
|
33
|
+
* - Minimum SD-WAN Manager version: `20.15.0`
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as sdwan from "@pulumi/sdwan";
|
|
40
|
+
*
|
|
41
|
+
* const example = new sdwan.TopologyGroup("example", {
|
|
42
|
+
* name: "TG_1",
|
|
43
|
+
* description: "My topology group 1",
|
|
44
|
+
* solution: "sdwan",
|
|
45
|
+
* featureProfileIds: ["f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"],
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* ## Import
|
|
50
|
+
*
|
|
51
|
+
* The `pulumi import` command can be used, for example:
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import sdwan:index/topologyGroup:TopologyGroup example "f6b2c44c-693c-4763-b010-895aa3d236bd"
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
class TopologyGroup extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing TopologyGroup resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name, id, state, opts) {
|
|
68
|
+
return new TopologyGroup(name, state, { ...opts, id: id });
|
|
69
|
+
}
|
|
70
|
+
/** @internal */
|
|
71
|
+
static __pulumiType = 'sdwan:index/topologyGroup:TopologyGroup';
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the given object is an instance of TopologyGroup. This is designed to work even
|
|
74
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
75
|
+
*/
|
|
76
|
+
static isInstance(obj) {
|
|
77
|
+
if (obj === undefined || obj === null) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return obj['__pulumiType'] === TopologyGroup.__pulumiType;
|
|
81
|
+
}
|
|
82
|
+
constructor(name, argsOrState, opts) {
|
|
83
|
+
let resourceInputs = {};
|
|
84
|
+
opts = opts || {};
|
|
85
|
+
if (opts.id) {
|
|
86
|
+
const state = argsOrState;
|
|
87
|
+
resourceInputs["description"] = state?.description;
|
|
88
|
+
resourceInputs["featureProfileIds"] = state?.featureProfileIds;
|
|
89
|
+
resourceInputs["name"] = state?.name;
|
|
90
|
+
resourceInputs["solution"] = state?.solution;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
const args = argsOrState;
|
|
94
|
+
if (args?.description === undefined && !opts.urn) {
|
|
95
|
+
throw new Error("Missing required property 'description'");
|
|
96
|
+
}
|
|
97
|
+
if (args?.solution === undefined && !opts.urn) {
|
|
98
|
+
throw new Error("Missing required property 'solution'");
|
|
99
|
+
}
|
|
100
|
+
resourceInputs["description"] = args?.description;
|
|
101
|
+
resourceInputs["featureProfileIds"] = args?.featureProfileIds;
|
|
102
|
+
resourceInputs["name"] = args?.name;
|
|
103
|
+
resourceInputs["solution"] = args?.solution;
|
|
104
|
+
}
|
|
105
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
106
|
+
super(TopologyGroup.__pulumiType, name, resourceInputs, opts);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
exports.TopologyGroup = TopologyGroup;
|
|
110
|
+
//# sourceMappingURL=topologyGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topologyGroup.js","sourceRoot":"","sources":["../topologyGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yCAAyC,CAAC;IAEhF;;;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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA4BD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,EAAE,iBAAiB,CAAC;YAC/D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA9EL,sCA+EC"}
|