@pulumi/sdwan 0.4.0-alpha.1754980756 → 0.4.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.
@@ -55,21 +55,21 @@ export declare class LocalizedPolicy extends pulumi.CustomResource {
55
55
  */
56
56
  static isInstance(obj: any): obj is LocalizedPolicy;
57
57
  /**
58
- * IPv4 application visibility - Default value: `true`
58
+ * IPv4 application visibility
59
59
  */
60
- readonly applicationVisibilityIpv4: pulumi.Output<boolean>;
60
+ readonly applicationVisibilityIpv4: pulumi.Output<boolean | undefined>;
61
61
  /**
62
- * IPv6 application visibility - Default value: `true`
62
+ * IPv6 application visibility
63
63
  */
64
- readonly applicationVisibilityIpv6: pulumi.Output<boolean>;
64
+ readonly applicationVisibilityIpv6: pulumi.Output<boolean | undefined>;
65
65
  /**
66
- * Cloud QoS - Default value: `true`
66
+ * Cloud QoS
67
67
  */
68
- readonly cloudQos: pulumi.Output<boolean>;
68
+ readonly cloudQos: pulumi.Output<boolean | undefined>;
69
69
  /**
70
- * Cloud QoS service side - Default value: `true`
70
+ * Cloud QoS service side
71
71
  */
72
- readonly cloudQosServiceSide: pulumi.Output<boolean>;
72
+ readonly cloudQosServiceSide: pulumi.Output<boolean | undefined>;
73
73
  /**
74
74
  * List of policy definitions
75
75
  */
@@ -79,17 +79,17 @@ export declare class LocalizedPolicy extends pulumi.CustomResource {
79
79
  */
80
80
  readonly description: pulumi.Output<string>;
81
81
  /**
82
- * IPv4 flow visibility - Default value: `true`
82
+ * IPv4 flow visibility
83
83
  */
84
- readonly flowVisibilityIpv4: pulumi.Output<boolean>;
84
+ readonly flowVisibilityIpv4: pulumi.Output<boolean | undefined>;
85
85
  /**
86
- * IPv6 flow visibility - Default value: `true`
86
+ * IPv6 flow visibility
87
87
  */
88
- readonly flowVisibilityIpv6: pulumi.Output<boolean>;
88
+ readonly flowVisibilityIpv6: pulumi.Output<boolean | undefined>;
89
89
  /**
90
- * Implicit ACL logging - Default value: `true`
90
+ * Implicit ACL logging
91
91
  */
92
- readonly implicitAclLogging: pulumi.Output<boolean>;
92
+ readonly implicitAclLogging: pulumi.Output<boolean | undefined>;
93
93
  /**
94
94
  * IPv4 visibility cache entries - Range: `16`-`2000000`
95
95
  */
@@ -124,19 +124,19 @@ export declare class LocalizedPolicy extends pulumi.CustomResource {
124
124
  */
125
125
  export interface LocalizedPolicyState {
126
126
  /**
127
- * IPv4 application visibility - Default value: `true`
127
+ * IPv4 application visibility
128
128
  */
129
129
  applicationVisibilityIpv4?: pulumi.Input<boolean>;
130
130
  /**
131
- * IPv6 application visibility - Default value: `true`
131
+ * IPv6 application visibility
132
132
  */
133
133
  applicationVisibilityIpv6?: pulumi.Input<boolean>;
134
134
  /**
135
- * Cloud QoS - Default value: `true`
135
+ * Cloud QoS
136
136
  */
137
137
  cloudQos?: pulumi.Input<boolean>;
138
138
  /**
139
- * Cloud QoS service side - Default value: `true`
139
+ * Cloud QoS service side
140
140
  */
141
141
  cloudQosServiceSide?: pulumi.Input<boolean>;
142
142
  /**
@@ -148,15 +148,15 @@ export interface LocalizedPolicyState {
148
148
  */
149
149
  description?: pulumi.Input<string>;
150
150
  /**
151
- * IPv4 flow visibility - Default value: `true`
151
+ * IPv4 flow visibility
152
152
  */
153
153
  flowVisibilityIpv4?: pulumi.Input<boolean>;
154
154
  /**
155
- * IPv6 flow visibility - Default value: `true`
155
+ * IPv6 flow visibility
156
156
  */
157
157
  flowVisibilityIpv6?: pulumi.Input<boolean>;
158
158
  /**
159
- * Implicit ACL logging - Default value: `true`
159
+ * Implicit ACL logging
160
160
  */
161
161
  implicitAclLogging?: pulumi.Input<boolean>;
162
162
  /**
@@ -185,19 +185,19 @@ export interface LocalizedPolicyState {
185
185
  */
186
186
  export interface LocalizedPolicyArgs {
187
187
  /**
188
- * IPv4 application visibility - Default value: `true`
188
+ * IPv4 application visibility
189
189
  */
190
190
  applicationVisibilityIpv4?: pulumi.Input<boolean>;
191
191
  /**
192
- * IPv6 application visibility - Default value: `true`
192
+ * IPv6 application visibility
193
193
  */
194
194
  applicationVisibilityIpv6?: pulumi.Input<boolean>;
195
195
  /**
196
- * Cloud QoS - Default value: `true`
196
+ * Cloud QoS
197
197
  */
198
198
  cloudQos?: pulumi.Input<boolean>;
199
199
  /**
200
- * Cloud QoS service side - Default value: `true`
200
+ * Cloud QoS service side
201
201
  */
202
202
  cloudQosServiceSide?: pulumi.Input<boolean>;
203
203
  /**
@@ -209,15 +209,15 @@ export interface LocalizedPolicyArgs {
209
209
  */
210
210
  description: pulumi.Input<string>;
211
211
  /**
212
- * IPv4 flow visibility - Default value: `true`
212
+ * IPv4 flow visibility
213
213
  */
214
214
  flowVisibilityIpv4?: pulumi.Input<boolean>;
215
215
  /**
216
- * IPv6 flow visibility - Default value: `true`
216
+ * IPv6 flow visibility
217
217
  */
218
218
  flowVisibilityIpv6?: pulumi.Input<boolean>;
219
219
  /**
220
- * Implicit ACL logging - Default value: `true`
220
+ * Implicit ACL logging
221
221
  */
222
222
  implicitAclLogging?: pulumi.Input<boolean>;
223
223
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/sdwan",
3
- "version": "0.4.0-alpha.1754980756",
3
+ "version": "0.4.0",
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.4.0-alpha.1754980756"
27
+ "version": "0.4.0"
28
28
  }
29
29
  }
@@ -0,0 +1,139 @@
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 Policy Group .
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.PolicyGroup("example", {
15
+ * name: "PG_1",
16
+ * description: "My policy group 1",
17
+ * solution: "sdwan",
18
+ * featureProfileIds: ["f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"],
19
+ * devices: [{
20
+ * id: "C8K-40C0CCFD-9EA8-2B2E-E73B-32C5924EC79B",
21
+ * }],
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * The `pulumi import` command can be used, for example:
28
+ *
29
+ * ```sh
30
+ * $ pulumi import sdwan:index/policyGroup:PolicyGroup example "f6b2c44c-693c-4763-b010-895aa3d236bd"
31
+ * ```
32
+ */
33
+ export declare class PolicyGroup extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing PolicyGroup resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyGroupState, opts?: pulumi.CustomResourceOptions): PolicyGroup;
44
+ /**
45
+ * Returns true if the given object is an instance of PolicyGroup. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is PolicyGroup;
49
+ /**
50
+ * Description
51
+ */
52
+ readonly description: pulumi.Output<string>;
53
+ /**
54
+ * List of devices
55
+ */
56
+ readonly devices: pulumi.Output<outputs.PolicyGroupDevice[] | undefined>;
57
+ /**
58
+ * List of feature profile IDs
59
+ */
60
+ readonly featureProfileIds: pulumi.Output<string[] | undefined>;
61
+ /**
62
+ * The name of the policy group
63
+ */
64
+ readonly name: pulumi.Output<string>;
65
+ /**
66
+ * List of all associated policy versions
67
+ */
68
+ readonly policyVersions: pulumi.Output<string[] | undefined>;
69
+ /**
70
+ * Type of solution - Choices: `sdwan`
71
+ */
72
+ readonly solution: pulumi.Output<string>;
73
+ /**
74
+ * Create a PolicyGroup resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: PolicyGroupArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering PolicyGroup resources.
84
+ */
85
+ export interface PolicyGroupState {
86
+ /**
87
+ * Description
88
+ */
89
+ description?: pulumi.Input<string>;
90
+ /**
91
+ * List of devices
92
+ */
93
+ devices?: pulumi.Input<pulumi.Input<inputs.PolicyGroupDevice>[]>;
94
+ /**
95
+ * List of feature profile IDs
96
+ */
97
+ featureProfileIds?: pulumi.Input<pulumi.Input<string>[]>;
98
+ /**
99
+ * The name of the policy group
100
+ */
101
+ name?: pulumi.Input<string>;
102
+ /**
103
+ * List of all associated policy versions
104
+ */
105
+ policyVersions?: pulumi.Input<pulumi.Input<string>[]>;
106
+ /**
107
+ * Type of solution - Choices: `sdwan`
108
+ */
109
+ solution?: pulumi.Input<string>;
110
+ }
111
+ /**
112
+ * The set of arguments for constructing a PolicyGroup resource.
113
+ */
114
+ export interface PolicyGroupArgs {
115
+ /**
116
+ * Description
117
+ */
118
+ description: pulumi.Input<string>;
119
+ /**
120
+ * List of devices
121
+ */
122
+ devices?: pulumi.Input<pulumi.Input<inputs.PolicyGroupDevice>[]>;
123
+ /**
124
+ * List of feature profile IDs
125
+ */
126
+ featureProfileIds?: pulumi.Input<pulumi.Input<string>[]>;
127
+ /**
128
+ * The name of the policy group
129
+ */
130
+ name?: pulumi.Input<string>;
131
+ /**
132
+ * List of all associated policy versions
133
+ */
134
+ policyVersions?: pulumi.Input<pulumi.Input<string>[]>;
135
+ /**
136
+ * Type of solution - Choices: `sdwan`
137
+ */
138
+ solution: pulumi.Input<string>;
139
+ }
package/policyGroup.js ADDED
@@ -0,0 +1,94 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.PolicyGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource can manage a Policy Group .
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.PolicyGroup("example", {
19
+ * name: "PG_1",
20
+ * description: "My policy group 1",
21
+ * solution: "sdwan",
22
+ * featureProfileIds: ["f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"],
23
+ * devices: [{
24
+ * id: "C8K-40C0CCFD-9EA8-2B2E-E73B-32C5924EC79B",
25
+ * }],
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * The `pulumi import` command can be used, for example:
32
+ *
33
+ * ```sh
34
+ * $ pulumi import sdwan:index/policyGroup:PolicyGroup example "f6b2c44c-693c-4763-b010-895aa3d236bd"
35
+ * ```
36
+ */
37
+ class PolicyGroup extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing PolicyGroup resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new PolicyGroup(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of PolicyGroup. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === PolicyGroup.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["description"] = state ? state.description : undefined;
66
+ resourceInputs["devices"] = state ? state.devices : undefined;
67
+ resourceInputs["featureProfileIds"] = state ? state.featureProfileIds : undefined;
68
+ resourceInputs["name"] = state ? state.name : undefined;
69
+ resourceInputs["policyVersions"] = state ? state.policyVersions : undefined;
70
+ resourceInputs["solution"] = state ? state.solution : undefined;
71
+ }
72
+ else {
73
+ const args = argsOrState;
74
+ if ((!args || args.description === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'description'");
76
+ }
77
+ if ((!args || args.solution === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'solution'");
79
+ }
80
+ resourceInputs["description"] = args ? args.description : undefined;
81
+ resourceInputs["devices"] = args ? args.devices : undefined;
82
+ resourceInputs["featureProfileIds"] = args ? args.featureProfileIds : undefined;
83
+ resourceInputs["name"] = args ? args.name : undefined;
84
+ resourceInputs["policyVersions"] = args ? args.policyVersions : undefined;
85
+ resourceInputs["solution"] = args ? args.solution : undefined;
86
+ }
87
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
88
+ super(PolicyGroup.__pulumiType, name, resourceInputs, opts);
89
+ }
90
+ }
91
+ exports.PolicyGroup = PolicyGroup;
92
+ /** @internal */
93
+ PolicyGroup.__pulumiType = 'sdwan:index/policyGroup:PolicyGroup';
94
+ //# sourceMappingURL=policyGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policyGroup.js","sourceRoot":"","sources":["../policyGroup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;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