Skip to content

Commit

Permalink
Generated 2022-12-01 for ResourceCenter.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 8, 2024
1 parent 7de4427 commit 50c32de
Show file tree
Hide file tree
Showing 19 changed files with 553 additions and 16 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-resourcecenter/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-10-08 Version: 1.0.4
- Generated 2022-12-01 for `ResourceCenter`.

2023-06-09 Version: 1.0.3
- Supported GetResourceCounts API.

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.3'
__version__ = '1.0.4'
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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

class AssociateDefaultFilterRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'AssociateDefaultFilter')
self.set_method('POST')

def get_FilterName(self): # String
return self.get_query_params().get('FilterName')

def set_FilterName(self, FilterName): # String
self.add_query_param('FilterName', FilterName)
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# 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

class CreateFilterRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'CreateFilter')
self.set_method('POST')

def get_FilterName(self): # String
return self.get_query_params().get('FilterName')

def set_FilterName(self, FilterName): # String
self.add_query_param('FilterName', FilterName)
def get_FilterConfiguration(self): # String
return self.get_query_params().get('FilterConfiguration')

def set_FilterConfiguration(self, FilterConfiguration): # String
self.add_query_param('FilterConfiguration', FilterConfiguration)
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 RpcRequest

class CreateSavedQueryRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'CreateSavedQuery')
self.set_protocol_type('https')
self.set_method('POST')

def get_Expression(self): # String
return self.get_query_params().get('Expression')

def set_Expression(self, Expression): # String
self.add_query_param('Expression', Expression)
def get_Description(self): # String
return self.get_query_params().get('Description')

def set_Description(self, Description): # String
self.add_query_param('Description', Description)
def get_Name(self): # String
return self.get_query_params().get('Name')

def set_Name(self, Name): # String
self.add_query_param('Name', Name)
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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

class DeleteFilterRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'DeleteFilter')
self.set_method('POST')

def get_FilterName(self): # String
return self.get_query_params().get('FilterName')

def set_FilterName(self, FilterName): # String
self.add_query_param('FilterName', FilterName)
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 RpcRequest

class DeleteSavedQueryRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'DeleteSavedQuery')
self.set_protocol_type('https')
self.set_method('POST')

def get_QueryId(self): # String
return self.get_query_params().get('QueryId')

def set_QueryId(self, QueryId): # String
self.add_query_param('QueryId', QueryId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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

class DisassociateDefaultFilterRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'DisassociateDefaultFilter')
self.set_method('POST')

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 RpcRequest

class ExecuteMultiAccountSQLQueryRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'ExecuteMultiAccountSQLQuery')
self.set_protocol_type('https')
self.set_method('POST')

def get_Expression(self): # String
return self.get_query_params().get('Expression')

def set_Expression(self, Expression): # String
self.add_query_param('Expression', Expression)
def get_Scope(self): # String
return self.get_query_params().get('Scope')

def set_Scope(self, Scope): # String
self.add_query_param('Scope', Scope)
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 RpcRequest

class ExecuteSQLQueryRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'ExecuteSQLQuery')
self.set_protocol_type('https')
self.set_method('POST')

def get_Expression(self): # String
return self.get_query_params().get('Expression')

def set_Expression(self, Expression): # String
self.add_query_param('Expression', Expression)
def get_Scope(self): # String
return self.get_query_params().get('Scope')

def set_Scope(self, Scope): # String
self.add_query_param('Scope', Scope)
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 RpcRequest

class GetExampleQueryRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'GetExampleQuery')
self.set_protocol_type('https')
self.set_method('POST')

def get_QueryId(self): # String
return self.get_query_params().get('QueryId')

def set_QueryId(self, QueryId): # String
self.add_query_param('QueryId', QueryId)
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'GetMultiAccountResourceConfiguration')
self.set_method('POST')

def get_ResourceId(self): # String
return self.get_query_params().get('ResourceId')

def set_ResourceId(self, ResourceId): # String
self.add_query_param('ResourceId', ResourceId)
def get_ResourceType(self): # String
return self.get_query_params().get('ResourceType')

def set_ResourceType(self, ResourceType): # String
self.add_query_param('ResourceType', ResourceType)
def get_AccountId(self): # String
return self.get_query_params().get('AccountId')

Expand All @@ -45,3 +35,13 @@ def get_ResourceRegionId(self): # String

def set_ResourceRegionId(self, ResourceRegionId): # String
self.add_query_param('ResourceRegionId', ResourceRegionId)
def get_ResourceId(self): # String
return self.get_query_params().get('ResourceId')

def set_ResourceId(self, ResourceId): # String
self.add_query_param('ResourceId', ResourceId)
def get_ResourceType(self): # String
return self.get_query_params().get('ResourceType')

def set_ResourceType(self, ResourceType): # String
self.add_query_param('ResourceType', ResourceType)
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 RpcRequest

class GetSavedQueryRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'ResourceCenter', '2022-12-01', 'GetSavedQuery')
self.set_protocol_type('https')
self.set_method('POST')

def get_QueryId(self): # String
return self.get_query_params().get('QueryId')

def set_QueryId(self, QueryId): # String
self.add_query_param('QueryId', QueryId)
Loading

0 comments on commit 50c32de

Please sign in to comment.