diff --git a/provider/cmd/pulumi-resource-spotinst/schema.json b/provider/cmd/pulumi-resource-spotinst/schema.json index 27875d4d..deaac421 100644 --- a/provider/cmd/pulumi-resource-spotinst/schema.json +++ b/provider/cmd/pulumi-resource-spotinst/schema.json @@ -18131,7 +18131,7 @@ }, "eventType": { "type": "string", - "description": "The event to send the notification when triggered. Valid values: `\"AWS_EC2_INSTANCE_TERMINATE\"`, `\"AWS_EC2_INSTANCE_TERMINATED\"`, `\"AWS_EC2_INSTANCE_LAUNCH\"`, `\"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT\"`, `\"AWS_EC2_CANT_SPIN_OD\"`, `\"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB\"`, `\"GROUP_ROLL_FAILED\"`, `\"GROUP_ROLL_FINISHED\"`,\n`\"CANT_SCALE_UP_GROUP_MAX_CAPACITY\"`,\n`\"GROUP_UPDATED\"`,\n`\"AWS_EMR_PROVISION_TIMEOUT\"`,\n`\"GROUP_BEANSTALK_INIT_READY\"`,\n`\"AZURE_VM_TERMINATED\"`,\n`\"AZURE_VM_TERMINATE\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_PAUSING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RESUMING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RECYCLING\"`,`\"AWS_EC2_MANAGED_INSTANCE_DELETING\"`.\nOcean Events:`\"CLUSTER_ROLL_FINISHED\"`,`\"GROUP_ROLL_FAILED\"`.\n" + "description": "The event to send the notification when triggered. Valid values: `\"AWS_EC2_INSTANCE_TERMINATE\"`, `\"AWS_EC2_INSTANCE_TERMINATED\"`, `\"AWS_EC2_INSTANCE_LAUNCH\"`, `\"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT\"`, `\"AWS_EC2_CANT_SPIN_OD\"`, `\"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB\"`, `\"GROUP_ROLL_FAILED\"`, `\"GROUP_ROLL_FINISHED\"`,\n`\"CANT_SCALE_UP_GROUP_MAX_CAPACITY\"`,\n`\"GROUP_UPDATED\"`,\n`\"AWS_EMR_PROVISION_TIMEOUT\"`,\n`\"GROUP_BEANSTALK_INIT_READY\"`,\n`\"AZURE_VM_TERMINATED\"`,\n`\"AZURE_VM_TERMINATE\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_PAUSING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RESUMING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RECYCLING\"`,`\"AWS_EC2_MANAGED_INSTANCE_DELETING\"`.\nOcean Events:`\"CLUSTER_ROLL_FINISHED\"`,`\"GROUP_ROLL_FAILED\"`,`\"OCEAN_CANT_SCALE_UP_MAX_RESOURCES\"`\n`\"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES\"`,`\"OCEAN_K8S_NODE_REMOVED\"`.\n" }, "format": { "type": "object", @@ -18162,7 +18162,7 @@ }, "eventType": { "type": "string", - "description": "The event to send the notification when triggered. Valid values: `\"AWS_EC2_INSTANCE_TERMINATE\"`, `\"AWS_EC2_INSTANCE_TERMINATED\"`, `\"AWS_EC2_INSTANCE_LAUNCH\"`, `\"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT\"`, `\"AWS_EC2_CANT_SPIN_OD\"`, `\"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB\"`, `\"GROUP_ROLL_FAILED\"`, `\"GROUP_ROLL_FINISHED\"`,\n`\"CANT_SCALE_UP_GROUP_MAX_CAPACITY\"`,\n`\"GROUP_UPDATED\"`,\n`\"AWS_EMR_PROVISION_TIMEOUT\"`,\n`\"GROUP_BEANSTALK_INIT_READY\"`,\n`\"AZURE_VM_TERMINATED\"`,\n`\"AZURE_VM_TERMINATE\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_PAUSING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RESUMING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RECYCLING\"`,`\"AWS_EC2_MANAGED_INSTANCE_DELETING\"`.\nOcean Events:`\"CLUSTER_ROLL_FINISHED\"`,`\"GROUP_ROLL_FAILED\"`.\n" + "description": "The event to send the notification when triggered. Valid values: `\"AWS_EC2_INSTANCE_TERMINATE\"`, `\"AWS_EC2_INSTANCE_TERMINATED\"`, `\"AWS_EC2_INSTANCE_LAUNCH\"`, `\"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT\"`, `\"AWS_EC2_CANT_SPIN_OD\"`, `\"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB\"`, `\"GROUP_ROLL_FAILED\"`, `\"GROUP_ROLL_FINISHED\"`,\n`\"CANT_SCALE_UP_GROUP_MAX_CAPACITY\"`,\n`\"GROUP_UPDATED\"`,\n`\"AWS_EMR_PROVISION_TIMEOUT\"`,\n`\"GROUP_BEANSTALK_INIT_READY\"`,\n`\"AZURE_VM_TERMINATED\"`,\n`\"AZURE_VM_TERMINATE\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_PAUSING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RESUMING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RECYCLING\"`,`\"AWS_EC2_MANAGED_INSTANCE_DELETING\"`.\nOcean Events:`\"CLUSTER_ROLL_FINISHED\"`,`\"GROUP_ROLL_FAILED\"`,`\"OCEAN_CANT_SCALE_UP_MAX_RESOURCES\"`\n`\"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES\"`,`\"OCEAN_K8S_NODE_REMOVED\"`.\n" }, "format": { "type": "object", @@ -18195,7 +18195,7 @@ }, "eventType": { "type": "string", - "description": "The event to send the notification when triggered. Valid values: `\"AWS_EC2_INSTANCE_TERMINATE\"`, `\"AWS_EC2_INSTANCE_TERMINATED\"`, `\"AWS_EC2_INSTANCE_LAUNCH\"`, `\"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT\"`, `\"AWS_EC2_CANT_SPIN_OD\"`, `\"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB\"`, `\"GROUP_ROLL_FAILED\"`, `\"GROUP_ROLL_FINISHED\"`,\n`\"CANT_SCALE_UP_GROUP_MAX_CAPACITY\"`,\n`\"GROUP_UPDATED\"`,\n`\"AWS_EMR_PROVISION_TIMEOUT\"`,\n`\"GROUP_BEANSTALK_INIT_READY\"`,\n`\"AZURE_VM_TERMINATED\"`,\n`\"AZURE_VM_TERMINATE\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_PAUSING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RESUMING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RECYCLING\"`,`\"AWS_EC2_MANAGED_INSTANCE_DELETING\"`.\nOcean Events:`\"CLUSTER_ROLL_FINISHED\"`,`\"GROUP_ROLL_FAILED\"`.\n" + "description": "The event to send the notification when triggered. Valid values: `\"AWS_EC2_INSTANCE_TERMINATE\"`, `\"AWS_EC2_INSTANCE_TERMINATED\"`, `\"AWS_EC2_INSTANCE_LAUNCH\"`, `\"AWS_EC2_INSTANCE_READY_SIGNAL_TIMEOUT\"`, `\"AWS_EC2_CANT_SPIN_OD\"`, `\"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB\"`, `\"GROUP_ROLL_FAILED\"`, `\"GROUP_ROLL_FINISHED\"`,\n`\"CANT_SCALE_UP_GROUP_MAX_CAPACITY\"`,\n`\"GROUP_UPDATED\"`,\n`\"AWS_EMR_PROVISION_TIMEOUT\"`,\n`\"GROUP_BEANSTALK_INIT_READY\"`,\n`\"AZURE_VM_TERMINATED\"`,\n`\"AZURE_VM_TERMINATE\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_PAUSING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RESUMING\"`,\n`\"AWS_EC2_MANAGED_INSTANCE_RECYCLING\"`,`\"AWS_EC2_MANAGED_INSTANCE_DELETING\"`.\nOcean Events:`\"CLUSTER_ROLL_FINISHED\"`,`\"GROUP_ROLL_FAILED\"`,`\"OCEAN_CANT_SCALE_UP_MAX_RESOURCES\"`\n`\"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES\"`,`\"OCEAN_K8S_NODE_REMOVED\"`.\n" }, "format": { "type": "object", diff --git a/sdk/dotnet/Subscription.cs b/sdk/dotnet/Subscription.cs index 4b018cef..516110d9 100644 --- a/sdk/dotnet/Subscription.cs +++ b/sdk/dotnet/Subscription.cs @@ -62,7 +62,8 @@ public partial class Subscription : global::Pulumi.CustomResource /// `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, /// `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, /// `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - /// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + /// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + /// `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. /// [Output("eventType")] public Output EventType { get; private set; } = null!; @@ -153,7 +154,8 @@ public sealed class SubscriptionArgs : global::Pulumi.ResourceArgs /// `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, /// `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, /// `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - /// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + /// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + /// `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. /// [Input("eventType", required: true)] public Input EventType { get; set; } = null!; @@ -212,7 +214,8 @@ public sealed class SubscriptionState : global::Pulumi.ResourceArgs /// `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, /// `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, /// `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - /// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + /// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + /// `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. /// [Input("eventType")] public Input? EventType { get; set; } diff --git a/sdk/go/spotinst/subscription.go b/sdk/go/spotinst/subscription.go index 6e590232..d0bfe0d8 100644 --- a/sdk/go/spotinst/subscription.go +++ b/sdk/go/spotinst/subscription.go @@ -64,7 +64,8 @@ type Subscription struct { // `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, // `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, // `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + // `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. EventType pulumi.StringOutput `pulumi:"eventType"` // The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"` // Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` } @@ -133,7 +134,8 @@ type subscriptionState struct { // `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, // `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, // `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + // `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. EventType *string `pulumi:"eventType"` // The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"` // Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` } @@ -161,7 +163,8 @@ type SubscriptionState struct { // `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, // `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, // `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + // `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. EventType pulumi.StringPtrInput // The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"` // Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` } @@ -193,7 +196,8 @@ type subscriptionArgs struct { // `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, // `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, // `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + // `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. EventType string `pulumi:"eventType"` // The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"` // Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` } @@ -222,7 +226,8 @@ type SubscriptionArgs struct { // `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, // `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, // `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + // Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + // `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. EventType pulumi.StringInput // The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"` // Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` } @@ -339,7 +344,8 @@ func (o SubscriptionOutput) Endpoint() pulumi.StringOutput { // `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, // `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, // `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. -// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. +// Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` +// `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. func (o SubscriptionOutput) EventType() pulumi.StringOutput { return o.ApplyT(func(v *Subscription) pulumi.StringOutput { return v.EventType }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/spotinst/Subscription.java b/sdk/java/src/main/java/com/pulumi/spotinst/Subscription.java index e75a51b7..16c67c85 100644 --- a/sdk/java/src/main/java/com/pulumi/spotinst/Subscription.java +++ b/sdk/java/src/main/java/com/pulumi/spotinst/Subscription.java @@ -87,7 +87,8 @@ public Output endpoint() { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * */ @Export(name="eventType", refs={String.class}, tree="[0]") @@ -104,7 +105,8 @@ public Output endpoint() { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * */ public Output eventType() { diff --git a/sdk/java/src/main/java/com/pulumi/spotinst/SubscriptionArgs.java b/sdk/java/src/main/java/com/pulumi/spotinst/SubscriptionArgs.java index cd4e8358..690b267b 100644 --- a/sdk/java/src/main/java/com/pulumi/spotinst/SubscriptionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/spotinst/SubscriptionArgs.java @@ -43,7 +43,8 @@ public Output endpoint() { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * */ @Import(name="eventType", required=true) @@ -60,7 +61,8 @@ public Output endpoint() { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * */ public Output eventType() { @@ -182,7 +184,8 @@ public Builder endpoint(String endpoint) { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * * @return builder * @@ -203,7 +206,8 @@ public Builder eventType(Output eventType) { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/spotinst/inputs/SubscriptionState.java b/sdk/java/src/main/java/com/pulumi/spotinst/inputs/SubscriptionState.java index 6182783b..050c2b03 100644 --- a/sdk/java/src/main/java/com/pulumi/spotinst/inputs/SubscriptionState.java +++ b/sdk/java/src/main/java/com/pulumi/spotinst/inputs/SubscriptionState.java @@ -43,7 +43,8 @@ public Optional> endpoint() { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * */ @Import(name="eventType") @@ -60,7 +61,8 @@ public Optional> endpoint() { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * */ public Optional> eventType() { @@ -182,7 +184,8 @@ public Builder endpoint(String endpoint) { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * * @return builder * @@ -203,7 +206,8 @@ public Builder eventType(@Nullable Output eventType) { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. * * @return builder * diff --git a/sdk/nodejs/subscription.ts b/sdk/nodejs/subscription.ts index bf5547fa..ee2c88fb 100644 --- a/sdk/nodejs/subscription.ts +++ b/sdk/nodejs/subscription.ts @@ -72,7 +72,8 @@ export class Subscription extends pulumi.CustomResource { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. */ public readonly eventType!: pulumi.Output; /** @@ -155,7 +156,8 @@ export interface SubscriptionState { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. */ eventType?: pulumi.Input; /** @@ -196,7 +198,8 @@ export interface SubscriptionArgs { * `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, * `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, * `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + * Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + * `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. */ eventType: pulumi.Input; /** diff --git a/sdk/python/pulumi_spotinst/subscription.py b/sdk/python/pulumi_spotinst/subscription.py index 95dd13b9..fd40ff85 100644 --- a/sdk/python/pulumi_spotinst/subscription.py +++ b/sdk/python/pulumi_spotinst/subscription.py @@ -32,7 +32,8 @@ def __init__(__self__, *, `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. :param pulumi.Input[str] protocol: The protocol to send the notification. Valid values: `"email"`, `"email-json"`, `"aws-sns"`, `"web"`. The following values are deprecated: `"http"` , `"https"` You can use the generic `"web"` protocol instead. @@ -75,7 +76,8 @@ def event_type(self) -> pulumi.Input[str]: `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. """ return pulumi.get(self, "event_type") @@ -146,7 +148,8 @@ def __init__(__self__, *, `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. :param pulumi.Input[Mapping[str, Any]] format: The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"` Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` } Default: {`"event"`: `""`, `"instanceId"`: `""`, `"resourceId"`: `""`, `"resourceName"`: `""` }. @@ -193,7 +196,8 @@ def event_type(self) -> Optional[pulumi.Input[str]]: `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. """ return pulumi.get(self, "event_type") @@ -291,7 +295,8 @@ def __init__(__self__, `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. :param pulumi.Input[Mapping[str, Any]] format: The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"` Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` } Default: {`"event"`: `""`, `"instanceId"`: `""`, `"resourceId"`: `""`, `"resourceName"`: `""` }. @@ -406,7 +411,8 @@ def get(resource_name: str, `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. :param pulumi.Input[Mapping[str, Any]] format: The format of the notification content (JSON Format - Key+Value). Valid Values : `"instance-id"`, `"event"`, `"resource-id"`, `"resource-name"`, `"subnet-id"`, `"availability-zone"`, `"reason"`, `"private-ip"`, `"launchspec-id"` Example: {"event": `"event"`, `"resourceId"`: `"resource-id"`, `"resourceName"`: `"resource-name"`", `"myCustomKey"`: `"My content is set here"` } Default: {`"event"`: `""`, `"instanceId"`: `""`, `"resourceId"`: `""`, `"resourceName"`: `""` }. @@ -449,7 +455,8 @@ def event_type(self) -> pulumi.Output[str]: `"AWS_EC2_MANAGED_INSTANCE_PAUSING"`, `"AWS_EC2_MANAGED_INSTANCE_RESUMING"`, `"AWS_EC2_MANAGED_INSTANCE_RECYCLING"`,`"AWS_EC2_MANAGED_INSTANCE_DELETING"`. - Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`. + Ocean Events:`"CLUSTER_ROLL_FINISHED"`,`"GROUP_ROLL_FAILED"`,`"OCEAN_CANT_SCALE_UP_MAX_RESOURCES"` + `"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES"`,`"OCEAN_K8S_NODE_REMOVED"`. """ return pulumi.get(self, "event_type") diff --git a/upstream b/upstream index 844536cc..02af0dc5 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 844536cce913110a818bf0ad4bbde3e99691ce49 +Subproject commit 02af0dc570c73cd996c642ca8b8cb2df00731782