- Preparing search index...
- The search index is not available
camunda-8-sdk
Constructors
constructor
- new ConsoleApiClient(userAgent?: string): ConsoleApiClient
-
Parameters
-
Optional
userAgent: string
Properties
Private
getHeaders
getHeaders: any
Private
gotOptions
gotOptions: any
Private
userAgentString
userAgentString: any
Methods
createClient
- createClient(req: {
clientName: string;
clusterUuid: string;
permissions: string[];
}): Promise<CreatedClusterClient>
-
Parameters
-
req: {
clientName: string;
clusterUuid: string;
permissions: string[];
}
-
clientName: string
-
clusterUuid: string
-
permissions: string[]
createCluster
- createCluster(createClusterRequest: CreateClusterBody): Promise<{
clusterId: string;
}>
-
Returns Promise<{
clusterId: string;
}>
createSecret
- createSecret(__namedParameters: {
clusterUuid: string;
secretName: string;
secretValue: string;
}): Promise<null>
-
Parameters
-
__namedParameters: {
clusterUuid: string;
secretName: string;
secretValue: string;
}
-
clusterUuid: string
-
secretName: string
-
secretValue: string
Returns Promise<null>
deleteClient
- deleteClient(clusterUuid: string, clientId: string): Promise<null>
-
Parameters
-
clusterUuid: string
-
clientId: string
Returns Promise<null>
deleteCluster
- deleteCluster(clusterUuid: string): Promise<null>
-
Returns Promise<null>
deleteSecret
- deleteSecret(clusterUuid: string, secretName: string): Promise<null>
-
Parameters
-
clusterUuid: string
-
secretName: string
Returns Promise<null>
getClient
- getClient(clusterUuid: string, clientId: string): Promise<ClusterClientConnectionDetails>
-
Parameters
-
clusterUuid: string
-
clientId: string
getClients
- getClients(clusterUuid: string): Promise<ClusterClient[]>
-
getCluster
- getCluster(clusterUuid: string): Promise<Cluster>
-
Returns Promise<Cluster>
getClusters
- getClusters(): Promise<Cluster[]>
-
Returns Promise<Cluster[]>
getParameters
- getParameters(): Promise<Parameters>
-
getSecrets
- getSecrets(clusterUuid: string): Promise<{
[key: string]: string;
}>
-
Returns Promise<{
[key: string]: string;
}>
whitelistIPs
- whitelistIPs(clusterUuid: string, ipwhitelist: [{
description: string;
ip: string;
}]): Promise<unknown>
-
Parameters
-
clusterUuid: string
-
ipwhitelist: [{
description: string;
ip: string;
}]
Returns Promise<unknown>
Description
Create a new API client for a cluster. See the API Documentation for more details.
Returns