@pulumi/linode 4.23.0 → 4.24.0-alpha.1721846178
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/getLinodeObjectStorageBucket.d.ts +54 -0
- package/getLinodeObjectStorageBucket.js +36 -0
- package/getLinodeObjectStorageBucket.js.map +1 -1
- package/getPlacementGroup.d.ts +9 -9
- package/getPlacementGroups.d.ts +4 -4
- package/getPlacementGroups.js +4 -4
- package/package.json +2 -2
- package/placementGroup.d.ts +25 -25
- package/placementGroup.js +8 -8
- package/placementGroup.js.map +1 -1
- package/placementGroupAssignment.d.ts +1 -1
- package/placementGroupAssignment.js +1 -1
- package/types/input.d.ts +30 -30
- package/types/output.d.ts +19 -19
|
@@ -1,11 +1,38 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides information about a Linode Object Storage Bucket
|
|
4
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-object-storage-bucket).
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* The following example shows how one might use this data source to access information about a Linode Object Storage Bucket.
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as linode from "@pulumi/linode";
|
|
13
|
+
*
|
|
14
|
+
* const my-bucket = linode.getLinodeObjectStorageBucket({
|
|
15
|
+
* label: "my-bucket",
|
|
16
|
+
* region: "us-mia",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
2
20
|
export declare function getLinodeObjectStorageBucket(args: GetLinodeObjectStorageBucketArgs, opts?: pulumi.InvokeOptions): Promise<GetLinodeObjectStorageBucketResult>;
|
|
3
21
|
/**
|
|
4
22
|
* A collection of arguments for invoking getLinodeObjectStorageBucket.
|
|
5
23
|
*/
|
|
6
24
|
export interface GetLinodeObjectStorageBucketArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The ID of the Object Storage Cluster this bucket is in. Required if `region` is not configured.
|
|
27
|
+
*/
|
|
7
28
|
cluster?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The name of this bucket.
|
|
31
|
+
*/
|
|
8
32
|
label: string;
|
|
33
|
+
/**
|
|
34
|
+
* The ID of the region this bucket is in. Required if `cluster` is not configured.
|
|
35
|
+
*/
|
|
9
36
|
region?: string;
|
|
10
37
|
}
|
|
11
38
|
/**
|
|
@@ -21,12 +48,39 @@ export interface GetLinodeObjectStorageBucketResult {
|
|
|
21
48
|
readonly region: string;
|
|
22
49
|
readonly size: number;
|
|
23
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* Provides information about a Linode Object Storage Bucket
|
|
53
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-object-storage-bucket).
|
|
54
|
+
*
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* The following example shows how one might use this data source to access information about a Linode Object Storage Bucket.
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as linode from "@pulumi/linode";
|
|
62
|
+
*
|
|
63
|
+
* const my-bucket = linode.getLinodeObjectStorageBucket({
|
|
64
|
+
* label: "my-bucket",
|
|
65
|
+
* region: "us-mia",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
24
69
|
export declare function getLinodeObjectStorageBucketOutput(args: GetLinodeObjectStorageBucketOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetLinodeObjectStorageBucketResult>;
|
|
25
70
|
/**
|
|
26
71
|
* A collection of arguments for invoking getLinodeObjectStorageBucket.
|
|
27
72
|
*/
|
|
28
73
|
export interface GetLinodeObjectStorageBucketOutputArgs {
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the Object Storage Cluster this bucket is in. Required if `region` is not configured.
|
|
76
|
+
*/
|
|
29
77
|
cluster?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The name of this bucket.
|
|
80
|
+
*/
|
|
30
81
|
label: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* The ID of the region this bucket is in. Required if `cluster` is not configured.
|
|
84
|
+
*/
|
|
31
85
|
region?: pulumi.Input<string>;
|
|
32
86
|
}
|
|
@@ -5,6 +5,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getLinodeObjectStorageBucketOutput = exports.getLinodeObjectStorageBucket = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides information about a Linode Object Storage Bucket
|
|
10
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-object-storage-bucket).
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* The following example shows how one might use this data source to access information about a Linode Object Storage Bucket.
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as linode from "@pulumi/linode";
|
|
19
|
+
*
|
|
20
|
+
* const my-bucket = linode.getLinodeObjectStorageBucket({
|
|
21
|
+
* label: "my-bucket",
|
|
22
|
+
* region: "us-mia",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
8
26
|
function getLinodeObjectStorageBucket(args, opts) {
|
|
9
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
28
|
return pulumi.runtime.invoke("linode:index/getLinodeObjectStorageBucket:getLinodeObjectStorageBucket", {
|
|
@@ -14,6 +32,24 @@ function getLinodeObjectStorageBucket(args, opts) {
|
|
|
14
32
|
}, opts);
|
|
15
33
|
}
|
|
16
34
|
exports.getLinodeObjectStorageBucket = getLinodeObjectStorageBucket;
|
|
35
|
+
/**
|
|
36
|
+
* Provides information about a Linode Object Storage Bucket
|
|
37
|
+
* For more information, see the [Linode APIv4 docs](https://techdocs.akamai.com/linode-api/reference/get-object-storage-bucket).
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* The following example shows how one might use this data source to access information about a Linode Object Storage Bucket.
|
|
42
|
+
*
|
|
43
|
+
* ```typescript
|
|
44
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
45
|
+
* import * as linode from "@pulumi/linode";
|
|
46
|
+
*
|
|
47
|
+
* const my-bucket = linode.getLinodeObjectStorageBucket({
|
|
48
|
+
* label: "my-bucket",
|
|
49
|
+
* region: "us-mia",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
17
53
|
function getLinodeObjectStorageBucketOutput(args, opts) {
|
|
18
54
|
return pulumi.output(args).apply((a) => getLinodeObjectStorageBucket(a, opts));
|
|
19
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLinodeObjectStorageBucket.js","sourceRoot":"","sources":["../getLinodeObjectStorageBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;
|
|
1
|
+
{"version":3,"file":"getLinodeObjectStorageBucket.js","sourceRoot":"","sources":["../getLinodeObjectStorageBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAE5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC;AAiCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,4BAA4B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,gFAEC"}
|
package/getPlacementGroup.d.ts
CHANGED
|
@@ -38,19 +38,11 @@ export interface GetPlacementGroupArgs {
|
|
|
38
38
|
* A collection of values returned by getPlacementGroup.
|
|
39
39
|
*/
|
|
40
40
|
export interface GetPlacementGroupResult {
|
|
41
|
-
/**
|
|
42
|
-
* The affinity policy to use when placing Linodes in this group.
|
|
43
|
-
*/
|
|
44
|
-
readonly affinityType: string;
|
|
45
41
|
readonly id: number;
|
|
46
42
|
/**
|
|
47
|
-
* Whether this Linode is currently compliant with the group's
|
|
43
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
48
44
|
*/
|
|
49
45
|
readonly isCompliant: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* Whether Linodes must be able to become compliant during assignment. (Default `true`)
|
|
52
|
-
*/
|
|
53
|
-
readonly isStrict: boolean;
|
|
54
46
|
/**
|
|
55
47
|
* The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
|
|
56
48
|
*/
|
|
@@ -59,6 +51,14 @@ export interface GetPlacementGroupResult {
|
|
|
59
51
|
* A set of Linodes currently assigned to this Placement Group.
|
|
60
52
|
*/
|
|
61
53
|
readonly members?: outputs.GetPlacementGroupMember[];
|
|
54
|
+
/**
|
|
55
|
+
* Whether Linodes must be able to become compliant during assignment. (Default `strict`)
|
|
56
|
+
*/
|
|
57
|
+
readonly placementGroupPolicy: string;
|
|
58
|
+
/**
|
|
59
|
+
* The placement group type to use when placing Linodes in this group.
|
|
60
|
+
*/
|
|
61
|
+
readonly placementGroupType: string;
|
|
62
62
|
/**
|
|
63
63
|
* The region of the Placement Group.
|
|
64
64
|
*/
|
package/getPlacementGroups.d.ts
CHANGED
|
@@ -38,9 +38,9 @@ import * as outputs from "./types/output";
|
|
|
38
38
|
*
|
|
39
39
|
* * `region`
|
|
40
40
|
*
|
|
41
|
-
* * `
|
|
41
|
+
* * `placementGroupType`
|
|
42
42
|
*
|
|
43
|
-
* * `
|
|
43
|
+
* * `placementGroupPolicy`
|
|
44
44
|
*
|
|
45
45
|
* * `isCompliant`
|
|
46
46
|
*/
|
|
@@ -101,9 +101,9 @@ export interface GetPlacementGroupsResult {
|
|
|
101
101
|
*
|
|
102
102
|
* * `region`
|
|
103
103
|
*
|
|
104
|
-
* * `
|
|
104
|
+
* * `placementGroupType`
|
|
105
105
|
*
|
|
106
|
-
* * `
|
|
106
|
+
* * `placementGroupPolicy`
|
|
107
107
|
*
|
|
108
108
|
* * `isCompliant`
|
|
109
109
|
*/
|
package/getPlacementGroups.js
CHANGED
|
@@ -42,9 +42,9 @@ const utilities = require("./utilities");
|
|
|
42
42
|
*
|
|
43
43
|
* * `region`
|
|
44
44
|
*
|
|
45
|
-
* * `
|
|
45
|
+
* * `placementGroupType`
|
|
46
46
|
*
|
|
47
|
-
* * `
|
|
47
|
+
* * `placementGroupPolicy`
|
|
48
48
|
*
|
|
49
49
|
* * `isCompliant`
|
|
50
50
|
*/
|
|
@@ -96,9 +96,9 @@ exports.getPlacementGroups = getPlacementGroups;
|
|
|
96
96
|
*
|
|
97
97
|
* * `region`
|
|
98
98
|
*
|
|
99
|
-
* * `
|
|
99
|
+
* * `placementGroupType`
|
|
100
100
|
*
|
|
101
|
-
* * `
|
|
101
|
+
* * `placementGroupPolicy`
|
|
102
102
|
*
|
|
103
103
|
* * `isCompliant`
|
|
104
104
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/linode",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.0-alpha.1721846178",
|
|
4
4
|
"description": "A Pulumi package for creating and managing linode cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "linode",
|
|
26
|
-
"version": "4.
|
|
26
|
+
"version": "4.24.0-alpha.1721846178"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/placementGroup.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import * as outputs from "./types/output";
|
|
|
18
18
|
* const test = new linode.PlacementGroup("test", {
|
|
19
19
|
* label: "my-placement-group",
|
|
20
20
|
* region: "us-mia",
|
|
21
|
-
*
|
|
21
|
+
* placementGroupType: "anti_affinity:local",
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
24
|
*
|
|
@@ -47,17 +47,9 @@ export declare class PlacementGroup extends pulumi.CustomResource {
|
|
|
47
47
|
*/
|
|
48
48
|
static isInstance(obj: any): obj is PlacementGroup;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
readonly affinityType: pulumi.Output<string>;
|
|
53
|
-
/**
|
|
54
|
-
* Whether this Linode is currently compliant with the group's affinity policy.
|
|
50
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
55
51
|
*/
|
|
56
52
|
readonly isCompliant: pulumi.Output<boolean>;
|
|
57
|
-
/**
|
|
58
|
-
* Whether Linodes must be able to become compliant during assignment. (Default `true`)
|
|
59
|
-
*/
|
|
60
|
-
readonly isStrict: pulumi.Output<boolean>;
|
|
61
53
|
/**
|
|
62
54
|
* The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
|
|
63
55
|
*/
|
|
@@ -66,6 +58,14 @@ export declare class PlacementGroup extends pulumi.CustomResource {
|
|
|
66
58
|
* A set of Linodes currently assigned to this Placement Group.
|
|
67
59
|
*/
|
|
68
60
|
readonly members: pulumi.Output<outputs.PlacementGroupMember[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Whether Linodes must be able to become compliant during assignment. (Default `strict`)
|
|
63
|
+
*/
|
|
64
|
+
readonly placementGroupPolicy: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The placement group type to use when placing Linodes in this group.
|
|
67
|
+
*/
|
|
68
|
+
readonly placementGroupType: pulumi.Output<string>;
|
|
69
69
|
/**
|
|
70
70
|
* The region of the Placement Group.
|
|
71
71
|
*/
|
|
@@ -84,17 +84,9 @@ export declare class PlacementGroup extends pulumi.CustomResource {
|
|
|
84
84
|
*/
|
|
85
85
|
export interface PlacementGroupState {
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
88
|
-
*/
|
|
89
|
-
affinityType?: pulumi.Input<string>;
|
|
90
|
-
/**
|
|
91
|
-
* Whether this Linode is currently compliant with the group's affinity policy.
|
|
87
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
92
88
|
*/
|
|
93
89
|
isCompliant?: pulumi.Input<boolean>;
|
|
94
|
-
/**
|
|
95
|
-
* Whether Linodes must be able to become compliant during assignment. (Default `true`)
|
|
96
|
-
*/
|
|
97
|
-
isStrict?: pulumi.Input<boolean>;
|
|
98
90
|
/**
|
|
99
91
|
* The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
|
|
100
92
|
*/
|
|
@@ -103,6 +95,14 @@ export interface PlacementGroupState {
|
|
|
103
95
|
* A set of Linodes currently assigned to this Placement Group.
|
|
104
96
|
*/
|
|
105
97
|
members?: pulumi.Input<pulumi.Input<inputs.PlacementGroupMember>[]>;
|
|
98
|
+
/**
|
|
99
|
+
* Whether Linodes must be able to become compliant during assignment. (Default `strict`)
|
|
100
|
+
*/
|
|
101
|
+
placementGroupPolicy?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* The placement group type to use when placing Linodes in this group.
|
|
104
|
+
*/
|
|
105
|
+
placementGroupType?: pulumi.Input<string>;
|
|
106
106
|
/**
|
|
107
107
|
* The region of the Placement Group.
|
|
108
108
|
*/
|
|
@@ -113,17 +113,17 @@ export interface PlacementGroupState {
|
|
|
113
113
|
*/
|
|
114
114
|
export interface PlacementGroupArgs {
|
|
115
115
|
/**
|
|
116
|
-
* The
|
|
116
|
+
* The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
label: pulumi.Input<string>;
|
|
119
119
|
/**
|
|
120
|
-
* Whether Linodes must be able to become compliant during assignment. (Default `
|
|
120
|
+
* Whether Linodes must be able to become compliant during assignment. (Default `strict`)
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
placementGroupPolicy?: pulumi.Input<string>;
|
|
123
123
|
/**
|
|
124
|
-
* The
|
|
124
|
+
* The placement group type to use when placing Linodes in this group.
|
|
125
125
|
*/
|
|
126
|
-
|
|
126
|
+
placementGroupType: pulumi.Input<string>;
|
|
127
127
|
/**
|
|
128
128
|
* The region of the Placement Group.
|
|
129
129
|
*/
|
package/placementGroup.js
CHANGED
|
@@ -22,7 +22,7 @@ const utilities = require("./utilities");
|
|
|
22
22
|
* const test = new linode.PlacementGroup("test", {
|
|
23
23
|
* label: "my-placement-group",
|
|
24
24
|
* region: "us-mia",
|
|
25
|
-
*
|
|
25
|
+
* placementGroupType: "anti_affinity:local",
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
@@ -62,27 +62,27 @@ class PlacementGroup extends pulumi.CustomResource {
|
|
|
62
62
|
opts = opts || {};
|
|
63
63
|
if (opts.id) {
|
|
64
64
|
const state = argsOrState;
|
|
65
|
-
resourceInputs["affinityType"] = state ? state.affinityType : undefined;
|
|
66
65
|
resourceInputs["isCompliant"] = state ? state.isCompliant : undefined;
|
|
67
|
-
resourceInputs["isStrict"] = state ? state.isStrict : undefined;
|
|
68
66
|
resourceInputs["label"] = state ? state.label : undefined;
|
|
69
67
|
resourceInputs["members"] = state ? state.members : undefined;
|
|
68
|
+
resourceInputs["placementGroupPolicy"] = state ? state.placementGroupPolicy : undefined;
|
|
69
|
+
resourceInputs["placementGroupType"] = state ? state.placementGroupType : undefined;
|
|
70
70
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
71
71
|
}
|
|
72
72
|
else {
|
|
73
73
|
const args = argsOrState;
|
|
74
|
-
if ((!args || args.affinityType === undefined) && !opts.urn) {
|
|
75
|
-
throw new Error("Missing required property 'affinityType'");
|
|
76
|
-
}
|
|
77
74
|
if ((!args || args.label === undefined) && !opts.urn) {
|
|
78
75
|
throw new Error("Missing required property 'label'");
|
|
79
76
|
}
|
|
77
|
+
if ((!args || args.placementGroupType === undefined) && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'placementGroupType'");
|
|
79
|
+
}
|
|
80
80
|
if ((!args || args.region === undefined) && !opts.urn) {
|
|
81
81
|
throw new Error("Missing required property 'region'");
|
|
82
82
|
}
|
|
83
|
-
resourceInputs["affinityType"] = args ? args.affinityType : undefined;
|
|
84
|
-
resourceInputs["isStrict"] = args ? args.isStrict : undefined;
|
|
85
83
|
resourceInputs["label"] = args ? args.label : undefined;
|
|
84
|
+
resourceInputs["placementGroupPolicy"] = args ? args.placementGroupPolicy : undefined;
|
|
85
|
+
resourceInputs["placementGroupType"] = args ? args.placementGroupType : undefined;
|
|
86
86
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
87
87
|
resourceInputs["isCompliant"] = undefined /*out*/;
|
|
88
88
|
resourceInputs["members"] = undefined /*out*/;
|
package/placementGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"placementGroup.js","sourceRoot":"","sources":["../placementGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"placementGroup.js","sourceRoot":"","sources":["../placementGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;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ACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA5FL,wCA6FC;AA/EG,gBAAgB;AACO,2BAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -23,7 +23,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
23
23
|
* const my_pg = new linode.PlacementGroup("my-pg", {
|
|
24
24
|
* label: "my-pg",
|
|
25
25
|
* region: "us-east",
|
|
26
|
-
*
|
|
26
|
+
* placementGroupType: "anti_affinity:local",
|
|
27
27
|
* });
|
|
28
28
|
* const my_inst = new linode.Instance("my-inst", {
|
|
29
29
|
* label: "my-inst",
|
|
@@ -29,7 +29,7 @@ const utilities = require("./utilities");
|
|
|
29
29
|
* const my_pg = new linode.PlacementGroup("my-pg", {
|
|
30
30
|
* label: "my-pg",
|
|
31
31
|
* region: "us-east",
|
|
32
|
-
*
|
|
32
|
+
* placementGroupType: "anti_affinity:local",
|
|
33
33
|
* });
|
|
34
34
|
* const my_inst = new linode.Instance("my-inst", {
|
|
35
35
|
* label: "my-inst",
|
package/types/input.d.ts
CHANGED
|
@@ -2554,7 +2554,7 @@ export interface GetNodebalancersNodebalancerTransferArgs {
|
|
|
2554
2554
|
}
|
|
2555
2555
|
export interface GetPlacementGroupMember {
|
|
2556
2556
|
/**
|
|
2557
|
-
* Whether this Linode is currently compliant with the group's
|
|
2557
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2558
2558
|
*/
|
|
2559
2559
|
isCompliant?: boolean;
|
|
2560
2560
|
/**
|
|
@@ -2564,7 +2564,7 @@ export interface GetPlacementGroupMember {
|
|
|
2564
2564
|
}
|
|
2565
2565
|
export interface GetPlacementGroupMemberArgs {
|
|
2566
2566
|
/**
|
|
2567
|
-
* Whether this Linode is currently compliant with the group's
|
|
2567
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2568
2568
|
*/
|
|
2569
2569
|
isCompliant?: pulumi.Input<boolean>;
|
|
2570
2570
|
/**
|
|
@@ -2601,22 +2601,14 @@ export interface GetPlacementGroupsFilterArgs {
|
|
|
2601
2601
|
values: pulumi.Input<pulumi.Input<string>[]>;
|
|
2602
2602
|
}
|
|
2603
2603
|
export interface GetPlacementGroupsPlacementGroup {
|
|
2604
|
-
/**
|
|
2605
|
-
* The affinity policy to use when placing Linodes in this group.
|
|
2606
|
-
*/
|
|
2607
|
-
affinityType?: string;
|
|
2608
2604
|
/**
|
|
2609
2605
|
* The ID of the placement group.
|
|
2610
2606
|
*/
|
|
2611
2607
|
id: number;
|
|
2612
2608
|
/**
|
|
2613
|
-
* Whether this Linode is currently compliant with the group's
|
|
2609
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2614
2610
|
*/
|
|
2615
2611
|
isCompliant?: boolean;
|
|
2616
|
-
/**
|
|
2617
|
-
* Whether Linodes must be able to become compliant during assignment. (Default `true`)
|
|
2618
|
-
*/
|
|
2619
|
-
isStrict?: boolean;
|
|
2620
2612
|
/**
|
|
2621
2613
|
* The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
|
|
2622
2614
|
*/
|
|
@@ -2625,28 +2617,28 @@ export interface GetPlacementGroupsPlacementGroup {
|
|
|
2625
2617
|
* A set of Linodes currently assigned to this Placement Group.
|
|
2626
2618
|
*/
|
|
2627
2619
|
members?: inputs.GetPlacementGroupsPlacementGroupMember[];
|
|
2620
|
+
/**
|
|
2621
|
+
* Whether Linodes must be able to become compliant during assignment. (Default `strict`)
|
|
2622
|
+
*/
|
|
2623
|
+
placementGroupPolicy?: string;
|
|
2624
|
+
/**
|
|
2625
|
+
* The placement group type to use when placing Linodes in this group.
|
|
2626
|
+
*/
|
|
2627
|
+
placementGroupType?: string;
|
|
2628
2628
|
/**
|
|
2629
2629
|
* The region of the Placement Group.
|
|
2630
2630
|
*/
|
|
2631
2631
|
region?: string;
|
|
2632
2632
|
}
|
|
2633
2633
|
export interface GetPlacementGroupsPlacementGroupArgs {
|
|
2634
|
-
/**
|
|
2635
|
-
* The affinity policy to use when placing Linodes in this group.
|
|
2636
|
-
*/
|
|
2637
|
-
affinityType?: pulumi.Input<string>;
|
|
2638
2634
|
/**
|
|
2639
2635
|
* The ID of the placement group.
|
|
2640
2636
|
*/
|
|
2641
2637
|
id: pulumi.Input<number>;
|
|
2642
2638
|
/**
|
|
2643
|
-
* Whether this Linode is currently compliant with the group's
|
|
2639
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2644
2640
|
*/
|
|
2645
2641
|
isCompliant?: pulumi.Input<boolean>;
|
|
2646
|
-
/**
|
|
2647
|
-
* Whether Linodes must be able to become compliant during assignment. (Default `true`)
|
|
2648
|
-
*/
|
|
2649
|
-
isStrict?: pulumi.Input<boolean>;
|
|
2650
2642
|
/**
|
|
2651
2643
|
* The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
|
|
2652
2644
|
*/
|
|
@@ -2655,6 +2647,14 @@ export interface GetPlacementGroupsPlacementGroupArgs {
|
|
|
2655
2647
|
* A set of Linodes currently assigned to this Placement Group.
|
|
2656
2648
|
*/
|
|
2657
2649
|
members?: pulumi.Input<pulumi.Input<inputs.GetPlacementGroupsPlacementGroupMemberArgs>[]>;
|
|
2650
|
+
/**
|
|
2651
|
+
* Whether Linodes must be able to become compliant during assignment. (Default `strict`)
|
|
2652
|
+
*/
|
|
2653
|
+
placementGroupPolicy?: pulumi.Input<string>;
|
|
2654
|
+
/**
|
|
2655
|
+
* The placement group type to use when placing Linodes in this group.
|
|
2656
|
+
*/
|
|
2657
|
+
placementGroupType?: pulumi.Input<string>;
|
|
2658
2658
|
/**
|
|
2659
2659
|
* The region of the Placement Group.
|
|
2660
2660
|
*/
|
|
@@ -2662,7 +2662,7 @@ export interface GetPlacementGroupsPlacementGroupArgs {
|
|
|
2662
2662
|
}
|
|
2663
2663
|
export interface GetPlacementGroupsPlacementGroupMember {
|
|
2664
2664
|
/**
|
|
2665
|
-
* Whether this Linode is currently compliant with the group's
|
|
2665
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2666
2666
|
*/
|
|
2667
2667
|
isCompliant?: boolean;
|
|
2668
2668
|
/**
|
|
@@ -2672,7 +2672,7 @@ export interface GetPlacementGroupsPlacementGroupMember {
|
|
|
2672
2672
|
}
|
|
2673
2673
|
export interface GetPlacementGroupsPlacementGroupMemberArgs {
|
|
2674
2674
|
/**
|
|
2675
|
-
* Whether this Linode is currently compliant with the group's
|
|
2675
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2676
2676
|
*/
|
|
2677
2677
|
isCompliant?: pulumi.Input<boolean>;
|
|
2678
2678
|
/**
|
|
@@ -4688,23 +4688,23 @@ export interface InstanceMetadata {
|
|
|
4688
4688
|
userData?: pulumi.Input<string>;
|
|
4689
4689
|
}
|
|
4690
4690
|
export interface InstancePlacementGroup {
|
|
4691
|
-
/**
|
|
4692
|
-
* The affinity policy enforced by the Placement Group.
|
|
4693
|
-
*/
|
|
4694
|
-
affinityType?: pulumi.Input<string>;
|
|
4695
4691
|
compliantOnly?: pulumi.Input<boolean>;
|
|
4696
4692
|
/**
|
|
4697
4693
|
* The ID of the Placement Group.
|
|
4698
4694
|
*/
|
|
4699
4695
|
id: pulumi.Input<number>;
|
|
4696
|
+
/**
|
|
4697
|
+
* The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
4698
|
+
*/
|
|
4699
|
+
label?: pulumi.Input<string>;
|
|
4700
4700
|
/**
|
|
4701
4701
|
* Whether the Placement Group enforces strict compliance.
|
|
4702
4702
|
*/
|
|
4703
|
-
|
|
4703
|
+
placementGroupPolicy?: pulumi.Input<string>;
|
|
4704
4704
|
/**
|
|
4705
|
-
* The
|
|
4705
|
+
* The placement group type enforced by the Placement Group.
|
|
4706
4706
|
*/
|
|
4707
|
-
|
|
4707
|
+
placementGroupType?: pulumi.Input<string>;
|
|
4708
4708
|
}
|
|
4709
4709
|
export interface InstanceSpecs {
|
|
4710
4710
|
/**
|
|
@@ -5034,7 +5034,7 @@ export interface ObjectStorageKeyRegionsDetail {
|
|
|
5034
5034
|
}
|
|
5035
5035
|
export interface PlacementGroupMember {
|
|
5036
5036
|
/**
|
|
5037
|
-
* Whether this Linode is currently compliant with the group's
|
|
5037
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
5038
5038
|
*/
|
|
5039
5039
|
isCompliant: pulumi.Input<boolean>;
|
|
5040
5040
|
/**
|
package/types/output.d.ts
CHANGED
|
@@ -2517,7 +2517,7 @@ export interface GetNodebalancersNodebalancerTransfer {
|
|
|
2517
2517
|
}
|
|
2518
2518
|
export interface GetPlacementGroupMember {
|
|
2519
2519
|
/**
|
|
2520
|
-
* Whether this Linode is currently compliant with the group's
|
|
2520
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2521
2521
|
*/
|
|
2522
2522
|
isCompliant: boolean;
|
|
2523
2523
|
/**
|
|
@@ -2540,22 +2540,14 @@ export interface GetPlacementGroupsFilter {
|
|
|
2540
2540
|
values: string[];
|
|
2541
2541
|
}
|
|
2542
2542
|
export interface GetPlacementGroupsPlacementGroup {
|
|
2543
|
-
/**
|
|
2544
|
-
* The affinity policy to use when placing Linodes in this group.
|
|
2545
|
-
*/
|
|
2546
|
-
affinityType: string;
|
|
2547
2543
|
/**
|
|
2548
2544
|
* The ID of the placement group.
|
|
2549
2545
|
*/
|
|
2550
2546
|
id: number;
|
|
2551
2547
|
/**
|
|
2552
|
-
* Whether this Linode is currently compliant with the group's
|
|
2548
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2553
2549
|
*/
|
|
2554
2550
|
isCompliant: boolean;
|
|
2555
|
-
/**
|
|
2556
|
-
* Whether Linodes must be able to become compliant during assignment. (Default `true`)
|
|
2557
|
-
*/
|
|
2558
|
-
isStrict: boolean;
|
|
2559
2551
|
/**
|
|
2560
2552
|
* The label of the Placement Group. This field can only contain ASCII letters, digits and dashes.
|
|
2561
2553
|
*/
|
|
@@ -2564,6 +2556,14 @@ export interface GetPlacementGroupsPlacementGroup {
|
|
|
2564
2556
|
* A set of Linodes currently assigned to this Placement Group.
|
|
2565
2557
|
*/
|
|
2566
2558
|
members?: outputs.GetPlacementGroupsPlacementGroupMember[];
|
|
2559
|
+
/**
|
|
2560
|
+
* Whether Linodes must be able to become compliant during assignment. (Default `strict`)
|
|
2561
|
+
*/
|
|
2562
|
+
placementGroupPolicy: string;
|
|
2563
|
+
/**
|
|
2564
|
+
* The placement group type to use when placing Linodes in this group.
|
|
2565
|
+
*/
|
|
2566
|
+
placementGroupType: string;
|
|
2567
2567
|
/**
|
|
2568
2568
|
* The region of the Placement Group.
|
|
2569
2569
|
*/
|
|
@@ -2571,7 +2571,7 @@ export interface GetPlacementGroupsPlacementGroup {
|
|
|
2571
2571
|
}
|
|
2572
2572
|
export interface GetPlacementGroupsPlacementGroupMember {
|
|
2573
2573
|
/**
|
|
2574
|
-
* Whether this Linode is currently compliant with the group's
|
|
2574
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
2575
2575
|
*/
|
|
2576
2576
|
isCompliant: boolean;
|
|
2577
2577
|
/**
|
|
@@ -3932,23 +3932,23 @@ export interface InstanceMetadata {
|
|
|
3932
3932
|
userData?: string;
|
|
3933
3933
|
}
|
|
3934
3934
|
export interface InstancePlacementGroup {
|
|
3935
|
-
/**
|
|
3936
|
-
* The affinity policy enforced by the Placement Group.
|
|
3937
|
-
*/
|
|
3938
|
-
affinityType: string;
|
|
3939
3935
|
compliantOnly?: boolean;
|
|
3940
3936
|
/**
|
|
3941
3937
|
* The ID of the Placement Group.
|
|
3942
3938
|
*/
|
|
3943
3939
|
id: number;
|
|
3940
|
+
/**
|
|
3941
|
+
* The Linode's label is for display purposes only. If no label is provided for a Linode, a default will be assigned.
|
|
3942
|
+
*/
|
|
3943
|
+
label: string;
|
|
3944
3944
|
/**
|
|
3945
3945
|
* Whether the Placement Group enforces strict compliance.
|
|
3946
3946
|
*/
|
|
3947
|
-
|
|
3947
|
+
placementGroupPolicy: string;
|
|
3948
3948
|
/**
|
|
3949
|
-
* The
|
|
3949
|
+
* The placement group type enforced by the Placement Group.
|
|
3950
3950
|
*/
|
|
3951
|
-
|
|
3951
|
+
placementGroupType: string;
|
|
3952
3952
|
}
|
|
3953
3953
|
export interface InstanceSpecs {
|
|
3954
3954
|
/**
|
|
@@ -4278,7 +4278,7 @@ export interface ObjectStorageKeyRegionsDetail {
|
|
|
4278
4278
|
}
|
|
4279
4279
|
export interface PlacementGroupMember {
|
|
4280
4280
|
/**
|
|
4281
|
-
* Whether this Linode is currently compliant with the group's
|
|
4281
|
+
* Whether this Linode is currently compliant with the group's placement group type.
|
|
4282
4282
|
*/
|
|
4283
4283
|
isCompliant: boolean;
|
|
4284
4284
|
/**
|