-
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
22 changed files
with
612 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
2024-11-22 Version: 1.0.0 | ||
- Generated 2021-11-11 for `qianzhou`. | ||
|
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,13 @@ | ||
Copyright 1999-present Alibaba Group Holding Ltd. | ||
|
||
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. |
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 @@ | ||
include LICENSE README.rst ChangeLog.txt |
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,15 @@ | ||
============================================================= | ||
aliyun-python-sdk-qianzhou | ||
============================================================= | ||
|
||
.. This is the qianzhou module of Aliyun Python SDK. | ||
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services. | ||
|
||
This module works on Python versions: | ||
|
||
3.7 and greater | ||
|
||
**Documentation:** | ||
|
||
Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_ |
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 @@ | ||
__version__ = '1.0.0' |
Empty file.
39 changes: 39 additions & 0 deletions
39
...-python-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/AICreateSessionMessageRequest.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,39 @@ | ||
# 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 RoaRequest | ||
import json | ||
|
||
class AICreateSessionMessageRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'AICreateSessionMessage') | ||
self.set_uri_pattern('/popapi/AICreateSessionMessage') | ||
self.set_method('POST') | ||
|
||
def get_employee_id(self): # String | ||
return self.get_query_params().get('employee_id') | ||
|
||
def set_employee_id(self, employee_id): # String | ||
self.add_query_param('employee_id', employee_id) | ||
def get_body(self): # Struct | ||
return self.get_body_params().get('body') | ||
|
||
def set_body(self, body): # Struct | ||
self.add_body_params("body", json.dumps(body)) |
43 changes: 43 additions & 0 deletions
43
aliyun-python-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/CreateDiagnosisRequest.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,43 @@ | ||
# 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 RoaRequest | ||
|
||
class CreateDiagnosisRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'CreateDiagnosis') | ||
self.set_uri_pattern('/popapi/createDiagnosis') | ||
self.set_method('POST') | ||
|
||
def get_diagnosisType(self): # String | ||
return self.get_query_params().get('diagnosisType') | ||
|
||
def set_diagnosisType(self, diagnosisType): # String | ||
self.add_query_param('diagnosisType', diagnosisType) | ||
def get_clusterID(self): # String | ||
return self.get_query_params().get('clusterID') | ||
|
||
def set_clusterID(self, clusterID): # String | ||
self.add_query_param('clusterID', clusterID) | ||
def get_body(self): # String | ||
return self.get_body_params().get('body') | ||
|
||
def set_body(self, body): # String | ||
self.add_body_params('body', body) |
33 changes: 33 additions & 0 deletions
33
aliyun-python-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/GetClusterRequest.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,33 @@ | ||
# 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 RoaRequest | ||
|
||
class GetClusterRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'GetCluster') | ||
self.set_uri_pattern('/popapi/getCluster') | ||
self.set_method('GET') | ||
|
||
def get_clusterID(self): # String | ||
return self.get_query_params().get('clusterID') | ||
|
||
def set_clusterID(self, clusterID): # String | ||
self.add_query_param('clusterID', clusterID) |
33 changes: 33 additions & 0 deletions
33
aliyun-python-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/GetClusterWarningRequest.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,33 @@ | ||
# 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 RoaRequest | ||
|
||
class GetClusterWarningRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'GetClusterWarning') | ||
self.set_uri_pattern('/popapi/getKeyClusterWarningList') | ||
self.set_method('GET') | ||
|
||
def get_clusterID(self): # String | ||
return self.get_query_params().get('clusterID') | ||
|
||
def set_clusterID(self, clusterID): # String | ||
self.add_query_param('clusterID', clusterID) |
38 changes: 38 additions & 0 deletions
38
aliyun-python-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/GetDiagnosisResultRequest.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,38 @@ | ||
# 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 RoaRequest | ||
|
||
class GetDiagnosisResultRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'GetDiagnosisResult') | ||
self.set_uri_pattern('/popapi/GetDiagnosisResult') | ||
self.set_method('GET') | ||
|
||
def get_diagnosisId(self): # String | ||
return self.get_query_params().get('diagnosisId') | ||
|
||
def set_diagnosisId(self, diagnosisId): # String | ||
self.add_query_param('diagnosisId', diagnosisId) | ||
def get_ownerUid(self): # String | ||
return self.get_query_params().get('ownerUid') | ||
|
||
def set_ownerUid(self, ownerUid): # String | ||
self.add_query_param('ownerUid', ownerUid) |
33 changes: 33 additions & 0 deletions
33
...n-python-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/GetUserClusterWarningRequest.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,33 @@ | ||
# 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 RoaRequest | ||
|
||
class GetUserClusterWarningRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'GetUserClusterWarning') | ||
self.set_uri_pattern('/popapi/listUserKeyClusters') | ||
self.set_method('GET') | ||
|
||
def get_userID(self): # String | ||
return self.get_query_params().get('userID') | ||
|
||
def set_userID(self, userID): # String | ||
self.add_query_param('userID', userID) |
28 changes: 28 additions & 0 deletions
28
aliyun-python-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/GetWebshellTokenRequest.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,28 @@ | ||
# 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 RoaRequest | ||
|
||
class GetWebshellTokenRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'GetWebshellToken') | ||
self.set_uri_pattern('/popapi/getChorusToken') | ||
self.set_method('GET') | ||
|
34 changes: 34 additions & 0 deletions
34
aliyun-python-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/HelloRequest.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,34 @@ | ||
# 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 RoaRequest | ||
|
||
class HelloRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'Hello') | ||
self.set_protocol_type('https') | ||
self.set_uri_pattern('/popapi/hello') | ||
self.set_method('GET') | ||
|
||
def get_user(self): # String | ||
return self.get_query_params().get('user') | ||
|
||
def set_user(self, user): # String | ||
self.add_query_param('user', user) |
48 changes: 48 additions & 0 deletions
48
...ython-sdk-qianzhou/aliyunsdkqianzhou/request/v20211111/ListClusterDeprecatedAPIRequest.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,48 @@ | ||
# 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 RoaRequest | ||
|
||
class ListClusterDeprecatedAPIRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'qianzhou', '2021-11-11', 'ListClusterDeprecatedAPI') | ||
self.set_uri_pattern('/popapi/listDeprecatedK8sAPI') | ||
self.set_method('POST') | ||
|
||
def get_cluster_id(self): # String | ||
return self.get_query_params().get('cluster_id') | ||
|
||
def set_cluster_id(self, cluster_id): # String | ||
self.add_query_param('cluster_id', cluster_id) | ||
def get_page_no(self): # Integer | ||
return self.get_query_params().get('page_no') | ||
|
||
def set_page_no(self, page_no): # Integer | ||
self.add_query_param('page_no', page_no) | ||
def get_target_version(self): # String | ||
return self.get_query_params().get('target_version') | ||
|
||
def set_target_version(self, target_version): # String | ||
self.add_query_param('target_version', target_version) | ||
def get_page_size(self): # Integer | ||
return self.get_query_params().get('page_size') | ||
|
||
def set_page_size(self, page_size): # Integer | ||
self.add_query_param('page_size', page_size) |
Oops, something went wrong.