@@ -26,6 +26,11 @@ import kubernetes.client
2626from kubernetes.client.rest import ApiException
2727from pprint import pprint
2828
29+ # Configure API key authorization: BearerToken
30+ kubernetes.client.configuration.api_key[' authorization' ] = ' YOUR_API_KEY'
31+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
32+ # kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
33+
2934# create an instance of the API class
3035api_instance = kubernetes.client.ThirdPartyResourcesApi()
3136namespace = ' namespace_example' # str | The Resource's namespace
@@ -56,7 +61,7 @@ Name | Type | Description | Notes
5661
5762### Authorization
5863
59- No authorization required
64+ [ BearerToken ] ( ../README.md#BearerToken )
6065
6166### HTTP request headers
6267
@@ -80,6 +85,11 @@ import kubernetes.client
8085from kubernetes.client.rest import ApiException
8186from pprint import pprint
8287
88+ # Configure API key authorization: BearerToken
89+ kubernetes.client.configuration.api_key[' authorization' ] = ' YOUR_API_KEY'
90+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
91+ # kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
92+
8393# create an instance of the API class
8494api_instance = kubernetes.client.ThirdPartyResourcesApi()
8595body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions |
@@ -110,7 +120,7 @@ Name | Type | Description | Notes
110120
111121### Authorization
112122
113- No authorization required
123+ [ BearerToken ] ( ../README.md#BearerToken )
114124
115125### HTTP request headers
116126
@@ -134,6 +144,11 @@ import kubernetes.client
134144from kubernetes.client.rest import ApiException
135145from pprint import pprint
136146
147+ # Configure API key authorization: BearerToken
148+ kubernetes.client.configuration.api_key[' authorization' ] = ' YOUR_API_KEY'
149+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
150+ # kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
151+
137152# create an instance of the API class
138153api_instance = kubernetes.client.ThirdPartyResourcesApi()
139154namespace = ' namespace_example' # str | The Resource's namespace
@@ -164,7 +179,7 @@ Name | Type | Description | Notes
164179
165180### Authorization
166181
167- No authorization required
182+ [ BearerToken ] ( ../README.md#BearerToken )
168183
169184### HTTP request headers
170185
@@ -188,6 +203,11 @@ import kubernetes.client
188203from kubernetes.client.rest import ApiException
189204from pprint import pprint
190205
206+ # Configure API key authorization: BearerToken
207+ kubernetes.client.configuration.api_key[' authorization' ] = ' YOUR_API_KEY'
208+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
209+ # kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
210+
191211# create an instance of the API class
192212api_instance = kubernetes.client.ThirdPartyResourcesApi()
193213fqdn = ' fqdn_example' # str | The Third party Resource fqdn
@@ -216,7 +236,7 @@ Name | Type | Description | Notes
216236
217237### Authorization
218238
219- No authorization required
239+ [ BearerToken ] ( ../README.md#BearerToken )
220240
221241### HTTP request headers
222242
@@ -240,6 +260,11 @@ import kubernetes.client
240260from kubernetes.client.rest import ApiException
241261from pprint import pprint
242262
263+ # Configure API key authorization: BearerToken
264+ kubernetes.client.configuration.api_key[' authorization' ] = ' YOUR_API_KEY'
265+ # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
266+ # kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
267+
243268# create an instance of the API class
244269api_instance = kubernetes.client.ThirdPartyResourcesApi()
245270namespace = ' namespace_example' # str | The Resource's namespace
@@ -270,7 +295,7 @@ Name | Type | Description | Notes
270295
271296### Authorization
272297
273- No authorization required
298+ [ BearerToken ] ( ../README.md#BearerToken )
274299
275300### HTTP request headers
276301
0 commit comments