diff --git a/ChangeLog.txt b/ChangeLog.txt index 6d4e4bd..e907eb9 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-06-25 Version: v5.3.1 +- Update API DescribeNodePoolVuls: update response param. + + 2024-06-13 Version: v5.3.0 - Support API DescribeResourcesDeleteProtection. - Support API UpdateResourcesDeleteProtection. diff --git a/client/client.go b/client/client.go index b19ee25..57d451a 100644 --- a/client/client.go +++ b/client/client.go @@ -16241,7 +16241,8 @@ type DescribeNodePoolVulsResponseBodyVulRecordsVulList struct { // example: // // asap - Necessity *string `json:"necessity,omitempty" xml:"necessity,omitempty"` + Necessity *string `json:"necessity,omitempty" xml:"necessity,omitempty"` + NeedReboot *bool `json:"need_reboot,omitempty" xml:"need_reboot,omitempty"` } func (s DescribeNodePoolVulsResponseBodyVulRecordsVulList) String() string { @@ -16272,6 +16273,11 @@ func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNecessity(v strin return s } +func (s *DescribeNodePoolVulsResponseBodyVulRecordsVulList) SetNeedReboot(v bool) *DescribeNodePoolVulsResponseBodyVulRecordsVulList { + s.NeedReboot = &v + return s +} + type DescribeNodePoolVulsResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` @@ -27191,6 +27197,8 @@ func (client *Client) CancelClusterUpgrade(ClusterId *string) (_result *CancelCl return _result, _err } +// Deprecated: OpenAPI CancelComponentUpgrade is deprecated +// // Summary: // // You can call the CancelComponentUpgrade operation to cancel the update of a component. @@ -27200,6 +27208,7 @@ func (client *Client) CancelClusterUpgrade(ClusterId *string) (_result *CancelCl // @param runtime - runtime options for this request RuntimeOptions // // @return CancelComponentUpgradeResponse +// Deprecated func (client *Client) CancelComponentUpgradeWithOptions(clusterId *string, componentId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *CancelComponentUpgradeResponse, _err error) { req := &openapi.OpenApiRequest{ Headers: headers, @@ -27224,11 +27233,14 @@ func (client *Client) CancelComponentUpgradeWithOptions(clusterId *string, compo return _result, _err } +// Deprecated: OpenAPI CancelComponentUpgrade is deprecated +// // Summary: // // You can call the CancelComponentUpgrade operation to cancel the update of a component. // // @return CancelComponentUpgradeResponse +// Deprecated func (client *Client) CancelComponentUpgrade(clusterId *string, componentId *string) (_result *CancelComponentUpgradeResponse, _err error) { runtime := &util.RuntimeOptions{} headers := make(map[string]*string) @@ -32639,6 +32651,8 @@ func (client *Client) GetKubernetesTrigger(ClusterId *string, request *GetKubern return _result, _err } +// Deprecated: OpenAPI GetUpgradeStatus is deprecated +// // Summary: // // You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID. @@ -32648,6 +32662,7 @@ func (client *Client) GetKubernetesTrigger(ClusterId *string, request *GetKubern // @param runtime - runtime options for this request RuntimeOptions // // @return GetUpgradeStatusResponse +// Deprecated func (client *Client) GetUpgradeStatusWithOptions(ClusterId *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetUpgradeStatusResponse, _err error) { req := &openapi.OpenApiRequest{ Headers: headers, @@ -32672,11 +32687,14 @@ func (client *Client) GetUpgradeStatusWithOptions(ClusterId *string, headers map return _result, _err } +// Deprecated: OpenAPI GetUpgradeStatus is deprecated +// // Summary: // // You can call the GetUpgradeStatus operation to query the update progress of a cluster by cluster ID. // // @return GetUpgradeStatusResponse +// Deprecated func (client *Client) GetUpgradeStatus(ClusterId *string) (_result *GetUpgradeStatusResponse, _err error) { runtime := &util.RuntimeOptions{} headers := make(map[string]*string) @@ -33958,6 +33976,8 @@ func (client *Client) PauseClusterUpgrade(ClusterId *string) (_result *PauseClus return _result, _err } +// Deprecated: OpenAPI PauseComponentUpgrade is deprecated +// // Summary: // // You can call the PauseComponentUpgrade operation to pause the update of a component. @@ -33967,6 +33987,7 @@ func (client *Client) PauseClusterUpgrade(ClusterId *string) (_result *PauseClus // @param runtime - runtime options for this request RuntimeOptions // // @return PauseComponentUpgradeResponse +// Deprecated func (client *Client) PauseComponentUpgradeWithOptions(clusterid *string, componentid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PauseComponentUpgradeResponse, _err error) { req := &openapi.OpenApiRequest{ Headers: headers, @@ -33991,11 +34012,14 @@ func (client *Client) PauseComponentUpgradeWithOptions(clusterid *string, compon return _result, _err } +// Deprecated: OpenAPI PauseComponentUpgrade is deprecated +// // Summary: // // You can call the PauseComponentUpgrade operation to pause the update of a component. // // @return PauseComponentUpgradeResponse +// Deprecated func (client *Client) PauseComponentUpgrade(clusterid *string, componentid *string) (_result *PauseComponentUpgradeResponse, _err error) { runtime := &util.RuntimeOptions{} headers := make(map[string]*string) @@ -34394,6 +34418,8 @@ func (client *Client) RepairClusterNodePool(clusterId *string, nodepoolId *strin return _result, _err } +// Deprecated: OpenAPI ResumeComponentUpgrade is deprecated +// // Summary: // // You can call the ResumeComponentUpgrade operation to resume the update of a component. @@ -34403,6 +34429,7 @@ func (client *Client) RepairClusterNodePool(clusterId *string, nodepoolId *strin // @param runtime - runtime options for this request RuntimeOptions // // @return ResumeComponentUpgradeResponse +// Deprecated func (client *Client) ResumeComponentUpgradeWithOptions(clusterid *string, componentid *string, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ResumeComponentUpgradeResponse, _err error) { req := &openapi.OpenApiRequest{ Headers: headers, @@ -34427,11 +34454,14 @@ func (client *Client) ResumeComponentUpgradeWithOptions(clusterid *string, compo return _result, _err } +// Deprecated: OpenAPI ResumeComponentUpgrade is deprecated +// // Summary: // // You can call the ResumeComponentUpgrade operation to resume the update of a component. // // @return ResumeComponentUpgradeResponse +// Deprecated func (client *Client) ResumeComponentUpgrade(clusterid *string, componentid *string) (_result *ResumeComponentUpgradeResponse, _err error) { runtime := &util.RuntimeOptions{} headers := make(map[string]*string) diff --git a/go.mod b/go.mod index 0491f3d..0dccbb2 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/alibabacloud-go/cs-20151215/v5 go 1.15 require ( - github.com/alibabacloud-go/darabonba-openapi/v2 v2.0.7 + github.com/alibabacloud-go/darabonba-openapi/v2 v2.0.8 github.com/alibabacloud-go/endpoint-util v1.1.0 github.com/alibabacloud-go/openapi-util v0.1.0 github.com/alibabacloud-go/tea v1.2.1