-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
261 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2023-12-05 Version: 1.0.16 | ||
- Support Latest APIs. | ||
|
||
2023-07-24 Version: 1.0.15 | ||
- Support Latest APIs. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.0.15' | ||
__version__ = '1.0.16' |
57 changes: 57 additions & 0 deletions
57
aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/CancelShiftLoadBalancerZonesRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you 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. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkalb.endpoint import endpoint_data | ||
|
||
class CancelShiftLoadBalancerZonesRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Alb', '2020-06-16', 'CancelShiftLoadBalancerZones','alb') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_ClientToken(self): # String | ||
return self.get_query_params().get('ClientToken') | ||
|
||
def set_ClientToken(self, ClientToken): # String | ||
self.add_query_param('ClientToken', ClientToken) | ||
def get_DryRun(self): # Boolean | ||
return self.get_query_params().get('DryRun') | ||
|
||
def set_DryRun(self, DryRun): # Boolean | ||
self.add_query_param('DryRun', DryRun) | ||
def get_ZoneMappings(self): # Array | ||
return self.get_query_params().get('ZoneMappings') | ||
|
||
def set_ZoneMappings(self, ZoneMappings): # Array | ||
for index1, value1 in enumerate(ZoneMappings): | ||
if value1.get('VSwitchId') is not None: | ||
self.add_query_param('ZoneMappings.' + str(index1 + 1) + '.VSwitchId', value1.get('VSwitchId')) | ||
if value1.get('ZoneId') is not None: | ||
self.add_query_param('ZoneMappings.' + str(index1 + 1) + '.ZoneId', value1.get('ZoneId')) | ||
def get_LoadBalancerId(self): # String | ||
return self.get_query_params().get('LoadBalancerId') | ||
|
||
def set_LoadBalancerId(self, LoadBalancerId): # String | ||
self.add_query_param('LoadBalancerId', LoadBalancerId) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57 changes: 57 additions & 0 deletions
57
aliyun-python-sdk-alb/aliyunsdkalb/request/v20200616/StartShiftLoadBalancerZonesRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you 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. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkalb.endpoint import endpoint_data | ||
|
||
class StartShiftLoadBalancerZonesRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Alb', '2020-06-16', 'StartShiftLoadBalancerZones','alb') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_ClientToken(self): # String | ||
return self.get_query_params().get('ClientToken') | ||
|
||
def set_ClientToken(self, ClientToken): # String | ||
self.add_query_param('ClientToken', ClientToken) | ||
def get_DryRun(self): # Boolean | ||
return self.get_query_params().get('DryRun') | ||
|
||
def set_DryRun(self, DryRun): # Boolean | ||
self.add_query_param('DryRun', DryRun) | ||
def get_ZoneMappings(self): # Array | ||
return self.get_query_params().get('ZoneMappings') | ||
|
||
def set_ZoneMappings(self, ZoneMappings): # Array | ||
for index1, value1 in enumerate(ZoneMappings): | ||
if value1.get('VSwitchId') is not None: | ||
self.add_query_param('ZoneMappings.' + str(index1 + 1) + '.VSwitchId', value1.get('VSwitchId')) | ||
if value1.get('ZoneId') is not None: | ||
self.add_query_param('ZoneMappings.' + str(index1 + 1) + '.ZoneId', value1.get('ZoneId')) | ||
def get_LoadBalancerId(self): # String | ||
return self.get_query_params().get('LoadBalancerId') | ||
|
||
def set_LoadBalancerId(self, LoadBalancerId): # String | ||
self.add_query_param('LoadBalancerId', LoadBalancerId) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.