@pulumi/spotinst 3.75.0-alpha.1713338545 → 3.75.0-alpha.1713673646
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/aws/account.d.ts +1 -1
- package/aws/account.js +1 -1
- package/aws/beanstalk.d.ts +0 -40
- package/aws/beanstalk.js +0 -40
- package/aws/beanstalk.js.map +1 -1
- package/aws/credentials.d.ts +1 -1
- package/aws/credentials.js +1 -1
- package/aws/elastigroup.d.ts +136 -18
- package/aws/elastigroup.js +136 -0
- package/aws/elastigroup.js.map +1 -1
- package/aws/mrScalar.d.ts +123 -118
- package/aws/mrScalar.js +123 -118
- package/aws/mrScalar.js.map +1 -1
- package/aws/ocean.d.ts +0 -80
- package/aws/ocean.js +0 -80
- package/aws/ocean.js.map +1 -1
- package/aws/oceanExtendedResourceDefinition.d.ts +7 -4
- package/aws/oceanExtendedResourceDefinition.js +7 -4
- package/aws/oceanExtendedResourceDefinition.js.map +1 -1
- package/aws/oceanLaunchSpec.d.ts +0 -137
- package/aws/oceanLaunchSpec.js +0 -137
- package/aws/oceanLaunchSpec.js.map +1 -1
- package/aws/suspension.d.ts +1 -1
- package/aws/suspension.js +1 -1
- package/azure/elastigroup.d.ts +72 -41
- package/azure/elastigroup.js +72 -41
- package/azure/elastigroup.js.map +1 -1
- package/azure/ocean.d.ts +93 -5
- package/azure/ocean.js +93 -5
- package/azure/ocean.js.map +1 -1
- package/azure/oceanVirtualNodeGroup.d.ts +20 -19
- package/azure/oceanVirtualNodeGroup.js +20 -19
- package/azure/oceanVirtualNodeGroup.js.map +1 -1
- package/dataIntegration.d.ts +2 -1
- package/dataIntegration.js +2 -1
- package/dataIntegration.js.map +1 -1
- package/ecs/oceanLaunchSpec.d.ts +51 -51
- package/ecs/oceanLaunchSpec.js +51 -51
- package/gcp/elastigroup.d.ts +45 -62
- package/gcp/elastigroup.js +45 -44
- package/gcp/elastigroup.js.map +1 -1
- package/gke/elastigroup.d.ts +23 -22
- package/gke/elastigroup.js +23 -22
- package/gke/elastigroup.js.map +1 -1
- package/gke/oceanImport.d.ts +13 -57
- package/gke/oceanImport.js +13 -57
- package/gke/oceanImport.js.map +1 -1
- package/gke/oceanLaunchSpec.d.ts +55 -67
- package/gke/oceanLaunchSpec.js +55 -67
- package/gke/oceanLaunchSpec.js.map +1 -1
- package/gke/oceanLaunchSpecImport.d.ts +1 -1
- package/gke/oceanLaunchSpecImport.js +1 -1
- package/organization/policy.d.ts +2 -1
- package/organization/policy.js +2 -1
- package/organization/policy.js.map +1 -1
- package/organization/programmaticUser.d.ts +3 -2
- package/organization/programmaticUser.js +3 -2
- package/organization/programmaticUser.js.map +1 -1
- package/organization/user.d.ts +3 -3
- package/organization/user.js +3 -3
- package/organization/userGroup.d.ts +3 -2
- package/organization/userGroup.js +3 -2
- package/organization/userGroup.js.map +1 -1
- package/package.json +1 -1
- package/spark/oceanVirtualNodeGroup.d.ts +1 -1
- package/spark/oceanVirtualNodeGroup.js +1 -1
- package/statefulNodeAzure.d.ts +2 -2
- package/statefulNodeAzure.js +2 -2
- package/subscription.d.ts +3 -3
- package/subscription.js +3 -3
- package/types/input.d.ts +0 -203
- package/types/output.d.ts +0 -203
package/gke/oceanLaunchSpec.d.ts
CHANGED
|
@@ -14,25 +14,69 @@ import * as outputs from "../types/output";
|
|
|
14
14
|
* import * as spotinst from "@pulumi/spotinst";
|
|
15
15
|
*
|
|
16
16
|
* const example = new spotinst.gke.OceanLaunchSpec("example", {
|
|
17
|
+
* oceanId: "o-123456",
|
|
18
|
+
* nodePoolName: "default-pool",
|
|
19
|
+
* name: "specialty.nodes.spotk8s.com",
|
|
20
|
+
* sourceImage: "image",
|
|
21
|
+
* restrictScaleDown: true,
|
|
22
|
+
* rootVolumeSize: 10,
|
|
23
|
+
* rootVolumeType: "pd-standard",
|
|
24
|
+
* instanceTypes: ["n1-standard-1, n1-standard-2"],
|
|
25
|
+
* tags: [
|
|
26
|
+
* "tag1",
|
|
27
|
+
* "tag2",
|
|
28
|
+
* ],
|
|
29
|
+
* shieldedInstanceConfig: {
|
|
30
|
+
* enableSecureBoot: false,
|
|
31
|
+
* enableIntegrityMonitoring: true,
|
|
32
|
+
* },
|
|
33
|
+
* storage: {
|
|
34
|
+
* localSsdCount: 5,
|
|
35
|
+
* },
|
|
36
|
+
* resourceLimits: {
|
|
37
|
+
* maxInstanceCount: 3,
|
|
38
|
+
* minInstanceCount: 0,
|
|
39
|
+
* },
|
|
40
|
+
* serviceAccount: "default",
|
|
41
|
+
* metadatas: [{
|
|
42
|
+
* key: "gci-update-strategy",
|
|
43
|
+
* value: "update_disabled",
|
|
44
|
+
* }],
|
|
45
|
+
* labels: [{
|
|
46
|
+
* key: "labelKey",
|
|
47
|
+
* value: "labelVal",
|
|
48
|
+
* }],
|
|
49
|
+
* taints: [{
|
|
50
|
+
* key: "taintKey",
|
|
51
|
+
* value: "taintVal",
|
|
52
|
+
* effect: "taintEffect",
|
|
53
|
+
* }],
|
|
54
|
+
* autoscaleHeadroomsAutomatics: [{
|
|
55
|
+
* autoHeadroomPercentage: 5,
|
|
56
|
+
* }],
|
|
17
57
|
* autoscaleHeadrooms: [{
|
|
58
|
+
* numOfUnits: 5,
|
|
18
59
|
* cpuPerUnit: 1000,
|
|
19
60
|
* gpuPerUnit: 0,
|
|
20
61
|
* memoryPerUnit: 2048,
|
|
21
|
-
* numOfUnits: 5,
|
|
22
|
-
* }],
|
|
23
|
-
* autoscaleHeadroomsAutomatics: [{
|
|
24
|
-
* autoHeadroomPercentage: 5,
|
|
25
62
|
* }],
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* key: "labelKey",
|
|
29
|
-
* value: "labelVal",
|
|
63
|
+
* strategies: [{
|
|
64
|
+
* preemptiblePercentage: 30,
|
|
30
65
|
* }],
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
66
|
+
* schedulingTasks: [{
|
|
67
|
+
* isEnabled: true,
|
|
68
|
+
* cronExpression: "0 1 * * *",
|
|
69
|
+
* taskType: "manualHeadroomUpdate",
|
|
70
|
+
* taskHeadrooms: [{
|
|
71
|
+
* numOfUnits: 5,
|
|
72
|
+
* cpuPerUnit: 1000,
|
|
73
|
+
* gpuPerUnit: 0,
|
|
74
|
+
* memoryPerUnit: 2048,
|
|
75
|
+
* }],
|
|
34
76
|
* }],
|
|
35
77
|
* networkInterfaces: [{
|
|
78
|
+
* network: "test-vng-network",
|
|
79
|
+
* projectId: "test-vng-network-project",
|
|
36
80
|
* accessConfigs: [{
|
|
37
81
|
* name: "external-nat-vng",
|
|
38
82
|
* type: "ONE_TO_ONE_NAT",
|
|
@@ -41,66 +85,10 @@ import * as outputs from "../types/output";
|
|
|
41
85
|
* ipCidrRange: "/25",
|
|
42
86
|
* subnetworkRangeName: "gke-test-native-vpc-pods-123456-vng",
|
|
43
87
|
* }],
|
|
44
|
-
* network: "test-vng-network",
|
|
45
|
-
* projectId: "test-vng-network-project",
|
|
46
|
-
* }],
|
|
47
|
-
* nodePoolName: "default-pool",
|
|
48
|
-
* oceanId: "o-123456",
|
|
49
|
-
* resourceLimits: {
|
|
50
|
-
* maxInstanceCount: 3,
|
|
51
|
-
* minInstanceCount: 0,
|
|
52
|
-
* },
|
|
53
|
-
* restrictScaleDown: true,
|
|
54
|
-
* rootVolumeSize: 10,
|
|
55
|
-
* rootVolumeType: "pd-standard",
|
|
56
|
-
* schedulingTasks: [{
|
|
57
|
-
* cronExpression: "0 1 * * *",
|
|
58
|
-
* isEnabled: true,
|
|
59
|
-
* taskHeadrooms: [{
|
|
60
|
-
* cpuPerUnit: 1000,
|
|
61
|
-
* gpuPerUnit: 0,
|
|
62
|
-
* memoryPerUnit: 2048,
|
|
63
|
-
* numOfUnits: 5,
|
|
64
|
-
* }],
|
|
65
|
-
* taskType: "manualHeadroomUpdate",
|
|
66
|
-
* }],
|
|
67
|
-
* serviceAccount: "default",
|
|
68
|
-
* shieldedInstanceConfig: {
|
|
69
|
-
* enableIntegrityMonitoring: true,
|
|
70
|
-
* enableSecureBoot: false,
|
|
71
|
-
* },
|
|
72
|
-
* sourceImage: "image",
|
|
73
|
-
* storage: {
|
|
74
|
-
* localSsdCount: 5,
|
|
75
|
-
* },
|
|
76
|
-
* strategies: [{
|
|
77
|
-
* preemptiblePercentage: 30,
|
|
78
|
-
* }],
|
|
79
|
-
* tags: [
|
|
80
|
-
* "tag1",
|
|
81
|
-
* "tag2",
|
|
82
|
-
* ],
|
|
83
|
-
* taints: [{
|
|
84
|
-
* effect: "taintEffect",
|
|
85
|
-
* key: "taintKey",
|
|
86
|
-
* value: "taintVal",
|
|
87
88
|
* }],
|
|
88
89
|
* });
|
|
89
90
|
* ```
|
|
90
91
|
* <!--End PulumiCodeChooser -->
|
|
91
|
-
*
|
|
92
|
-
* ## Update Policy
|
|
93
|
-
*
|
|
94
|
-
* * `updatePolicy` - (Optional)
|
|
95
|
-
* * `shouldRoll` - (Required) Enables the roll.
|
|
96
|
-
* * `rollConfig` - (Required) Holds the roll configuration.
|
|
97
|
-
* * `batchSizePercentage` - (Required) Sets the percentage of the instances to deploy in each batch.
|
|
98
|
-
*
|
|
99
|
-
* <!--Start PulumiCodeChooser -->
|
|
100
|
-
* ```typescript
|
|
101
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
102
|
-
* ```
|
|
103
|
-
* <!--End PulumiCodeChooser -->
|
|
104
92
|
*/
|
|
105
93
|
export declare class OceanLaunchSpec extends pulumi.CustomResource {
|
|
106
94
|
/**
|
package/gke/oceanLaunchSpec.js
CHANGED
|
@@ -18,25 +18,69 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* import * as spotinst from "@pulumi/spotinst";
|
|
19
19
|
*
|
|
20
20
|
* const example = new spotinst.gke.OceanLaunchSpec("example", {
|
|
21
|
+
* oceanId: "o-123456",
|
|
22
|
+
* nodePoolName: "default-pool",
|
|
23
|
+
* name: "specialty.nodes.spotk8s.com",
|
|
24
|
+
* sourceImage: "image",
|
|
25
|
+
* restrictScaleDown: true,
|
|
26
|
+
* rootVolumeSize: 10,
|
|
27
|
+
* rootVolumeType: "pd-standard",
|
|
28
|
+
* instanceTypes: ["n1-standard-1, n1-standard-2"],
|
|
29
|
+
* tags: [
|
|
30
|
+
* "tag1",
|
|
31
|
+
* "tag2",
|
|
32
|
+
* ],
|
|
33
|
+
* shieldedInstanceConfig: {
|
|
34
|
+
* enableSecureBoot: false,
|
|
35
|
+
* enableIntegrityMonitoring: true,
|
|
36
|
+
* },
|
|
37
|
+
* storage: {
|
|
38
|
+
* localSsdCount: 5,
|
|
39
|
+
* },
|
|
40
|
+
* resourceLimits: {
|
|
41
|
+
* maxInstanceCount: 3,
|
|
42
|
+
* minInstanceCount: 0,
|
|
43
|
+
* },
|
|
44
|
+
* serviceAccount: "default",
|
|
45
|
+
* metadatas: [{
|
|
46
|
+
* key: "gci-update-strategy",
|
|
47
|
+
* value: "update_disabled",
|
|
48
|
+
* }],
|
|
49
|
+
* labels: [{
|
|
50
|
+
* key: "labelKey",
|
|
51
|
+
* value: "labelVal",
|
|
52
|
+
* }],
|
|
53
|
+
* taints: [{
|
|
54
|
+
* key: "taintKey",
|
|
55
|
+
* value: "taintVal",
|
|
56
|
+
* effect: "taintEffect",
|
|
57
|
+
* }],
|
|
58
|
+
* autoscaleHeadroomsAutomatics: [{
|
|
59
|
+
* autoHeadroomPercentage: 5,
|
|
60
|
+
* }],
|
|
21
61
|
* autoscaleHeadrooms: [{
|
|
62
|
+
* numOfUnits: 5,
|
|
22
63
|
* cpuPerUnit: 1000,
|
|
23
64
|
* gpuPerUnit: 0,
|
|
24
65
|
* memoryPerUnit: 2048,
|
|
25
|
-
* numOfUnits: 5,
|
|
26
|
-
* }],
|
|
27
|
-
* autoscaleHeadroomsAutomatics: [{
|
|
28
|
-
* autoHeadroomPercentage: 5,
|
|
29
66
|
* }],
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* key: "labelKey",
|
|
33
|
-
* value: "labelVal",
|
|
67
|
+
* strategies: [{
|
|
68
|
+
* preemptiblePercentage: 30,
|
|
34
69
|
* }],
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
70
|
+
* schedulingTasks: [{
|
|
71
|
+
* isEnabled: true,
|
|
72
|
+
* cronExpression: "0 1 * * *",
|
|
73
|
+
* taskType: "manualHeadroomUpdate",
|
|
74
|
+
* taskHeadrooms: [{
|
|
75
|
+
* numOfUnits: 5,
|
|
76
|
+
* cpuPerUnit: 1000,
|
|
77
|
+
* gpuPerUnit: 0,
|
|
78
|
+
* memoryPerUnit: 2048,
|
|
79
|
+
* }],
|
|
38
80
|
* }],
|
|
39
81
|
* networkInterfaces: [{
|
|
82
|
+
* network: "test-vng-network",
|
|
83
|
+
* projectId: "test-vng-network-project",
|
|
40
84
|
* accessConfigs: [{
|
|
41
85
|
* name: "external-nat-vng",
|
|
42
86
|
* type: "ONE_TO_ONE_NAT",
|
|
@@ -45,66 +89,10 @@ const utilities = require("../utilities");
|
|
|
45
89
|
* ipCidrRange: "/25",
|
|
46
90
|
* subnetworkRangeName: "gke-test-native-vpc-pods-123456-vng",
|
|
47
91
|
* }],
|
|
48
|
-
* network: "test-vng-network",
|
|
49
|
-
* projectId: "test-vng-network-project",
|
|
50
|
-
* }],
|
|
51
|
-
* nodePoolName: "default-pool",
|
|
52
|
-
* oceanId: "o-123456",
|
|
53
|
-
* resourceLimits: {
|
|
54
|
-
* maxInstanceCount: 3,
|
|
55
|
-
* minInstanceCount: 0,
|
|
56
|
-
* },
|
|
57
|
-
* restrictScaleDown: true,
|
|
58
|
-
* rootVolumeSize: 10,
|
|
59
|
-
* rootVolumeType: "pd-standard",
|
|
60
|
-
* schedulingTasks: [{
|
|
61
|
-
* cronExpression: "0 1 * * *",
|
|
62
|
-
* isEnabled: true,
|
|
63
|
-
* taskHeadrooms: [{
|
|
64
|
-
* cpuPerUnit: 1000,
|
|
65
|
-
* gpuPerUnit: 0,
|
|
66
|
-
* memoryPerUnit: 2048,
|
|
67
|
-
* numOfUnits: 5,
|
|
68
|
-
* }],
|
|
69
|
-
* taskType: "manualHeadroomUpdate",
|
|
70
|
-
* }],
|
|
71
|
-
* serviceAccount: "default",
|
|
72
|
-
* shieldedInstanceConfig: {
|
|
73
|
-
* enableIntegrityMonitoring: true,
|
|
74
|
-
* enableSecureBoot: false,
|
|
75
|
-
* },
|
|
76
|
-
* sourceImage: "image",
|
|
77
|
-
* storage: {
|
|
78
|
-
* localSsdCount: 5,
|
|
79
|
-
* },
|
|
80
|
-
* strategies: [{
|
|
81
|
-
* preemptiblePercentage: 30,
|
|
82
|
-
* }],
|
|
83
|
-
* tags: [
|
|
84
|
-
* "tag1",
|
|
85
|
-
* "tag2",
|
|
86
|
-
* ],
|
|
87
|
-
* taints: [{
|
|
88
|
-
* effect: "taintEffect",
|
|
89
|
-
* key: "taintKey",
|
|
90
|
-
* value: "taintVal",
|
|
91
92
|
* }],
|
|
92
93
|
* });
|
|
93
94
|
* ```
|
|
94
95
|
* <!--End PulumiCodeChooser -->
|
|
95
|
-
*
|
|
96
|
-
* ## Update Policy
|
|
97
|
-
*
|
|
98
|
-
* * `updatePolicy` - (Optional)
|
|
99
|
-
* * `shouldRoll` - (Required) Enables the roll.
|
|
100
|
-
* * `rollConfig` - (Required) Holds the roll configuration.
|
|
101
|
-
* * `batchSizePercentage` - (Required) Sets the percentage of the instances to deploy in each batch.
|
|
102
|
-
*
|
|
103
|
-
* <!--Start PulumiCodeChooser -->
|
|
104
|
-
* ```typescript
|
|
105
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
106
|
-
* ```
|
|
107
|
-
* <!--End PulumiCodeChooser -->
|
|
108
96
|
*/
|
|
109
97
|
class OceanLaunchSpec extends pulumi.CustomResource {
|
|
110
98
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oceanLaunchSpec.js","sourceRoot":"","sources":["../../gke/oceanLaunchSpec.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAy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AAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAnLL,0CAoLC;AAtKG,gBAAgB;AACO,4BAAY,GAAG,8CAA8C,CAAC"}
|
|
@@ -10,8 +10,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
* import * as spotinst from "@pulumi/spotinst";
|
|
11
11
|
*
|
|
12
12
|
* const example = new spotinst.gke.OceanLaunchSpecImport("example", {
|
|
13
|
-
* nodePoolName: "default-pool",
|
|
14
13
|
* oceanId: "o-123456",
|
|
14
|
+
* nodePoolName: "default-pool",
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
* <!--End PulumiCodeChooser -->
|
|
@@ -16,8 +16,8 @@ const utilities = require("../utilities");
|
|
|
16
16
|
* import * as spotinst from "@pulumi/spotinst";
|
|
17
17
|
*
|
|
18
18
|
* const example = new spotinst.gke.OceanLaunchSpecImport("example", {
|
|
19
|
-
* nodePoolName: "default-pool",
|
|
20
19
|
* oceanId: "o-123456",
|
|
20
|
+
* nodePoolName: "default-pool",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
* <!--End PulumiCodeChooser -->
|
package/organization/policy.d.ts
CHANGED
|
@@ -11,7 +11,8 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as spotinst from "@pulumi/spotinst";
|
|
13
13
|
*
|
|
14
|
-
* const terraformPolicy = new spotinst.organization.Policy("
|
|
14
|
+
* const terraformPolicy = new spotinst.organization.Policy("terraform_policy", {
|
|
15
|
+
* name: "test-policy",
|
|
15
16
|
* description: "policy by terraform",
|
|
16
17
|
* policyContents: [{
|
|
17
18
|
* statements: [
|
package/organization/policy.js
CHANGED
|
@@ -15,7 +15,8 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as spotinst from "@pulumi/spotinst";
|
|
17
17
|
*
|
|
18
|
-
* const terraformPolicy = new spotinst.organization.Policy("
|
|
18
|
+
* const terraformPolicy = new spotinst.organization.Policy("terraform_policy", {
|
|
19
|
+
* name: "test-policy",
|
|
19
20
|
* description: "policy by terraform",
|
|
20
21
|
* policyContents: [{
|
|
21
22
|
* statements: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../organization/policy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"policy.js","sourceRoot":"","sources":["../../organization/policy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cA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ulumi/spotinst";
|
|
13
13
|
*
|
|
14
|
-
* const terraformProgUser = new spotinst.organization.ProgrammaticUser("
|
|
14
|
+
* const terraformProgUser = new spotinst.organization.ProgrammaticUser("terraform_prog_user", {
|
|
15
|
+
* name: "test-prog-user",
|
|
15
16
|
* description: "creating programmatic user",
|
|
16
17
|
* policies: [{
|
|
17
|
-
* policyAccountIds: ["act-a1b2c3d4"],
|
|
18
18
|
* policyId: "pol-g75d8c06",
|
|
19
|
+
* policyAccountIds: ["act-a1b2c3d4"],
|
|
19
20
|
* }],
|
|
20
21
|
* userGroupIds: [
|
|
21
22
|
* "ugr-abcd1234",
|
|
@@ -15,11 +15,12 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as spotinst from "@pulumi/spotinst";
|
|
17
17
|
*
|
|
18
|
-
* const terraformProgUser = new spotinst.organization.ProgrammaticUser("
|
|
18
|
+
* const terraformProgUser = new spotinst.organization.ProgrammaticUser("terraform_prog_user", {
|
|
19
|
+
* name: "test-prog-user",
|
|
19
20
|
* description: "creating programmatic user",
|
|
20
21
|
* policies: [{
|
|
21
|
-
* policyAccountIds: ["act-a1b2c3d4"],
|
|
22
22
|
* policyId: "pol-g75d8c06",
|
|
23
|
+
* policyAccountIds: ["act-a1b2c3d4"],
|
|
23
24
|
* }],
|
|
24
25
|
* userGroupIds: [
|
|
25
26
|
* "ugr-abcd1234",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"programmaticUser.js","sourceRoot":"","sources":["../../organization/programmaticUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"programmaticUser.js","sourceRoot":"","sources":["../../organization/programmaticUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;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CAAC;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA/EL,4CAgFC;AAlEG,gBAAgB;AACO,6BAAY,GAAG,yDAAyD,CAAC"}
|
package/organization/user.d.ts
CHANGED
|
@@ -11,16 +11,16 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as spotinst from "@pulumi/spotinst";
|
|
13
13
|
*
|
|
14
|
-
* const terraformUser = new spotinst.organization.User("
|
|
14
|
+
* const terraformUser = new spotinst.organization.User("terraform_user", {
|
|
15
15
|
* email: "abc@xyz.com",
|
|
16
16
|
* firstName: "test",
|
|
17
17
|
* lastName: "user",
|
|
18
18
|
* password: "testUser@123",
|
|
19
|
+
* role: "viewer",
|
|
19
20
|
* policies: [{
|
|
20
|
-
* policyAccountIds: ["act-abcf4245"],
|
|
21
21
|
* policyId: "pol-abcd1236",
|
|
22
|
+
* policyAccountIds: ["act-abcf4245"],
|
|
22
23
|
* }],
|
|
23
|
-
* role: "viewer",
|
|
24
24
|
* userGroupIds: [
|
|
25
25
|
* "ugr-abcd1234",
|
|
26
26
|
* "ugr-defg8763",
|
package/organization/user.js
CHANGED
|
@@ -15,16 +15,16 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as spotinst from "@pulumi/spotinst";
|
|
17
17
|
*
|
|
18
|
-
* const terraformUser = new spotinst.organization.User("
|
|
18
|
+
* const terraformUser = new spotinst.organization.User("terraform_user", {
|
|
19
19
|
* email: "abc@xyz.com",
|
|
20
20
|
* firstName: "test",
|
|
21
21
|
* lastName: "user",
|
|
22
22
|
* password: "testUser@123",
|
|
23
|
+
* role: "viewer",
|
|
23
24
|
* policies: [{
|
|
24
|
-
* policyAccountIds: ["act-abcf4245"],
|
|
25
25
|
* policyId: "pol-abcd1236",
|
|
26
|
+
* policyAccountIds: ["act-abcf4245"],
|
|
26
27
|
* }],
|
|
27
|
-
* role: "viewer",
|
|
28
28
|
* userGroupIds: [
|
|
29
29
|
* "ugr-abcd1234",
|
|
30
30
|
* "ugr-defg8763",
|
|
@@ -11,13 +11,14 @@ import * as outputs from "../types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as spotinst from "@pulumi/spotinst";
|
|
13
13
|
*
|
|
14
|
-
* const terraformUserGroup = new spotinst.organization.UserGroup("
|
|
14
|
+
* const terraformUserGroup = new spotinst.organization.UserGroup("terraform_user_group", {
|
|
15
|
+
* name: "test_user_group",
|
|
15
16
|
* description: "user group by terraform",
|
|
17
|
+
* userIds: ["u-372gf6ae"],
|
|
16
18
|
* policies: [{
|
|
17
19
|
* accountIds: ["act-a1b2c3d4"],
|
|
18
20
|
* policyId: "pol-vv7d8c06",
|
|
19
21
|
* }],
|
|
20
|
-
* userIds: ["u-372gf6ae"],
|
|
21
22
|
* });
|
|
22
23
|
* ```
|
|
23
24
|
* <!--End PulumiCodeChooser -->
|
|
@@ -15,13 +15,14 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as spotinst from "@pulumi/spotinst";
|
|
17
17
|
*
|
|
18
|
-
* const terraformUserGroup = new spotinst.organization.UserGroup("
|
|
18
|
+
* const terraformUserGroup = new spotinst.organization.UserGroup("terraform_user_group", {
|
|
19
|
+
* name: "test_user_group",
|
|
19
20
|
* description: "user group by terraform",
|
|
21
|
+
* userIds: ["u-372gf6ae"],
|
|
20
22
|
* policies: [{
|
|
21
23
|
* accountIds: ["act-a1b2c3d4"],
|
|
22
24
|
* policyId: "pol-vv7d8c06",
|
|
23
25
|
* }],
|
|
24
|
-
* userIds: ["u-372gf6ae"],
|
|
25
26
|
* });
|
|
26
27
|
* ```
|
|
27
28
|
* <!--End PulumiCodeChooser -->
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userGroup.js","sourceRoot":"","sources":["../../organization/userGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"userGroup.js","sourceRoot":"","sources":["../../organization/userGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,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CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAzEL,8BA0EC;AA5DG,gBAAgB;AACO,sBAAY,GAAG,2CAA2C,CAAC"}
|
package/package.json
CHANGED
|
@@ -14,8 +14,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
14
|
* import * as spotinst from "@pulumi/spotinst";
|
|
15
15
|
*
|
|
16
16
|
* const example = new spotinst.spark.OceanVirtualNodeGroup("example", {
|
|
17
|
-
* oceanSparkClusterId: "cluster_id",
|
|
18
17
|
* virtualNodeGroupId: "vng_id",
|
|
18
|
+
* oceanSparkClusterId: "cluster_id",
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
* <!--End PulumiCodeChooser -->
|
|
@@ -20,8 +20,8 @@ const utilities = require("../utilities");
|
|
|
20
20
|
* import * as spotinst from "@pulumi/spotinst";
|
|
21
21
|
*
|
|
22
22
|
* const example = new spotinst.spark.OceanVirtualNodeGroup("example", {
|
|
23
|
-
* oceanSparkClusterId: "cluster_id",
|
|
24
23
|
* virtualNodeGroupId: "vng_id",
|
|
24
|
+
* oceanSparkClusterId: "cluster_id",
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
* <!--End PulumiCodeChooser -->
|
package/statefulNodeAzure.d.ts
CHANGED
|
@@ -11,7 +11,8 @@ import * as outputs from "./types/output";
|
|
|
11
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
12
|
* import * as spotinst from "@pulumi/spotinst";
|
|
13
13
|
*
|
|
14
|
-
* const testStatefulNodeAzure = new spotinst.StatefulNodeAzure("
|
|
14
|
+
* const testStatefulNodeAzure = new spotinst.StatefulNodeAzure("test_stateful_node_azure", {
|
|
15
|
+
* name: "example_stateful_node_azure",
|
|
15
16
|
* region: "eastus",
|
|
16
17
|
* resourceGroupName: "spotinst-azure",
|
|
17
18
|
* description: "example_stateful_node_azure_description",
|
|
@@ -228,7 +229,6 @@ import * as outputs from "./types/output";
|
|
|
228
229
|
* publicIpTtlInHours: 0,
|
|
229
230
|
* }],
|
|
230
231
|
* });
|
|
231
|
-
* // -------------------------------------------------------------------
|
|
232
232
|
* ```
|
|
233
233
|
* <!--End PulumiCodeChooser -->
|
|
234
234
|
*
|
package/statefulNodeAzure.js
CHANGED
|
@@ -15,7 +15,8 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
16
16
|
* import * as spotinst from "@pulumi/spotinst";
|
|
17
17
|
*
|
|
18
|
-
* const testStatefulNodeAzure = new spotinst.StatefulNodeAzure("
|
|
18
|
+
* const testStatefulNodeAzure = new spotinst.StatefulNodeAzure("test_stateful_node_azure", {
|
|
19
|
+
* name: "example_stateful_node_azure",
|
|
19
20
|
* region: "eastus",
|
|
20
21
|
* resourceGroupName: "spotinst-azure",
|
|
21
22
|
* description: "example_stateful_node_azure_description",
|
|
@@ -232,7 +233,6 @@ const utilities = require("./utilities");
|
|
|
232
233
|
* publicIpTtlInHours: 0,
|
|
233
234
|
* }],
|
|
234
235
|
* });
|
|
235
|
-
* // -------------------------------------------------------------------
|
|
236
236
|
* ```
|
|
237
237
|
* <!--End PulumiCodeChooser -->
|
|
238
238
|
*
|
package/subscription.d.ts
CHANGED
|
@@ -11,8 +11,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
11
|
*
|
|
12
12
|
* // Create a Subscription
|
|
13
13
|
* const default_subscription = new spotinst.Subscription("default-subscription", {
|
|
14
|
-
*
|
|
14
|
+
* resourceId: my_eg.id,
|
|
15
15
|
* eventType: "AWS_EC2_INSTANCE_LAUNCH",
|
|
16
|
+
* protocol: "http",
|
|
17
|
+
* endpoint: "http://endpoint.com",
|
|
16
18
|
* format: {
|
|
17
19
|
* event: "%event%",
|
|
18
20
|
* instance_id: "%instance-id%",
|
|
@@ -20,8 +22,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
22
|
* resource_name: "%resource-name%",
|
|
21
23
|
* tags: "foo,baz,baz",
|
|
22
24
|
* },
|
|
23
|
-
* protocol: "http",
|
|
24
|
-
* resourceId: spotinst_elastigroup_aws["my-eg"].id,
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
* <!--End PulumiCodeChooser -->
|
package/subscription.js
CHANGED
|
@@ -17,8 +17,10 @@ const utilities = require("./utilities");
|
|
|
17
17
|
*
|
|
18
18
|
* // Create a Subscription
|
|
19
19
|
* const default_subscription = new spotinst.Subscription("default-subscription", {
|
|
20
|
-
*
|
|
20
|
+
* resourceId: my_eg.id,
|
|
21
21
|
* eventType: "AWS_EC2_INSTANCE_LAUNCH",
|
|
22
|
+
* protocol: "http",
|
|
23
|
+
* endpoint: "http://endpoint.com",
|
|
22
24
|
* format: {
|
|
23
25
|
* event: "%event%",
|
|
24
26
|
* instance_id: "%instance-id%",
|
|
@@ -26,8 +28,6 @@ const utilities = require("./utilities");
|
|
|
26
28
|
* resource_name: "%resource-name%",
|
|
27
29
|
* tags: "foo,baz,baz",
|
|
28
30
|
* },
|
|
29
|
-
* protocol: "http",
|
|
30
|
-
* resourceId: spotinst_elastigroup_aws["my-eg"].id,
|
|
31
31
|
* });
|
|
32
32
|
* ```
|
|
33
33
|
* <!--End PulumiCodeChooser -->
|