Class CustomObjectsApi

java.lang.Object
io.kubernetes.client.openapi.apis.CustomObjectsApi

public class CustomObjectsApi extends Object
  • Constructor Details

    • CustomObjectsApi

      public CustomObjectsApi()
    • CustomObjectsApi

      public CustomObjectsApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • createClusterCustomObject

      public CustomObjectsApi.APIcreateClusterCustomObjectRequest createClusterCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull Object body)
      Creates a cluster scoped Custom object
      Parameters:
      group - The custom resource's group name (required)
      version - The custom resource's version (required)
      plural - The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      body - The JSON schema of the Resource to create. (required)
      Returns:
      APIcreateClusterCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      201 Created -
      401 Unauthorized -
    • createNamespacedCustomObject

      public CustomObjectsApi.APIcreateNamespacedCustomObjectRequest createNamespacedCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull Object body)
      Creates a namespace scoped Custom object
      Parameters:
      group - The custom resource's group name (required)
      version - The custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      body - The JSON schema of the Resource to create. (required)
      Returns:
      APIcreateNamespacedCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      201 Created -
      401 Unauthorized -
    • deleteClusterCustomObject

      public CustomObjectsApi.APIdeleteClusterCustomObjectRequest deleteClusterCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name)
      Deletes the specified cluster scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom object's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      Returns:
      APIdeleteClusterCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • deleteCollectionClusterCustomObject

      public CustomObjectsApi.APIdeleteCollectionClusterCustomObjectRequest deleteCollectionClusterCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String plural)
      Delete collection of cluster scoped custom objects
      Parameters:
      group - The custom resource's group name (required)
      version - The custom resource's version (required)
      plural - The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      Returns:
      APIdeleteCollectionClusterCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • deleteCollectionNamespacedCustomObject

      public CustomObjectsApi.APIdeleteCollectionNamespacedCustomObjectRequest deleteCollectionNamespacedCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural)
      Delete collection of namespace scoped custom objects
      Parameters:
      group - The custom resource's group name (required)
      version - The custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      Returns:
      APIdeleteCollectionNamespacedCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • deleteNamespacedCustomObject

      public CustomObjectsApi.APIdeleteNamespacedCustomObjectRequest deleteNamespacedCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name)
      Deletes the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      Returns:
      APIdeleteNamespacedCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • getAPIResources

      public CustomObjectsApi.APIgetAPIResourcesRequest getAPIResources(@Nonnull String group, @Nonnull String version)
      get available resources
      Parameters:
      group - The custom resource's group name (required)
      version - The custom resource's version (required)
      Returns:
      APIgetAPIResourcesRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • getClusterCustomObject

      public CustomObjectsApi.APIgetClusterCustomObjectRequest getClusterCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name)
      Returns a cluster scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom object's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      Returns:
      APIgetClusterCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 A single Resource -
      401 Unauthorized -
    • getClusterCustomObjectScale

      public CustomObjectsApi.APIgetClusterCustomObjectScaleRequest getClusterCustomObjectScale(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name)
      read scale of the specified custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      Returns:
      APIgetClusterCustomObjectScaleRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • getClusterCustomObjectStatus

      public CustomObjectsApi.APIgetClusterCustomObjectStatusRequest getClusterCustomObjectStatus(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name)
      read status of the specified cluster scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      Returns:
      APIgetClusterCustomObjectStatusRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • getNamespacedCustomObject

      public CustomObjectsApi.APIgetNamespacedCustomObjectRequest getNamespacedCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name)
      Returns a namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      Returns:
      APIgetNamespacedCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 A single Resource -
      401 Unauthorized -
    • getNamespacedCustomObjectScale

      public CustomObjectsApi.APIgetNamespacedCustomObjectScaleRequest getNamespacedCustomObjectScale(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name)
      read scale of the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      Returns:
      APIgetNamespacedCustomObjectScaleRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • getNamespacedCustomObjectStatus

      public CustomObjectsApi.APIgetNamespacedCustomObjectStatusRequest getNamespacedCustomObjectStatus(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name)
      read status of the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      Returns:
      APIgetNamespacedCustomObjectStatusRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • listClusterCustomObject

      public CustomObjectsApi.APIlistClusterCustomObjectRequest listClusterCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String plural)
      list or watch cluster scoped custom objects
      Parameters:
      group - The custom resource's group name (required)
      version - The custom resource's version (required)
      plural - The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      Returns:
      APIlistClusterCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • listCustomObjectForAllNamespaces

      public CustomObjectsApi.APIlistCustomObjectForAllNamespacesRequest listCustomObjectForAllNamespaces(@Nonnull String group, @Nonnull String version, @Nonnull String resourcePlural)
      list or watch namespace scoped custom objects
      Parameters:
      group - The custom resource's group name (required)
      version - The custom resource's version (required)
      resourcePlural - The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      Returns:
      APIlistCustomObjectForAllNamespacesRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • listNamespacedCustomObject

      public CustomObjectsApi.APIlistNamespacedCustomObjectRequest listNamespacedCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural)
      list or watch namespace scoped custom objects
      Parameters:
      group - The custom resource's group name (required)
      version - The custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      Returns:
      APIlistNamespacedCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • patchClusterCustomObject

      public CustomObjectsApi.APIpatchClusterCustomObjectRequest patchClusterCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      patch the specified cluster scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom object's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - The JSON schema of the Resource to patch. (required)
      Returns:
      APIpatchClusterCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • patchClusterCustomObjectScale

      public CustomObjectsApi.APIpatchClusterCustomObjectScaleRequest patchClusterCustomObjectScale(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      partially update scale of the specified cluster scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - (required)
      Returns:
      APIpatchClusterCustomObjectScaleRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • patchClusterCustomObjectStatus

      public CustomObjectsApi.APIpatchClusterCustomObjectStatusRequest patchClusterCustomObjectStatus(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      partially update status of the specified cluster scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - (required)
      Returns:
      APIpatchClusterCustomObjectStatusRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • patchNamespacedCustomObject

      public CustomObjectsApi.APIpatchNamespacedCustomObjectRequest patchNamespacedCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      patch the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - The JSON schema of the Resource to patch. (required)
      Returns:
      APIpatchNamespacedCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • patchNamespacedCustomObjectScale

      public CustomObjectsApi.APIpatchNamespacedCustomObjectScaleRequest patchNamespacedCustomObjectScale(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      partially update scale of the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - (required)
      Returns:
      APIpatchNamespacedCustomObjectScaleRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • patchNamespacedCustomObjectStatus

      public CustomObjectsApi.APIpatchNamespacedCustomObjectStatusRequest patchNamespacedCustomObjectStatus(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      partially update status of the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - (required)
      Returns:
      APIpatchNamespacedCustomObjectStatusRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • replaceClusterCustomObject

      public CustomObjectsApi.APIreplaceClusterCustomObjectRequest replaceClusterCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      replace the specified cluster scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom object's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - The JSON schema of the Resource to replace. (required)
      Returns:
      APIreplaceClusterCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • replaceClusterCustomObjectScale

      public CustomObjectsApi.APIreplaceClusterCustomObjectScaleRequest replaceClusterCustomObjectScale(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      replace scale of the specified cluster scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - (required)
      Returns:
      APIreplaceClusterCustomObjectScaleRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      201 Created -
      401 Unauthorized -
    • replaceClusterCustomObjectStatus

      public CustomObjectsApi.APIreplaceClusterCustomObjectStatusRequest replaceClusterCustomObjectStatus(@Nonnull String group, @Nonnull String version, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      replace status of the cluster scoped specified custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - (required)
      Returns:
      APIreplaceClusterCustomObjectStatusRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      201 Created -
      401 Unauthorized -
    • replaceNamespacedCustomObject

      public CustomObjectsApi.APIreplaceNamespacedCustomObjectRequest replaceNamespacedCustomObject(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      replace the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - The JSON schema of the Resource to replace. (required)
      Returns:
      APIreplaceNamespacedCustomObjectRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      401 Unauthorized -
    • replaceNamespacedCustomObjectScale

      public CustomObjectsApi.APIreplaceNamespacedCustomObjectScaleRequest replaceNamespacedCustomObjectScale(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      replace scale of the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - (required)
      Returns:
      APIreplaceNamespacedCustomObjectScaleRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      201 Created -
      401 Unauthorized -
    • replaceNamespacedCustomObjectStatus

      public CustomObjectsApi.APIreplaceNamespacedCustomObjectStatusRequest replaceNamespacedCustomObjectStatus(@Nonnull String group, @Nonnull String version, @Nonnull String namespace, @Nonnull String plural, @Nonnull String name, @Nonnull Object body)
      replace status of the specified namespace scoped custom object
      Parameters:
      group - the custom resource's group (required)
      version - the custom resource's version (required)
      namespace - The custom resource's namespace (required)
      plural - the custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
      name - the custom object's name (required)
      body - (required)
      Returns:
      APIreplaceNamespacedCustomObjectStatusRequest
      Http Response Details:
      Response Details
      Status Code Description Response Headers
      200 OK -
      201 Created -
      401 Unauthorized -