sap-ai-sdk-core 2.9.9__py3-none-any.whl → 3.0.3__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.
Files changed (87) hide show
  1. ai_core_sdk/ai_core_v2_client.py +157 -0
  2. ai_core_sdk/cli.py +172 -0
  3. ai_core_sdk/credentials.py +196 -0
  4. ai_core_sdk/exception.py +11 -0
  5. ai_core_sdk/helpers/__init__.py +39 -0
  6. ai_core_sdk/helpers/constants.py +18 -0
  7. ai_core_sdk/helpers/logging.py +23 -0
  8. ai_core_sdk/models/__init__.py +33 -0
  9. ai_core_sdk/models/application.py +37 -0
  10. ai_core_sdk/models/application_query_response.py +30 -0
  11. ai_core_sdk/models/application_resource_sync_status.py +34 -0
  12. ai_core_sdk/models/application_source.py +34 -0
  13. ai_core_sdk/models/application_status.py +66 -0
  14. ai_core_sdk/models/base_models.py +62 -0
  15. ai_core_sdk/models/docker_registry_secret.py +23 -0
  16. ai_core_sdk/models/docker_registry_secret_query_response.py +30 -0
  17. ai_core_sdk/models/kpi.py +25 -0
  18. ai_core_sdk/models/object_store_secret.py +32 -0
  19. ai_core_sdk/models/object_store_secret_query_response.py +30 -0
  20. ai_core_sdk/models/repository.py +36 -0
  21. ai_core_sdk/models/repository_query_response.py +30 -0
  22. ai_core_sdk/models/repository_status.py +9 -0
  23. ai_core_sdk/models/resource_group.py +50 -0
  24. ai_core_sdk/models/resource_group_query_response.py +31 -0
  25. ai_core_sdk/models/resource_group_status.py +9 -0
  26. ai_core_sdk/models/secret.py +30 -0
  27. ai_core_sdk/models/secret_query_response.py +30 -0
  28. ai_core_sdk/resource_clients/__init__.py +13 -0
  29. ai_core_sdk/resource_clients/applications_client.py +173 -0
  30. ai_core_sdk/resource_clients/docker_registry_secrets_client.py +117 -0
  31. ai_core_sdk/resource_clients/internal_rest_client.py +52 -0
  32. ai_core_sdk/resource_clients/kpi_client.py +26 -0
  33. ai_core_sdk/resource_clients/metrics_client.py +131 -0
  34. ai_core_sdk/resource_clients/object_store_secrets_client.py +215 -0
  35. ai_core_sdk/resource_clients/repositories_client.py +116 -0
  36. ai_core_sdk/resource_clients/secrets_client.py +148 -0
  37. ai_core_sdk/tracking/__init__.py +2 -0
  38. ai_core_sdk/tracking/tracking.py +215 -0
  39. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.ai_core_v2_client.html +127 -0
  40. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.cli.html +59 -0
  41. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.credentials.html +209 -0
  42. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.exception.html +161 -0
  43. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.helpers.constants.html +90 -0
  44. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.helpers.html +52 -0
  45. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.helpers.logging.html +41 -0
  46. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.html +29 -0
  47. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.application.html +79 -0
  48. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.application_query_response.html +86 -0
  49. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.application_resource_sync_status.html +77 -0
  50. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.application_source.html +77 -0
  51. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.application_status.html +90 -0
  52. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.base_models.html +120 -0
  53. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.docker_registry_secret.html +85 -0
  54. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.docker_registry_secret_query_response.html +86 -0
  55. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.html +40 -0
  56. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.kpi.html +73 -0
  57. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.object_store_secret.html +71 -0
  58. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.object_store_secret_query_response.html +86 -0
  59. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.repository.html +77 -0
  60. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.repository_query_response.html +86 -0
  61. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.repository_status.html +69 -0
  62. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.resource_group.html +85 -0
  63. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.resource_group_query_response.html +86 -0
  64. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.resource_group_status.html +69 -0
  65. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.secret.html +76 -0
  66. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.models.secret_query_response.html +86 -0
  67. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.applications_client.html +186 -0
  68. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.docker_registry_secrets_client.html +147 -0
  69. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.html +29 -0
  70. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.internal_rest_client.html +181 -0
  71. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.kpi_client.html +87 -0
  72. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.metrics_client.html +189 -0
  73. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.object_store_secrets_client.html +205 -0
  74. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.repositories_client.html +148 -0
  75. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.resource_groups_client.html +156 -0
  76. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.resource_clients.secrets_client.html +165 -0
  77. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.tracking.html +22 -0
  78. sap_ai_sdk_core-3.0.3.data/data/docs/ai_core_sdk.tracking.tracking.html +224 -0
  79. sap_ai_sdk_core-3.0.3.dist-info/METADATA +253 -0
  80. sap_ai_sdk_core-3.0.3.dist-info/RECORD +84 -0
  81. {sap_ai_sdk_core-2.9.9.dist-info → sap_ai_sdk_core-3.0.3.dist-info}/WHEEL +1 -1
  82. sap_ai_sdk_core-3.0.3.dist-info/top_level.txt +1 -0
  83. sap_ai_sdk_core-2.9.9.dist-info/METADATA +0 -43
  84. sap_ai_sdk_core-2.9.9.dist-info/RECORD +0 -6
  85. sap_ai_sdk_core-2.9.9.dist-info/top_level.txt +0 -1
  86. {sap-ai-sdk-core → ai_core_sdk}/__init__.py +0 -0
  87. {sap_ai_sdk_core-2.9.9.dist-info/licenses → sap_ai_sdk_core-3.0.3.dist-info}/LICENSE +0 -0
@@ -0,0 +1,186 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
+ <html><head><title>Python: module ai_core_sdk.resource_clients.applications_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>&nbsp;<br>
9
+ <font color="#ffffff" face="helvetica, arial">&nbsp;<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>.applications_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/applications_client.py">/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/applications_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>&nbsp;<br>
17
+ <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
18
+
19
+ <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</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.applications_client.html#ApplicationsClient">ApplicationsClient</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>&nbsp;<br>
32
+ <font color="#000000" face="helvetica, arial"><a name="ApplicationsClient">class <strong>ApplicationsClient</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>&nbsp;&nbsp;&nbsp;</tt></td>
35
+ <td colspan=2><tt><a href="#ApplicationsClient">ApplicationsClient</a>(rest_client:&nbsp;ai_api_client_sdk.helpers.rest_client.RestClient)<br>
36
+ &nbsp;<br>
37
+ <a href="#ApplicationsClient">ApplicationsClient</a>&nbsp;is&nbsp;a&nbsp;class&nbsp;implemented&nbsp;for&nbsp;interacting&nbsp;with&nbsp;the&nbsp;applications&nbsp;related<br>
38
+ endpoints&nbsp;of&nbsp;the&nbsp;server.&nbsp;It&nbsp;implements&nbsp;the&nbsp;base&nbsp;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>&nbsp;</tt></td></tr>
40
+ <tr><td>&nbsp;</td>
41
+ <td width="100%"><dl><dt>Method resolution order:</dt>
42
+ <dd><a href="ai_core_sdk.resource_clients.applications_client.html#ApplicationsClient">ApplicationsClient</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="ApplicationsClient-create"><strong>create</strong></a>(self, revision: str, path: str, application_name: str = None, repository_name: str = None, repository_url: str = None) -&gt; ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Creates&nbsp;an&nbsp;application.<br>
49
+ &nbsp;<br>
50
+ :param&nbsp;revision:&nbsp;revision&nbsp;to&nbsp;synchronize<br>
51
+ :type&nbsp;revision:&nbsp;str<br>
52
+ :param&nbsp;path:&nbsp;within&nbsp;the&nbsp;repository&nbsp;to&nbsp;synchronize<br>
53
+ :type&nbsp;path:&nbsp;str<br>
54
+ :param&nbsp;application_name:&nbsp;Name&nbsp;of&nbsp;the&nbsp;application<br>
55
+ :type&nbsp;application_name:&nbsp;str,&nbsp;optional<br>
56
+ :param&nbsp;repository_name:&nbsp;Name&nbsp;of&nbsp;the&nbsp;repository&nbsp;to&nbsp;synchronize.&nbsp;Either&nbsp;this&nbsp;or&nbsp;the&nbsp;repository_url&nbsp;needs&nbsp;to&nbsp;be<br>
57
+ &nbsp;&nbsp;&nbsp;&nbsp;provided<br>
58
+ :type&nbsp;repository_name:&nbsp;str,&nbsp;optional<br>
59
+ :param&nbsp;repository_url:&nbsp;URL&nbsp;of&nbsp;the&nbsp;repository&nbsp;to&nbsp;synchronize.&nbsp;Either&nbsp;this&nbsp;or&nbsp;the&nbsp;repository_name&nbsp;needs&nbsp;to&nbsp;be<br>
60
+ &nbsp;&nbsp;&nbsp;&nbsp;provided<br>
61
+ :type&nbsp;repository_url:&nbsp;str,&nbsp;optional<br>
62
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
63
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
64
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
65
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
66
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
67
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
68
+ :return:&nbsp;An&nbsp;object&nbsp;representing&nbsp;the&nbsp;response&nbsp;from&nbsp;the&nbsp;server<br>
69
+ :rtype:&nbsp;class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
70
+
71
+ <dl><dt><a name="ApplicationsClient-delete"><strong>delete</strong></a>(self, application_name: str) -&gt; ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Deletes&nbsp;the&nbsp;application.<br>
72
+ &nbsp;<br>
73
+ :param&nbsp;application_name:&nbsp;name&nbsp;of&nbsp;the&nbsp;application&nbsp;to&nbsp;be&nbsp;deleted<br>
74
+ :type&nbsp;application_name:&nbsp;str<br>
75
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
76
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
77
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
78
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
79
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
80
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
81
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
82
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
83
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
84
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
85
+ :return:&nbsp;An&nbsp;object&nbsp;representing&nbsp;the&nbsp;response&nbsp;from&nbsp;the&nbsp;server<br>
86
+ :rtype:&nbsp;class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
87
+
88
+ <dl><dt><a name="ApplicationsClient-get"><strong>get</strong></a>(self, application_name: str) -&gt; ai_core_sdk.models.application.Application</dt><dd><tt>Retrieves&nbsp;the&nbsp;application&nbsp;from&nbsp;the&nbsp;server.<br>
89
+ &nbsp;<br>
90
+ :param&nbsp;application_name:&nbsp;name&nbsp;of&nbsp;the&nbsp;application&nbsp;to&nbsp;be&nbsp;retrieved<br>
91
+ :type&nbsp;application_name:&nbsp;str<br>
92
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
93
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
94
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
95
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
96
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
97
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
98
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
99
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
100
+ :return:&nbsp;The&nbsp;retrieved&nbsp;application<br>
101
+ :rtype:&nbsp;class:`ai_core_sdk.models.application.Application`</tt></dd></dl>
102
+
103
+ <dl><dt><a name="ApplicationsClient-get_status"><strong>get_status</strong></a>(self, application_name: str) -&gt; ai_core_sdk.models.application_status.ApplicationStatus</dt><dd><tt>Retrieves&nbsp;the&nbsp;application&nbsp;status&nbsp;from&nbsp;the&nbsp;server.<br>
104
+ &nbsp;<br>
105
+ :param&nbsp;application_name:&nbsp;name&nbsp;of&nbsp;the&nbsp;application<br>
106
+ :type&nbsp;application_name:&nbsp;str<br>
107
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
108
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
109
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
110
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
111
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
112
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
113
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
114
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
115
+ :return:&nbsp;The&nbsp;retrieved&nbsp;application&nbsp;status<br>
116
+ :rtype:&nbsp;class:`ai_core_sdk.models.application_status.ApplicationStatus`</tt></dd></dl>
117
+
118
+ <dl><dt><a name="ApplicationsClient-modify"><strong>modify</strong></a>(self, application_name: str, repository_url: str, path: str, revision: str) -&gt; ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Modifies&nbsp;the&nbsp;application<br>
119
+ &nbsp;<br>
120
+ :param&nbsp;application_name:&nbsp;name&nbsp;of&nbsp;the&nbsp;application&nbsp;to&nbsp;be&nbsp;modified<br>
121
+ :type&nbsp;name:&nbsp;str<br>
122
+ :param&nbsp;repository_url:<br>
123
+ :type&nbsp;repository_url:&nbsp;str<br>
124
+ :param&nbsp;revision:<br>
125
+ :type&nbsp;revision:&nbsp;str<br>
126
+ :param&nbsp;path:<br>
127
+ :type&nbsp;path:&nbsp;str<br>
128
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
129
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
130
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
131
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
132
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
133
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
134
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
135
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
136
+ :return:&nbsp;An&nbsp;object&nbsp;representing&nbsp;the&nbsp;response&nbsp;from&nbsp;the&nbsp;server<br>
137
+ :rtype:&nbsp;class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
138
+
139
+ <dl><dt><a name="ApplicationsClient-query"><strong>query</strong></a>(self) -&gt; ai_core_sdk.models.application_query_response.ApplicationQueryResponse</dt><dd><tt>Returns&nbsp;the&nbsp;applications.<br>
140
+ &nbsp;<br>
141
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
142
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
143
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
144
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
145
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
146
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
147
+ :return:&nbsp;The&nbsp;retrieved&nbsp;applications<br>
148
+ :rtype:&nbsp;class:`ai_core_sdk.models.application_query_response.ApplicationQueryResponse`</tt></dd></dl>
149
+
150
+ <dl><dt><a name="ApplicationsClient-refresh"><strong>refresh</strong></a>(self, application_name: str) -&gt; ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Triggers&nbsp;synchronisation&nbsp;of&nbsp;the&nbsp;application.<br>
151
+ &nbsp;<br>
152
+ :param&nbsp;application_name:&nbsp;name&nbsp;of&nbsp;the&nbsp;application&nbsp;to&nbsp;be&nbsp;refreshed<br>
153
+ :type&nbsp;application_name:&nbsp;str<br>
154
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
155
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
156
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
157
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
158
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
159
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
160
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
161
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
162
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
163
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
164
+ :return:&nbsp;An&nbsp;object&nbsp;representing&nbsp;the&nbsp;response&nbsp;from&nbsp;the&nbsp;server<br>
165
+ :rtype:&nbsp;class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
166
+
167
+ <hr>
168
+ 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>
169
+ <dl><dt><a name="ApplicationsClient-__init__"><strong>__init__</strong></a>(self, rest_client: ai_api_client_sdk.helpers.rest_client.RestClient)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>
170
+
171
+ <dl><dt><a name="ApplicationsClient-bulk_modify"><strong>bulk_modify</strong></a>(self, *args, **kwargs)</dt><dd><tt>Modifies&nbsp;multiple&nbsp;instances&nbsp;of&nbsp;the&nbsp;relevant&nbsp;resource.&nbsp;Will&nbsp;be&nbsp;implemented&nbsp;by&nbsp;the&nbsp;respective&nbsp;resource&nbsp;clients</tt></dd></dl>
172
+
173
+ <dl><dt><a name="ApplicationsClient-count"><strong>count</strong></a>(self, *args, **kwargs)</dt><dd><tt>Counts&nbsp;the&nbsp;relevant&nbsp;resources.&nbsp;Will&nbsp;be&nbsp;implemented&nbsp;by&nbsp;the&nbsp;respective&nbsp;resource&nbsp;clients</tt></dd></dl>
174
+
175
+ <dl><dt><a name="ApplicationsClient-query_logs"><strong>query_logs</strong></a>(self, *args, **kwargs)</dt><dd><tt>Queries&nbsp;the&nbsp;relevant&nbsp;logs.&nbsp;Will&nbsp;be&nbsp;implemented&nbsp;by&nbsp;the&nbsp;respective&nbsp;resource&nbsp;clients</tt></dd></dl>
176
+
177
+ <hr>
178
+ 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>
179
+ <dl><dt><strong>__dict__</strong></dt>
180
+ <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
181
+ </dl>
182
+ <dl><dt><strong>__weakref__</strong></dt>
183
+ <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
184
+ </dl>
185
+ </td></tr></table></td></tr></table>
186
+ </body></html>
@@ -0,0 +1,147 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
+ <html><head><title>Python: module ai_core_sdk.resource_clients.docker_registry_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>&nbsp;<br>
9
+ <font color="#ffffff" face="helvetica, arial">&nbsp;<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>.docker_registry_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/docker_registry_secrets_client.py">/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/docker_registry_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>&nbsp;<br>
17
+ <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
18
+
19
+ <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</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.docker_registry_secrets_client.html#DockerRegistrySecretsClient">DockerRegistrySecretsClient</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>&nbsp;<br>
32
+ <font color="#000000" face="helvetica, arial"><a name="DockerRegistrySecretsClient">class <strong>DockerRegistrySecretsClient</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>&nbsp;&nbsp;&nbsp;</tt></td>
35
+ <td colspan=2><tt><a href="#DockerRegistrySecretsClient">DockerRegistrySecretsClient</a>(rest_client:&nbsp;ai_api_client_sdk.helpers.rest_client.RestClient)<br>
36
+ &nbsp;<br>
37
+ <a href="#DockerRegistrySecretsClient">DockerRegistrySecretsClient</a>&nbsp;is&nbsp;a&nbsp;class&nbsp;implemented&nbsp;for&nbsp;interacting&nbsp;with&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret&nbsp;related<br>
38
+ endpoints&nbsp;of&nbsp;the&nbsp;server.&nbsp;It&nbsp;implements&nbsp;the&nbsp;base&nbsp;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>&nbsp;</tt></td></tr>
40
+ <tr><td>&nbsp;</td>
41
+ <td width="100%"><dl><dt>Method resolution order:</dt>
42
+ <dd><a href="ai_core_sdk.resource_clients.docker_registry_secrets_client.html#DockerRegistrySecretsClient">DockerRegistrySecretsClient</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="DockerRegistrySecretsClient-create"><strong>create</strong></a>(self, name: str, data: dict) -&gt; ai_core_sdk.models.base_models.Message</dt><dd><tt>Creates&nbsp;a&nbsp;docker&nbsp;secret&nbsp;based&nbsp;on&nbsp;the&nbsp;configuration&nbsp;in&nbsp;the&nbsp;request&nbsp;body.<br>
49
+ &nbsp;<br>
50
+ :param&nbsp;name:&nbsp;name&nbsp;of&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret<br>
51
+ :type&nbsp;name:&nbsp;str<br>
52
+ :param&nbsp;data:&nbsp;json&nbsp;dict,&nbsp;defining&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret<br>
53
+ :type&nbsp;data:&nbsp;dict<br>
54
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
55
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
56
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
57
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
58
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
59
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
60
+ :return:&nbsp;An&nbsp;object&nbsp;representing&nbsp;the&nbsp;response&nbsp;from&nbsp;the&nbsp;server<br>
61
+ :rtype:&nbsp;class:`ai_core_sdk.models.base_models.Message`</tt></dd></dl>
62
+
63
+ <dl><dt><a name="DockerRegistrySecretsClient-delete"><strong>delete</strong></a>(self, name: str) -&gt; ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Deletes&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret&nbsp;with&nbsp;the&nbsp;given&nbsp;name&nbsp;if&nbsp;it&nbsp;exists.<br>
64
+ &nbsp;<br>
65
+ :param&nbsp;name:&nbsp;name&nbsp;of&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret&nbsp;to&nbsp;be&nbsp;deleted<br>
66
+ :type&nbsp;name:&nbsp;str<br>
67
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
68
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
69
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
70
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
71
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
72
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
73
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
74
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
75
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
76
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
77
+ :return:&nbsp;An&nbsp;object&nbsp;representing&nbsp;the&nbsp;response&nbsp;from&nbsp;the&nbsp;server<br>
78
+ :rtype:&nbsp;class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
79
+
80
+ <dl><dt><a name="DockerRegistrySecretsClient-get"><strong>get</strong></a>(self, name: str) -&gt; ai_core_sdk.models.docker_registry_secret.DockerRegistrySecret</dt><dd><tt>Returns&nbsp;the&nbsp;metadata&nbsp;of&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secrets&nbsp;which&nbsp;matches&nbsp;the&nbsp;given&nbsp;name.<br>
81
+ &nbsp;<br>
82
+ :param&nbsp;name:&nbsp;name&nbsp;of&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret&nbsp;to&nbsp;be&nbsp;retrieved<br>
83
+ :type&nbsp;name:&nbsp;str<br>
84
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
85
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
86
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
87
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
88
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
89
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
90
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
91
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
92
+ :return:&nbsp;The&nbsp;retrieved&nbsp;metadata&nbsp;of&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret<br>
93
+ :rtype:&nbsp;class:`ai_core_sdk.models.docker_registry_secret.DockerRegistrySecret`</tt></dd></dl>
94
+
95
+ <dl><dt><a name="DockerRegistrySecretsClient-modify"><strong>modify</strong></a>(self, name: str, data: dict) -&gt; ai_api_client_sdk.models.base_models.BasicResponse</dt><dd><tt>Updates&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret<br>
96
+ &nbsp;<br>
97
+ :param&nbsp;name:&nbsp;name&nbsp;of&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret&nbsp;to&nbsp;be&nbsp;modified<br>
98
+ :type&nbsp;name:&nbsp;str<br>
99
+ :param&nbsp;data:&nbsp;json&nbsp;dict,&nbsp;defining&nbsp;the&nbsp;docker&nbsp;registry&nbsp;secret<br>
100
+ :type&nbsp;data:&nbsp;dict<br>
101
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
102
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
103
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
104
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
105
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
106
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
107
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
108
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
109
+ :return:&nbsp;An&nbsp;object&nbsp;representing&nbsp;the&nbsp;response&nbsp;from&nbsp;the&nbsp;server<br>
110
+ :rtype:&nbsp;class:`ai_api_client_sdk.models.base_models.BasicResponse`</tt></dd></dl>
111
+
112
+ <dl><dt><a name="DockerRegistrySecretsClient-query"><strong>query</strong></a>(self, top: int = None, skip: int = None) -&gt; ai_core_sdk.models.docker_registry_secret_query_response.DockerRegistrySecretQueryResponse</dt><dd><tt>Gets&nbsp;a&nbsp;list&nbsp;of&nbsp;metadata&nbsp;of&nbsp;docker&nbsp;registry&nbsp;secrets.<br>
113
+ &nbsp;<br>
114
+ :param&nbsp;top:&nbsp;Number&nbsp;of&nbsp;docker&nbsp;registry&nbsp;secrets&nbsp;to&nbsp;be&nbsp;retrieved,&nbsp;defaults&nbsp;to&nbsp;None<br>
115
+ :type&nbsp;top:&nbsp;int,&nbsp;optional<br>
116
+ :param&nbsp;skip:&nbsp;Number&nbsp;of&nbsp;docker&nbsp;registry&nbsp;secrets&nbsp;to&nbsp;be&nbsp;skipped,&nbsp;from&nbsp;the&nbsp;list&nbsp;of&nbsp;the&nbsp;queried&nbsp;docker&nbsp;registry<br>
117
+ &nbsp;&nbsp;&nbsp;&nbsp;secrets,&nbsp;defaults&nbsp;to&nbsp;None<br>
118
+ :type&nbsp;skip:&nbsp;int,&nbsp;optional<br>
119
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
120
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
121
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
122
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
123
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
124
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
125
+ :return:&nbsp;A&nbsp;list&nbsp;of&nbsp;metadata&nbsp;of&nbsp;secrets<br>
126
+ :rtype:&nbsp;class:`ai_core_sdk.models.docker_registry_secret_query_response.DockerRegistrySecretQueryResponse`</tt></dd></dl>
127
+
128
+ <hr>
129
+ 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>
130
+ <dl><dt><a name="DockerRegistrySecretsClient-__init__"><strong>__init__</strong></a>(self, rest_client: ai_api_client_sdk.helpers.rest_client.RestClient)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>
131
+
132
+ <dl><dt><a name="DockerRegistrySecretsClient-bulk_modify"><strong>bulk_modify</strong></a>(self, *args, **kwargs)</dt><dd><tt>Modifies&nbsp;multiple&nbsp;instances&nbsp;of&nbsp;the&nbsp;relevant&nbsp;resource.&nbsp;Will&nbsp;be&nbsp;implemented&nbsp;by&nbsp;the&nbsp;respective&nbsp;resource&nbsp;clients</tt></dd></dl>
133
+
134
+ <dl><dt><a name="DockerRegistrySecretsClient-count"><strong>count</strong></a>(self, *args, **kwargs)</dt><dd><tt>Counts&nbsp;the&nbsp;relevant&nbsp;resources.&nbsp;Will&nbsp;be&nbsp;implemented&nbsp;by&nbsp;the&nbsp;respective&nbsp;resource&nbsp;clients</tt></dd></dl>
135
+
136
+ <dl><dt><a name="DockerRegistrySecretsClient-query_logs"><strong>query_logs</strong></a>(self, *args, **kwargs)</dt><dd><tt>Queries&nbsp;the&nbsp;relevant&nbsp;logs.&nbsp;Will&nbsp;be&nbsp;implemented&nbsp;by&nbsp;the&nbsp;respective&nbsp;resource&nbsp;clients</tt></dd></dl>
137
+
138
+ <hr>
139
+ 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>
140
+ <dl><dt><strong>__dict__</strong></dt>
141
+ <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
142
+ </dl>
143
+ <dl><dt><strong>__weakref__</strong></dt>
144
+ <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
145
+ </dl>
146
+ </td></tr></table></td></tr></table>
147
+ </body></html>
@@ -0,0 +1,29 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
+ <html><head><title>Python: package ai_core_sdk.resource_clients</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>&nbsp;<br>
9
+ <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="ai_core_sdk.html"><font color="#ffffff">ai_core_sdk</font></a>.resource_clients</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/__init__.py">/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/__init__.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="#aa55cc">
16
+ <td colspan=3 valign=bottom>&nbsp;<br>
17
+ <font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr>
18
+
19
+ <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
20
+ <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ai_core_sdk.resource_clients.applications_client.html">applications_client</a><br>
21
+ <a href="ai_core_sdk.resource_clients.docker_registry_secrets_client.html">docker_registry_secrets_client</a><br>
22
+ </td><td width="25%" valign=top><a href="ai_core_sdk.resource_clients.internal_rest_client.html">internal_rest_client</a><br>
23
+ <a href="ai_core_sdk.resource_clients.kpi_client.html">kpi_client</a><br>
24
+ </td><td width="25%" valign=top><a href="ai_core_sdk.resource_clients.metrics_client.html">metrics_client</a><br>
25
+ <a href="ai_core_sdk.resource_clients.object_store_secrets_client.html">object_store_secrets_client</a><br>
26
+ </td><td width="25%" valign=top><a href="ai_core_sdk.resource_clients.repositories_client.html">repositories_client</a><br>
27
+ <a href="ai_core_sdk.resource_clients.secrets_client.html">secrets_client</a><br>
28
+ </td></tr></table></td></tr></table>
29
+ </body></html>
@@ -0,0 +1,181 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
+ <html><head><title>Python: module ai_core_sdk.resource_clients.internal_rest_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>&nbsp;<br>
9
+ <font color="#ffffff" face="helvetica, arial">&nbsp;<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>.internal_rest_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/internal_rest_client.py">/home/jenkins/agent/workspace/AI-Foundation_ai-core-sdk_master/ai_core_sdk/resource_clients/internal_rest_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="#aa55cc">
16
+ <td colspan=3 valign=bottom>&nbsp;<br>
17
+ <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
18
+
19
+ <tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
20
+ <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</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><p>
22
+ <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
23
+ <tr bgcolor="#ee77aa">
24
+ <td colspan=3 valign=bottom>&nbsp;<br>
25
+ <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
26
+
27
+ <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
28
+ <td width="100%"><dl>
29
+ <dt><font face="helvetica, arial"><a href="ai_api_client_sdk.helpers.rest_client.html#RestClient">ai_api_client_sdk.helpers.rest_client.RestClient</a>(<a href="builtins.html#object">builtins.object</a>)
30
+ </font></dt><dd>
31
+ <dl>
32
+ <dt><font face="helvetica, arial"><a href="ai_core_sdk.resource_clients.internal_rest_client.html#InternalRestClient">InternalRestClient</a>
33
+ </font></dt></dl>
34
+ </dd>
35
+ </dl>
36
+ <p>
37
+ <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
38
+ <tr bgcolor="#ffc8d8">
39
+ <td colspan=3 valign=bottom>&nbsp;<br>
40
+ <font color="#000000" face="helvetica, arial"><a name="InternalRestClient">class <strong>InternalRestClient</strong></a>(<a href="ai_api_client_sdk.helpers.rest_client.html#RestClient">ai_api_client_sdk.helpers.rest_client.RestClient</a>)</font></td></tr>
41
+
42
+ <tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
43
+ <td colspan=2><tt><a href="#InternalRestClient">InternalRestClient</a>(base_url=None,&nbsp;get_token=None,&nbsp;resource_group=None,&nbsp;*args,&nbsp;**kwargs)<br>
44
+ &nbsp;<br>
45
+ <a href="#InternalRestClient">InternalRestClient</a>&nbsp;is&nbsp;a&nbsp;class&nbsp;implemented&nbsp;for&nbsp;sending&nbsp;requests&nbsp;to&nbsp;services&nbsp;within&nbsp;aicore.&nbsp;The&nbsp;<a href="#InternalRestClient">InternalRestClient</a>&nbsp;should&nbsp;only&nbsp;be&nbsp;used&nbsp;for&nbsp;services&nbsp;that&nbsp;do&nbsp;not&nbsp;require&nbsp;authentication&nbsp;when&nbsp;called&nbsp;within&nbsp;aicore.<br>&nbsp;</tt></td></tr>
46
+ <tr><td>&nbsp;</td>
47
+ <td width="100%"><dl><dt>Method resolution order:</dt>
48
+ <dd><a href="ai_core_sdk.resource_clients.internal_rest_client.html#InternalRestClient">InternalRestClient</a></dd>
49
+ <dd><a href="ai_api_client_sdk.helpers.rest_client.html#RestClient">ai_api_client_sdk.helpers.rest_client.RestClient</a></dd>
50
+ <dd><a href="builtins.html#object">builtins.object</a></dd>
51
+ </dl>
52
+ <hr>
53
+ Methods defined here:<br>
54
+ <dl><dt><a name="InternalRestClient-__init__"><strong>__init__</strong></a>(self, base_url=None, get_token=None, resource_group=None, *args, **kwargs)</dt><dd><tt>Initialize&nbsp;self.&nbsp;&nbsp;See&nbsp;help(type(self))&nbsp;for&nbsp;accurate&nbsp;signature.</tt></dd></dl>
55
+
56
+ <hr>
57
+ Methods inherited from <a href="ai_api_client_sdk.helpers.rest_client.html#RestClient">ai_api_client_sdk.helpers.rest_client.RestClient</a>:<br>
58
+ <dl><dt><a name="InternalRestClient-delete"><strong>delete</strong></a>(self, path: str, params: Dict[str, str] = None, headers: Dict[str, str] = None, resource_group: str = None, **kwargs) -&gt; dict</dt><dd><tt>Sends&nbsp;a&nbsp;DELETE&nbsp;request&nbsp;to&nbsp;the&nbsp;server.<br>
59
+ &nbsp;<br>
60
+ :param&nbsp;path:&nbsp;path&nbsp;of&nbsp;the&nbsp;endpoint&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;sent&nbsp;to<br>
61
+ :type&nbsp;path:&nbsp;str<br>
62
+ :param&nbsp;params:&nbsp;parameters&nbsp;of&nbsp;the&nbsp;request,&nbsp;defaults&nbsp;to&nbsp;None<br>
63
+ :type&nbsp;params:&nbsp;Dict[str,&nbsp;str],&nbsp;optional<br>
64
+ :param&nbsp;headers:&nbsp;headers&nbsp;of&nbsp;the&nbsp;request,&nbsp;defaults&nbsp;to&nbsp;None<br>
65
+ :type&nbsp;headers:&nbsp;Dict[str,&nbsp;str],&nbsp;optional<br>
66
+ :param&nbsp;resource_group:&nbsp;Resource&nbsp;Group&nbsp;which&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;sent&nbsp;on&nbsp;behalf.&nbsp;Either&nbsp;this,&nbsp;or&nbsp;the<br>
67
+ &nbsp;&nbsp;&nbsp;&nbsp;resource_group&nbsp;property&nbsp;of&nbsp;this&nbsp;class&nbsp;should&nbsp;be&nbsp;set.<br>
68
+ :type&nbsp;resource_group:&nbsp;str<br>
69
+ :param&nbsp;kwargs:&nbsp;additional&nbsp;keyword&nbsp;arguments&nbsp;to&nbsp;be&nbsp;passed&nbsp;to&nbsp;the&nbsp;request&nbsp;e.g.&nbsp;files,&nbsp;stream,&nbsp;etc.<br>
70
+ :type&nbsp;kwargs:&nbsp;dict<br>
71
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
72
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
73
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
74
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
75
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
76
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
77
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
78
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
79
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
80
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
81
+ :return:&nbsp;The&nbsp;JSON&nbsp;response&nbsp;from&nbsp;the&nbsp;server&nbsp;(The&nbsp;keys&nbsp;decamelized)<br>
82
+ :rtype:&nbsp;dict</tt></dd></dl>
83
+
84
+ <dl><dt><a name="InternalRestClient-get"><strong>get</strong></a>(self, path: str, params: Dict[str, str] = None, headers: Dict[str, str] = None, resource_group: str = None, return_bytes_content: bool = False, **kwargs) -&gt; Union[dict, int]</dt><dd><tt>Sends&nbsp;a&nbsp;GET&nbsp;request&nbsp;to&nbsp;the&nbsp;server.<br>
85
+ &nbsp;<br>
86
+ :param&nbsp;path:&nbsp;path&nbsp;of&nbsp;the&nbsp;endpoint&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;sent&nbsp;to<br>
87
+ :type&nbsp;path:&nbsp;str<br>
88
+ :param&nbsp;params:&nbsp;parameters&nbsp;of&nbsp;the&nbsp;request,&nbsp;defaults&nbsp;to&nbsp;None<br>
89
+ :type&nbsp;params:&nbsp;Dict[str,&nbsp;str],&nbsp;optional<br>
90
+ :param&nbsp;headers:&nbsp;headers&nbsp;of&nbsp;the&nbsp;request,&nbsp;defaults&nbsp;to&nbsp;None<br>
91
+ :type&nbsp;headers:&nbsp;Dict[str,&nbsp;str],&nbsp;optional<br>
92
+ :param&nbsp;resource_group:&nbsp;Resource&nbsp;Group&nbsp;which&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;sent&nbsp;on&nbsp;behalf.&nbsp;Either&nbsp;this,&nbsp;or&nbsp;the<br>
93
+ &nbsp;&nbsp;&nbsp;&nbsp;resource_group&nbsp;property&nbsp;of&nbsp;this&nbsp;class&nbsp;should&nbsp;be&nbsp;set.<br>
94
+ :type&nbsp;resource_group:&nbsp;str<br>
95
+ :param&nbsp;return_bytes_content:&nbsp;expected&nbsp;response.content&nbsp;is&nbsp;bytes<br>
96
+ :type&nbsp;return_bytes_content:&nbsp;bool<br>
97
+ :param&nbsp;kwargs:&nbsp;additional&nbsp;keyword&nbsp;arguments&nbsp;to&nbsp;be&nbsp;passed&nbsp;to&nbsp;the&nbsp;request&nbsp;e.g.&nbsp;files,&nbsp;stream,&nbsp;etc.<br>
98
+ :type&nbsp;kwargs:&nbsp;dict<br>
99
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
100
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
101
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
102
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
103
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
104
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
105
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
106
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
107
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
108
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
109
+ :return:&nbsp;The&nbsp;JSON&nbsp;response&nbsp;from&nbsp;the&nbsp;server&nbsp;(The&nbsp;keys&nbsp;decamelized)<br>
110
+ :rtype:&nbsp;Union[dict,&nbsp;int]</tt></dd></dl>
111
+
112
+ <dl><dt><a name="InternalRestClient-patch"><strong>patch</strong></a>(self, path: str, body: Dict[str, Union[str, dict, list]], headers: Dict[str, str] = None, resource_group: str = None, **kwargs) -&gt; dict</dt><dd><tt>Sends&nbsp;a&nbsp;PATCH&nbsp;request&nbsp;to&nbsp;the&nbsp;server.<br>
113
+ &nbsp;<br>
114
+ :param&nbsp;path:&nbsp;path&nbsp;of&nbsp;the&nbsp;endpoint&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;sent&nbsp;to<br>
115
+ :type&nbsp;path:&nbsp;str<br>
116
+ :param&nbsp;body:&nbsp;body&nbsp;of&nbsp;the&nbsp;request<br>
117
+ :type&nbsp;body:&nbsp;Dict[str,&nbsp;Union[str,&nbsp;dict,&nbsp;list]]<br>
118
+ :param&nbsp;headers:&nbsp;headers&nbsp;of&nbsp;the&nbsp;request,&nbsp;defaults&nbsp;to&nbsp;None<br>
119
+ :type&nbsp;headers:&nbsp;Dict[str,&nbsp;str],&nbsp;optional<br>
120
+ :param&nbsp;resource_group:&nbsp;Resource&nbsp;Group&nbsp;which&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;sent&nbsp;on&nbsp;behalf.&nbsp;Either&nbsp;this,&nbsp;or&nbsp;the<br>
121
+ &nbsp;&nbsp;&nbsp;&nbsp;resource_group&nbsp;property&nbsp;of&nbsp;this&nbsp;class&nbsp;should&nbsp;be&nbsp;set.<br>
122
+ :type&nbsp;resource_group:&nbsp;str<br>
123
+ :param&nbsp;kwargs:&nbsp;additional&nbsp;keyword&nbsp;arguments&nbsp;to&nbsp;be&nbsp;passed&nbsp;to&nbsp;the&nbsp;request&nbsp;e.g.&nbsp;files,&nbsp;stream,&nbsp;etc.<br>
124
+ :type&nbsp;kwargs:&nbsp;dict<br>
125
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
126
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
127
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
128
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
129
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
130
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
131
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
132
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
133
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
134
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
135
+ :return:&nbsp;The&nbsp;JSON&nbsp;response&nbsp;from&nbsp;the&nbsp;server&nbsp;(The&nbsp;keys&nbsp;decamelized)<br>
136
+ :rtype:&nbsp;dict</tt></dd></dl>
137
+
138
+ <dl><dt><a name="InternalRestClient-post"><strong>post</strong></a>(self, path: str, body: Dict[str, Union[str, dict]] = None, headers: Dict[str, str] = None, resource_group: str = None, **kwargs) -&gt; dict</dt><dd><tt>Sends&nbsp;a&nbsp;POST&nbsp;request&nbsp;to&nbsp;the&nbsp;server.<br>
139
+ &nbsp;<br>
140
+ :param&nbsp;path:&nbsp;path&nbsp;of&nbsp;the&nbsp;endpoint&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;sent&nbsp;to<br>
141
+ :type&nbsp;path:&nbsp;str<br>
142
+ :param&nbsp;body:&nbsp;body&nbsp;of&nbsp;the&nbsp;request,&nbsp;defaults&nbsp;to&nbsp;None<br>
143
+ :type&nbsp;body:&nbsp;Dict[str,&nbsp;str],&nbsp;optional<br>
144
+ :param&nbsp;headers:&nbsp;headers&nbsp;of&nbsp;the&nbsp;request,&nbsp;defaults&nbsp;to&nbsp;None<br>
145
+ :type&nbsp;headers:&nbsp;Dict[str,&nbsp;str],&nbsp;optional<br>
146
+ :param&nbsp;resource_group:&nbsp;Resource&nbsp;Group&nbsp;which&nbsp;the&nbsp;request&nbsp;should&nbsp;be&nbsp;sent&nbsp;on&nbsp;behalf.&nbsp;Either&nbsp;this,&nbsp;or&nbsp;the<br>
147
+ &nbsp;&nbsp;&nbsp;&nbsp;resource_group&nbsp;property&nbsp;of&nbsp;this&nbsp;class&nbsp;should&nbsp;be&nbsp;set.<br>
148
+ :type&nbsp;resource_group:&nbsp;str<br>
149
+ :param&nbsp;kwargs:&nbsp;additional&nbsp;keyword&nbsp;arguments&nbsp;to&nbsp;be&nbsp;passed&nbsp;to&nbsp;the&nbsp;request&nbsp;e.g.&nbsp;files,&nbsp;stream,&nbsp;etc.<br>
150
+ :type&nbsp;kwargs:&nbsp;dict<br>
151
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIInvalidRequestException`&nbsp;if&nbsp;a&nbsp;400&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
152
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
153
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIAuthorizationException`&nbsp;if&nbsp;a&nbsp;401&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
154
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
155
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPINotFoundException`&nbsp;if&nbsp;a&nbsp;404&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
156
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
157
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIPreconditionFailedException`&nbsp;if&nbsp;a&nbsp;412&nbsp;response&nbsp;is&nbsp;received&nbsp;from<br>
158
+ &nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;server<br>
159
+ :raises:&nbsp;class:`ai_api_client_sdk.exception.AIAPIServerException`&nbsp;if&nbsp;a&nbsp;non-2XX&nbsp;response&nbsp;is&nbsp;received&nbsp;from&nbsp;the<br>
160
+ &nbsp;&nbsp;&nbsp;&nbsp;server<br>
161
+ :return:&nbsp;The&nbsp;JSON&nbsp;response&nbsp;from&nbsp;the&nbsp;server&nbsp;(The&nbsp;keys&nbsp;decamelized)<br>
162
+ :rtype:&nbsp;dict</tt></dd></dl>
163
+
164
+ <hr>
165
+ Static methods inherited from <a href="ai_api_client_sdk.helpers.rest_client.html#RestClient">ai_api_client_sdk.helpers.rest_client.RestClient</a>:<br>
166
+ <dl><dt><a name="InternalRestClient-raise_ai_api_exception"><strong>raise_ai_api_exception</strong></a>(error_description, response, response_json)</dt></dl>
167
+
168
+ <hr>
169
+ Data descriptors inherited from <a href="ai_api_client_sdk.helpers.rest_client.html#RestClient">ai_api_client_sdk.helpers.rest_client.RestClient</a>:<br>
170
+ <dl><dt><strong>__dict__</strong></dt>
171
+ <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
172
+ </dl>
173
+ <dl><dt><strong>__weakref__</strong></dt>
174
+ <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
175
+ </dl>
176
+ <hr>
177
+ Data and other attributes inherited from <a href="ai_api_client_sdk.helpers.rest_client.html#RestClient">ai_api_client_sdk.helpers.rest_client.RestClient</a>:<br>
178
+ <dl><dt><strong>logger</strong> = &lt;Logger ai-api-client-sdk (WARNING)&gt;</dl>
179
+
180
+ </td></tr></table></td></tr></table>
181
+ </body></html>