# Variable ResourceApi`Const`

ResourceApi: {
_defaultBasePath: undefined;
kubesubmitV4InstanceTypesGet: (
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndInstanceTypeGetResponse>;
kubesubmitV4ResourcesGet: (
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndResourceGetResponse>;
kubesubmitV4ResourcesPatch: (
body: BckndResourcePatchBody,
headerParameters?: { Authorization?: string },
) => OpenApiRequestBuilder<BckndResourcePatchResponse>;
}

Representation of the 'ResourceApi'. This API is part of the 'AI_CORE_API' service.

#### Type Declaration

- ##### _defaultBasePath: undefined

- ##### kubesubmitV4InstanceTypesGet: (
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndInstanceTypeGetResponse>

  Lists all the instance types available in the cluster.

- ##### kubesubmitV4ResourcesGet: (
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndResourceGetResponse>

  Lists all hot spare nodes, used nodes and total nodes corresponding to tenant.

- ##### kubesubmitV4ResourcesPatch: (
  body: BckndResourcePatchBody,
  headerParameters?: { Authorization?: string },
  ) => OpenApiRequestBuilder<BckndResourcePatchResponse>

  Set hot spare nodes corresponding to tenant at main tenant level.

  Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/ai-api/dist/client/AI_CORE_API/resource-api.d.ts:7