@pulumi/openstack 3.12.0 → 3.12.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.
@@ -11,7 +11,7 @@ import * as outputs from "../types/output";
11
11
  * import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as openstack from "@pulumi/openstack";
13
13
  *
14
- * const test_sg = new openstack.compute.ServerGroup("test-sg", {policies: "anti-affinity"});
14
+ * const test_sg = new openstack.compute.ServerGroup("test-sg", {policies: ["anti-affinity"]});
15
15
  * ```
16
16
  * ### Compute service API version 2.64 or above:
17
17
  *
@@ -20,7 +20,7 @@ import * as outputs from "../types/output";
20
20
  * import * as openstack from "@pulumi/openstack";
21
21
  *
22
22
  * const test_sg = new openstack.compute.ServerGroup("test-sg", {
23
- * policies: "anti-affinity",
23
+ * policies: ["anti-affinity"],
24
24
  * rules: {
25
25
  * maxServerPerHost: 3,
26
26
  * },
@@ -82,7 +82,7 @@ export declare class ServerGroup extends pulumi.CustomResource {
82
82
  * the server group. See the Policies section for more information. Changing this
83
83
  * creates a new server group.
84
84
  */
85
- readonly policies: pulumi.Output<string | undefined>;
85
+ readonly policies: pulumi.Output<string[] | undefined>;
86
86
  /**
87
87
  * The region in which to obtain the V2 Compute client.
88
88
  * If omitted, the `region` argument of the provider is used. Changing
@@ -127,7 +127,7 @@ export interface ServerGroupState {
127
127
  * the server group. See the Policies section for more information. Changing this
128
128
  * creates a new server group.
129
129
  */
130
- policies?: pulumi.Input<string>;
130
+ policies?: pulumi.Input<pulumi.Input<string>[]>;
131
131
  /**
132
132
  * The region in which to obtain the V2 Compute client.
133
133
  * If omitted, the `region` argument of the provider is used. Changing
@@ -160,7 +160,7 @@ export interface ServerGroupArgs {
160
160
  * the server group. See the Policies section for more information. Changing this
161
161
  * creates a new server group.
162
162
  */
163
- policies?: pulumi.Input<string>;
163
+ policies?: pulumi.Input<pulumi.Input<string>[]>;
164
164
  /**
165
165
  * The region in which to obtain the V2 Compute client.
166
166
  * If omitted, the `region` argument of the provider is used. Changing
@@ -15,7 +15,7 @@ const utilities = require("../utilities");
15
15
  * import * as pulumi from "@pulumi/pulumi";
16
16
  * import * as openstack from "@pulumi/openstack";
17
17
  *
18
- * const test_sg = new openstack.compute.ServerGroup("test-sg", {policies: "anti-affinity"});
18
+ * const test_sg = new openstack.compute.ServerGroup("test-sg", {policies: ["anti-affinity"]});
19
19
  * ```
20
20
  * ### Compute service API version 2.64 or above:
21
21
  *
@@ -24,7 +24,7 @@ const utilities = require("../utilities");
24
24
  * import * as openstack from "@pulumi/openstack";
25
25
  *
26
26
  * const test_sg = new openstack.compute.ServerGroup("test-sg", {
27
- * policies: "anti-affinity",
27
+ * policies: ["anti-affinity"],
28
28
  * rules: {
29
29
  * maxServerPerHost: 3,
30
30
  * },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/openstack",
3
- "version": "v3.12.0",
3
+ "version": "v3.12.1",
4
4
  "description": "A Pulumi package for creating and managing OpenStack cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource openstack v3.12.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource openstack v3.12.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/openstack",
3
- "version": "v3.12.0",
3
+ "version": "v3.12.1",
4
4
  "description": "A Pulumi package for creating and managing OpenStack cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource openstack v3.12.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource openstack v3.12.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"