@sap-ai-sdk/ai-api
Version:
SAP Cloud SDK for AI is the official Software Development Kit (SDK) for **SAP AI Core**, **SAP Generative AI Hub**, and **Orchestration Service**.
66 lines • 3.7 kB
TypeScript
import { OpenApiRequestBuilder } from '@sap-ai-sdk/core';
import type { BcknddockerRegistrySecretStatus, BcknddockerRegistrySecretWithSensitiveDataRequest, BcknddockerRegistrySecretModificationResponse, BcknddockerRegistrySecretDeletionResponse, BcknddockerRegistrySecretStatusResponse, BcknddockerRegistryNameComponent, BcknddockerRegistrySecretCreationResponse } from './schema/index.js';
/**
* Representation of the 'DockerRegistrySecretApi'.
* This API is part of the 'AI_CORE_API' service.
*/
export declare const DockerRegistrySecretApi: {
_defaultBasePath: undefined;
/**
* Retrieve the stored secret metadata which matches the parameter dockerRegistryName. The base64 encoded field for the stored secret is not returned.
*
* @param dockerRegistryName - Name of the docker Registry store for the secret.
* @param headerParameters - Object containing the following keys: Authorization.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
kubesubmitV4DockerRegistrySecretsGet: (dockerRegistryName: string, headerParameters?: {
Authorization?: string;
}) => OpenApiRequestBuilder<BcknddockerRegistrySecretStatus>;
/**
* Update a secret with name of dockerRegistryName if it exists.
*
* @param dockerRegistryName - Name of the docker Registry store for the secret.
* @param body - Request body.
* @param headerParameters - Object containing the following keys: Authorization.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
kubesubmitV4DockerRegistrySecretsPatch: (dockerRegistryName: string, body: BcknddockerRegistrySecretWithSensitiveDataRequest, headerParameters?: {
Authorization?: string;
}) => OpenApiRequestBuilder<BcknddockerRegistrySecretModificationResponse>;
/**
* Delete a secret with the name of dockerRegistryName if it exists.
* @param dockerRegistryName - Name of the docker Registry store for the secret.
* @param headerParameters - Object containing the following keys: Authorization.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
kubesubmitV4DockerRegistrySecretsDelete: (dockerRegistryName: string, headerParameters?: {
Authorization?: string;
}) => OpenApiRequestBuilder<BcknddockerRegistrySecretDeletionResponse>;
/**
* Retrieve a list of metadata of the stored secrets
*
* @param queryParameters - Object containing the following keys: $top, $skip, $count.
* @param headerParameters - Object containing the following keys: Authorization.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
kubesubmitV4DockerRegistrySecretsQuery: (queryParameters?: {
$top?: number;
$skip?: number;
$count?: boolean;
}, headerParameters?: {
Authorization?: string;
}) => OpenApiRequestBuilder<BcknddockerRegistrySecretStatusResponse>;
/**
* Create a secret based on the configuration in the request body.
*
* @param body - Request body.
* @param headerParameters - Object containing the following keys: Authorization.
* @returns The request builder, use the `execute()` method to trigger the request.
*/
kubesubmitV4DockerRegistrySecretsCreate: (body: BcknddockerRegistrySecretWithSensitiveDataRequest & {
name: BcknddockerRegistryNameComponent;
} & Record<string, any>, headerParameters?: {
Authorization?: string;
}) => OpenApiRequestBuilder<BcknddockerRegistrySecretCreationResponse>;
};
//# sourceMappingURL=docker-registry-secret-api.d.ts.map