@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,138 @@
|
|
|
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 Topology Hub Spoke Feature.
|
|
6
|
+
* - Minimum SD-WAN Manager version: `20.15.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.TopologyHubSpokeFeature("example", {
|
|
15
|
+
* name: "Example",
|
|
16
|
+
* description: "My Example",
|
|
17
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
18
|
+
* targetVpns: ["service_lan_vpn1"],
|
|
19
|
+
* selectedHubs: ["SITE_100"],
|
|
20
|
+
* spokes: [{
|
|
21
|
+
* name: "spoke1",
|
|
22
|
+
* spokeSites: ["SITE_200"],
|
|
23
|
+
* hubSites: [{
|
|
24
|
+
* sites: ["SITE_100"],
|
|
25
|
+
* preference: 1,
|
|
26
|
+
* }],
|
|
27
|
+
* }],
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* ## Import
|
|
32
|
+
*
|
|
33
|
+
* The `pulumi import` command can be used, for example:
|
|
34
|
+
*
|
|
35
|
+
* Expected import identifier with the format: "topology_hub_spoke_feature_id,feature_profile_id"
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import sdwan:index/topologyHubSpokeFeature:TopologyHubSpokeFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class TopologyHubSpokeFeature extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing TopologyHubSpokeFeature resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopologyHubSpokeFeatureState, opts?: pulumi.CustomResourceOptions): TopologyHubSpokeFeature;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of TopologyHubSpokeFeature. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is TopologyHubSpokeFeature;
|
|
57
|
+
/**
|
|
58
|
+
* The description of the Feature
|
|
59
|
+
*/
|
|
60
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* Feature Profile ID
|
|
63
|
+
*/
|
|
64
|
+
readonly featureProfileId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the Feature
|
|
67
|
+
*/
|
|
68
|
+
readonly name: pulumi.Output<string>;
|
|
69
|
+
readonly selectedHubs: pulumi.Output<string[]>;
|
|
70
|
+
/**
|
|
71
|
+
* Spokes
|
|
72
|
+
*/
|
|
73
|
+
readonly spokes: pulumi.Output<outputs.TopologyHubSpokeFeatureSpoke[]>;
|
|
74
|
+
readonly targetVpns: pulumi.Output<string[]>;
|
|
75
|
+
/**
|
|
76
|
+
* The version of the Feature
|
|
77
|
+
*/
|
|
78
|
+
readonly version: pulumi.Output<number>;
|
|
79
|
+
/**
|
|
80
|
+
* Create a TopologyHubSpokeFeature resource with the given unique name, arguments, and options.
|
|
81
|
+
*
|
|
82
|
+
* @param name The _unique_ name of the resource.
|
|
83
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
84
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
85
|
+
*/
|
|
86
|
+
constructor(name: string, args: TopologyHubSpokeFeatureArgs, opts?: pulumi.CustomResourceOptions);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Input properties used for looking up and filtering TopologyHubSpokeFeature resources.
|
|
90
|
+
*/
|
|
91
|
+
export interface TopologyHubSpokeFeatureState {
|
|
92
|
+
/**
|
|
93
|
+
* The description of the Feature
|
|
94
|
+
*/
|
|
95
|
+
description?: pulumi.Input<string | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Feature Profile ID
|
|
98
|
+
*/
|
|
99
|
+
featureProfileId?: pulumi.Input<string | undefined>;
|
|
100
|
+
/**
|
|
101
|
+
* The name of the Feature
|
|
102
|
+
*/
|
|
103
|
+
name?: pulumi.Input<string | undefined>;
|
|
104
|
+
selectedHubs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Spokes
|
|
107
|
+
*/
|
|
108
|
+
spokes?: pulumi.Input<pulumi.Input<inputs.TopologyHubSpokeFeatureSpoke>[] | undefined>;
|
|
109
|
+
targetVpns?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* The version of the Feature
|
|
112
|
+
*/
|
|
113
|
+
version?: pulumi.Input<number | undefined>;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* The set of arguments for constructing a TopologyHubSpokeFeature resource.
|
|
117
|
+
*/
|
|
118
|
+
export interface TopologyHubSpokeFeatureArgs {
|
|
119
|
+
/**
|
|
120
|
+
* The description of the Feature
|
|
121
|
+
*/
|
|
122
|
+
description?: pulumi.Input<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* Feature Profile ID
|
|
125
|
+
*/
|
|
126
|
+
featureProfileId: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The name of the Feature
|
|
129
|
+
*/
|
|
130
|
+
name?: pulumi.Input<string | undefined>;
|
|
131
|
+
selectedHubs: pulumi.Input<pulumi.Input<string>[]>;
|
|
132
|
+
/**
|
|
133
|
+
* Spokes
|
|
134
|
+
*/
|
|
135
|
+
spokes: pulumi.Input<pulumi.Input<inputs.TopologyHubSpokeFeatureSpoke>[]>;
|
|
136
|
+
targetVpns: pulumi.Input<pulumi.Input<string>[]>;
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=topologyHubSpokeFeature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topologyHubSpokeFeature.d.ts","sourceRoot":"","sources":["../topologyHubSpokeFeature.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,qBAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,uBAAuB;IAOhK;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,uBAAuB;IAOlE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,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AC,CAAC;CAC9C;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,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACnD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4BAA4B,CAAC,EAAE,CAAC,CAAC;IAC1E,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CACpD"}
|
|
@@ -0,0 +1,133 @@
|
|
|
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.TopologyHubSpokeFeature = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource can manage a Topology Hub Spoke 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.TopologyHubSpokeFeature("example", {
|
|
42
|
+
* name: "Example",
|
|
43
|
+
* description: "My Example",
|
|
44
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
45
|
+
* targetVpns: ["service_lan_vpn1"],
|
|
46
|
+
* selectedHubs: ["SITE_100"],
|
|
47
|
+
* spokes: [{
|
|
48
|
+
* name: "spoke1",
|
|
49
|
+
* spokeSites: ["SITE_200"],
|
|
50
|
+
* hubSites: [{
|
|
51
|
+
* sites: ["SITE_100"],
|
|
52
|
+
* preference: 1,
|
|
53
|
+
* }],
|
|
54
|
+
* }],
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Import
|
|
59
|
+
*
|
|
60
|
+
* The `pulumi import` command can be used, for example:
|
|
61
|
+
*
|
|
62
|
+
* Expected import identifier with the format: "topology_hub_spoke_feature_id,feature_profile_id"
|
|
63
|
+
*
|
|
64
|
+
* ```sh
|
|
65
|
+
* $ pulumi import sdwan:index/topologyHubSpokeFeature:TopologyHubSpokeFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
class TopologyHubSpokeFeature extends pulumi.CustomResource {
|
|
69
|
+
/**
|
|
70
|
+
* Get an existing TopologyHubSpokeFeature resource's state with the given name, ID, and optional extra
|
|
71
|
+
* properties used to qualify the lookup.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resulting resource.
|
|
74
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
75
|
+
* @param state Any extra arguments used during the lookup.
|
|
76
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
77
|
+
*/
|
|
78
|
+
static get(name, id, state, opts) {
|
|
79
|
+
return new TopologyHubSpokeFeature(name, state, { ...opts, id: id });
|
|
80
|
+
}
|
|
81
|
+
/** @internal */
|
|
82
|
+
static __pulumiType = 'sdwan:index/topologyHubSpokeFeature:TopologyHubSpokeFeature';
|
|
83
|
+
/**
|
|
84
|
+
* Returns true if the given object is an instance of TopologyHubSpokeFeature. This is designed to work even
|
|
85
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
86
|
+
*/
|
|
87
|
+
static isInstance(obj) {
|
|
88
|
+
if (obj === undefined || obj === null) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return obj['__pulumiType'] === TopologyHubSpokeFeature.__pulumiType;
|
|
92
|
+
}
|
|
93
|
+
constructor(name, argsOrState, opts) {
|
|
94
|
+
let resourceInputs = {};
|
|
95
|
+
opts = opts || {};
|
|
96
|
+
if (opts.id) {
|
|
97
|
+
const state = argsOrState;
|
|
98
|
+
resourceInputs["description"] = state?.description;
|
|
99
|
+
resourceInputs["featureProfileId"] = state?.featureProfileId;
|
|
100
|
+
resourceInputs["name"] = state?.name;
|
|
101
|
+
resourceInputs["selectedHubs"] = state?.selectedHubs;
|
|
102
|
+
resourceInputs["spokes"] = state?.spokes;
|
|
103
|
+
resourceInputs["targetVpns"] = state?.targetVpns;
|
|
104
|
+
resourceInputs["version"] = state?.version;
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
const args = argsOrState;
|
|
108
|
+
if (args?.featureProfileId === undefined && !opts.urn) {
|
|
109
|
+
throw new Error("Missing required property 'featureProfileId'");
|
|
110
|
+
}
|
|
111
|
+
if (args?.selectedHubs === undefined && !opts.urn) {
|
|
112
|
+
throw new Error("Missing required property 'selectedHubs'");
|
|
113
|
+
}
|
|
114
|
+
if (args?.spokes === undefined && !opts.urn) {
|
|
115
|
+
throw new Error("Missing required property 'spokes'");
|
|
116
|
+
}
|
|
117
|
+
if (args?.targetVpns === undefined && !opts.urn) {
|
|
118
|
+
throw new Error("Missing required property 'targetVpns'");
|
|
119
|
+
}
|
|
120
|
+
resourceInputs["description"] = args?.description;
|
|
121
|
+
resourceInputs["featureProfileId"] = args?.featureProfileId;
|
|
122
|
+
resourceInputs["name"] = args?.name;
|
|
123
|
+
resourceInputs["selectedHubs"] = args?.selectedHubs;
|
|
124
|
+
resourceInputs["spokes"] = args?.spokes;
|
|
125
|
+
resourceInputs["targetVpns"] = args?.targetVpns;
|
|
126
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
127
|
+
}
|
|
128
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
129
|
+
super(TopologyHubSpokeFeature.__pulumiType, name, resourceInputs, opts);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.TopologyHubSpokeFeature = TopologyHubSpokeFeature;
|
|
133
|
+
//# sourceMappingURL=topologyHubSpokeFeature.js.map
|
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D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA/FL,0DAgGC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource can manage a Topology Mesh Feature.
|
|
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.TopologyMeshFeature("example", {
|
|
13
|
+
* name: "Example",
|
|
14
|
+
* description: "My Example",
|
|
15
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
16
|
+
* targetVpns: ["service_lan_vpn1"],
|
|
17
|
+
* sites: ["SITE_100"],
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* The `pulumi import` command can be used, for example:
|
|
24
|
+
*
|
|
25
|
+
* Expected import identifier with the format: "topology_mesh_feature_id,feature_profile_id"
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import sdwan:index/topologyMeshFeature:TopologyMeshFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare class TopologyMeshFeature extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing TopologyMeshFeature resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TopologyMeshFeatureState, opts?: pulumi.CustomResourceOptions): TopologyMeshFeature;
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of TopologyMeshFeature. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj: any): obj is TopologyMeshFeature;
|
|
47
|
+
/**
|
|
48
|
+
* The description of the Feature
|
|
49
|
+
*/
|
|
50
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* Feature Profile ID
|
|
53
|
+
*/
|
|
54
|
+
readonly featureProfileId: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The name of the Feature
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
readonly sites: pulumi.Output<string[]>;
|
|
60
|
+
readonly targetVpns: pulumi.Output<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* The version of the Feature
|
|
63
|
+
*/
|
|
64
|
+
readonly version: pulumi.Output<number>;
|
|
65
|
+
/**
|
|
66
|
+
* Create a TopologyMeshFeature resource with the given unique name, arguments, and options.
|
|
67
|
+
*
|
|
68
|
+
* @param name The _unique_ name of the resource.
|
|
69
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
70
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
71
|
+
*/
|
|
72
|
+
constructor(name: string, args: TopologyMeshFeatureArgs, opts?: pulumi.CustomResourceOptions);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Input properties used for looking up and filtering TopologyMeshFeature resources.
|
|
76
|
+
*/
|
|
77
|
+
export interface TopologyMeshFeatureState {
|
|
78
|
+
/**
|
|
79
|
+
* The description of the Feature
|
|
80
|
+
*/
|
|
81
|
+
description?: pulumi.Input<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Feature Profile ID
|
|
84
|
+
*/
|
|
85
|
+
featureProfileId?: pulumi.Input<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the Feature
|
|
88
|
+
*/
|
|
89
|
+
name?: pulumi.Input<string | undefined>;
|
|
90
|
+
sites?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
91
|
+
targetVpns?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* The version of the Feature
|
|
94
|
+
*/
|
|
95
|
+
version?: pulumi.Input<number | undefined>;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* The set of arguments for constructing a TopologyMeshFeature resource.
|
|
99
|
+
*/
|
|
100
|
+
export interface TopologyMeshFeatureArgs {
|
|
101
|
+
/**
|
|
102
|
+
* The description of the Feature
|
|
103
|
+
*/
|
|
104
|
+
description?: pulumi.Input<string | undefined>;
|
|
105
|
+
/**
|
|
106
|
+
* Feature Profile ID
|
|
107
|
+
*/
|
|
108
|
+
featureProfileId: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The name of the Feature
|
|
111
|
+
*/
|
|
112
|
+
name?: pulumi.Input<string | undefined>;
|
|
113
|
+
sites: pulumi.Input<pulumi.Input<string>[]>;
|
|
114
|
+
targetVpns: pulumi.Input<pulumi.Input<string>[]>;
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=topologyMeshFeature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topologyMeshFeature.d.ts","sourceRoot":"","sources":["../topologyMeshFeature.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,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ACpD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC9D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CACpD"}
|
|
@@ -0,0 +1,120 @@
|
|
|
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.TopologyMeshFeature = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* This resource can manage a Topology Mesh 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.TopologyMeshFeature("example", {
|
|
42
|
+
* name: "Example",
|
|
43
|
+
* description: "My Example",
|
|
44
|
+
* featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
|
|
45
|
+
* targetVpns: ["service_lan_vpn1"],
|
|
46
|
+
* sites: ["SITE_100"],
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* ## Import
|
|
51
|
+
*
|
|
52
|
+
* The `pulumi import` command can be used, for example:
|
|
53
|
+
*
|
|
54
|
+
* Expected import identifier with the format: "topology_mesh_feature_id,feature_profile_id"
|
|
55
|
+
*
|
|
56
|
+
* ```sh
|
|
57
|
+
* $ pulumi import sdwan:index/topologyMeshFeature:TopologyMeshFeature example "f6b2c44c-693c-4763-b010-895aa3d236bd,f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
class TopologyMeshFeature extends pulumi.CustomResource {
|
|
61
|
+
/**
|
|
62
|
+
* Get an existing TopologyMeshFeature resource's state with the given name, ID, and optional extra
|
|
63
|
+
* properties used to qualify the lookup.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resulting resource.
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, state, opts) {
|
|
71
|
+
return new TopologyMeshFeature(name, state, { ...opts, id: id });
|
|
72
|
+
}
|
|
73
|
+
/** @internal */
|
|
74
|
+
static __pulumiType = 'sdwan:index/topologyMeshFeature:TopologyMeshFeature';
|
|
75
|
+
/**
|
|
76
|
+
* Returns true if the given object is an instance of TopologyMeshFeature. This is designed to work even
|
|
77
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
78
|
+
*/
|
|
79
|
+
static isInstance(obj) {
|
|
80
|
+
if (obj === undefined || obj === null) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
return obj['__pulumiType'] === TopologyMeshFeature.__pulumiType;
|
|
84
|
+
}
|
|
85
|
+
constructor(name, argsOrState, opts) {
|
|
86
|
+
let resourceInputs = {};
|
|
87
|
+
opts = opts || {};
|
|
88
|
+
if (opts.id) {
|
|
89
|
+
const state = argsOrState;
|
|
90
|
+
resourceInputs["description"] = state?.description;
|
|
91
|
+
resourceInputs["featureProfileId"] = state?.featureProfileId;
|
|
92
|
+
resourceInputs["name"] = state?.name;
|
|
93
|
+
resourceInputs["sites"] = state?.sites;
|
|
94
|
+
resourceInputs["targetVpns"] = state?.targetVpns;
|
|
95
|
+
resourceInputs["version"] = state?.version;
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
const args = argsOrState;
|
|
99
|
+
if (args?.featureProfileId === undefined && !opts.urn) {
|
|
100
|
+
throw new Error("Missing required property 'featureProfileId'");
|
|
101
|
+
}
|
|
102
|
+
if (args?.sites === undefined && !opts.urn) {
|
|
103
|
+
throw new Error("Missing required property 'sites'");
|
|
104
|
+
}
|
|
105
|
+
if (args?.targetVpns === undefined && !opts.urn) {
|
|
106
|
+
throw new Error("Missing required property 'targetVpns'");
|
|
107
|
+
}
|
|
108
|
+
resourceInputs["description"] = args?.description;
|
|
109
|
+
resourceInputs["featureProfileId"] = args?.featureProfileId;
|
|
110
|
+
resourceInputs["name"] = args?.name;
|
|
111
|
+
resourceInputs["sites"] = args?.sites;
|
|
112
|
+
resourceInputs["targetVpns"] = args?.targetVpns;
|
|
113
|
+
resourceInputs["version"] = undefined /*out*/;
|
|
114
|
+
}
|
|
115
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
116
|
+
super(TopologyMeshFeature.__pulumiType, name, resourceInputs, opts);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.TopologyMeshFeature = TopologyMeshFeature;
|
|
120
|
+
//# sourceMappingURL=topologyMeshFeature.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"topologyMeshFeature.js","sourceRoot":"","sources":["../topologyMeshFeature.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;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