@pulumi/sdwan 0.8.1 → 0.9.0-alpha.1775838149
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/activateCentralizedPolicy.d.ts +14 -2
- package/activateCentralizedPolicy.js +6 -1
- package/activateCentralizedPolicy.js.map +1 -1
- package/attachFeatureDeviceTemplate.d.ts +13 -1
- package/attachFeatureDeviceTemplate.js +6 -1
- package/attachFeatureDeviceTemplate.js.map +1 -1
- package/package.json +2 -2
|
@@ -8,7 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as sdwan from "@pulumi/sdwan";
|
|
10
10
|
*
|
|
11
|
-
* const example = new sdwan.ActivateCentralizedPolicy("example", {
|
|
11
|
+
* const example = new sdwan.ActivateCentralizedPolicy("example", {activateCentralizedPolicyId: POLICY1.id});
|
|
12
12
|
* ```
|
|
13
13
|
*
|
|
14
14
|
* ## Import
|
|
@@ -35,6 +35,10 @@ export declare class ActivateCentralizedPolicy extends pulumi.CustomResource {
|
|
|
35
35
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
36
36
|
*/
|
|
37
37
|
static isInstance(obj: any): obj is ActivateCentralizedPolicy;
|
|
38
|
+
/**
|
|
39
|
+
* The ID of the centralized policy
|
|
40
|
+
*/
|
|
41
|
+
readonly activateCentralizedPolicyId: pulumi.Output<string>;
|
|
38
42
|
/**
|
|
39
43
|
* The version of the centralized policy
|
|
40
44
|
*/
|
|
@@ -46,12 +50,16 @@ export declare class ActivateCentralizedPolicy extends pulumi.CustomResource {
|
|
|
46
50
|
* @param args The arguments to use to populate this resource's properties.
|
|
47
51
|
* @param opts A bag of options that control this resource's behavior.
|
|
48
52
|
*/
|
|
49
|
-
constructor(name: string, args
|
|
53
|
+
constructor(name: string, args: ActivateCentralizedPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
54
|
}
|
|
51
55
|
/**
|
|
52
56
|
* Input properties used for looking up and filtering ActivateCentralizedPolicy resources.
|
|
53
57
|
*/
|
|
54
58
|
export interface ActivateCentralizedPolicyState {
|
|
59
|
+
/**
|
|
60
|
+
* The ID of the centralized policy
|
|
61
|
+
*/
|
|
62
|
+
activateCentralizedPolicyId?: pulumi.Input<string>;
|
|
55
63
|
/**
|
|
56
64
|
* The version of the centralized policy
|
|
57
65
|
*/
|
|
@@ -61,6 +69,10 @@ export interface ActivateCentralizedPolicyState {
|
|
|
61
69
|
* The set of arguments for constructing a ActivateCentralizedPolicy resource.
|
|
62
70
|
*/
|
|
63
71
|
export interface ActivateCentralizedPolicyArgs {
|
|
72
|
+
/**
|
|
73
|
+
* The ID of the centralized policy
|
|
74
|
+
*/
|
|
75
|
+
activateCentralizedPolicyId: pulumi.Input<string>;
|
|
64
76
|
/**
|
|
65
77
|
* The version of the centralized policy
|
|
66
78
|
*/
|
|
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as sdwan from "@pulumi/sdwan";
|
|
16
16
|
*
|
|
17
|
-
* const example = new sdwan.ActivateCentralizedPolicy("example", {
|
|
17
|
+
* const example = new sdwan.ActivateCentralizedPolicy("example", {activateCentralizedPolicyId: POLICY1.id});
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
@@ -53,10 +53,15 @@ class ActivateCentralizedPolicy extends pulumi.CustomResource {
|
|
|
53
53
|
opts = opts || {};
|
|
54
54
|
if (opts.id) {
|
|
55
55
|
const state = argsOrState;
|
|
56
|
+
resourceInputs["activateCentralizedPolicyId"] = state?.activateCentralizedPolicyId;
|
|
56
57
|
resourceInputs["version"] = state?.version;
|
|
57
58
|
}
|
|
58
59
|
else {
|
|
59
60
|
const args = argsOrState;
|
|
61
|
+
if (args?.activateCentralizedPolicyId === undefined && !opts.urn) {
|
|
62
|
+
throw new Error("Missing required property 'activateCentralizedPolicyId'");
|
|
63
|
+
}
|
|
64
|
+
resourceInputs["activateCentralizedPolicyId"] = args?.activateCentralizedPolicyId;
|
|
60
65
|
resourceInputs["version"] = args?.version;
|
|
61
66
|
}
|
|
62
67
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activateCentralizedPolicy.js","sourceRoot":"","sources":["../activateCentralizedPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;
|
|
1
|
+
{"version":3,"file":"activateCentralizedPolicy.js","sourceRoot":"","sources":["../activateCentralizedPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBA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|
|
@@ -11,7 +11,7 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as sdwan from "@pulumi/sdwan";
|
|
12
12
|
*
|
|
13
13
|
* const example = new sdwan.AttachFeatureDeviceTemplate("example", {
|
|
14
|
-
*
|
|
14
|
+
* attachFeatureDeviceTemplateId: DT1.id,
|
|
15
15
|
* devices: [{
|
|
16
16
|
* id: "C8K-CC678D1C-8EDF-3966-4F51-ABFAB64F5ABE",
|
|
17
17
|
* variables: {
|
|
@@ -50,6 +50,10 @@ export declare class AttachFeatureDeviceTemplate extends pulumi.CustomResource {
|
|
|
50
50
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
51
|
*/
|
|
52
52
|
static isInstance(obj: any): obj is AttachFeatureDeviceTemplate;
|
|
53
|
+
/**
|
|
54
|
+
* The ID of the device template
|
|
55
|
+
*/
|
|
56
|
+
readonly attachFeatureDeviceTemplateId: pulumi.Output<string>;
|
|
53
57
|
/**
|
|
54
58
|
* Devices
|
|
55
59
|
*/
|
|
@@ -71,6 +75,10 @@ export declare class AttachFeatureDeviceTemplate extends pulumi.CustomResource {
|
|
|
71
75
|
* Input properties used for looking up and filtering AttachFeatureDeviceTemplate resources.
|
|
72
76
|
*/
|
|
73
77
|
export interface AttachFeatureDeviceTemplateState {
|
|
78
|
+
/**
|
|
79
|
+
* The ID of the device template
|
|
80
|
+
*/
|
|
81
|
+
attachFeatureDeviceTemplateId?: pulumi.Input<string>;
|
|
74
82
|
/**
|
|
75
83
|
* Devices
|
|
76
84
|
*/
|
|
@@ -84,6 +92,10 @@ export interface AttachFeatureDeviceTemplateState {
|
|
|
84
92
|
* The set of arguments for constructing a AttachFeatureDeviceTemplate resource.
|
|
85
93
|
*/
|
|
86
94
|
export interface AttachFeatureDeviceTemplateArgs {
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the device template
|
|
97
|
+
*/
|
|
98
|
+
attachFeatureDeviceTemplateId: pulumi.Input<string>;
|
|
87
99
|
/**
|
|
88
100
|
* Devices
|
|
89
101
|
*/
|
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as sdwan from "@pulumi/sdwan";
|
|
16
16
|
*
|
|
17
17
|
* const example = new sdwan.AttachFeatureDeviceTemplate("example", {
|
|
18
|
-
*
|
|
18
|
+
* attachFeatureDeviceTemplateId: DT1.id,
|
|
19
19
|
* devices: [{
|
|
20
20
|
* id: "C8K-CC678D1C-8EDF-3966-4F51-ABFAB64F5ABE",
|
|
21
21
|
* variables: {
|
|
@@ -66,14 +66,19 @@ class AttachFeatureDeviceTemplate extends pulumi.CustomResource {
|
|
|
66
66
|
opts = opts || {};
|
|
67
67
|
if (opts.id) {
|
|
68
68
|
const state = argsOrState;
|
|
69
|
+
resourceInputs["attachFeatureDeviceTemplateId"] = state?.attachFeatureDeviceTemplateId;
|
|
69
70
|
resourceInputs["devices"] = state?.devices;
|
|
70
71
|
resourceInputs["version"] = state?.version;
|
|
71
72
|
}
|
|
72
73
|
else {
|
|
73
74
|
const args = argsOrState;
|
|
75
|
+
if (args?.attachFeatureDeviceTemplateId === undefined && !opts.urn) {
|
|
76
|
+
throw new Error("Missing required property 'attachFeatureDeviceTemplateId'");
|
|
77
|
+
}
|
|
74
78
|
if (args?.devices === undefined && !opts.urn) {
|
|
75
79
|
throw new Error("Missing required property 'devices'");
|
|
76
80
|
}
|
|
81
|
+
resourceInputs["attachFeatureDeviceTemplateId"] = args?.attachFeatureDeviceTemplateId;
|
|
77
82
|
resourceInputs["devices"] = args?.devices;
|
|
78
83
|
resourceInputs["version"] = args?.version;
|
|
79
84
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attachFeatureDeviceTemplate.js","sourceRoot":"","sources":["../attachFeatureDeviceTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,M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|
+
"version": "0.9.0-alpha.1775838149",
|
|
4
4
|
"description": "A Pulumi package for managing resources on Cisco Catalyst SD-WAN.. Based on terraform-provider-sdwan: version v0.4.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "sdwan",
|
|
27
|
-
"version": "0.
|
|
27
|
+
"version": "0.9.0-alpha.1775838149"
|
|
28
28
|
}
|
|
29
29
|
}
|