Skip to content

Commit 7f91ff3

Browse files
release 3.1.175 source code
1 parent 61b05df commit 7f91ff3

File tree

989 files changed

+69413
-3724
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

989 files changed

+69413
-3724
lines changed

CHANGELOG.md

Lines changed: 593 additions & 0 deletions
Large diffs are not rendered by default.

CHANGELOG_CN.md

Lines changed: 593 additions & 0 deletions
Large diffs are not rendered by default.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1.174
1+
3.1.175

huaweicloud-sdk-aad/huaweicloudsdkaad/v1/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@
9090
from huaweicloudsdkaad.v1.model.show_alarm_config_response import ShowAlarmConfigResponse
9191
from huaweicloudsdkaad.v1.model.show_block_statistics_request import ShowBlockStatisticsRequest
9292
from huaweicloudsdkaad.v1.model.show_block_statistics_response import ShowBlockStatisticsResponse
93+
from huaweicloudsdkaad.v1.model.show_lts_config_request import ShowLtsConfigRequest
94+
from huaweicloudsdkaad.v1.model.show_lts_config_response import ShowLtsConfigResponse
9395
from huaweicloudsdkaad.v1.model.show_policy_request import ShowPolicyRequest
9496
from huaweicloudsdkaad.v1.model.show_policy_response import ShowPolicyResponse
9597
from huaweicloudsdkaad.v1.model.show_unblock_record_request import ShowUnblockRecordRequest
@@ -103,6 +105,10 @@
103105
from huaweicloudsdkaad.v1.model.update_domain_response import UpdateDomainResponse
104106
from huaweicloudsdkaad.v1.model.update_instance_ip_rule_request import UpdateInstanceIpRuleRequest
105107
from huaweicloudsdkaad.v1.model.update_instance_ip_rule_response import UpdateInstanceIpRuleResponse
108+
from huaweicloudsdkaad.v1.model.update_lts_config_request import UpdateLtsConfigRequest
109+
from huaweicloudsdkaad.v1.model.update_lts_config_request_body import UpdateLtsConfigRequestBody
110+
from huaweicloudsdkaad.v1.model.update_lts_config_request_body_lts_id_info import UpdateLtsConfigRequestBodyLtsIdInfo
111+
from huaweicloudsdkaad.v1.model.update_lts_config_response import UpdateLtsConfigResponse
106112
from huaweicloudsdkaad.v1.model.update_package_ip_request import UpdatePackageIpRequest
107113
from huaweicloudsdkaad.v1.model.update_package_ip_request_body import UpdatePackageIpRequestBody
108114
from huaweicloudsdkaad.v1.model.update_package_ip_response import UpdatePackageIpResponse

huaweicloud-sdk-aad/huaweicloudsdkaad/v1/aad_async_client.py

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,6 +1822,71 @@ def _show_alarm_config_http_info(self, request):
18221822

18231823
return http_info
18241824

1825+
def show_lts_config_async(self, request):
1826+
r"""查询日志配置
1827+
1828+
查询日志配置
1829+
1830+
Please refer to HUAWEI cloud API Explorer for details.
1831+
1832+
1833+
:param request: Request instance for ShowLtsConfig
1834+
:type request: :class:`huaweicloudsdkaad.v1.ShowLtsConfigRequest`
1835+
:rtype: :class:`huaweicloudsdkaad.v1.ShowLtsConfigResponse`
1836+
"""
1837+
http_info = self._show_lts_config_http_info(request)
1838+
return self._call_api(**http_info)
1839+
1840+
def show_lts_config_async_invoker(self, request):
1841+
http_info = self._show_lts_config_http_info(request)
1842+
return AsyncInvoker(self, http_info)
1843+
1844+
def _show_lts_config_http_info(self, request):
1845+
http_info = {
1846+
"method": "GET",
1847+
"resource_path": "/v1/cnad/config/lts",
1848+
"request_type": request.__class__.__name__,
1849+
"response_type": "ShowLtsConfigResponse"
1850+
}
1851+
1852+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1853+
1854+
cname = None
1855+
1856+
collection_formats = {}
1857+
1858+
path_params = {}
1859+
1860+
query_params = []
1861+
if 'enterprise_project_id' in local_var_params:
1862+
query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
1863+
1864+
header_params = {}
1865+
1866+
form_params = {}
1867+
1868+
body = None
1869+
if isinstance(request, SdkStreamRequest):
1870+
body = request.get_file_stream()
1871+
1872+
response_headers = []
1873+
1874+
header_params['Content-Type'] = http_utils.select_header_content_type(
1875+
['application/json'])
1876+
1877+
auth_settings = []
1878+
1879+
http_info["cname"] = cname
1880+
http_info["collection_formats"] = collection_formats
1881+
http_info["path_params"] = path_params
1882+
http_info["query_params"] = query_params
1883+
http_info["header_params"] = header_params
1884+
http_info["post_params"] = form_params
1885+
http_info["body"] = body
1886+
http_info["response_headers"] = response_headers
1887+
1888+
return http_info
1889+
18251890
def show_policy_async(self, request):
18261891
r"""查询策略详情
18271892
@@ -2090,6 +2155,73 @@ def _update_instance_ip_rule_http_info(self, request):
20902155

20912156
return http_info
20922157

2158+
def update_lts_config_async(self, request):
2159+
r"""设置日志配置
2160+
2161+
设置日志配置
2162+
2163+
Please refer to HUAWEI cloud API Explorer for details.
2164+
2165+
2166+
:param request: Request instance for UpdateLtsConfig
2167+
:type request: :class:`huaweicloudsdkaad.v1.UpdateLtsConfigRequest`
2168+
:rtype: :class:`huaweicloudsdkaad.v1.UpdateLtsConfigResponse`
2169+
"""
2170+
http_info = self._update_lts_config_http_info(request)
2171+
return self._call_api(**http_info)
2172+
2173+
def update_lts_config_async_invoker(self, request):
2174+
http_info = self._update_lts_config_http_info(request)
2175+
return AsyncInvoker(self, http_info)
2176+
2177+
def _update_lts_config_http_info(self, request):
2178+
http_info = {
2179+
"method": "PUT",
2180+
"resource_path": "/v1/cnad/config/lts",
2181+
"request_type": request.__class__.__name__,
2182+
"response_type": "UpdateLtsConfigResponse"
2183+
}
2184+
2185+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2186+
2187+
cname = None
2188+
2189+
collection_formats = {}
2190+
2191+
path_params = {}
2192+
2193+
query_params = []
2194+
if 'enterprise_project_id' in local_var_params:
2195+
query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
2196+
2197+
header_params = {}
2198+
2199+
form_params = {}
2200+
2201+
body = None
2202+
if 'body' in local_var_params:
2203+
body = local_var_params['body']
2204+
if isinstance(request, SdkStreamRequest):
2205+
body = request.get_file_stream()
2206+
2207+
response_headers = []
2208+
2209+
header_params['Content-Type'] = http_utils.select_header_content_type(
2210+
['application/json'])
2211+
2212+
auth_settings = []
2213+
2214+
http_info["cname"] = cname
2215+
http_info["collection_formats"] = collection_formats
2216+
http_info["path_params"] = path_params
2217+
http_info["query_params"] = query_params
2218+
http_info["header_params"] = header_params
2219+
http_info["post_params"] = form_params
2220+
http_info["body"] = body
2221+
http_info["response_headers"] = response_headers
2222+
2223+
return http_info
2224+
20932225
def update_package_ip_async(self, request):
20942226
r"""更新实例绑定的全量防护对象
20952227

huaweicloud-sdk-aad/huaweicloudsdkaad/v1/aad_client.py

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,6 +1822,71 @@ def _show_alarm_config_http_info(cls, request):
18221822

18231823
return http_info
18241824

1825+
def show_lts_config(self, request):
1826+
r"""查询日志配置
1827+
1828+
查询日志配置
1829+
1830+
Please refer to HUAWEI cloud API Explorer for details.
1831+
1832+
:param request: Request instance for ShowLtsConfig
1833+
:type request: :class:`huaweicloudsdkaad.v1.ShowLtsConfigRequest`
1834+
:rtype: :class:`huaweicloudsdkaad.v1.ShowLtsConfigResponse`
1835+
"""
1836+
http_info = self._show_lts_config_http_info(request)
1837+
return self._call_api(**http_info)
1838+
1839+
def show_lts_config_invoker(self, request):
1840+
http_info = self._show_lts_config_http_info(request)
1841+
return SyncInvoker(self, http_info)
1842+
1843+
@classmethod
1844+
def _show_lts_config_http_info(cls, request):
1845+
http_info = {
1846+
"method": "GET",
1847+
"resource_path": "/v1/cnad/config/lts",
1848+
"request_type": request.__class__.__name__,
1849+
"response_type": "ShowLtsConfigResponse"
1850+
}
1851+
1852+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
1853+
1854+
cname = None
1855+
1856+
collection_formats = {}
1857+
1858+
path_params = {}
1859+
1860+
query_params = []
1861+
if 'enterprise_project_id' in local_var_params:
1862+
query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
1863+
1864+
header_params = {}
1865+
1866+
form_params = {}
1867+
1868+
body = None
1869+
if isinstance(request, SdkStreamRequest):
1870+
body = request.get_file_stream()
1871+
1872+
response_headers = []
1873+
1874+
header_params['Content-Type'] = http_utils.select_header_content_type(
1875+
['application/json'])
1876+
1877+
auth_settings = []
1878+
1879+
http_info["cname"] = cname
1880+
http_info["collection_formats"] = collection_formats
1881+
http_info["path_params"] = path_params
1882+
http_info["query_params"] = query_params
1883+
http_info["header_params"] = header_params
1884+
http_info["post_params"] = form_params
1885+
http_info["body"] = body
1886+
http_info["response_headers"] = response_headers
1887+
1888+
return http_info
1889+
18251890
def show_policy(self, request):
18261891
r"""查询策略详情
18271892
@@ -2090,6 +2155,73 @@ def _update_instance_ip_rule_http_info(cls, request):
20902155

20912156
return http_info
20922157

2158+
def update_lts_config(self, request):
2159+
r"""设置日志配置
2160+
2161+
设置日志配置
2162+
2163+
Please refer to HUAWEI cloud API Explorer for details.
2164+
2165+
:param request: Request instance for UpdateLtsConfig
2166+
:type request: :class:`huaweicloudsdkaad.v1.UpdateLtsConfigRequest`
2167+
:rtype: :class:`huaweicloudsdkaad.v1.UpdateLtsConfigResponse`
2168+
"""
2169+
http_info = self._update_lts_config_http_info(request)
2170+
return self._call_api(**http_info)
2171+
2172+
def update_lts_config_invoker(self, request):
2173+
http_info = self._update_lts_config_http_info(request)
2174+
return SyncInvoker(self, http_info)
2175+
2176+
@classmethod
2177+
def _update_lts_config_http_info(cls, request):
2178+
http_info = {
2179+
"method": "PUT",
2180+
"resource_path": "/v1/cnad/config/lts",
2181+
"request_type": request.__class__.__name__,
2182+
"response_type": "UpdateLtsConfigResponse"
2183+
}
2184+
2185+
local_var_params = {attr: getattr(request, attr) for attr in request.attribute_map if hasattr(request, attr)}
2186+
2187+
cname = None
2188+
2189+
collection_formats = {}
2190+
2191+
path_params = {}
2192+
2193+
query_params = []
2194+
if 'enterprise_project_id' in local_var_params:
2195+
query_params.append(('enterprise_project_id', local_var_params['enterprise_project_id']))
2196+
2197+
header_params = {}
2198+
2199+
form_params = {}
2200+
2201+
body = None
2202+
if 'body' in local_var_params:
2203+
body = local_var_params['body']
2204+
if isinstance(request, SdkStreamRequest):
2205+
body = request.get_file_stream()
2206+
2207+
response_headers = []
2208+
2209+
header_params['Content-Type'] = http_utils.select_header_content_type(
2210+
['application/json'])
2211+
2212+
auth_settings = []
2213+
2214+
http_info["cname"] = cname
2215+
http_info["collection_formats"] = collection_formats
2216+
http_info["path_params"] = path_params
2217+
http_info["query_params"] = query_params
2218+
http_info["header_params"] = header_params
2219+
http_info["post_params"] = form_params
2220+
http_info["body"] = body
2221+
http_info["response_headers"] = response_headers
2222+
2223+
return http_info
2224+
20932225
def update_package_ip(self, request):
20942226
r"""更新实例绑定的全量防护对象
20952227

huaweicloud-sdk-aad/huaweicloudsdkaad/v1/model/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@
8888
from huaweicloudsdkaad.v1.model.show_alarm_config_response import ShowAlarmConfigResponse
8989
from huaweicloudsdkaad.v1.model.show_block_statistics_request import ShowBlockStatisticsRequest
9090
from huaweicloudsdkaad.v1.model.show_block_statistics_response import ShowBlockStatisticsResponse
91+
from huaweicloudsdkaad.v1.model.show_lts_config_request import ShowLtsConfigRequest
92+
from huaweicloudsdkaad.v1.model.show_lts_config_response import ShowLtsConfigResponse
9193
from huaweicloudsdkaad.v1.model.show_policy_request import ShowPolicyRequest
9294
from huaweicloudsdkaad.v1.model.show_policy_response import ShowPolicyResponse
9395
from huaweicloudsdkaad.v1.model.show_unblock_record_request import ShowUnblockRecordRequest
@@ -101,6 +103,10 @@
101103
from huaweicloudsdkaad.v1.model.update_domain_response import UpdateDomainResponse
102104
from huaweicloudsdkaad.v1.model.update_instance_ip_rule_request import UpdateInstanceIpRuleRequest
103105
from huaweicloudsdkaad.v1.model.update_instance_ip_rule_response import UpdateInstanceIpRuleResponse
106+
from huaweicloudsdkaad.v1.model.update_lts_config_request import UpdateLtsConfigRequest
107+
from huaweicloudsdkaad.v1.model.update_lts_config_request_body import UpdateLtsConfigRequestBody
108+
from huaweicloudsdkaad.v1.model.update_lts_config_request_body_lts_id_info import UpdateLtsConfigRequestBodyLtsIdInfo
109+
from huaweicloudsdkaad.v1.model.update_lts_config_response import UpdateLtsConfigResponse
104110
from huaweicloudsdkaad.v1.model.update_package_ip_request import UpdatePackageIpRequest
105111
from huaweicloudsdkaad.v1.model.update_package_ip_request_body import UpdatePackageIpRequestBody
106112
from huaweicloudsdkaad.v1.model.update_package_ip_response import UpdatePackageIpResponse

0 commit comments

Comments
 (0)