diff --git a/ChangeLog.txt b/ChangeLog.txt index 4e5f6df..d01d9a1 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,13 @@ +2025-01-13 Version: v1.25.6 +- Update API CreateApplication: add param ResourceType. +- Update API CreateIngress: add param AddressType. +- Update API CreateIngress: add param LoadBalancerEdition. +- Update API CreateIngress: add param ZoneMappings. +- Update API CreateIngress: update param SlbId. +- Update API DescribeApplicationConfig: update response param. +- Update API DescribeIngress: update response param. + + 2025-01-10 Version: v1.25.5 - Update API CreateIngress: add param AddressType. - Update API CreateIngress: add param LoadBalancerEdition. diff --git a/client/client.go b/client/client.go index 9a250d1..6a334d3 100644 --- a/client/client.go +++ b/client/client.go @@ -9964,6 +9964,7 @@ type CreateApplicationRequest struct { // // 1 Replicas *int32 `json:"Replicas,omitempty" xml:"Replicas,omitempty"` + ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` SaeVersion *string `json:"SaeVersion,omitempty" xml:"SaeVersion,omitempty"` SecretMountDesc *string `json:"SecretMountDesc,omitempty" xml:"SecretMountDesc,omitempty"` // sg-wz969ngg2e49q5i4\\*\\*\\*\\* @@ -10312,6 +10313,11 @@ func (s *CreateApplicationRequest) SetReplicas(v int32) *CreateApplicationReques return s } +func (s *CreateApplicationRequest) SetResourceType(v string) *CreateApplicationRequest { + s.ResourceType = &v + return s +} + func (s *CreateApplicationRequest) SetSaeVersion(v string) *CreateApplicationRequest { s.SaeVersion = &v return s @@ -10652,6 +10658,7 @@ type CreateApplicationShrinkRequest struct { // // 1 Replicas *int32 `json:"Replicas,omitempty" xml:"Replicas,omitempty"` + ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` SaeVersion *string `json:"SaeVersion,omitempty" xml:"SaeVersion,omitempty"` SecretMountDesc *string `json:"SecretMountDesc,omitempty" xml:"SecretMountDesc,omitempty"` // sg-wz969ngg2e49q5i4\\*\\*\\*\\* @@ -11000,6 +11007,11 @@ func (s *CreateApplicationShrinkRequest) SetReplicas(v int32) *CreateApplication return s } +func (s *CreateApplicationShrinkRequest) SetResourceType(v string) *CreateApplicationShrinkRequest { + s.ResourceType = &v + return s +} + func (s *CreateApplicationShrinkRequest) SetSaeVersion(v string) *CreateApplicationShrinkRequest { s.SaeVersion = &v return s @@ -18828,6 +18840,7 @@ type DescribeApplicationConfigResponseBodyData struct { // // 2 Replicas *int32 `json:"Replicas,omitempty" xml:"Replicas,omitempty"` + ResourceType *string `json:"ResourceType,omitempty" xml:"ResourceType,omitempty"` SecretMountDesc []*DescribeApplicationConfigResponseBodyDataSecretMountDesc `json:"SecretMountDesc,omitempty" xml:"SecretMountDesc,omitempty" type:"Repeated"` // The ID of the security group. // @@ -19267,6 +19280,11 @@ func (s *DescribeApplicationConfigResponseBodyData) SetReplicas(v int32) *Descri return s } +func (s *DescribeApplicationConfigResponseBodyData) SetResourceType(v string) *DescribeApplicationConfigResponseBodyData { + s.ResourceType = &v + return s +} + func (s *DescribeApplicationConfigResponseBodyData) SetSecretMountDesc(v []*DescribeApplicationConfigResponseBodyDataSecretMountDesc) *DescribeApplicationConfigResponseBodyData { s.SecretMountDesc = v return s @@ -46838,6 +46856,10 @@ func (client *Client) CreateApplicationWithOptions(tmpReq *CreateApplicationRequ query["Replicas"] = request.Replicas } + if !tea.BoolValue(util.IsUnset(request.ResourceType)) { + query["ResourceType"] = request.ResourceType + } + if !tea.BoolValue(util.IsUnset(request.SaeVersion)) { query["SaeVersion"] = request.SaeVersion }