Skip to content

Commit d1222d1

Browse files
committed
Add Api ReadSchedulerxDesignateDetail.
1 parent 9043087 commit d1222d1

13 files changed

+301
-13
lines changed

aliyun-python-sdk-schedulerx2/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-05-13 Version: 1.1.14
2+
- Add Api ReadSchedulerxDesignateDetail.
3+
14
2024-06-25 Version: 1.1.13
25
- Create AppGroup Support Set AppVersion.
36
- Update AppGroup Support Set AppVersion.

aliyun-python-sdk-schedulerx2/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy
88

99
This module works on Python versions:
1010

11-
2.6.5 and greater
11+
3.7 and greater
1212

1313
**Documentation:**
1414

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.13'
1+
__version__ = '1.1.14'

aliyun-python-sdk-schedulerx2/aliyunsdkschedulerx2/request/v20190430/CreateJobRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ def get_DispatcherSize(self): # Integer
6666

6767
def set_DispatcherSize(self, DispatcherSize): # Integer
6868
self.add_body_params('DispatcherSize', DispatcherSize)
69+
def get_Priority(self): # Integer
70+
return self.get_query_params().get('Priority')
71+
72+
def set_Priority(self, Priority): # Integer
73+
self.add_query_param('Priority', Priority)
6974
def get_JobType(self): # String
7075
return self.get_body_params().get('JobType')
7176

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkschedulerx2.endpoint import endpoint_data
22+
23+
class DeleteNamespaceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'schedulerx2', '2019-04-30', 'DeleteNamespace','schedulerx2')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_Namespace(self): # String
36+
return self.get_query_params().get('Namespace')
37+
38+
def set_Namespace(self, Namespace): # String
39+
self.add_query_param('Namespace', Namespace)

aliyun-python-sdk-schedulerx2/aliyunsdkschedulerx2/request/v20190430/GrantPermissionRequest.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ def get_NamespaceSource(self): # String
3636

3737
def set_NamespaceSource(self, NamespaceSource): # String
3838
self.add_query_param('NamespaceSource', NamespaceSource)
39-
def get_GroupId(self): # String
40-
return self.get_query_params().get('GroupId')
41-
42-
def set_GroupId(self, GroupId): # String
43-
self.add_query_param('GroupId', GroupId)
4439
def get_UserId(self): # String
4540
return self.get_query_params().get('UserId')
4641

@@ -51,6 +46,11 @@ def get_GrantOption(self): # Boolean
5146

5247
def set_GrantOption(self, GrantOption): # Boolean
5348
self.add_query_param('GrantOption', GrantOption)
49+
def get_GroupId(self): # String
50+
return self.get_query_params().get('GroupId')
51+
52+
def set_GroupId(self, GroupId): # String
53+
self.add_query_param('GroupId', GroupId)
5454
def get_Namespace(self): # String
5555
return self.get_query_params().get('Namespace')
5656

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkschedulerx2.endpoint import endpoint_data
22+
23+
class ListJobScriptHistoryRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'schedulerx2', '2019-04-30', 'ListJobScriptHistory','schedulerx2')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_NamespaceSource(self): # String
36+
return self.get_query_params().get('NamespaceSource')
37+
38+
def set_NamespaceSource(self, NamespaceSource): # String
39+
self.add_query_param('NamespaceSource', NamespaceSource)
40+
def get_GroupId(self): # String
41+
return self.get_query_params().get('GroupId')
42+
43+
def set_GroupId(self, GroupId): # String
44+
self.add_query_param('GroupId', GroupId)
45+
def get_JobId(self): # Long
46+
return self.get_query_params().get('JobId')
47+
48+
def set_JobId(self, JobId): # Long
49+
self.add_query_param('JobId', JobId)
50+
def get_Namespace(self): # String
51+
return self.get_query_params().get('Namespace')
52+
53+
def set_Namespace(self, Namespace): # String
54+
self.add_query_param('Namespace', Namespace)
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkschedulerx2.endpoint import endpoint_data
22+
23+
class ReadSchedulerxDesignateDetailRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'schedulerx2', '2019-04-30', 'ReadSchedulerxDesignateDetail','schedulerx2')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_NamespaceSource(self): # String
36+
return self.get_query_params().get('NamespaceSource')
37+
38+
def set_NamespaceSource(self, NamespaceSource): # String
39+
self.add_query_param('NamespaceSource', NamespaceSource)
40+
def get_GroupId(self): # String
41+
return self.get_query_params().get('GroupId')
42+
43+
def set_GroupId(self, GroupId): # String
44+
self.add_query_param('GroupId', GroupId)
45+
def get_DesignateType(self): # Integer
46+
return self.get_query_params().get('DesignateType')
47+
48+
def set_DesignateType(self, DesignateType): # Integer
49+
self.add_query_param('DesignateType', DesignateType)
50+
def get_JobId(self): # Long
51+
return self.get_query_params().get('JobId')
52+
53+
def set_JobId(self, JobId): # Long
54+
self.add_query_param('JobId', JobId)
55+
def get_Namespace(self): # String
56+
return self.get_query_params().get('Namespace')
57+
58+
def set_Namespace(self, Namespace): # String
59+
self.add_query_param('Namespace', Namespace)

aliyun-python-sdk-schedulerx2/aliyunsdkschedulerx2/request/v20190430/UpdateAppGroupRequest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ def get_Description(self): # String
3636

3737
def set_Description(self, Description): # String
3838
self.add_query_param('Description', Description)
39+
def get_MonitorContactsJson(self): # String
40+
return self.get_query_params().get('MonitorContactsJson')
41+
42+
def set_MonitorContactsJson(self, MonitorContactsJson): # String
43+
self.add_query_param('MonitorContactsJson', MonitorContactsJson)
3944
def get_GroupId(self): # String
4045
return self.get_query_params().get('GroupId')
4146

@@ -46,6 +51,11 @@ def get_AppVersion(self): # Integer
4651

4752
def set_AppVersion(self, AppVersion): # Integer
4853
self.add_query_param('AppVersion', AppVersion)
54+
def get_MonitorConfigJson(self): # String
55+
return self.get_query_params().get('MonitorConfigJson')
56+
57+
def set_MonitorConfigJson(self, MonitorConfigJson): # String
58+
self.add_query_param('MonitorConfigJson', MonitorConfigJson)
4959
def get_Namespace(self): # String
5060
return self.get_query_params().get('Namespace')
5161

aliyun-python-sdk-schedulerx2/aliyunsdkschedulerx2/request/v20190430/UpdateJobRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ def get_DispatcherSize(self): # Integer
7171

7272
def set_DispatcherSize(self, DispatcherSize): # Integer
7373
self.add_body_params('DispatcherSize', DispatcherSize)
74+
def get_Priority(self): # Integer
75+
return self.get_query_params().get('Priority')
76+
77+
def set_Priority(self, Priority): # Integer
78+
self.add_query_param('Priority', Priority)
7479
def get_TaskAttemptInterval(self): # Integer
7580
return self.get_body_params().get('TaskAttemptInterval')
7681

0 commit comments

Comments
 (0)