diff --git a/provider/cmd/pulumi-resource-spotinst/bridge-metadata.json b/provider/cmd/pulumi-resource-spotinst/bridge-metadata.json index 85b4dfd6..33ed2275 100644 --- a/provider/cmd/pulumi-resource-spotinst/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-spotinst/bridge-metadata.json @@ -6003,6 +6003,9 @@ "spotinst:azure/OceanNpAutoscalerAutoscaleDown:OceanNpAutoscalerAutoscaleDown": { "maxScaleDownPercentage": "max_scale_down_percentage" }, + "spotinst:azure/OceanNpAutoscalerAutoscaleHeadroomAutomatic:OceanNpAutoscalerAutoscaleHeadroomAutomatic": { + "isEnabled": "is_enabled" + }, "spotinst:azure/OceanNpAutoscalerResourceLimits:OceanNpAutoscalerResourceLimits": { "maxMemoryGib": "max_memory_gib", "maxVcpu": "max_vcpu" diff --git a/provider/cmd/pulumi-resource-spotinst/schema.json b/provider/cmd/pulumi-resource-spotinst/schema.json index 177a40b5..3a6f0726 100644 --- a/provider/cmd/pulumi-resource-spotinst/schema.json +++ b/provider/cmd/pulumi-resource-spotinst/schema.json @@ -4920,6 +4920,9 @@ }, "spotinst:azure/OceanNpAutoscalerAutoscaleHeadroomAutomatic:OceanNpAutoscalerAutoscaleHeadroomAutomatic": { "properties": { + "isEnabled": { + "type": "boolean" + }, "percentage": { "type": "integer" } @@ -14017,7 +14020,6 @@ "aksResourceGroupName", "availabilityZones", "controllerClusterId", - "health", "name" ], "inputProperties": { @@ -18176,7 +18178,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\"`,`\"OCEAN_CANT_SCALE_UP_MAX_RESOURCES\"`\n`\"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES\"`,`\"OCEAN_K8S_NODE_REMOVED\"`.\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\"`, `\"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT\"`, `\"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", @@ -18207,7 +18209,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\"`,`\"OCEAN_CANT_SCALE_UP_MAX_RESOURCES\"`\n`\"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES\"`,`\"OCEAN_K8S_NODE_REMOVED\"`.\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\"`, `\"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT\"`, `\"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", @@ -18240,7 +18242,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\"`,`\"OCEAN_CANT_SCALE_UP_MAX_RESOURCES\"`\n`\"OCEAN_LAUNCH_SPEC_CANT_SCALE_UP_MAX_INSTANCES\"`,`\"OCEAN_K8S_NODE_REMOVED\"`.\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\"`, `\"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT\"`, `\"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/provider/go.mod b/provider/go.mod index e8d0b9ac..15232231 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -205,7 +205,7 @@ require ( github.com/spf13/cast v1.5.0 // indirect github.com/spf13/cobra v1.7.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/spotinst/spotinst-sdk-go v1.187.0 // indirect + github.com/spotinst/spotinst-sdk-go v1.188.0 // indirect github.com/stretchr/testify v1.8.4 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect diff --git a/provider/go.sum b/provider/go.sum index 124f753b..6dc311fb 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -2332,8 +2332,8 @@ github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE= github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spotinst/spotinst-sdk-go v1.187.0 h1:kA3fe5eBacZWy20PkB1lpSMLldeGYlHLb57ygbc5yZ0= -github.com/spotinst/spotinst-sdk-go v1.187.0/go.mod h1:DP/y998hi551EWIR6t4mbohMMMKjp1IE0K+eJztaFGc= +github.com/spotinst/spotinst-sdk-go v1.188.0 h1:ja4K4em/lX5+XknatQZY2fEokhdzHmC7BjCpmjGzOUA= +github.com/spotinst/spotinst-sdk-go v1.188.0/go.mod h1:DP/y998hi551EWIR6t4mbohMMMKjp1IE0K+eJztaFGc= github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= diff --git a/sdk/dotnet/Azure/Inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.cs b/sdk/dotnet/Azure/Inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.cs index daf49758..e96a1844 100644 --- a/sdk/dotnet/Azure/Inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.cs +++ b/sdk/dotnet/Azure/Inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.SpotInst.Azure.Inputs public sealed class OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs : global::Pulumi.ResourceArgs { + [Input("isEnabled")] + public Input? IsEnabled { get; set; } + [Input("percentage")] public Input? Percentage { get; set; } diff --git a/sdk/dotnet/Azure/Inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticGetArgs.cs b/sdk/dotnet/Azure/Inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticGetArgs.cs index 44c48a4e..4f5f7364 100644 --- a/sdk/dotnet/Azure/Inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticGetArgs.cs +++ b/sdk/dotnet/Azure/Inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.SpotInst.Azure.Inputs public sealed class OceanNpAutoscalerAutoscaleHeadroomAutomaticGetArgs : global::Pulumi.ResourceArgs { + [Input("isEnabled")] + public Input? IsEnabled { get; set; } + [Input("percentage")] public Input? Percentage { get; set; } diff --git a/sdk/dotnet/Azure/OceanNp.cs b/sdk/dotnet/Azure/OceanNp.cs index 8574f2ae..d8b4c8b5 100644 --- a/sdk/dotnet/Azure/OceanNp.cs +++ b/sdk/dotnet/Azure/OceanNp.cs @@ -46,7 +46,7 @@ public partial class OceanNp : global::Pulumi.CustomResource public Output> Headrooms { get; private set; } = null!; [Output("health")] - public Output Health { get; private set; } = null!; + public Output Health { get; private set; } = null!; [Output("kubernetesVersion")] public Output KubernetesVersion { get; private set; } = null!; diff --git a/sdk/dotnet/Azure/Outputs/OceanNpAutoscalerAutoscaleHeadroomAutomatic.cs b/sdk/dotnet/Azure/Outputs/OceanNpAutoscalerAutoscaleHeadroomAutomatic.cs index 5de975ed..b6cce934 100644 --- a/sdk/dotnet/Azure/Outputs/OceanNpAutoscalerAutoscaleHeadroomAutomatic.cs +++ b/sdk/dotnet/Azure/Outputs/OceanNpAutoscalerAutoscaleHeadroomAutomatic.cs @@ -13,11 +13,16 @@ namespace Pulumi.SpotInst.Azure.Outputs [OutputType] public sealed class OceanNpAutoscalerAutoscaleHeadroomAutomatic { + public readonly bool? IsEnabled; public readonly int? Percentage; [OutputConstructor] - private OceanNpAutoscalerAutoscaleHeadroomAutomatic(int? percentage) + private OceanNpAutoscalerAutoscaleHeadroomAutomatic( + bool? isEnabled, + + int? percentage) { + IsEnabled = isEnabled; Percentage = percentage; } } diff --git a/sdk/dotnet/Subscription.cs b/sdk/dotnet/Subscription.cs index 516110d9..46189c72 100644 --- a/sdk/dotnet/Subscription.cs +++ b/sdk/dotnet/Subscription.cs @@ -52,7 +52,7 @@ public partial class Subscription : global::Pulumi.CustomResource public Output Endpoint { get; private set; } = null!; /// - /// 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"`, + /// 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, /// `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, /// `"GROUP_UPDATED"`, /// `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -144,7 +144,7 @@ public sealed class SubscriptionArgs : global::Pulumi.ResourceArgs public Input Endpoint { get; set; } = null!; /// - /// 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"`, + /// 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, /// `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, /// `"GROUP_UPDATED"`, /// `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -204,7 +204,7 @@ public sealed class SubscriptionState : global::Pulumi.ResourceArgs public Input? Endpoint { get; set; } /// - /// 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"`, + /// 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, /// `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, /// `"GROUP_UPDATED"`, /// `"AWS_EMR_PROVISION_TIMEOUT"`, diff --git a/sdk/go/spotinst/azure/oceanNp.go b/sdk/go/spotinst/azure/oceanNp.go index 2c689494..1f2f01d0 100644 --- a/sdk/go/spotinst/azure/oceanNp.go +++ b/sdk/go/spotinst/azure/oceanNp.go @@ -26,7 +26,7 @@ type OceanNp struct { FallbackToOndemand pulumi.BoolPtrOutput `pulumi:"fallbackToOndemand"` Filters OceanNpFiltersPtrOutput `pulumi:"filters"` Headrooms OceanNpHeadroomArrayOutput `pulumi:"headrooms"` - Health OceanNpHealthOutput `pulumi:"health"` + Health OceanNpHealthPtrOutput `pulumi:"health"` KubernetesVersion pulumi.StringPtrOutput `pulumi:"kubernetesVersion"` Labels pulumi.MapOutput `pulumi:"labels"` MaxCount pulumi.IntPtrOutput `pulumi:"maxCount"` @@ -352,8 +352,8 @@ func (o OceanNpOutput) Headrooms() OceanNpHeadroomArrayOutput { return o.ApplyT(func(v *OceanNp) OceanNpHeadroomArrayOutput { return v.Headrooms }).(OceanNpHeadroomArrayOutput) } -func (o OceanNpOutput) Health() OceanNpHealthOutput { - return o.ApplyT(func(v *OceanNp) OceanNpHealthOutput { return v.Health }).(OceanNpHealthOutput) +func (o OceanNpOutput) Health() OceanNpHealthPtrOutput { + return o.ApplyT(func(v *OceanNp) OceanNpHealthPtrOutput { return v.Health }).(OceanNpHealthPtrOutput) } func (o OceanNpOutput) KubernetesVersion() pulumi.StringPtrOutput { diff --git a/sdk/go/spotinst/azure/pulumiTypes.go b/sdk/go/spotinst/azure/pulumiTypes.go index ce4fcdcb..761fb12c 100644 --- a/sdk/go/spotinst/azure/pulumiTypes.go +++ b/sdk/go/spotinst/azure/pulumiTypes.go @@ -5188,7 +5188,8 @@ func (o OceanNpAutoscalerAutoscaleHeadroomPtrOutput) Automatic() OceanNpAutoscal } type OceanNpAutoscalerAutoscaleHeadroomAutomatic struct { - Percentage *int `pulumi:"percentage"` + IsEnabled *bool `pulumi:"isEnabled"` + Percentage *int `pulumi:"percentage"` } // OceanNpAutoscalerAutoscaleHeadroomAutomaticInput is an input type that accepts OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs and OceanNpAutoscalerAutoscaleHeadroomAutomaticOutput values. @@ -5203,7 +5204,8 @@ type OceanNpAutoscalerAutoscaleHeadroomAutomaticInput interface { } type OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs struct { - Percentage pulumi.IntPtrInput `pulumi:"percentage"` + IsEnabled pulumi.BoolPtrInput `pulumi:"isEnabled"` + Percentage pulumi.IntPtrInput `pulumi:"percentage"` } func (OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs) ElementType() reflect.Type { @@ -5283,6 +5285,10 @@ func (o OceanNpAutoscalerAutoscaleHeadroomAutomaticOutput) ToOceanNpAutoscalerAu }).(OceanNpAutoscalerAutoscaleHeadroomAutomaticPtrOutput) } +func (o OceanNpAutoscalerAutoscaleHeadroomAutomaticOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v OceanNpAutoscalerAutoscaleHeadroomAutomatic) *bool { return v.IsEnabled }).(pulumi.BoolPtrOutput) +} + func (o OceanNpAutoscalerAutoscaleHeadroomAutomaticOutput) Percentage() pulumi.IntPtrOutput { return o.ApplyT(func(v OceanNpAutoscalerAutoscaleHeadroomAutomatic) *int { return v.Percentage }).(pulumi.IntPtrOutput) } @@ -5311,6 +5317,15 @@ func (o OceanNpAutoscalerAutoscaleHeadroomAutomaticPtrOutput) Elem() OceanNpAuto }).(OceanNpAutoscalerAutoscaleHeadroomAutomaticOutput) } +func (o OceanNpAutoscalerAutoscaleHeadroomAutomaticPtrOutput) IsEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *OceanNpAutoscalerAutoscaleHeadroomAutomatic) *bool { + if v == nil { + return nil + } + return v.IsEnabled + }).(pulumi.BoolPtrOutput) +} + func (o OceanNpAutoscalerAutoscaleHeadroomAutomaticPtrOutput) Percentage() pulumi.IntPtrOutput { return o.ApplyT(func(v *OceanNpAutoscalerAutoscaleHeadroomAutomatic) *int { if v == nil { diff --git a/sdk/go/spotinst/subscription.go b/sdk/go/spotinst/subscription.go index d0bfe0d8..9db6038d 100644 --- a/sdk/go/spotinst/subscription.go +++ b/sdk/go/spotinst/subscription.go @@ -54,7 +54,7 @@ type Subscription struct { // The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. Endpoint pulumi.StringOutput `pulumi:"endpoint"` - // 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"`, + // 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, // `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, // `"GROUP_UPDATED"`, // `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -124,7 +124,7 @@ func GetSubscription(ctx *pulumi.Context, type subscriptionState struct { // The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. Endpoint *string `pulumi:"endpoint"` - // 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"`, + // 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, // `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, // `"GROUP_UPDATED"`, // `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -153,7 +153,7 @@ type subscriptionState struct { type SubscriptionState struct { // The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. Endpoint pulumi.StringPtrInput - // 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"`, + // 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, // `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, // `"GROUP_UPDATED"`, // `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -186,7 +186,7 @@ func (SubscriptionState) ElementType() reflect.Type { type subscriptionArgs struct { // The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. Endpoint string `pulumi:"endpoint"` - // 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"`, + // 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, // `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, // `"GROUP_UPDATED"`, // `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -216,7 +216,7 @@ type subscriptionArgs struct { type SubscriptionArgs struct { // The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. Endpoint pulumi.StringInput - // 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"`, + // 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, // `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, // `"GROUP_UPDATED"`, // `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -334,7 +334,7 @@ func (o SubscriptionOutput) Endpoint() pulumi.StringOutput { return o.ApplyT(func(v *Subscription) pulumi.StringOutput { return v.Endpoint }).(pulumi.StringOutput) } -// 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"`, +// 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, // `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, // `"GROUP_UPDATED"`, // `"AWS_EMR_PROVISION_TIMEOUT"`, 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 16c67c85..30cd040e 100644 --- a/sdk/java/src/main/java/com/pulumi/spotinst/Subscription.java +++ b/sdk/java/src/main/java/com/pulumi/spotinst/Subscription.java @@ -77,7 +77,7 @@ public Output endpoint() { return this.endpoint; } /** - * 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"`, + * 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -95,7 +95,7 @@ public Output endpoint() { private Output eventType; /** - * @return 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"`, + * @return 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, 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 690b267b..7b976a14 100644 --- a/sdk/java/src/main/java/com/pulumi/spotinst/SubscriptionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/spotinst/SubscriptionArgs.java @@ -33,7 +33,7 @@ public Output endpoint() { } /** - * 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"`, + * 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -51,7 +51,7 @@ public Output endpoint() { private Output eventType; /** - * @return 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"`, + * @return 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -174,7 +174,7 @@ public Builder endpoint(String endpoint) { } /** - * @param eventType 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"`, + * @param eventType 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -196,7 +196,7 @@ public Builder eventType(Output eventType) { } /** - * @param eventType 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"`, + * @param eventType 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, diff --git a/sdk/java/src/main/java/com/pulumi/spotinst/azure/OceanNp.java b/sdk/java/src/main/java/com/pulumi/spotinst/azure/OceanNp.java index 47d8de32..bd644af9 100644 --- a/sdk/java/src/main/java/com/pulumi/spotinst/azure/OceanNp.java +++ b/sdk/java/src/main/java/com/pulumi/spotinst/azure/OceanNp.java @@ -94,10 +94,10 @@ public Output>> headrooms() { return Codegen.optional(this.headrooms); } @Export(name="health", refs={OceanNpHealth.class}, tree="[0]") - private Output health; + private Output health; - public Output health() { - return this.health; + public Output> health() { + return Codegen.optional(this.health); } @Export(name="kubernetesVersion", refs={String.class}, tree="[0]") private Output kubernetesVersion; diff --git a/sdk/java/src/main/java/com/pulumi/spotinst/azure/inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.java b/sdk/java/src/main/java/com/pulumi/spotinst/azure/inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.java index 8509edb0..3c744384 100644 --- a/sdk/java/src/main/java/com/pulumi/spotinst/azure/inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.java +++ b/sdk/java/src/main/java/com/pulumi/spotinst/azure/inputs/OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -15,6 +16,13 @@ public final class OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs extends com.p public static final OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs Empty = new OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs(); + @Import(name="isEnabled") + private @Nullable Output isEnabled; + + public Optional> isEnabled() { + return Optional.ofNullable(this.isEnabled); + } + @Import(name="percentage") private @Nullable Output percentage; @@ -25,6 +33,7 @@ public Optional> percentage() { private OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs() {} private OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs(OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs $) { + this.isEnabled = $.isEnabled; this.percentage = $.percentage; } @@ -46,6 +55,15 @@ public Builder(OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs defaults) { $ = new OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs(Objects.requireNonNull(defaults)); } + public Builder isEnabled(@Nullable Output isEnabled) { + $.isEnabled = isEnabled; + return this; + } + + public Builder isEnabled(Boolean isEnabled) { + return isEnabled(Output.of(isEnabled)); + } + public Builder percentage(@Nullable Output percentage) { $.percentage = percentage; return this; diff --git a/sdk/java/src/main/java/com/pulumi/spotinst/azure/outputs/OceanNpAutoscalerAutoscaleHeadroomAutomatic.java b/sdk/java/src/main/java/com/pulumi/spotinst/azure/outputs/OceanNpAutoscalerAutoscaleHeadroomAutomatic.java index dcce87ff..9a728f76 100644 --- a/sdk/java/src/main/java/com/pulumi/spotinst/azure/outputs/OceanNpAutoscalerAutoscaleHeadroomAutomatic.java +++ b/sdk/java/src/main/java/com/pulumi/spotinst/azure/outputs/OceanNpAutoscalerAutoscaleHeadroomAutomatic.java @@ -4,6 +4,7 @@ package com.pulumi.spotinst.azure.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.Integer; import java.util.Objects; import java.util.Optional; @@ -11,9 +12,13 @@ @CustomType public final class OceanNpAutoscalerAutoscaleHeadroomAutomatic { + private @Nullable Boolean isEnabled; private @Nullable Integer percentage; private OceanNpAutoscalerAutoscaleHeadroomAutomatic() {} + public Optional isEnabled() { + return Optional.ofNullable(this.isEnabled); + } public Optional percentage() { return Optional.ofNullable(this.percentage); } @@ -27,13 +32,20 @@ public static Builder builder(OceanNpAutoscalerAutoscaleHeadroomAutomatic defaul } @CustomType.Builder public static final class Builder { + private @Nullable Boolean isEnabled; private @Nullable Integer percentage; public Builder() {} public Builder(OceanNpAutoscalerAutoscaleHeadroomAutomatic defaults) { Objects.requireNonNull(defaults); + this.isEnabled = defaults.isEnabled; this.percentage = defaults.percentage; } + @CustomType.Setter + public Builder isEnabled(@Nullable Boolean isEnabled) { + this.isEnabled = isEnabled; + return this; + } @CustomType.Setter public Builder percentage(@Nullable Integer percentage) { this.percentage = percentage; @@ -41,6 +53,7 @@ public Builder percentage(@Nullable Integer percentage) { } public OceanNpAutoscalerAutoscaleHeadroomAutomatic build() { final var _resultValue = new OceanNpAutoscalerAutoscaleHeadroomAutomatic(); + _resultValue.isEnabled = isEnabled; _resultValue.percentage = percentage; return _resultValue; } 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 050c2b03..7a2845a5 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 @@ -33,7 +33,7 @@ public Optional> endpoint() { } /** - * 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"`, + * 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -51,7 +51,7 @@ public Optional> endpoint() { private @Nullable Output eventType; /** - * @return 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"`, + * @return 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -174,7 +174,7 @@ public Builder endpoint(String endpoint) { } /** - * @param eventType 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"`, + * @param eventType 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -196,7 +196,7 @@ public Builder eventType(@Nullable Output eventType) { } /** - * @param eventType 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"`, + * @param eventType 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, diff --git a/sdk/nodejs/azure/oceanNp.ts b/sdk/nodejs/azure/oceanNp.ts index 9bd2fdad..acd76491 100644 --- a/sdk/nodejs/azure/oceanNp.ts +++ b/sdk/nodejs/azure/oceanNp.ts @@ -45,7 +45,7 @@ export class OceanNp extends pulumi.CustomResource { public readonly fallbackToOndemand!: pulumi.Output; public readonly filters!: pulumi.Output; public readonly headrooms!: pulumi.Output; - public readonly health!: pulumi.Output; + public readonly health!: pulumi.Output; public readonly kubernetesVersion!: pulumi.Output; public readonly labels!: pulumi.Output<{[key: string]: any} | undefined>; public readonly maxCount!: pulumi.Output; diff --git a/sdk/nodejs/subscription.ts b/sdk/nodejs/subscription.ts index ee2c88fb..2994014a 100644 --- a/sdk/nodejs/subscription.ts +++ b/sdk/nodejs/subscription.ts @@ -62,7 +62,7 @@ export class Subscription extends pulumi.CustomResource { */ public readonly endpoint!: pulumi.Output; /** - * 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"`, + * 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -146,7 +146,7 @@ export interface SubscriptionState { */ endpoint?: pulumi.Input; /** - * 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"`, + * 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -188,7 +188,7 @@ export interface SubscriptionArgs { */ endpoint: pulumi.Input; /** - * 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"`, + * 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, * `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, * `"GROUP_UPDATED"`, * `"AWS_EMR_PROVISION_TIMEOUT"`, diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 7f35e606..0215f710 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -3582,6 +3582,7 @@ export namespace azure { } export interface OceanNpAutoscalerAutoscaleHeadroomAutomatic { + isEnabled?: pulumi.Input; percentage?: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 2318e3a2..16ec1cc9 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -3584,6 +3584,7 @@ export namespace azure { } export interface OceanNpAutoscalerAutoscaleHeadroomAutomatic { + isEnabled?: boolean; percentage?: number; } diff --git a/sdk/python/pulumi_spotinst/azure/_inputs.py b/sdk/python/pulumi_spotinst/azure/_inputs.py index 8141c007..3ccef229 100644 --- a/sdk/python/pulumi_spotinst/azure/_inputs.py +++ b/sdk/python/pulumi_spotinst/azure/_inputs.py @@ -2046,10 +2046,22 @@ def automatic(self, value: Optional[pulumi.Input['OceanNpAutoscalerAutoscaleHead @pulumi.input_type class OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs: def __init__(__self__, *, + is_enabled: Optional[pulumi.Input[bool]] = None, percentage: Optional[pulumi.Input[int]] = None): + if is_enabled is not None: + pulumi.set(__self__, "is_enabled", is_enabled) if percentage is not None: pulumi.set(__self__, "percentage", percentage) + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "is_enabled") + + @is_enabled.setter + def is_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_enabled", value) + @property @pulumi.getter def percentage(self) -> Optional[pulumi.Input[int]]: diff --git a/sdk/python/pulumi_spotinst/azure/ocean_np.py b/sdk/python/pulumi_spotinst/azure/ocean_np.py index 36e91ff8..6a6b6660 100644 --- a/sdk/python/pulumi_spotinst/azure/ocean_np.py +++ b/sdk/python/pulumi_spotinst/azure/ocean_np.py @@ -971,7 +971,7 @@ def headrooms(self) -> pulumi.Output[Optional[Sequence['outputs.OceanNpHeadroom' @property @pulumi.getter - def health(self) -> pulumi.Output['outputs.OceanNpHealth']: + def health(self) -> pulumi.Output[Optional['outputs.OceanNpHealth']]: return pulumi.get(self, "health") @property diff --git a/sdk/python/pulumi_spotinst/azure/outputs.py b/sdk/python/pulumi_spotinst/azure/outputs.py index d2ffe093..8c71aee7 100644 --- a/sdk/python/pulumi_spotinst/azure/outputs.py +++ b/sdk/python/pulumi_spotinst/azure/outputs.py @@ -2109,11 +2109,36 @@ def automatic(self) -> Optional['outputs.OceanNpAutoscalerAutoscaleHeadroomAutom @pulumi.output_type class OceanNpAutoscalerAutoscaleHeadroomAutomatic(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isEnabled": + suggest = "is_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in OceanNpAutoscalerAutoscaleHeadroomAutomatic. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + OceanNpAutoscalerAutoscaleHeadroomAutomatic.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + OceanNpAutoscalerAutoscaleHeadroomAutomatic.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, + is_enabled: Optional[bool] = None, percentage: Optional[int] = None): + if is_enabled is not None: + pulumi.set(__self__, "is_enabled", is_enabled) if percentage is not None: pulumi.set(__self__, "percentage", percentage) + @property + @pulumi.getter(name="isEnabled") + def is_enabled(self) -> Optional[bool]: + return pulumi.get(self, "is_enabled") + @property @pulumi.getter def percentage(self) -> Optional[int]: diff --git a/sdk/python/pulumi_spotinst/subscription.py b/sdk/python/pulumi_spotinst/subscription.py index fd40ff85..02f4a73c 100644 --- a/sdk/python/pulumi_spotinst/subscription.py +++ b/sdk/python/pulumi_spotinst/subscription.py @@ -22,7 +22,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a Subscription resource. :param pulumi.Input[str] endpoint: The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. - :param pulumi.Input[str] event_type: 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"`, + :param pulumi.Input[str] event_type: 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, `"GROUP_UPDATED"`, `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -66,7 +66,7 @@ def endpoint(self, value: pulumi.Input[str]): @pulumi.getter(name="eventType") def event_type(self) -> pulumi.Input[str]: """ - 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"`, + 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, `"GROUP_UPDATED"`, `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -138,7 +138,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering Subscription resources. :param pulumi.Input[str] endpoint: The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. - :param pulumi.Input[str] event_type: 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"`, + :param pulumi.Input[str] event_type: 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, `"GROUP_UPDATED"`, `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -186,7 +186,7 @@ def endpoint(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="eventType") def event_type(self) -> Optional[pulumi.Input[str]]: """ - 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"`, + 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, `"GROUP_UPDATED"`, `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -285,7 +285,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] endpoint: The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. - :param pulumi.Input[str] event_type: 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"`, + :param pulumi.Input[str] event_type: 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, `"GROUP_UPDATED"`, `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -401,7 +401,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] endpoint: The endpoint the notification will be sent to. url in case of `"http"`/`"https"`/`"web"`, email address in case of `"email"`/`"email-json"` and sns-topic-arn in case of `"aws-sns"`. - :param pulumi.Input[str] event_type: 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"`, + :param pulumi.Input[str] event_type: 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, `"GROUP_UPDATED"`, `"AWS_EMR_PROVISION_TIMEOUT"`, @@ -445,7 +445,7 @@ def endpoint(self) -> pulumi.Output[str]: @pulumi.getter(name="eventType") def event_type(self) -> pulumi.Output[str]: """ - 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"`, + 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"`, `"SIGNAL_TIMEOUT_SHUTDOWN_SCRIPT"`, `"AWS_EC2_CANT_SPIN_OD"`, `"AWS_EC2_INSTANCE_UNHEALTHY_IN_ELB"`, `"GROUP_ROLL_FAILED"`, `"GROUP_ROLL_FINISHED"`, `"CANT_SCALE_UP_GROUP_MAX_CAPACITY"`, `"GROUP_UPDATED"`, `"AWS_EMR_PROVISION_TIMEOUT"`, diff --git a/upstream b/upstream index 8362963f..6139360b 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 8362963f531c98fdbe37b8fd71d75948b53dc168 +Subproject commit 6139360b9da756e69628ae1785cc7c0ea0930289