Update generated client for TPR fix
This commit is contained in:
parent
19ce362d9f
commit
8a3b2bae14
@ -143,7 +143,7 @@ class ThirdPartyResourcesApi(object):
|
||||
if 'body' in params:
|
||||
body_params = params['body']
|
||||
# Authentication setting
|
||||
auth_settings = []
|
||||
auth_settings = ['BearerToken']
|
||||
|
||||
return self.api_client.call_api(resource_path, 'POST',
|
||||
path_params,
|
||||
@ -254,7 +254,7 @@ class ThirdPartyResourcesApi(object):
|
||||
if 'body' in params:
|
||||
body_params = params['body']
|
||||
# Authentication setting
|
||||
auth_settings = []
|
||||
auth_settings = ['BearerToken']
|
||||
|
||||
return self.api_client.call_api(resource_path, 'DELETE',
|
||||
path_params,
|
||||
@ -374,7 +374,7 @@ class ThirdPartyResourcesApi(object):
|
||||
|
||||
body_params = None
|
||||
# Authentication setting
|
||||
auth_settings = []
|
||||
auth_settings = ['BearerToken']
|
||||
|
||||
return self.api_client.call_api(resource_path, 'GET',
|
||||
path_params,
|
||||
@ -484,7 +484,7 @@ class ThirdPartyResourcesApi(object):
|
||||
|
||||
body_params = None
|
||||
# Authentication setting
|
||||
auth_settings = []
|
||||
auth_settings = ['BearerToken']
|
||||
|
||||
return self.api_client.call_api(resource_path, 'GET',
|
||||
path_params,
|
||||
@ -604,7 +604,7 @@ class ThirdPartyResourcesApi(object):
|
||||
if 'body' in params:
|
||||
body_params = params['body']
|
||||
# Authentication setting
|
||||
auth_settings = []
|
||||
auth_settings = ['BearerToken']
|
||||
|
||||
return self.api_client.call_api(resource_path, 'PUT',
|
||||
path_params,
|
||||
|
||||
@ -26,6 +26,11 @@ import kubernetes.client
|
||||
from kubernetes.client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# Configure API key authorization: BearerToken
|
||||
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
|
||||
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
|
||||
|
||||
# create an instance of the API class
|
||||
api_instance = kubernetes.client.ThirdPartyResourcesApi()
|
||||
namespace = 'namespace_example' # str | The Resource's namespace
|
||||
@ -56,7 +61,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
[BearerToken](../README.md#BearerToken)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
@ -80,6 +85,11 @@ import kubernetes.client
|
||||
from kubernetes.client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# Configure API key authorization: BearerToken
|
||||
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
|
||||
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
|
||||
|
||||
# create an instance of the API class
|
||||
api_instance = kubernetes.client.ThirdPartyResourcesApi()
|
||||
body = kubernetes.client.V1DeleteOptions() # V1DeleteOptions |
|
||||
@ -110,7 +120,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
[BearerToken](../README.md#BearerToken)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
@ -134,6 +144,11 @@ import kubernetes.client
|
||||
from kubernetes.client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# Configure API key authorization: BearerToken
|
||||
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
|
||||
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
|
||||
|
||||
# create an instance of the API class
|
||||
api_instance = kubernetes.client.ThirdPartyResourcesApi()
|
||||
namespace = 'namespace_example' # str | The Resource's namespace
|
||||
@ -164,7 +179,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
[BearerToken](../README.md#BearerToken)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
@ -188,6 +203,11 @@ import kubernetes.client
|
||||
from kubernetes.client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# Configure API key authorization: BearerToken
|
||||
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
|
||||
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
|
||||
|
||||
# create an instance of the API class
|
||||
api_instance = kubernetes.client.ThirdPartyResourcesApi()
|
||||
fqdn = 'fqdn_example' # str | The Third party Resource fqdn
|
||||
@ -216,7 +236,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
[BearerToken](../README.md#BearerToken)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
@ -240,6 +260,11 @@ import kubernetes.client
|
||||
from kubernetes.client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# Configure API key authorization: BearerToken
|
||||
kubernetes.client.configuration.api_key['authorization'] = 'YOUR_API_KEY'
|
||||
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
||||
# kubernetes.client.configuration.api_key_prefix['authorization'] = 'Bearer'
|
||||
|
||||
# create an instance of the API class
|
||||
api_instance = kubernetes.client.ThirdPartyResourcesApi()
|
||||
namespace = 'namespace_example' # str | The Resource's namespace
|
||||
@ -270,7 +295,7 @@ Name | Type | Description | Notes
|
||||
|
||||
### Authorization
|
||||
|
||||
No authorization required
|
||||
[BearerToken](../README.md#BearerToken)
|
||||
|
||||
### HTTP request headers
|
||||
|
||||
|
||||
@ -33326,7 +33326,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Returns a list of Resources",
|
||||
"parameters": [
|
||||
{
|
||||
"uniqueItems": true,
|
||||
@ -33354,12 +33353,8 @@
|
||||
"third_party_resources"
|
||||
],
|
||||
"summary": "Gets Resources",
|
||||
"security": [
|
||||
{
|
||||
"Bearer": []
|
||||
}
|
||||
],
|
||||
"operationId": "listThirdPartyResource"
|
||||
"operationId": "listThirdPartyResource",
|
||||
"description": "Returns a list of Resources"
|
||||
}
|
||||
},
|
||||
"/apis/{fqdn}/v1/namespaces/{namespace}/{resource}/{name}": {
|
||||
@ -33372,7 +33367,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Update the specified third party resource of the type specified",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "The Resource's namespace",
|
||||
@ -33409,12 +33403,8 @@
|
||||
"third_party_resources"
|
||||
],
|
||||
"summary": "Update a Resource",
|
||||
"security": [
|
||||
{
|
||||
"Bearer": []
|
||||
}
|
||||
],
|
||||
"operationId": "updateThirdPartyResource"
|
||||
"operationId": "updateThirdPartyResource",
|
||||
"description": "Update the specified third party resource of the type specified"
|
||||
},
|
||||
"delete": {
|
||||
"responses": {
|
||||
@ -33425,7 +33415,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Deletes the specified Resource in the specified namespace",
|
||||
"parameters": [
|
||||
{
|
||||
"schema": {
|
||||
@ -33461,12 +33450,8 @@
|
||||
"third_party_resources"
|
||||
],
|
||||
"summary": "Deletes a specific Resource",
|
||||
"security": [
|
||||
{
|
||||
"Bearer": []
|
||||
}
|
||||
],
|
||||
"operationId": "deleteThirdPartyResource"
|
||||
"operationId": "deleteThirdPartyResource",
|
||||
"description": "Deletes the specified Resource in the specified namespace"
|
||||
},
|
||||
"get": {
|
||||
"responses": {
|
||||
@ -33477,7 +33462,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Returns a specific Resource in a namespace",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "The Resource's namespace",
|
||||
@ -33512,12 +33496,8 @@
|
||||
"third_party_resources"
|
||||
],
|
||||
"summary": "Gets a specific Resource",
|
||||
"security": [
|
||||
{
|
||||
"Bearer": []
|
||||
}
|
||||
],
|
||||
"operationId": "getThirdPartyResource"
|
||||
"operationId": "getThirdPartyResource",
|
||||
"description": "Returns a specific Resource in a namespace"
|
||||
}
|
||||
},
|
||||
"/apis/{fqdn}/v1/namespaces/{namespace}/{resource}": {
|
||||
@ -33530,7 +33510,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "Creates a third party resource of the type specified",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "The Resource's namespace",
|
||||
@ -33567,12 +33546,8 @@
|
||||
"third_party_resources"
|
||||
],
|
||||
"summary": "Create a Resource",
|
||||
"security": [
|
||||
{
|
||||
"Bearer": []
|
||||
}
|
||||
],
|
||||
"operationId": "createThirdPartyResource"
|
||||
"operationId": "createThirdPartyResource",
|
||||
"description": "Creates a third party resource of the type specified"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user