From d73bcbb6fb8c4199b4f82bba027df62a4f464c47 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 4 Nov 2024 07:47:59 +0000 Subject: [PATCH] Generated 2020-06-16 for Alb. --- ChangeLog.txt | 4 ++++ .../alb/enable_load_balancer_access_log.go | 1 + services/alb/struct_ipv4_local_addresses.go | 21 +++++++++++++++++++ services/alb/struct_ipv6_local_addresses.go | 21 +++++++++++++++++++ services/alb/struct_load_balancer_address.go | 16 +++++++------- 5 files changed, 56 insertions(+), 7 deletions(-) create mode 100644 services/alb/struct_ipv4_local_addresses.go create mode 100644 services/alb/struct_ipv6_local_addresses.go diff --git a/ChangeLog.txt b/ChangeLog.txt index 744cacf8c6..438a769bdd 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2024-11-04 Version: v1.63.47 +- Generated 2020-06-16 for `Alb`. +- Support Ipv4LocalAddresses and Ipv6LocalAddresses. + 2024-11-04 Version: v1.63.46 - Generated 2014-08-28 for `Ess`. - ScalingConfiguration supoort ConfidentialComputingMode. diff --git a/services/alb/enable_load_balancer_access_log.go b/services/alb/enable_load_balancer_access_log.go index a7a3040bd0..10f23c8688 100644 --- a/services/alb/enable_load_balancer_access_log.go +++ b/services/alb/enable_load_balancer_access_log.go @@ -82,6 +82,7 @@ type EnableLoadBalancerAccessLogRequest struct { type EnableLoadBalancerAccessLogResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` + JobId string `json:"JobId" xml:"JobId"` } // CreateEnableLoadBalancerAccessLogRequest creates a request to invoke EnableLoadBalancerAccessLog API diff --git a/services/alb/struct_ipv4_local_addresses.go b/services/alb/struct_ipv4_local_addresses.go new file mode 100644 index 0000000000..7bd43f0c7f --- /dev/null +++ b/services/alb/struct_ipv4_local_addresses.go @@ -0,0 +1,21 @@ +package alb + +//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. + +// Ipv4LocalAddresses is a nested struct in alb response +type Ipv4LocalAddresses struct { + Ipv4LocalAddress []string `json:"Ipv4LocalAddress" xml:"Ipv4LocalAddress"` +} diff --git a/services/alb/struct_ipv6_local_addresses.go b/services/alb/struct_ipv6_local_addresses.go new file mode 100644 index 0000000000..38fe056275 --- /dev/null +++ b/services/alb/struct_ipv6_local_addresses.go @@ -0,0 +1,21 @@ +package alb + +//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. + +// Ipv6LocalAddresses is a nested struct in alb response +type Ipv6LocalAddresses struct { + Ipv6LocalAddress []string `json:"ipv6LocalAddress" xml:"ipv6LocalAddress"` +} diff --git a/services/alb/struct_load_balancer_address.go b/services/alb/struct_load_balancer_address.go index 9dd0345972..ca360efd45 100644 --- a/services/alb/struct_load_balancer_address.go +++ b/services/alb/struct_load_balancer_address.go @@ -17,11 +17,13 @@ package alb // LoadBalancerAddress is a nested struct in alb response type LoadBalancerAddress struct { - Address string `json:"Address" xml:"Address"` - Ipv6Address string `json:"Ipv6Address" xml:"Ipv6Address"` - IntranetAddress string `json:"IntranetAddress" xml:"IntranetAddress"` - AllocationId string `json:"AllocationId" xml:"AllocationId"` - EipType string `json:"EipType" xml:"EipType"` - IntranetAddressHcStatus string `json:"IntranetAddressHcStatus" xml:"IntranetAddressHcStatus"` - Ipv6AddressHcStatus string `json:"Ipv6AddressHcStatus" xml:"Ipv6AddressHcStatus"` + Address string `json:"Address" xml:"Address"` + Ipv6Address string `json:"Ipv6Address" xml:"Ipv6Address"` + IntranetAddress string `json:"IntranetAddress" xml:"IntranetAddress"` + AllocationId string `json:"AllocationId" xml:"AllocationId"` + EipType string `json:"EipType" xml:"EipType"` + IntranetAddressHcStatus string `json:"IntranetAddressHcStatus" xml:"IntranetAddressHcStatus"` + Ipv6AddressHcStatus string `json:"Ipv6AddressHcStatus" xml:"Ipv6AddressHcStatus"` + Ipv4LocalAddresses []string `json:"Ipv4LocalAddresses" xml:"Ipv4LocalAddresses"` + Ipv6LocalAddresses []string `json:"Ipv6LocalAddresses" xml:"Ipv6LocalAddresses"` }