From d5c3d8eb8341326fe5bfd7bc68ab9669bea3a043 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 22 Oct 2024 03:41:37 +0000 Subject: [PATCH] Generated 2014-08-28 for Ess. --- ChangeLog.txt | 4 ++++ services/ess/create_scaling_configuration.go | 6 ++++++ services/ess/create_scaling_group.go | 1 + services/ess/describe_scaling_activities.go | 19 +++++++++-------- services/ess/modify_scaling_configuration.go | 6 ++++++ services/ess/modify_scaling_group.go | 1 + services/ess/remove_instances.go | 1 + services/ess/struct_scaling_activity.go | 1 + ...tion_in_describe_scaling_configurations.go | 1 + services/ess/struct_scaling_group.go | 1 + services/ess/struct_security_options.go | 21 +++++++++++++++++++ 11 files changed, 53 insertions(+), 9 deletions(-) create mode 100644 services/ess/struct_security_options.go diff --git a/ChangeLog.txt b/ChangeLog.txt index 313c9e8c6e..35d9f8031b 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-10-22 Version: v1.63.34 +- Generated 2014-08-28 for `Ess`. +- ScalingConfiguration supoort ConfidentialComputingMode. + 2024-10-22 Version: v1.63.33 - Generated 2019-06-24 for `eais`. - Add openapi StartEaiJupyter. diff --git a/services/ess/create_scaling_configuration.go b/services/ess/create_scaling_configuration.go index a0a76e503b..41c6b15823 100644 --- a/services/ess/create_scaling_configuration.go +++ b/services/ess/create_scaling_configuration.go @@ -72,6 +72,7 @@ func (client *Client) CreateScalingConfigurationWithCallback(request *CreateScal type CreateScalingConfigurationRequest struct { *requests.RpcRequest HpcClusterId string `position:"Query" name:"HpcClusterId"` + SecurityOptions CreateScalingConfigurationSecurityOptions `position:"Query" name:"SecurityOptions" type:"Struct"` SecurityEnhancementStrategy string `position:"Query" name:"SecurityEnhancementStrategy"` KeyPairName string `position:"Query" name:"KeyPairName"` SpotPriceLimit *[]CreateScalingConfigurationSpotPriceLimit `position:"Query" name:"SpotPriceLimit" type:"Repeated"` @@ -141,6 +142,11 @@ type CreateScalingConfigurationRequest struct { SystemDiskEncrypted requests.Boolean `position:"Query" name:"SystemDisk.Encrypted"` } +// CreateScalingConfigurationSecurityOptions is a repeated param struct in CreateScalingConfigurationRequest +type CreateScalingConfigurationSecurityOptions struct { + ConfidentialComputingMode string `name:"ConfidentialComputingMode"` +} + // CreateScalingConfigurationSpotPriceLimit is a repeated param struct in CreateScalingConfigurationRequest type CreateScalingConfigurationSpotPriceLimit struct { InstanceType string `name:"InstanceType"` diff --git a/services/ess/create_scaling_group.go b/services/ess/create_scaling_group.go index 74e26af642..4d2c937c7e 100644 --- a/services/ess/create_scaling_group.go +++ b/services/ess/create_scaling_group.go @@ -81,6 +81,7 @@ type CreateScalingGroupRequest struct { SyncAlarmRuleToCms requests.Boolean `position:"Query" name:"SyncAlarmRuleToCms"` CustomPolicyARN string `position:"Query" name:"CustomPolicyARN"` Tag *[]CreateScalingGroupTag `position:"Query" name:"Tag" type:"Repeated"` + StopInstanceTimeout requests.Integer `position:"Query" name:"StopInstanceTimeout"` DefaultCooldown requests.Integer `position:"Query" name:"DefaultCooldown"` HealthCheckTypes *[]string `position:"Query" name:"HealthCheckTypes" type:"Repeated"` ContainerGroupId string `position:"Query" name:"ContainerGroupId"` diff --git a/services/ess/describe_scaling_activities.go b/services/ess/describe_scaling_activities.go index 404fea058a..ba43983fb6 100644 --- a/services/ess/describe_scaling_activities.go +++ b/services/ess/describe_scaling_activities.go @@ -71,15 +71,16 @@ func (client *Client) DescribeScalingActivitiesWithCallback(request *DescribeSca // DescribeScalingActivitiesRequest is the request struct for api DescribeScalingActivities type DescribeScalingActivitiesRequest struct { *requests.RpcRequest - ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` - ScalingGroupId string `position:"Query" name:"ScalingGroupId"` - PageNumber requests.Integer `position:"Query" name:"PageNumber"` - StatusCode string `position:"Query" name:"StatusCode"` - PageSize requests.Integer `position:"Query" name:"PageSize"` - ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` - OwnerAccount string `position:"Query" name:"OwnerAccount"` - OwnerId requests.Integer `position:"Query" name:"OwnerId"` - ScalingActivityId *[]string `position:"Query" name:"ScalingActivityId" type:"Repeated"` + ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` + ScalingGroupId string `position:"Query" name:"ScalingGroupId"` + InstanceRefreshTaskId string `position:"Query" name:"InstanceRefreshTaskId"` + PageNumber requests.Integer `position:"Query" name:"PageNumber"` + StatusCode string `position:"Query" name:"StatusCode"` + PageSize requests.Integer `position:"Query" name:"PageSize"` + ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` + OwnerAccount string `position:"Query" name:"OwnerAccount"` + OwnerId requests.Integer `position:"Query" name:"OwnerId"` + ScalingActivityId *[]string `position:"Query" name:"ScalingActivityId" type:"Repeated"` } // DescribeScalingActivitiesResponse is the response struct for api DescribeScalingActivities diff --git a/services/ess/modify_scaling_configuration.go b/services/ess/modify_scaling_configuration.go index 2186e3e3d2..826009300d 100644 --- a/services/ess/modify_scaling_configuration.go +++ b/services/ess/modify_scaling_configuration.go @@ -72,6 +72,7 @@ func (client *Client) ModifyScalingConfigurationWithCallback(request *ModifyScal type ModifyScalingConfigurationRequest struct { *requests.RpcRequest HpcClusterId string `position:"Query" name:"HpcClusterId"` + SecurityOptions ModifyScalingConfigurationSecurityOptions `position:"Query" name:"SecurityOptions" type:"Struct"` KeyPairName string `position:"Query" name:"KeyPairName"` SpotPriceLimit *[]ModifyScalingConfigurationSpotPriceLimit `position:"Query" name:"SpotPriceLimit" type:"Repeated"` DeletionProtection requests.Boolean `position:"Query" name:"DeletionProtection"` @@ -138,6 +139,11 @@ type ModifyScalingConfigurationRequest struct { SystemDiskEncrypted requests.Boolean `position:"Query" name:"SystemDisk.Encrypted"` } +// ModifyScalingConfigurationSecurityOptions is a repeated param struct in ModifyScalingConfigurationRequest +type ModifyScalingConfigurationSecurityOptions struct { + ConfidentialComputingMode string `name:"ConfidentialComputingMode"` +} + // ModifyScalingConfigurationSpotPriceLimit is a repeated param struct in ModifyScalingConfigurationRequest type ModifyScalingConfigurationSpotPriceLimit struct { InstanceType string `name:"InstanceType"` diff --git a/services/ess/modify_scaling_group.go b/services/ess/modify_scaling_group.go index aedc6c4bdc..f5d87a7b44 100644 --- a/services/ess/modify_scaling_group.go +++ b/services/ess/modify_scaling_group.go @@ -79,6 +79,7 @@ type ModifyScalingGroupRequest struct { SpotInstanceRemedy requests.Boolean `position:"Query" name:"SpotInstanceRemedy"` ScaleOutAmountCheck requests.Boolean `position:"Query" name:"ScaleOutAmountCheck"` CustomPolicyARN string `position:"Query" name:"CustomPolicyARN"` + StopInstanceTimeout requests.Integer `position:"Query" name:"StopInstanceTimeout"` DefaultCooldown requests.Integer `position:"Query" name:"DefaultCooldown"` HealthCheckTypes *[]string `position:"Query" name:"HealthCheckTypes" type:"Repeated"` MultiAZPolicy string `position:"Query" name:"MultiAZPolicy"` diff --git a/services/ess/remove_instances.go b/services/ess/remove_instances.go index 6e34cfb5fb..f682f8893a 100644 --- a/services/ess/remove_instances.go +++ b/services/ess/remove_instances.go @@ -76,6 +76,7 @@ type RemoveInstancesRequest struct { ScalingGroupId string `position:"Query" name:"ScalingGroupId"` DecreaseDesiredCapacity requests.Boolean `position:"Query" name:"DecreaseDesiredCapacity"` IgnoreInvalidInstance requests.Boolean `position:"Query" name:"IgnoreInvalidInstance"` + StopInstanceTimeout requests.Integer `position:"Query" name:"StopInstanceTimeout"` RemovePolicy string `position:"Query" name:"RemovePolicy"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` diff --git a/services/ess/struct_scaling_activity.go b/services/ess/struct_scaling_activity.go index 93ba669f64..4e426d199b 100644 --- a/services/ess/struct_scaling_activity.go +++ b/services/ess/struct_scaling_activity.go @@ -40,6 +40,7 @@ type ScalingActivity struct { TriggerSourceType string `json:"TriggerSourceType" xml:"TriggerSourceType"` TriggerSourceId string `json:"TriggerSourceId" xml:"TriggerSourceId"` ActivityMetadata string `json:"ActivityMetadata" xml:"ActivityMetadata"` + InstanceRefreshTaskId string `json:"InstanceRefreshTaskId" xml:"InstanceRefreshTaskId"` CreatedInstances CreatedInstances `json:"CreatedInstances" xml:"CreatedInstances"` DestroyedInstances DestroyedInstances `json:"DestroyedInstances" xml:"DestroyedInstances"` StartedInstances StartedInstances `json:"StartedInstances" xml:"StartedInstances"` diff --git a/services/ess/struct_scaling_configuration_in_describe_scaling_configurations.go b/services/ess/struct_scaling_configuration_in_describe_scaling_configurations.go index 4a8fb44dbe..76a6453f36 100644 --- a/services/ess/struct_scaling_configuration_in_describe_scaling_configurations.go +++ b/services/ess/struct_scaling_configuration_in_describe_scaling_configurations.go @@ -80,6 +80,7 @@ type ScalingConfigurationInDescribeScalingConfigurations struct { InstanceTypes InstanceTypesInDescribeScalingConfigurations `json:"InstanceTypes" xml:"InstanceTypes"` SecurityGroupIds SecurityGroupIdsInDescribeScalingConfigurations `json:"SecurityGroupIds" xml:"SecurityGroupIds"` SchedulerOptions SchedulerOptions `json:"SchedulerOptions" xml:"SchedulerOptions"` + SecurityOptions SecurityOptions `json:"SecurityOptions" xml:"SecurityOptions"` DataDisks DataDisks `json:"DataDisks" xml:"DataDisks"` Tags TagsInDescribeScalingConfigurations `json:"Tags" xml:"Tags"` SpotPriceLimit SpotPriceLimit `json:"SpotPriceLimit" xml:"SpotPriceLimit"` diff --git a/services/ess/struct_scaling_group.go b/services/ess/struct_scaling_group.go index 3002024c83..b6e745f77f 100644 --- a/services/ess/struct_scaling_group.go +++ b/services/ess/struct_scaling_group.go @@ -67,6 +67,7 @@ type ScalingGroup struct { ResourceGroupId string `json:"ResourceGroupId" xml:"ResourceGroupId"` EnableDesiredCapacity bool `json:"EnableDesiredCapacity" xml:"EnableDesiredCapacity"` SpotCapacity int `json:"SpotCapacity" xml:"SpotCapacity"` + StopInstanceTimeout int `json:"StopInstanceTimeout" xml:"StopInstanceTimeout"` RemovalPolicies RemovalPolicies `json:"RemovalPolicies" xml:"RemovalPolicies"` DBInstanceIds DBInstanceIds `json:"DBInstanceIds" xml:"DBInstanceIds"` LoadBalancerIds LoadBalancerIds `json:"LoadBalancerIds" xml:"LoadBalancerIds"` diff --git a/services/ess/struct_security_options.go b/services/ess/struct_security_options.go new file mode 100644 index 0000000000..3c304f1eec --- /dev/null +++ b/services/ess/struct_security_options.go @@ -0,0 +1,21 @@ +package ess + +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. +// +// Code generated by Alibaba Cloud SDK Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +// SecurityOptions is a nested struct in ess response +type SecurityOptions struct { + ConfidentialComputingMode string `json:"ConfidentialComputingMode" xml:"ConfidentialComputingMode"` +}