-
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
103 changed files
with
3,619 additions
and
148 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '3.0.45' | ||
__version__ = '3.0.46' |
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
102 changes: 102 additions & 0 deletions
102
aliyun-python-sdk-vpc/aliyunsdkvpc/request/v20160428/AllocateIpv6AddressRequest.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,102 @@ | ||
# 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 aliyunsdkvpc.endpoint import endpoint_data | ||
|
||
class AllocateIpv6AddressRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Vpc', '2016-04-28', 'AllocateIpv6Address','vpc') | ||
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_ResourceOwnerId(self): # Long | ||
return self.get_query_params().get('ResourceOwnerId') | ||
|
||
def set_ResourceOwnerId(self, ResourceOwnerId): # Long | ||
self.add_query_param('ResourceOwnerId', ResourceOwnerId) | ||
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_Ipv6AddressDescription(self): # String | ||
return self.get_query_params().get('Ipv6AddressDescription') | ||
|
||
def set_Ipv6AddressDescription(self, Ipv6AddressDescription): # String | ||
self.add_query_param('Ipv6AddressDescription', Ipv6AddressDescription) | ||
def get_ResourceGroupId(self): # String | ||
return self.get_query_params().get('ResourceGroupId') | ||
|
||
def set_ResourceGroupId(self, ResourceGroupId): # String | ||
self.add_query_param('ResourceGroupId', ResourceGroupId) | ||
def get_AddressType(self): # String | ||
return self.get_query_params().get('AddressType') | ||
|
||
def set_AddressType(self, AddressType): # String | ||
self.add_query_param('AddressType', AddressType) | ||
def get_Tags(self): # RepeatList | ||
return self.get_query_params().get('Tag') | ||
|
||
def set_Tags(self, Tag): # RepeatList | ||
for depth1 in range(len(Tag)): | ||
if Tag[depth1].get('Key') is not None: | ||
self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key')) | ||
if Tag[depth1].get('Value') is not None: | ||
self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value')) | ||
def get_Ipv6AddressName(self): # String | ||
return self.get_query_params().get('Ipv6AddressName') | ||
|
||
def set_Ipv6AddressName(self, Ipv6AddressName): # String | ||
self.add_query_param('Ipv6AddressName', Ipv6AddressName) | ||
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_ResourceOwnerAccount(self): # String | ||
return self.get_query_params().get('ResourceOwnerAccount') | ||
|
||
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String | ||
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) | ||
def get_OwnerAccount(self): # String | ||
return self.get_query_params().get('OwnerAccount') | ||
|
||
def set_OwnerAccount(self, OwnerAccount): # String | ||
self.add_query_param('OwnerAccount', OwnerAccount) | ||
def get_OwnerId(self): # Long | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self, OwnerId): # Long | ||
self.add_query_param('OwnerId', OwnerId) | ||
def get_VSwitchId(self): # String | ||
return self.get_query_params().get('VSwitchId') | ||
|
||
def set_VSwitchId(self, VSwitchId): # String | ||
self.add_query_param('VSwitchId', VSwitchId) | ||
def get_Ipv6Address(self): # String | ||
return self.get_query_params().get('Ipv6Address') | ||
|
||
def set_Ipv6Address(self, Ipv6Address): # String | ||
self.add_query_param('Ipv6Address', Ipv6Address) |
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
78 changes: 78 additions & 0 deletions
78
...thon-sdk-vpc/aliyunsdkvpc/request/v20160428/CreateExpressConnectTrafficQosQueueRequest.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,78 @@ | ||
# 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 aliyunsdkvpc.endpoint import endpoint_data | ||
|
||
class CreateExpressConnectTrafficQosQueueRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'Vpc', '2016-04-28', 'CreateExpressConnectTrafficQosQueue','vpc') | ||
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_QueueName(self): # String | ||
return self.get_query_params().get('QueueName') | ||
|
||
def set_QueueName(self, QueueName): # String | ||
self.add_query_param('QueueName', QueueName) | ||
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_QueueDescription(self): # String | ||
return self.get_query_params().get('QueueDescription') | ||
|
||
def set_QueueDescription(self, QueueDescription): # String | ||
self.add_query_param('QueueDescription', QueueDescription) | ||
def get_QosId(self): # String | ||
return self.get_query_params().get('QosId') | ||
|
||
def set_QosId(self, QosId): # String | ||
self.add_query_param('QosId', QosId) | ||
def get_ResourceOwnerAccount(self): # String | ||
return self.get_query_params().get('ResourceOwnerAccount') | ||
|
||
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String | ||
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) | ||
def get_OwnerAccount(self): # String | ||
return self.get_query_params().get('OwnerAccount') | ||
|
||
def set_OwnerAccount(self, OwnerAccount): # String | ||
self.add_query_param('OwnerAccount', OwnerAccount) | ||
def get_QueueType(self): # String | ||
return self.get_query_params().get('QueueType') | ||
|
||
def set_QueueType(self, QueueType): # String | ||
self.add_query_param('QueueType', QueueType) | ||
def get_OwnerId(self): # Long | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self, OwnerId): # Long | ||
self.add_query_param('OwnerId', OwnerId) | ||
def get_BandwidthPercent(self): # String | ||
return self.get_query_params().get('BandwidthPercent') | ||
|
||
def set_BandwidthPercent(self, BandwidthPercent): # String | ||
self.add_query_param('BandwidthPercent', BandwidthPercent) |
Oops, something went wrong.