Skip to content

Commit

Permalink
Update API DescribeNodePoolVuls: update response param.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 25, 2024
1 parent b4e21fd commit 089b276
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
32 changes: 31 additions & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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"`
Expand Down Expand Up @@ -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.
Expand All @@ -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,
Expand All @@ -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)
Expand Down Expand Up @@ -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.
Expand All @@ -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,
Expand All @@ -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)
Expand Down Expand Up @@ -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.
Expand All @@ -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,
Expand All @@ -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)
Expand Down Expand Up @@ -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.
Expand All @@ -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,
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 089b276

Please sign in to comment.