-
Notifications
You must be signed in to change notification settings - Fork 585
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated 2021-05-21 for ComputeNestSupplier.
- Loading branch information
Showing
26 changed files
with
956 additions
and
56 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
2 changes: 1 addition & 1 deletion
2
aliyun-python-sdk-computenestsupplier/aliyunsdkcomputenestsupplier/__init__.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 |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.0.5' | ||
__version__ = '1.0.6' |
57 changes: 57 additions & 0 deletions
57
...upplier/aliyunsdkcomputenestsupplier/request/v20210521/AddServiceSharedAccountsRequest.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 aliyunsdkcomputenestsupplier.endpoint import endpoint_data | ||
|
||
class AddServiceSharedAccountsRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'ComputeNestSupplier', '2021-05-21', 'AddServiceSharedAccounts') | ||
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_Type(self): # String | ||
return self.get_query_params().get('Type') | ||
|
||
def set_Type(self, Type): # String | ||
self.add_query_param('Type', Type) | ||
def get_SharedAccountss(self): # RepeatList | ||
return self.get_query_params().get('SharedAccounts') | ||
|
||
def set_SharedAccountss(self, SharedAccounts): # RepeatList | ||
for depth1 in range(len(SharedAccounts)): | ||
if SharedAccounts[depth1].get('UserAliUid') is not None: | ||
self.add_query_param('SharedAccounts.' + str(depth1 + 1) + '.UserAliUid', SharedAccounts[depth1].get('UserAliUid')) | ||
if SharedAccounts[depth1].get('Permission') is not None: | ||
self.add_query_param('SharedAccounts.' + str(depth1 + 1) + '.Permission', SharedAccounts[depth1].get('Permission')) | ||
def get_ServiceId(self): # String | ||
return self.get_query_params().get('ServiceId') | ||
|
||
def set_ServiceId(self, ServiceId): # String | ||
self.add_query_param('ServiceId', ServiceId) |
53 changes: 53 additions & 0 deletions
53
...er/aliyunsdkcomputenestsupplier/request/v20210521/ContinueDeployServiceInstanceRequest.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,53 @@ | ||
# 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 aliyunsdkcomputenestsupplier.endpoint import endpoint_data | ||
|
||
class ContinueDeployServiceInstanceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'ComputeNestSupplier', '2021-05-21', 'ContinueDeployServiceInstance') | ||
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_ServiceInstanceId(self): # String | ||
return self.get_query_params().get('ServiceInstanceId') | ||
|
||
def set_ServiceInstanceId(self, ServiceInstanceId): # String | ||
self.add_query_param('ServiceInstanceId', ServiceInstanceId) | ||
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_Parameters(self): # String | ||
return self.get_query_params().get('Parameters') | ||
|
||
def set_Parameters(self, Parameters): # String | ||
self.add_query_param('Parameters', Parameters) |
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
97 changes: 97 additions & 0 deletions
97
...stsupplier/aliyunsdkcomputenestsupplier/request/v20210521/CreateServiceInstanceRequest.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,97 @@ | ||
# 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 aliyunsdkcomputenestsupplier.endpoint import endpoint_data | ||
|
||
class CreateServiceInstanceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'ComputeNestSupplier', '2021-05-21', 'CreateServiceInstance') | ||
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_UserId(self): # String | ||
return self.get_query_params().get('UserId') | ||
|
||
def set_UserId(self, UserId): # String | ||
self.add_query_param('UserId', UserId) | ||
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_TemplateName(self): # String | ||
return self.get_query_params().get('TemplateName') | ||
|
||
def set_TemplateName(self, TemplateName): # String | ||
self.add_query_param('TemplateName', TemplateName) | ||
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('Value') is not None: | ||
self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value')) | ||
if Tag[depth1].get('Key') is not None: | ||
self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key')) | ||
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_EndTime(self): # String | ||
return self.get_query_params().get('EndTime') | ||
|
||
def set_EndTime(self, EndTime): # String | ||
self.add_query_param('EndTime', EndTime) | ||
def get_SpecificationName(self): # String | ||
return self.get_query_params().get('SpecificationName') | ||
|
||
def set_SpecificationName(self, SpecificationName): # String | ||
self.add_query_param('SpecificationName', SpecificationName) | ||
def get_Name(self): # String | ||
return self.get_query_params().get('Name') | ||
|
||
def set_Name(self, Name): # String | ||
self.add_query_param('Name', Name) | ||
def get_ServiceVersion(self): # String | ||
return self.get_query_params().get('ServiceVersion') | ||
|
||
def set_ServiceVersion(self, ServiceVersion): # String | ||
self.add_query_param('ServiceVersion', ServiceVersion) | ||
def get_ServiceId(self): # String | ||
return self.get_query_params().get('ServiceId') | ||
|
||
def set_ServiceId(self, ServiceId): # String | ||
self.add_query_param('ServiceId', ServiceId) | ||
def get_Parameters(self): # String | ||
return self.get_query_params().get('Parameters') | ||
|
||
def set_Parameters(self, Parameters): # String | ||
self.add_query_param('Parameters', Parameters) |
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.