sap-ai-sdk-core 2.9.9__py3-none-any.whl → 3.0.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ai_core_sdk/ai_core_v2_client.py +157 -0
- ai_core_sdk/cli.py +172 -0
- ai_core_sdk/credentials.py +196 -0
- ai_core_sdk/exception.py +11 -0
- ai_core_sdk/helpers/__init__.py +39 -0
- ai_core_sdk/helpers/constants.py +18 -0
- ai_core_sdk/helpers/logging.py +23 -0
- ai_core_sdk/models/__init__.py +33 -0
- ai_core_sdk/models/application.py +37 -0
- ai_core_sdk/models/application_query_response.py +30 -0
- ai_core_sdk/models/application_resource_sync_status.py +34 -0
- ai_core_sdk/models/application_source.py +34 -0
- ai_core_sdk/models/application_status.py +66 -0
- ai_core_sdk/models/base_models.py +62 -0
- ai_core_sdk/models/docker_registry_secret.py +23 -0
- ai_core_sdk/models/docker_registry_secret_query_response.py +30 -0
- ai_core_sdk/models/kpi.py +25 -0
- ai_core_sdk/models/object_store_secret.py +32 -0
- ai_core_sdk/models/object_store_secret_query_response.py +30 -0
- ai_core_sdk/models/repository.py +36 -0
- ai_core_sdk/models/repository_query_response.py +30 -0
- ai_core_sdk/models/repository_status.py +9 -0
- ai_core_sdk/models/resource_group.py +50 -0
- ai_core_sdk/models/resource_group_query_response.py +31 -0
- ai_core_sdk/models/resource_group_status.py +9 -0
- ai_core_sdk/models/secret.py +30 -0
- ai_core_sdk/models/secret_query_response.py +30 -0
- ai_core_sdk/resource_clients/__init__.py +13 -0
- ai_core_sdk/resource_clients/applications_client.py +173 -0
- ai_core_sdk/resource_clients/docker_registry_secrets_client.py +117 -0
- ai_core_sdk/resource_clients/internal_rest_client.py +52 -0
- ai_core_sdk/resource_clients/kpi_client.py +26 -0
- ai_core_sdk/resource_clients/metrics_client.py +131 -0
- ai_core_sdk/resource_clients/object_store_secrets_client.py +215 -0
- ai_core_sdk/resource_clients/repositories_client.py +116 -0
- ai_core_sdk/resource_clients/secrets_client.py +148 -0
- ai_core_sdk/tracking/__init__.py +2 -0
- ai_core_sdk/tracking/tracking.py +215 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.ai_core_v2_client.html +127 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.cli.html +59 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.credentials.html +209 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.exception.html +161 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.helpers.constants.html +90 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.helpers.html +52 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.helpers.logging.html +41 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.html +29 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.application.html +79 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.application_query_response.html +86 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.application_resource_sync_status.html +77 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.application_source.html +77 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.application_status.html +90 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.base_models.html +120 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.docker_registry_secret.html +85 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.docker_registry_secret_query_response.html +86 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.html +40 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.kpi.html +73 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.object_store_secret.html +71 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.object_store_secret_query_response.html +86 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.repository.html +77 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.repository_query_response.html +86 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.repository_status.html +69 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.resource_group.html +85 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.resource_group_query_response.html +86 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.resource_group_status.html +69 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.secret.html +76 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.models.secret_query_response.html +86 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.applications_client.html +186 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.docker_registry_secrets_client.html +147 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.html +29 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.internal_rest_client.html +181 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.kpi_client.html +87 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.metrics_client.html +189 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.object_store_secrets_client.html +205 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.repositories_client.html +148 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.resource_groups_client.html +156 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.resource_clients.secrets_client.html +165 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.tracking.html +22 -0
- sap_ai_sdk_core-3.0.8.data/data/docs/ai_core_sdk.tracking.tracking.html +224 -0
- sap_ai_sdk_core-3.0.8.dist-info/METADATA +253 -0
- sap_ai_sdk_core-3.0.8.dist-info/RECORD +84 -0
- {sap_ai_sdk_core-2.9.9.dist-info → sap_ai_sdk_core-3.0.8.dist-info}/WHEEL +1 -1
- sap_ai_sdk_core-3.0.8.dist-info/top_level.txt +1 -0
- sap_ai_sdk_core-2.9.9.dist-info/METADATA +0 -43
- sap_ai_sdk_core-2.9.9.dist-info/RECORD +0 -6
- sap_ai_sdk_core-2.9.9.dist-info/top_level.txt +0 -1
- {sap-ai-sdk-core → ai_core_sdk}/__init__.py +0 -0
- {sap_ai_sdk_core-2.9.9.dist-info/licenses → sap_ai_sdk_core-3.0.8.dist-info}/LICENSE +0 -0
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2
|
+
<html><head><title>Python: module ai_core_sdk.resource_clients.repositories_client</title>
|
|
3
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
4
|
+
</head><body bgcolor="#f0f0f8">
|
|
5
|
+
|
|
6
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
7
|
+
<tr bgcolor="#7799ee">
|
|
8
|
+
<td valign=bottom> <br>
|
|
9
|
+
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ai_core_sdk.html"><font color="#ffffff">ai_core_sdk</font></a>.<a href="ai_core_sdk.resource_clients.html"><font color="#ffffff">resource_clients</font></a>.repositories_client</strong></big></big></font></td
|
|
10
|
+
><td align=right valign=bottom
|
|
11
|
+
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/repositories_client.py">/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/repositories_client.py</a></font></td></tr></table>
|
|
12
|
+
<p></p>
|
|
13
|
+
<p>
|
|
14
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
15
|
+
<tr bgcolor="#ee77aa">
|
|
16
|
+
<td colspan=3 valign=bottom> <br>
|
|
17
|
+
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
|
|
18
|
+
|
|
19
|
+
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
|
|
20
|
+
<td width="100%"><dl>
|
|
21
|
+
<dt><font face="helvetica, arial"><a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>(<a href="builtins.html#object">builtins.object</a>)
|
|
22
|
+
</font></dt><dd>
|
|
23
|
+
<dl>
|
|
24
|
+
<dt><font face="helvetica, arial"><a href="ai_core_sdk.resource_clients.repositories_client.html#RepositoriesClient">RepositoriesClient</a>
|
|
25
|
+
</font></dt></dl>
|
|
26
|
+
</dd>
|
|
27
|
+
</dl>
|
|
28
|
+
<p>
|
|
29
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
30
|
+
<tr bgcolor="#ffc8d8">
|
|
31
|
+
<td colspan=3 valign=bottom> <br>
|
|
32
|
+
<font color="#000000" face="helvetica, arial"><a name="RepositoriesClient">class <strong>RepositoriesClient</strong></a>(<a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>)</font></td></tr>
|
|
33
|
+
|
|
34
|
+
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
35
|
+
<td colspan=2><tt><a href="#RepositoriesClient">RepositoriesClient</a>(rest_client: ai_api_client_sdk.helpers.rest_client.RestClient)<br>
|
|
36
|
+
<br>
|
|
37
|
+
<a href="#RepositoriesClient">RepositoriesClient</a> is a class implemented for interacting with the repositories related<br>
|
|
38
|
+
endpoints of the server. It implements the base class<br>
|
|
39
|
+
:class:`ai_api_client_sdk.resource_clients.base_client.<a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">BaseClient</a>`<br> </tt></td></tr>
|
|
40
|
+
<tr><td> </td>
|
|
41
|
+
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
42
|
+
<dd><a href="ai_core_sdk.resource_clients.repositories_client.html#RepositoriesClient">RepositoriesClient</a></dd>
|
|
43
|
+
<dd><a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a></dd>
|
|
44
|
+
<dd><a href="builtins.html#object">builtins.object</a></dd>
|
|
45
|
+
</dl>
|
|
46
|
+
<hr>
|
|
47
|
+
Methods defined here:<br>
|
|
48
|
+
<dl><dt><a name="RepositoriesClient-create"><strong>create</strong></a>(self, name: str, url: str, username: str, password: str) -> ai_core_sdk.models.base_models.Message</dt><dd><tt>On-boards a new GitOps repository<br>
|
|
49
|
+
<br>
|
|
50
|
+
:param name: name of the GitOps repository<br>
|
|
51
|
+
:type name: str<br>
|
|
52
|
+
:param url: url of the GitOps repository<br>
|
|
53
|
+
:type url: str<br>
|
|
54
|
+
:param username: username to the GitOps repository<br>
|
|
55
|
+
:type username: str<br>
|
|
56
|
+
:param password: password to the GitOps repository<br>
|
|
57
|
+
:type password: str<br>
|
|
58
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
59
|
+
server<br>
|
|
60
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
61
|
+
server<br>
|
|
62
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
63
|
+
server<br>
|
|
64
|
+
:return: An object representing the response from the server<br>
|
|
65
|
+
:rtype: class:`ai_core_sdk.models.base_models.BasicNameResponse`</tt></dd></dl>
|
|
66
|
+
|
|
67
|
+
<dl><dt><a name="RepositoriesClient-delete"><strong>delete</strong></a>(self, name: str) -> ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Off-boards a GitOps repository.<br>
|
|
68
|
+
<br>
|
|
69
|
+
:param name: name of the repository to be deleted<br>
|
|
70
|
+
:type name: str<br>
|
|
71
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
72
|
+
server<br>
|
|
73
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
74
|
+
server<br>
|
|
75
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPINotFoundException` if a 404 response is received from the<br>
|
|
76
|
+
server<br>
|
|
77
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException` if a 412 response is received from<br>
|
|
78
|
+
the server<br>
|
|
79
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
80
|
+
server<br>
|
|
81
|
+
:return: An object representing the response from the server<br>
|
|
82
|
+
:rtype: class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
|
|
83
|
+
|
|
84
|
+
<dl><dt><a name="RepositoriesClient-get"><strong>get</strong></a>(self, name: str) -> ai_core_sdk.models.repository.Repository</dt><dd><tt>Retrieves the access details for a repository if it exists.<br>
|
|
85
|
+
<br>
|
|
86
|
+
:param name: name of the repository to be retrieved<br>
|
|
87
|
+
:type name: str<br>
|
|
88
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
89
|
+
server<br>
|
|
90
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
91
|
+
server<br>
|
|
92
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPINotFoundException` if a 404 response is received from the<br>
|
|
93
|
+
server<br>
|
|
94
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
95
|
+
server<br>
|
|
96
|
+
:return: The access details for a repository<br>
|
|
97
|
+
:rtype: class:`ai_core_client_sdk.models.docker_registry_secret.DockerRegistrySecret`</tt></dd></dl>
|
|
98
|
+
|
|
99
|
+
<dl><dt><a name="RepositoriesClient-modify"><strong>modify</strong></a>(self, name: str, username: str, password: str) -> ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Updates the referenced repository credentials to synchronize repository.<br>
|
|
100
|
+
<br>
|
|
101
|
+
:param name: name of the repository to be modified<br>
|
|
102
|
+
:type name: str<br>
|
|
103
|
+
:param username: username to the repository<br>
|
|
104
|
+
:type username: str<br>
|
|
105
|
+
:param password: password to the repository<br>
|
|
106
|
+
:type password: str<br>
|
|
107
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
108
|
+
server<br>
|
|
109
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
110
|
+
server<br>
|
|
111
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPINotFoundException` if a 404 response is received from the<br>
|
|
112
|
+
server<br>
|
|
113
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException` if a 412 response is received from<br>
|
|
114
|
+
the server<br>
|
|
115
|
+
:return: An object representing the response from the server<br>
|
|
116
|
+
:rtype: class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
|
|
117
|
+
|
|
118
|
+
<dl><dt><a name="RepositoriesClient-query"><strong>query</strong></a>(self) -> ai_core_sdk.models.repository_query_response.RepositoryQueryResponse</dt><dd><tt>Retrieves a list of all GitOps repositories for a tenant.<br>
|
|
119
|
+
<br>
|
|
120
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
121
|
+
server<br>
|
|
122
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
123
|
+
server<br>
|
|
124
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
125
|
+
server<br>
|
|
126
|
+
:return: A list all GitOps repositories for a tenant<br>
|
|
127
|
+
:rtype: class:`ai_core_client_sdk.models.repository_query_response.RepositoryQueryResponse`</tt></dd></dl>
|
|
128
|
+
|
|
129
|
+
<hr>
|
|
130
|
+
Methods inherited from <a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>:<br>
|
|
131
|
+
<dl><dt><a name="RepositoriesClient-__init__"><strong>__init__</strong></a>(self, rest_client: ai_api_client_sdk.helpers.rest_client.RestClient)</dt><dd><tt>Initialize self. See help(type(self)) for accurate signature.</tt></dd></dl>
|
|
132
|
+
|
|
133
|
+
<dl><dt><a name="RepositoriesClient-bulk_modify"><strong>bulk_modify</strong></a>(self, *args, **kwargs)</dt><dd><tt>Modifies multiple instances of the relevant resource. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
134
|
+
|
|
135
|
+
<dl><dt><a name="RepositoriesClient-count"><strong>count</strong></a>(self, *args, **kwargs)</dt><dd><tt>Counts the relevant resources. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
136
|
+
|
|
137
|
+
<dl><dt><a name="RepositoriesClient-query_logs"><strong>query_logs</strong></a>(self, *args, **kwargs)</dt><dd><tt>Queries the relevant logs. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
138
|
+
|
|
139
|
+
<hr>
|
|
140
|
+
Data descriptors inherited from <a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>:<br>
|
|
141
|
+
<dl><dt><strong>__dict__</strong></dt>
|
|
142
|
+
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
143
|
+
</dl>
|
|
144
|
+
<dl><dt><strong>__weakref__</strong></dt>
|
|
145
|
+
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
146
|
+
</dl>
|
|
147
|
+
</td></tr></table></td></tr></table>
|
|
148
|
+
</body></html>
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2
|
+
<html><head><title>Python: module ai_core_sdk.resource_clients.resource_groups_client</title>
|
|
3
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
4
|
+
</head><body bgcolor="#f0f0f8">
|
|
5
|
+
|
|
6
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
7
|
+
<tr bgcolor="#7799ee">
|
|
8
|
+
<td valign=bottom> <br>
|
|
9
|
+
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ai_core_sdk.html"><font color="#ffffff">ai_core_sdk</font></a>.<a href="ai_core_sdk.resource_clients.html"><font color="#ffffff">resource_clients</font></a>.resource_groups_client</strong></big></big></font></td
|
|
10
|
+
><td align=right valign=bottom
|
|
11
|
+
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/resource_groups_client.py">/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/resource_groups_client.py</a></font></td></tr></table>
|
|
12
|
+
<p></p>
|
|
13
|
+
<p>
|
|
14
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
15
|
+
<tr bgcolor="#ee77aa">
|
|
16
|
+
<td colspan=3 valign=bottom> <br>
|
|
17
|
+
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
|
|
18
|
+
|
|
19
|
+
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
|
|
20
|
+
<td width="100%"><dl>
|
|
21
|
+
<dt><font face="helvetica, arial"><a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>(<a href="builtins.html#object">builtins.object</a>)
|
|
22
|
+
</font></dt><dd>
|
|
23
|
+
<dl>
|
|
24
|
+
<dt><font face="helvetica, arial"><a href="ai_core_sdk.resource_clients.resource_groups_client.html#ResourceGroupsClient">ResourceGroupsClient</a>
|
|
25
|
+
</font></dt></dl>
|
|
26
|
+
</dd>
|
|
27
|
+
</dl>
|
|
28
|
+
<p>
|
|
29
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
30
|
+
<tr bgcolor="#ffc8d8">
|
|
31
|
+
<td colspan=3 valign=bottom> <br>
|
|
32
|
+
<font color="#000000" face="helvetica, arial"><a name="ResourceGroupsClient">class <strong>ResourceGroupsClient</strong></a>(<a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>)</font></td></tr>
|
|
33
|
+
|
|
34
|
+
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
35
|
+
<td colspan=2><tt><a href="#ResourceGroupsClient">ResourceGroupsClient</a>(rest_client: ai_api_client_sdk.helpers.rest_client.RestClient)<br>
|
|
36
|
+
<br>
|
|
37
|
+
<a href="#ResourceGroupsClient">ResourceGroupsClient</a> is a class implemented for interacting with the resource groups endpoints of the server.<br>
|
|
38
|
+
It implements the base class<br>
|
|
39
|
+
:class:`ai_api_client_sdk.resource_clients.base_client.<a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">BaseClient</a>`<br> </tt></td></tr>
|
|
40
|
+
<tr><td> </td>
|
|
41
|
+
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
42
|
+
<dd><a href="ai_core_sdk.resource_clients.resource_groups_client.html#ResourceGroupsClient">ResourceGroupsClient</a></dd>
|
|
43
|
+
<dd><a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a></dd>
|
|
44
|
+
<dd><a href="builtins.html#object">builtins.object</a></dd>
|
|
45
|
+
</dl>
|
|
46
|
+
<hr>
|
|
47
|
+
Methods defined here:<br>
|
|
48
|
+
<dl><dt><a name="ResourceGroupsClient-create"><strong>create</strong></a>(self, resource_group_id: str, labels: List[ai_api_client_sdk.models.label.Label] = None) -> ai_core_sdk.models.resource_group.ResourceGroup</dt><dd><tt>Creates resource group for a given tenant.<br>
|
|
49
|
+
<br>
|
|
50
|
+
:param resource_group_id: the id of the resource group and the length must be between 3 and 10 characters.<br>
|
|
51
|
+
:type resource_group_id: str<br>
|
|
52
|
+
:param labels: key-value pairs of the labels that will be added to the resource group.<br>
|
|
53
|
+
:type labels: List[Label]<br>
|
|
54
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
55
|
+
server<br>
|
|
56
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
57
|
+
server<br>
|
|
58
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
59
|
+
server<br>
|
|
60
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIRequestException` if an unexpected exception occurs while<br>
|
|
61
|
+
trying to send a request to the server<br>
|
|
62
|
+
:return: An object representing the response from the server<br>
|
|
63
|
+
:rtype: class:`ai_core_sdk.models.resource_group.ResourceGroup`</tt></dd></dl>
|
|
64
|
+
|
|
65
|
+
<dl><dt><a name="ResourceGroupsClient-delete"><strong>delete</strong></a>(self, resource_group_id: str) -> ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Deletes the resource group.<br>
|
|
66
|
+
<br>
|
|
67
|
+
:param resource_group_id: the id of the resource group to be deleted<br>
|
|
68
|
+
:type resource_group_id: str<br>
|
|
69
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
70
|
+
server<br>
|
|
71
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
72
|
+
server<br>
|
|
73
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPINotFoundException` if a 404 response is received from the<br>
|
|
74
|
+
server<br>
|
|
75
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException` if a 412 response is received from<br>
|
|
76
|
+
the server<br>
|
|
77
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
78
|
+
server<br>
|
|
79
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIRequestException` if an unexpected exception occurs while<br>
|
|
80
|
+
trying to send a request to the server<br>
|
|
81
|
+
:return: An object representing the response from the server<br>
|
|
82
|
+
:rtype: class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
|
|
83
|
+
|
|
84
|
+
<dl><dt><a name="ResourceGroupsClient-get"><strong>get</strong></a>(self, resource_group_id: str) -> ai_core_sdk.models.resource_group.ResourceGroup</dt><dd><tt>Gets a resource group of a given tenant.<br>
|
|
85
|
+
<br>
|
|
86
|
+
:param resource_group_id: the id of the resource group to be retrieved<br>
|
|
87
|
+
:type resource_group_id: str<br>
|
|
88
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
89
|
+
server<br>
|
|
90
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
91
|
+
server<br>
|
|
92
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPINotFoundException` if a 404 response is received from the<br>
|
|
93
|
+
server<br>
|
|
94
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
95
|
+
server<br>
|
|
96
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIRequestException` if an unexpected exception occurs while<br>
|
|
97
|
+
trying to send a request to the server<br>
|
|
98
|
+
:return: An object representing the resource group from the server<br>
|
|
99
|
+
:rtype: class:`ai_core_sdk.models.resource_group.ResourceGroup`</tt></dd></dl>
|
|
100
|
+
|
|
101
|
+
<dl><dt><a name="ResourceGroupsClient-modify"><strong>modify</strong></a>(self, resource_group_id: str, labels: List[ai_api_client_sdk.models.label.Label]) -> None</dt><dd><tt>Modifies a resource group.<br>
|
|
102
|
+
<br>
|
|
103
|
+
:param resource_group_id: the id of the resource group<br>
|
|
104
|
+
:type resource_group_id: str<br>
|
|
105
|
+
:param labels: key-value pairs of the labels that will be added to the resource group.<br>
|
|
106
|
+
:type labels: List[Label]<br>
|
|
107
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
108
|
+
server<br>
|
|
109
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
110
|
+
server<br>
|
|
111
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPINotFoundException` if a 404 response is received from the<br>
|
|
112
|
+
server<br>
|
|
113
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException` if a 412 response is received from<br>
|
|
114
|
+
the server<br>
|
|
115
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIRequestException` if an unexpected exception occurs while<br>
|
|
116
|
+
trying to send a request to the server<br>
|
|
117
|
+
:return: An object representing the response from the server</tt></dd></dl>
|
|
118
|
+
|
|
119
|
+
<dl><dt><a name="ResourceGroupsClient-query"><strong>query</strong></a>(self) -> ai_core_sdk.models.resource_group_query_response.ResourceGroupQueryResponse</dt><dd><tt>Get all resource groups.<br>
|
|
120
|
+
<br>
|
|
121
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
122
|
+
server<br>
|
|
123
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
124
|
+
server<br>
|
|
125
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
126
|
+
server<br>
|
|
127
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIRequestException` if an unexpected exception occurs while<br>
|
|
128
|
+
trying to send a request to the server<br>
|
|
129
|
+
:return: A list of resource groups for a given tenant.<br>
|
|
130
|
+
:rtype: class:`ai_core_sdk.models.resource_group_query_response.ResourceGroupQueryResponse`</tt></dd></dl>
|
|
131
|
+
|
|
132
|
+
<hr>
|
|
133
|
+
Methods inherited from <a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>:<br>
|
|
134
|
+
<dl><dt><a name="ResourceGroupsClient-__init__"><strong>__init__</strong></a>(self, rest_client: ai_api_client_sdk.helpers.rest_client.RestClient)</dt><dd><tt>Initialize self. See help(type(self)) for accurate signature.</tt></dd></dl>
|
|
135
|
+
|
|
136
|
+
<dl><dt><a name="ResourceGroupsClient-count"><strong>count</strong></a>(self, *args, **kwargs)</dt><dd><tt>Counts the relevant resources. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
137
|
+
|
|
138
|
+
<dl><dt><a name="ResourceGroupsClient-query_logs"><strong>query_logs</strong></a>(self, *args, **kwargs)</dt><dd><tt>Queries the relevant logs. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
139
|
+
|
|
140
|
+
<hr>
|
|
141
|
+
Data descriptors inherited from <a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>:<br>
|
|
142
|
+
<dl><dt><strong>__dict__</strong></dt>
|
|
143
|
+
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
144
|
+
</dl>
|
|
145
|
+
<dl><dt><strong>__weakref__</strong></dt>
|
|
146
|
+
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
147
|
+
</dl>
|
|
148
|
+
</td></tr></table></td></tr></table><p>
|
|
149
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
150
|
+
<tr bgcolor="#55aa55">
|
|
151
|
+
<td colspan=3 valign=bottom> <br>
|
|
152
|
+
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
|
|
153
|
+
|
|
154
|
+
<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td>
|
|
155
|
+
<td width="100%"><strong>List</strong> = typing.List</td></tr></table>
|
|
156
|
+
</body></html>
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2
|
+
<html><head><title>Python: module ai_core_sdk.resource_clients.secrets_client</title>
|
|
3
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
4
|
+
</head><body bgcolor="#f0f0f8">
|
|
5
|
+
|
|
6
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
7
|
+
<tr bgcolor="#7799ee">
|
|
8
|
+
<td valign=bottom> <br>
|
|
9
|
+
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ai_core_sdk.html"><font color="#ffffff">ai_core_sdk</font></a>.<a href="ai_core_sdk.resource_clients.html"><font color="#ffffff">resource_clients</font></a>.secrets_client</strong></big></big></font></td
|
|
10
|
+
><td align=right valign=bottom
|
|
11
|
+
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/secrets_client.py">/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/secrets_client.py</a></font></td></tr></table>
|
|
12
|
+
<p></p>
|
|
13
|
+
<p>
|
|
14
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
15
|
+
<tr bgcolor="#ee77aa">
|
|
16
|
+
<td colspan=3 valign=bottom> <br>
|
|
17
|
+
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
|
|
18
|
+
|
|
19
|
+
<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td>
|
|
20
|
+
<td width="100%"><dl>
|
|
21
|
+
<dt><font face="helvetica, arial"><a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>(<a href="builtins.html#object">builtins.object</a>)
|
|
22
|
+
</font></dt><dd>
|
|
23
|
+
<dl>
|
|
24
|
+
<dt><font face="helvetica, arial"><a href="ai_core_sdk.resource_clients.secrets_client.html#SecretsClient">SecretsClient</a>
|
|
25
|
+
</font></dt></dl>
|
|
26
|
+
</dd>
|
|
27
|
+
</dl>
|
|
28
|
+
<p>
|
|
29
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
30
|
+
<tr bgcolor="#ffc8d8">
|
|
31
|
+
<td colspan=3 valign=bottom> <br>
|
|
32
|
+
<font color="#000000" face="helvetica, arial"><a name="SecretsClient">class <strong>SecretsClient</strong></a>(<a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>)</font></td></tr>
|
|
33
|
+
|
|
34
|
+
<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td>
|
|
35
|
+
<td colspan=2><tt><a href="#SecretsClient">SecretsClient</a>(rest_client: ai_api_client_sdk.helpers.rest_client.RestClient)<br>
|
|
36
|
+
<br>
|
|
37
|
+
<a href="#SecretsClient">SecretsClient</a> is a class implemented for interacting with the secret related<br>
|
|
38
|
+
endpoints of the server. It implements the base class<br>
|
|
39
|
+
:class:`ai_api_client_sdk.resource_clients.base_client.<a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">BaseClient</a>`<br> </tt></td></tr>
|
|
40
|
+
<tr><td> </td>
|
|
41
|
+
<td width="100%"><dl><dt>Method resolution order:</dt>
|
|
42
|
+
<dd><a href="ai_core_sdk.resource_clients.secrets_client.html#SecretsClient">SecretsClient</a></dd>
|
|
43
|
+
<dd><a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a></dd>
|
|
44
|
+
<dd><a href="builtins.html#object">builtins.object</a></dd>
|
|
45
|
+
</dl>
|
|
46
|
+
<hr>
|
|
47
|
+
Methods defined here:<br>
|
|
48
|
+
<dl><dt><a name="SecretsClient-create"><strong>create</strong></a>(self, name: str, data: dict, resource_group: str = None, ai_tenant_scope=True) -> ai_core_sdk.models.base_models.Message</dt><dd><tt>Creates a secret.<br>
|
|
49
|
+
<br>
|
|
50
|
+
:param name: name of the secret<br>
|
|
51
|
+
:type name: str<br>
|
|
52
|
+
:param data: data of secret<br>
|
|
53
|
+
:type data: dict<br>
|
|
54
|
+
:param resource_group: Resource Group which the request should be sent on behalf. Either this or a default<br>
|
|
55
|
+
resource group in the :class:`ai_core_sdk.ai_core_v2_client.AICoreV2Client` should be specified,<br>
|
|
56
|
+
defaults to None<br>
|
|
57
|
+
:type resource_group: str<br>
|
|
58
|
+
:param ai_tenant_scope: Specify whether the main tenant scope is to be used<br>
|
|
59
|
+
:type ai_tenant_scope: bool<br>
|
|
60
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
61
|
+
server<br>
|
|
62
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
63
|
+
server<br>
|
|
64
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIForbiddenException` if a 403 response is received from the<br>
|
|
65
|
+
server<br>
|
|
66
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIConflictException` if a 409 response is received from the<br>
|
|
67
|
+
server<br>
|
|
68
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
69
|
+
server<br>
|
|
70
|
+
:return: A list of metadata of available secrets<br>
|
|
71
|
+
:rtype: class:`ai_core_sdk.models.base_models.Message`</tt></dd></dl>
|
|
72
|
+
|
|
73
|
+
<dl><dt><a name="SecretsClient-delete"><strong>delete</strong></a>(self, name: str, resource_group: str = None, ai_tenant_scope=True) -> ai_core_sdk.models.base_models.Message</dt><dd><tt>Deletes the secret.<br>
|
|
74
|
+
<br>
|
|
75
|
+
:param name: name of the secret to be deleted<br>
|
|
76
|
+
:type name: str<br>
|
|
77
|
+
:param resource_group: Resource Group which the request should be sent on behalf. Either this or a default<br>
|
|
78
|
+
resource group in the :class:`ai_core_sdk.ai_core_v2_client.AICoreV2Client` should be specified,<br>
|
|
79
|
+
defaults to None<br>
|
|
80
|
+
:type resource_group: str<br>
|
|
81
|
+
:param ai_tenant_scope: Specify whether the main tenant scope is to be used<br>
|
|
82
|
+
:type ai_tenant_scope: bool<br>
|
|
83
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
84
|
+
server<br>
|
|
85
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
86
|
+
server<br>
|
|
87
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIForbiddenException` if a 403 response is received from the<br>
|
|
88
|
+
server<br>
|
|
89
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPINotFoundException` if a 404 response is received from the<br>
|
|
90
|
+
server<br>
|
|
91
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
92
|
+
server<br>
|
|
93
|
+
:return: An object representing the response from the server<br>
|
|
94
|
+
:rtype: class:`ai_api_client_sdk.models.base_models.Message`</tt></dd></dl>
|
|
95
|
+
|
|
96
|
+
<dl><dt><a name="SecretsClient-modify"><strong>modify</strong></a>(self, name: str, data: dict, resource_group: str = None, ai_tenant_scope=True) -> ai_core_sdk.models.base_models.Message</dt><dd><tt>Modifies the secret.<br>
|
|
97
|
+
<br>
|
|
98
|
+
:param name: name of the secret to be modified<br>
|
|
99
|
+
:type name: str<br>
|
|
100
|
+
:param data: data of secret<br>
|
|
101
|
+
:type data: dict<br>
|
|
102
|
+
:param resource_group: Resource Group which the request should be sent on behalf. Either this or a default<br>
|
|
103
|
+
resource group in the :class:`ai_core_sdk.ai_core_v2_client.AICoreV2Client` should be specified,<br>
|
|
104
|
+
defaults to None<br>
|
|
105
|
+
:type resource_group: str<br>
|
|
106
|
+
:param ai_tenant_scope: Specify whether the main tenant scope is to be used<br>
|
|
107
|
+
:type ai_tenant_scope: bool<br>
|
|
108
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
109
|
+
server<br>
|
|
110
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
111
|
+
server<br>
|
|
112
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIForbiddenException` if a 403 response is received from the<br>
|
|
113
|
+
server<br>
|
|
114
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPINotFoundException` if a 404 response is received from the<br>
|
|
115
|
+
server<br>
|
|
116
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException` if a 412 response is received from<br>
|
|
117
|
+
the server<br>
|
|
118
|
+
:return: An object representing the response from the server<br>
|
|
119
|
+
:rtype: class:`ai_api_client_sdk.models.base_models.Message`</tt></dd></dl>
|
|
120
|
+
|
|
121
|
+
<dl><dt><a name="SecretsClient-query"><strong>query</strong></a>(self, top: int = None, skip: int = None, resource_group: str = None, ai_tenant_scope: bool = True) -> ai_core_sdk.models.secret_query_response.SecretQueryResponse</dt><dd><tt>Returns the secrets.<br>
|
|
122
|
+
<br>
|
|
123
|
+
:param top: Number of secrets to be retrieved, defaults to None<br>
|
|
124
|
+
:type top: int, optional<br>
|
|
125
|
+
:param skip: Number of secrets to be skipped, from the list of the queried secrets, defaults to None<br>
|
|
126
|
+
:type skip: int, optional<br>
|
|
127
|
+
:param resource_group: Resource Group which the request should be sent on behalf. Either this or a default<br>
|
|
128
|
+
resource group in the :class:`ai_core_sdk.ai_core_v2_client.AICoreV2Client` should be specified,<br>
|
|
129
|
+
defaults to None<br>
|
|
130
|
+
:type resource_group: str<br>
|
|
131
|
+
:param ai_tenant_scope: Specify whether the main tenant scope is to be used<br>
|
|
132
|
+
:type ai_tenant_scope: bool<br>
|
|
133
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException` if a 400 response is received from the<br>
|
|
134
|
+
server<br>
|
|
135
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIAuthorizationException` if a 401 response is received from the<br>
|
|
136
|
+
server<br>
|
|
137
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIForbiddenException` if a 403 response is received from the<br>
|
|
138
|
+
server<br>
|
|
139
|
+
:raises: class:`ai_api_client_sdk.exception.AIAPIServerException` if a non-2XX response is received from the<br>
|
|
140
|
+
server<br>
|
|
141
|
+
:return: A list of secrets<br>
|
|
142
|
+
:rtype: class:`ai_core_sdk.models.secret_query_response.SecretQueryResponse`</tt></dd></dl>
|
|
143
|
+
|
|
144
|
+
<hr>
|
|
145
|
+
Methods inherited from <a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>:<br>
|
|
146
|
+
<dl><dt><a name="SecretsClient-__init__"><strong>__init__</strong></a>(self, rest_client: ai_api_client_sdk.helpers.rest_client.RestClient)</dt><dd><tt>Initialize self. See help(type(self)) for accurate signature.</tt></dd></dl>
|
|
147
|
+
|
|
148
|
+
<dl><dt><a name="SecretsClient-bulk_modify"><strong>bulk_modify</strong></a>(self, *args, **kwargs)</dt><dd><tt>Modifies multiple instances of the relevant resource. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
149
|
+
|
|
150
|
+
<dl><dt><a name="SecretsClient-count"><strong>count</strong></a>(self, *args, **kwargs)</dt><dd><tt>Counts the relevant resources. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
151
|
+
|
|
152
|
+
<dl><dt><a name="SecretsClient-get"><strong>get</strong></a>(self, *args, **kwargs)</dt><dd><tt>Retrieves the relevant resource. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
153
|
+
|
|
154
|
+
<dl><dt><a name="SecretsClient-query_logs"><strong>query_logs</strong></a>(self, *args, **kwargs)</dt><dd><tt>Queries the relevant logs. Will be implemented by the respective resource clients</tt></dd></dl>
|
|
155
|
+
|
|
156
|
+
<hr>
|
|
157
|
+
Data descriptors inherited from <a href="ai_api_client_sdk.resource_clients.base_client.html#BaseClient">ai_api_client_sdk.resource_clients.base_client.BaseClient</a>:<br>
|
|
158
|
+
<dl><dt><strong>__dict__</strong></dt>
|
|
159
|
+
<dd><tt>dictionary for instance variables (if defined)</tt></dd>
|
|
160
|
+
</dl>
|
|
161
|
+
<dl><dt><strong>__weakref__</strong></dt>
|
|
162
|
+
<dd><tt>list of weak references to the object (if defined)</tt></dd>
|
|
163
|
+
</dl>
|
|
164
|
+
</td></tr></table></td></tr></table>
|
|
165
|
+
</body></html>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
2
|
+
<html><head><title>Python: package ai_core_sdk.tracking</title>
|
|
3
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
4
|
+
</head><body bgcolor="#f0f0f8">
|
|
5
|
+
|
|
6
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
|
|
7
|
+
<tr bgcolor="#7799ee">
|
|
8
|
+
<td valign=bottom> <br>
|
|
9
|
+
<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ai_core_sdk.html"><font color="#ffffff">ai_core_sdk</font></a>.tracking</strong></big></big></font></td
|
|
10
|
+
><td align=right valign=bottom
|
|
11
|
+
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/tracking/__init__.py">/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/tracking/__init__.py</a></font></td></tr></table>
|
|
12
|
+
<p><tt># pylint: disable=C0114</tt></p>
|
|
13
|
+
<p>
|
|
14
|
+
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
|
15
|
+
<tr bgcolor="#aa55cc">
|
|
16
|
+
<td colspan=3 valign=bottom> <br>
|
|
17
|
+
<font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>
|
|
18
|
+
|
|
19
|
+
<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td>
|
|
20
|
+
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ai_core_sdk.tracking.tracking.html">tracking</a><br>
|
|
21
|
+
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table>
|
|
22
|
+
</body></html>
|