@harnessio/react-chaos-manager-client 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chaos-manager/src/services/hooks/useDeleteMachineChaosInfraMutation.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useGetFaultQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultVariablesQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultVariablesQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultYamlQuery.d.ts +28 -0
- package/dist/chaos-manager/src/services/hooks/useGetFaultYamlQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useGetMachineChaosInfraDetailsQuery.js +1 -1
- package/dist/chaos-manager/src/services/hooks/useListFaultInHubQuery.d.ts +36 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultInHubQuery.js +14 -0
- package/dist/chaos-manager/src/services/hooks/useListFaultQuery.d.ts +18 -14
- package/dist/chaos-manager/src/services/hooks/useListFaultQuery.js +2 -2
- package/dist/chaos-manager/src/services/index.d.ts +18 -0
- package/dist/chaos-manager/src/services/index.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ActionsActionResponse.d.ts +3 -0
- package/dist/chaos-manager/src/services/schemas/ActionsExecutedByExperiment.d.ts +2 -2
- package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.d.ts +7 -6
- package/dist/chaos-manager/src/services/schemas/ActionsImportActionTemplateRequest.js +0 -3
- package/dist/chaos-manager/src/services/schemas/ActionsUserDetails.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/ActionsUserDetails.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.d.ts +28 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultChaosFault.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultVariables.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultYaml.d.ts +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultFaultYaml.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultGetFaultResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultListFaultResponse.d.ts +7 -0
- package/dist/chaos-manager/src/services/schemas/ChaosfaultListFaultResponse.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ExecutionActionData.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAction.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/MongodbIdentifiers.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/MongodbIdentifiers.js +4 -0
- package/dist/chaos-manager/src/services/schemas/MongodbImportType.d.ts +1 -0
- package/dist/chaos-manager/src/services/schemas/MongodbImportType.js +4 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeTemplate.d.ts +2 -0
- package/dist/chaos-manager/src/services/schemas/ProbeApmProbeType.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/ProbeDynatraceApmProbeInputs.d.ts +6 -0
- package/dist/chaos-manager/src/services/schemas/ProbeDynatraceApmProbeInputs.js +1 -0
- package/dist/chaos-manager/src/services/schemas/ResourceQuantity.d.ts +1 -1
- package/dist/chaos-manager/src/services/schemas/TypesGetProbeResponse.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.d.ts +7 -6
- package/dist/chaos-manager/src/services/schemas/TypesImportProbeTemplateRequest.js +0 -3
- package/dist/chaos-manager/src/services/schemas/TypesProbeRequest.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/V1ApmProbeInputs.d.ts +5 -0
- package/dist/chaos-manager/src/services/schemas/V1DynatraceApmProbeInputs.d.ts +19 -0
- package/dist/chaos-manager/src/services/schemas/V1DynatraceApmProbeInputs.js +1 -0
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useMutation } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function deleteMachineChaosInfra(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/machine/infra
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infra/${props.id}`, method: 'DELETE' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Deletes a machine chaos infra
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaultGetFaultResponse } from '../schemas/ChaosfaultGetFaultResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetFaultQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetFaultQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
isEnterprise?: boolean;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetFaultOkResponse = ChaosfaultGetFaultResponse;
|
|
16
|
+
export type GetFaultErrorResponse = ApiRestError;
|
|
17
|
+
export interface GetFaultProps extends GetFaultQueryPathParams, Omit<FetcherOptions<GetFaultQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetFaultQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export interface GetFaultResponseContainer {
|
|
21
|
+
body: GetFaultOkResponse;
|
|
22
|
+
headers: Headers;
|
|
23
|
+
}
|
|
24
|
+
export declare function getFault(props: GetFaultProps): Promise<GetFaultResponseContainer>;
|
|
25
|
+
/**
|
|
26
|
+
* Get fault from project
|
|
27
|
+
*/
|
|
28
|
+
export declare function useGetFaultQuery(props: GetFaultProps, options?: Omit<UseQueryOptions<GetFaultResponseContainer, GetFaultErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getFault(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults/${props.identity}`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get fault from project
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFaultQuery(props, options) {
|
|
13
|
+
return useQuery(['getFault', props.identity, props.queryParams], ({ signal }) => getFault(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaultFaultVariables } from '../schemas/ChaosfaultFaultVariables';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetFaultVariablesQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetFaultVariablesQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
isEnterprise?: boolean;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetFaultVariablesOkResponse = ChaosfaultFaultVariables;
|
|
16
|
+
export type GetFaultVariablesErrorResponse = ApiRestError;
|
|
17
|
+
export interface GetFaultVariablesProps extends GetFaultVariablesQueryPathParams, Omit<FetcherOptions<GetFaultVariablesQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetFaultVariablesQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export interface GetFaultVariablesResponseContainer {
|
|
21
|
+
body: GetFaultVariablesOkResponse;
|
|
22
|
+
headers: Headers;
|
|
23
|
+
}
|
|
24
|
+
export declare function getFaultVariables(props: GetFaultVariablesProps): Promise<GetFaultVariablesResponseContainer>;
|
|
25
|
+
/**
|
|
26
|
+
* Get the list of variables in a fault
|
|
27
|
+
*/
|
|
28
|
+
export declare function useGetFaultVariablesQuery(props: GetFaultVariablesProps, options?: Omit<UseQueryOptions<GetFaultVariablesResponseContainer, GetFaultVariablesErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultVariablesResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getFaultVariables(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults/${props.identity}/variables`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the list of variables in a fault
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFaultVariablesQuery(props, options) {
|
|
13
|
+
return useQuery(['getFaultVariables', props.identity, props.queryParams], ({ signal }) => getFaultVariables(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaosfaultFaultYaml } from '../schemas/ChaosfaultFaultYaml';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface GetFaultYamlQueryPathParams {
|
|
6
|
+
identity: string;
|
|
7
|
+
}
|
|
8
|
+
export interface GetFaultYamlQueryQueryParams {
|
|
9
|
+
accountIdentifier: string;
|
|
10
|
+
correlationID?: string;
|
|
11
|
+
isEnterprise?: boolean;
|
|
12
|
+
organizationIdentifier?: string;
|
|
13
|
+
projectIdentifier?: string;
|
|
14
|
+
}
|
|
15
|
+
export type GetFaultYamlOkResponse = ChaosfaultFaultYaml;
|
|
16
|
+
export type GetFaultYamlErrorResponse = ApiRestError;
|
|
17
|
+
export interface GetFaultYamlProps extends GetFaultYamlQueryPathParams, Omit<FetcherOptions<GetFaultYamlQueryQueryParams, unknown>, 'url'> {
|
|
18
|
+
queryParams: GetFaultYamlQueryQueryParams;
|
|
19
|
+
}
|
|
20
|
+
export interface GetFaultYamlResponseContainer {
|
|
21
|
+
body: GetFaultYamlOkResponse;
|
|
22
|
+
headers: Headers;
|
|
23
|
+
}
|
|
24
|
+
export declare function getFaultYaml(props: GetFaultYamlProps): Promise<GetFaultYamlResponseContainer>;
|
|
25
|
+
/**
|
|
26
|
+
* Get the yaml of a fault
|
|
27
|
+
*/
|
|
28
|
+
export declare function useGetFaultYamlQuery(props: GetFaultYamlProps, options?: Omit<UseQueryOptions<GetFaultYamlResponseContainer, GetFaultYamlErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<GetFaultYamlResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function getFaultYaml(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults/${props.identity}/yaml`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Get the yaml of a fault
|
|
11
|
+
*/
|
|
12
|
+
export function useGetFaultYamlQuery(props, options) {
|
|
13
|
+
return useQuery(['getFaultYaml', props.identity, props.queryParams], ({ signal }) => getFaultYaml(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function getMachineChaosInfraDetails(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/machine/infra
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/machine/infra/${props.id}`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Get machine chaos infrastructure details
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { ChaoshubListFaultsResponse } from '../schemas/ChaoshubListFaultsResponse';
|
|
3
|
+
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
|
+
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
|
+
export interface ListFaultInHubQueryQueryParams {
|
|
6
|
+
accountIdentifier: string;
|
|
7
|
+
organizationIdentifier: string;
|
|
8
|
+
projectIdentifier: string;
|
|
9
|
+
hubIdentity?: string;
|
|
10
|
+
infraType?: string;
|
|
11
|
+
permissionsRequired?: string;
|
|
12
|
+
entityType?: string;
|
|
13
|
+
search: string;
|
|
14
|
+
/**
|
|
15
|
+
* @default 0
|
|
16
|
+
*/
|
|
17
|
+
page: number;
|
|
18
|
+
/**
|
|
19
|
+
* @default 15
|
|
20
|
+
*/
|
|
21
|
+
limit: number;
|
|
22
|
+
}
|
|
23
|
+
export type ListFaultInHubOkResponse = ChaoshubListFaultsResponse;
|
|
24
|
+
export type ListFaultInHubErrorResponse = ApiRestError;
|
|
25
|
+
export interface ListFaultInHubProps extends Omit<FetcherOptions<ListFaultInHubQueryQueryParams, unknown>, 'url'> {
|
|
26
|
+
queryParams: ListFaultInHubQueryQueryParams;
|
|
27
|
+
}
|
|
28
|
+
export interface ListFaultInHubResponseContainer {
|
|
29
|
+
body: ListFaultInHubOkResponse;
|
|
30
|
+
headers: Headers;
|
|
31
|
+
}
|
|
32
|
+
export declare function listFaultInHub(props: ListFaultInHubProps): Promise<ListFaultInHubResponseContainer>;
|
|
33
|
+
/**
|
|
34
|
+
* Lists faults in a chaos hub based on given filters
|
|
35
|
+
*/
|
|
36
|
+
export declare function useListFaultInHubQuery(props: ListFaultInHubProps, options?: Omit<UseQueryOptions<ListFaultInHubResponseContainer, ListFaultInHubErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultInHubResponseContainer, ApiRestError>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// This code is autogenerated using @harnessio/oats-cli.
|
|
3
|
+
// Please do not modify this code directly.
|
|
4
|
+
import { useQuery } from '@tanstack/react-query';
|
|
5
|
+
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
|
+
export function listFaultInHub(props) {
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/hubs/faults`, method: 'GET' }, props));
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Lists faults in a chaos hub based on given filters
|
|
11
|
+
*/
|
|
12
|
+
export function useListFaultInHubQuery(props, options) {
|
|
13
|
+
return useQuery(['listFaultInHub', props.queryParams], ({ signal }) => listFaultInHub(Object.assign(Object.assign({}, props), { signal })), options);
|
|
14
|
+
}
|
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
import { UseQueryOptions } from '@tanstack/react-query';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ChaosfaultListFaultResponse } from '../schemas/ChaosfaultListFaultResponse';
|
|
3
3
|
import type { ApiRestError } from '../schemas/ApiRestError';
|
|
4
4
|
import { FetcherOptions } from '../../../../custom-fetcher/index.js';
|
|
5
5
|
export interface ListFaultQueryQueryParams {
|
|
6
6
|
accountIdentifier: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
permissionsRequired?: string;
|
|
12
|
-
entityType?: string;
|
|
13
|
-
search: string;
|
|
7
|
+
category?: 'AWS' | 'Azure' | 'GCP' | 'Kubernetes' | 'Redis';
|
|
8
|
+
correlationID?: string;
|
|
9
|
+
infrastructureType?: 'KubernetesV2';
|
|
10
|
+
isEnterprise?: boolean;
|
|
14
11
|
/**
|
|
15
|
-
* @default
|
|
12
|
+
* @default 10
|
|
16
13
|
*/
|
|
17
|
-
|
|
14
|
+
limit?: number;
|
|
15
|
+
organizationIdentifier?: string;
|
|
18
16
|
/**
|
|
19
|
-
* @default
|
|
17
|
+
* @default 0
|
|
20
18
|
*/
|
|
21
|
-
|
|
19
|
+
page?: number;
|
|
20
|
+
projectIdentifier?: string;
|
|
21
|
+
search?: string;
|
|
22
|
+
sortAscending?: boolean;
|
|
23
|
+
sortField?: 'lastUpdated' | 'name';
|
|
24
|
+
tags?: string;
|
|
25
|
+
type?: 'Resource';
|
|
22
26
|
}
|
|
23
|
-
export type ListFaultOkResponse =
|
|
27
|
+
export type ListFaultOkResponse = ChaosfaultListFaultResponse;
|
|
24
28
|
export type ListFaultErrorResponse = ApiRestError;
|
|
25
29
|
export interface ListFaultProps extends Omit<FetcherOptions<ListFaultQueryQueryParams, unknown>, 'url'> {
|
|
26
30
|
queryParams: ListFaultQueryQueryParams;
|
|
@@ -31,6 +35,6 @@ export interface ListFaultResponseContainer {
|
|
|
31
35
|
}
|
|
32
36
|
export declare function listFault(props: ListFaultProps): Promise<ListFaultResponseContainer>;
|
|
33
37
|
/**
|
|
34
|
-
* Lists faults in a
|
|
38
|
+
* Lists lists faults in a project
|
|
35
39
|
*/
|
|
36
40
|
export declare function useListFaultQuery(props: ListFaultProps, options?: Omit<UseQueryOptions<ListFaultResponseContainer, ListFaultErrorResponse>, 'queryKey' | 'queryFn'>): import("@tanstack/react-query").UseQueryResult<ListFaultResponseContainer, ApiRestError>;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../custom-fetcher/index.js';
|
|
6
6
|
export function listFault(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/rest/
|
|
7
|
+
return fetcher(Object.assign({ url: `/rest/faults`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* Lists faults in a
|
|
10
|
+
* Lists lists faults in a project
|
|
11
11
|
*/
|
|
12
12
|
export function useListFaultQuery(props, options) {
|
|
13
13
|
return useQuery(['listFault', props.queryParams], ({ signal }) => listFault(Object.assign(Object.assign({}, props), { signal })), options);
|
|
@@ -100,6 +100,8 @@ export type { GetExperimentRunTimelineViewErrorResponse, GetExperimentRunTimelin
|
|
|
100
100
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
101
101
|
export type { GetExperimentRunsOverviewStatsErrorResponse, GetExperimentRunsOverviewStatsOkResponse, GetExperimentRunsOverviewStatsProps, GetExperimentRunsOverviewStatsQueryQueryParams, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
102
102
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
103
|
+
export type { GetFaultErrorResponse, GetFaultOkResponse, GetFaultProps, GetFaultQueryPathParams, GetFaultQueryQueryParams, } from './hooks/useGetFaultQuery';
|
|
104
|
+
export { getFault, useGetFaultQuery } from './hooks/useGetFaultQuery';
|
|
103
105
|
export type { GetFaultTemplateErrorResponse, GetFaultTemplateOkResponse, GetFaultTemplateProps, GetFaultTemplateQueryPathParams, GetFaultTemplateQueryQueryParams, } from './hooks/useGetFaultTemplateQuery';
|
|
104
106
|
export { getFaultTemplate, useGetFaultTemplateQuery } from './hooks/useGetFaultTemplateQuery';
|
|
105
107
|
export type { GetFaultTemplateRevisionsErrorResponse, GetFaultTemplateRevisionsOkResponse, GetFaultTemplateRevisionsProps, GetFaultTemplateRevisionsQueryPathParams, GetFaultTemplateRevisionsQueryQueryParams, } from './hooks/useGetFaultTemplateRevisionsQuery';
|
|
@@ -108,6 +110,10 @@ export type { GetFaultTemplateVariablesErrorResponse, GetFaultTemplateVariablesO
|
|
|
108
110
|
export { getFaultTemplateVariables, useGetFaultTemplateVariablesQuery, } from './hooks/useGetFaultTemplateVariablesQuery';
|
|
109
111
|
export type { GetFaultTemplateYamlErrorResponse, GetFaultTemplateYamlOkResponse, GetFaultTemplateYamlProps, GetFaultTemplateYamlQueryPathParams, GetFaultTemplateYamlQueryQueryParams, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
110
112
|
export { getFaultTemplateYaml, useGetFaultTemplateYamlQuery, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
113
|
+
export type { GetFaultVariablesErrorResponse, GetFaultVariablesOkResponse, GetFaultVariablesProps, GetFaultVariablesQueryPathParams, GetFaultVariablesQueryQueryParams, } from './hooks/useGetFaultVariablesQuery';
|
|
114
|
+
export { getFaultVariables, useGetFaultVariablesQuery } from './hooks/useGetFaultVariablesQuery';
|
|
115
|
+
export type { GetFaultYamlErrorResponse, GetFaultYamlOkResponse, GetFaultYamlProps, GetFaultYamlQueryPathParams, GetFaultYamlQueryQueryParams, } from './hooks/useGetFaultYamlQuery';
|
|
116
|
+
export { getFaultYaml, useGetFaultYamlQuery } from './hooks/useGetFaultYamlQuery';
|
|
111
117
|
export type { GetGamedayRunV2ErrorResponse, GetGamedayRunV2OkResponse, GetGamedayRunV2Props, GetGamedayRunV2QueryPathParams, GetGamedayRunV2QueryQueryParams, } from './hooks/useGetGamedayRunV2Query';
|
|
112
118
|
export { getGamedayRunV2, useGetGamedayRunV2Query } from './hooks/useGetGamedayRunV2Query';
|
|
113
119
|
export type { GetGamedayV2ErrorResponse, GetGamedayV2OkResponse, GetGamedayV2Props, GetGamedayV2QueryPathParams, GetGamedayV2QueryQueryParams, } from './hooks/useGetGamedayV2Query';
|
|
@@ -172,6 +178,8 @@ export type { ListChaosV2ExperimentErrorResponse, ListChaosV2ExperimentOkRespons
|
|
|
172
178
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
173
179
|
export type { ListExperimentsWithActiveInfrasMinimalNotificationErrorResponse, ListExperimentsWithActiveInfrasMinimalNotificationOkResponse, ListExperimentsWithActiveInfrasMinimalNotificationProps, ListExperimentsWithActiveInfrasMinimalNotificationQueryQueryParams, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
174
180
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
181
|
+
export type { ListFaultInHubErrorResponse, ListFaultInHubOkResponse, ListFaultInHubProps, ListFaultInHubQueryQueryParams, } from './hooks/useListFaultInHubQuery';
|
|
182
|
+
export { listFaultInHub, useListFaultInHubQuery } from './hooks/useListFaultInHubQuery';
|
|
175
183
|
export type { ListFaultErrorResponse, ListFaultOkResponse, ListFaultProps, ListFaultQueryQueryParams, } from './hooks/useListFaultQuery';
|
|
176
184
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
177
185
|
export type { ListFaultTemplateErrorResponse, ListFaultTemplateOkResponse, ListFaultTemplateProps, ListFaultTemplateQueryQueryParams, } from './hooks/useListFaultTemplateQuery';
|
|
@@ -285,6 +293,7 @@ export type { ActionsImportActionTemplateRequest } from './schemas/ActionsImport
|
|
|
285
293
|
export type { ActionsInfrastructureType } from './schemas/ActionsInfrastructureType';
|
|
286
294
|
export type { ActionsListActionTemplateResponse } from './schemas/ActionsListActionTemplateResponse';
|
|
287
295
|
export type { ActionsRecentExecutions } from './schemas/ActionsRecentExecutions';
|
|
296
|
+
export type { ActionsUserDetails } from './schemas/ActionsUserDetails';
|
|
288
297
|
export type { ApiGetHarnessInfrastructureResponse } from './schemas/ApiGetHarnessInfrastructureResponse';
|
|
289
298
|
export type { ApiHarnessInfrastructure } from './schemas/ApiHarnessInfrastructure';
|
|
290
299
|
export type { ApiListHarnessInfrastructureResponse } from './schemas/ApiListHarnessInfrastructureResponse';
|
|
@@ -336,6 +345,11 @@ export type { ChaosactiontemplateActionsTemplateCount } from './schemas/Chaosact
|
|
|
336
345
|
export type { ChaosactiontemplateChaosActionTemplate } from './schemas/ChaosactiontemplateChaosActionTemplate';
|
|
337
346
|
export type { ChaosexperimentpipelineGetChaosPipelineNodesResponse } from './schemas/ChaosexperimentpipelineGetChaosPipelineNodesResponse';
|
|
338
347
|
export type { ChaosexperimentpipelineReferenceEntities } from './schemas/ChaosexperimentpipelineReferenceEntities';
|
|
348
|
+
export type { ChaosfaultChaosFault } from './schemas/ChaosfaultChaosFault';
|
|
349
|
+
export type { ChaosfaultFaultVariables } from './schemas/ChaosfaultFaultVariables';
|
|
350
|
+
export type { ChaosfaultFaultYaml } from './schemas/ChaosfaultFaultYaml';
|
|
351
|
+
export type { ChaosfaultGetFaultResponse } from './schemas/ChaosfaultGetFaultResponse';
|
|
352
|
+
export type { ChaosfaultListFaultResponse } from './schemas/ChaosfaultListFaultResponse';
|
|
339
353
|
export type { ChaosfaulttemplateActionTemplate } from './schemas/ChaosfaulttemplateActionTemplate';
|
|
340
354
|
export type { ChaosfaulttemplateActionTemplateVariables } from './schemas/ChaosfaulttemplateActionTemplateVariables';
|
|
341
355
|
export type { ChaosfaulttemplateChaosFaultTemplate } from './schemas/ChaosfaulttemplateChaosFaultTemplate';
|
|
@@ -594,6 +608,8 @@ export type { ModelWeightages } from './schemas/ModelWeightages';
|
|
|
594
608
|
export type { ModelWorkflowRun } from './schemas/ModelWorkflowRun';
|
|
595
609
|
export type { ModelWorkflowRunStatus } from './schemas/ModelWorkflowRunStatus';
|
|
596
610
|
export type { ModelWorkflowType } from './schemas/ModelWorkflowType';
|
|
611
|
+
export type { MongodbIdentifiers } from './schemas/MongodbIdentifiers';
|
|
612
|
+
export type { MongodbImportType } from './schemas/MongodbImportType';
|
|
597
613
|
export type { NetworkmapCanRetryExperimentCreationResponse } from './schemas/NetworkmapCanRetryExperimentCreationResponse';
|
|
598
614
|
export type { NetworkmapGetTargetNetworkMapResponse } from './schemas/NetworkmapGetTargetNetworkMapResponse';
|
|
599
615
|
export type { NetworkmapGetTargetServiceResponse } from './schemas/NetworkmapGetTargetServiceResponse';
|
|
@@ -621,6 +637,7 @@ export type { ProbeDatadogMetrics } from './schemas/ProbeDatadogMetrics';
|
|
|
621
637
|
export type { ProbeDatadogMetricsTemplate } from './schemas/ProbeDatadogMetricsTemplate';
|
|
622
638
|
export type { ProbeDatadogProbe } from './schemas/ProbeDatadogProbe';
|
|
623
639
|
export type { ProbeDatadogProbeTemplate } from './schemas/ProbeDatadogProbeTemplate';
|
|
640
|
+
export type { ProbeDynatraceApmProbeInputs } from './schemas/ProbeDynatraceApmProbeInputs';
|
|
624
641
|
export type { ProbeDynatraceMetricsTemplate } from './schemas/ProbeDynatraceMetricsTemplate';
|
|
625
642
|
export type { ProbeDynatraceProbe } from './schemas/ProbeDynatraceProbe';
|
|
626
643
|
export type { ProbeDynatraceProbeTemplate } from './schemas/ProbeDynatraceProbeTemplate';
|
|
@@ -787,6 +804,7 @@ export type { V1DatadogSyntheticsTestType } from './schemas/V1DatadogSyntheticsT
|
|
|
787
804
|
export type { V1DownwardApiProjection } from './schemas/V1DownwardApiProjection';
|
|
788
805
|
export type { V1DownwardApiVolumeFile } from './schemas/V1DownwardApiVolumeFile';
|
|
789
806
|
export type { V1DownwardApiVolumeSource } from './schemas/V1DownwardApiVolumeSource';
|
|
807
|
+
export type { V1DynatraceApmProbeInputs } from './schemas/V1DynatraceApmProbeInputs';
|
|
790
808
|
export type { V1DynatraceProbeInputs } from './schemas/V1DynatraceProbeInputs';
|
|
791
809
|
export type { V1EmptyDirVolumeSource } from './schemas/V1EmptyDirVolumeSource';
|
|
792
810
|
export type { V1EnvFromSource } from './schemas/V1EnvFromSource';
|
|
@@ -49,10 +49,13 @@ export { getConnectorForInfra, useGetConnectorForInfraQuery, } from './hooks/use
|
|
|
49
49
|
export { getExperimentHelperImageVersion, useGetExperimentHelperImageVersionQuery, } from './hooks/useGetExperimentHelperImageVersionQuery';
|
|
50
50
|
export { getExperimentRunTimelineView, useGetExperimentRunTimelineViewQuery, } from './hooks/useGetExperimentRunTimelineViewQuery';
|
|
51
51
|
export { getExperimentRunsOverviewStats, useGetExperimentRunsOverviewStatsQuery, } from './hooks/useGetExperimentRunsOverviewStatsQuery';
|
|
52
|
+
export { getFault, useGetFaultQuery } from './hooks/useGetFaultQuery';
|
|
52
53
|
export { getFaultTemplate, useGetFaultTemplateQuery } from './hooks/useGetFaultTemplateQuery';
|
|
53
54
|
export { getFaultTemplateRevisions, useGetFaultTemplateRevisionsQuery, } from './hooks/useGetFaultTemplateRevisionsQuery';
|
|
54
55
|
export { getFaultTemplateVariables, useGetFaultTemplateVariablesQuery, } from './hooks/useGetFaultTemplateVariablesQuery';
|
|
55
56
|
export { getFaultTemplateYaml, useGetFaultTemplateYamlQuery, } from './hooks/useGetFaultTemplateYamlQuery';
|
|
57
|
+
export { getFaultVariables, useGetFaultVariablesQuery } from './hooks/useGetFaultVariablesQuery';
|
|
58
|
+
export { getFaultYaml, useGetFaultYamlQuery } from './hooks/useGetFaultYamlQuery';
|
|
56
59
|
export { getGamedayRunV2, useGetGamedayRunV2Query } from './hooks/useGetGamedayRunV2Query';
|
|
57
60
|
export { getGamedayV2, useGetGamedayV2Query } from './hooks/useGetGamedayV2Query';
|
|
58
61
|
export { getImageRegistry, useGetImageRegistryQuery } from './hooks/useGetImageRegistryQuery';
|
|
@@ -85,6 +88,7 @@ export { listChaosEnabledInfraV2, useListChaosEnabledInfraV2Query, } from './hoo
|
|
|
85
88
|
export { listChaosHub, useListChaosHubQuery } from './hooks/useListChaosHubQuery';
|
|
86
89
|
export { listChaosV2Experiment, useListChaosV2ExperimentQuery, } from './hooks/useListChaosV2ExperimentQuery';
|
|
87
90
|
export { listExperimentsWithActiveInfrasMinimalNotification, useListExperimentsWithActiveInfrasMinimalNotificationQuery, } from './hooks/useListExperimentsWithActiveInfrasMinimalNotificationQuery';
|
|
91
|
+
export { listFaultInHub, useListFaultInHubQuery } from './hooks/useListFaultInHubQuery';
|
|
88
92
|
export { listFault, useListFaultQuery } from './hooks/useListFaultQuery';
|
|
89
93
|
export { listFaultTemplate, useListFaultTemplateQuery } from './hooks/useListFaultTemplateQuery';
|
|
90
94
|
export { listFunction, useListFunctionQuery } from './hooks/useListFunctionQuery';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
|
|
2
2
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
3
|
+
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
3
4
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
4
5
|
import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
|
|
5
6
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
@@ -16,7 +17,9 @@ export interface ActionsActionResponse {
|
|
|
16
17
|
description?: string;
|
|
17
18
|
hubRef?: string;
|
|
18
19
|
identity?: string;
|
|
20
|
+
importType?: MongodbImportType;
|
|
19
21
|
infrastructureType?: ActionsInfrastructureType;
|
|
22
|
+
isImported?: boolean;
|
|
20
23
|
isRemoved?: boolean;
|
|
21
24
|
name: string;
|
|
22
25
|
orgID?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ActionsUserDetails } from '../schemas/ActionsUserDetails';
|
|
2
2
|
export interface ActionsExecutedByExperiment {
|
|
3
3
|
experimentID?: string;
|
|
4
4
|
experimentName?: string;
|
|
5
5
|
experimentRunID?: string;
|
|
6
6
|
notifyID?: string;
|
|
7
7
|
updatedAt?: number;
|
|
8
|
-
updatedBy?:
|
|
8
|
+
updatedBy?: ActionsUserDetails;
|
|
9
9
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { MongodbIdentifiers } from '../schemas/MongodbIdentifiers';
|
|
2
|
+
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
1
3
|
export interface ActionsImportActionTemplateRequest {
|
|
2
|
-
|
|
3
|
-
actionRef?: string;
|
|
4
|
+
actionRef: string;
|
|
4
5
|
description?: string;
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
hubIdentifiers?: MongodbIdentifiers;
|
|
7
|
+
hubRef: string;
|
|
8
|
+
identity: string;
|
|
9
|
+
importType: MongodbImportType;
|
|
7
10
|
name: string;
|
|
8
|
-
orgID?: string;
|
|
9
|
-
projectID?: string;
|
|
10
11
|
tags?: string[];
|
|
11
12
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
2
|
+
export interface ChaosfaultChaosFault {
|
|
3
|
+
accountID: string;
|
|
4
|
+
category?: string[];
|
|
5
|
+
createdAt?: number;
|
|
6
|
+
createdBy?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Mongo ID (primary key)
|
|
10
|
+
*/
|
|
11
|
+
id?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier (human-readable) immutable
|
|
14
|
+
*/
|
|
15
|
+
identity?: string;
|
|
16
|
+
infrastructureType?: string;
|
|
17
|
+
isEnterprise?: boolean;
|
|
18
|
+
isRemoved: boolean;
|
|
19
|
+
name: string;
|
|
20
|
+
orgID?: string;
|
|
21
|
+
projectID?: string;
|
|
22
|
+
tags?: string[];
|
|
23
|
+
template?: string;
|
|
24
|
+
type?: string;
|
|
25
|
+
updatedAt?: number;
|
|
26
|
+
updatedBy?: string;
|
|
27
|
+
variables?: TemplateVariable[];
|
|
28
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FaulttemplateSpec } from '../schemas/FaulttemplateSpec';
|
|
2
|
+
import type { TemplateVariableMinimum } from '../schemas/TemplateVariableMinimum';
|
|
3
|
+
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
4
|
+
export interface ChaosfaultGetFaultResponse {
|
|
5
|
+
category?: string[];
|
|
6
|
+
correlationID?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
identity?: string;
|
|
9
|
+
infrastructureType?: string;
|
|
10
|
+
isEnterprise?: boolean;
|
|
11
|
+
name?: string;
|
|
12
|
+
spec?: FaulttemplateSpec;
|
|
13
|
+
tags?: string[];
|
|
14
|
+
templateReference?: string;
|
|
15
|
+
type?: string;
|
|
16
|
+
updatedAt?: number;
|
|
17
|
+
values?: TemplateVariableMinimum[];
|
|
18
|
+
variables?: TemplateVariable[];
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ChaosfaultChaosFault } from '../schemas/ChaosfaultChaosFault';
|
|
2
|
+
import type { GithubComHarnessHceSaasGraphqlServerApiPagination } from '../schemas/GithubComHarnessHceSaasGraphqlServerApiPagination';
|
|
3
|
+
export interface ChaosfaultListFaultResponse {
|
|
4
|
+
correlationID?: string;
|
|
5
|
+
data?: ChaosfaultChaosFault[];
|
|
6
|
+
pagination?: GithubComHarnessHceSaasGraphqlServerApiPagination;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ActionActionTemplateProperties } from '../schemas/ActionActionTemplateProperties';
|
|
2
|
+
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
2
3
|
import type { ActionsInfrastructureType } from '../schemas/ActionsInfrastructureType';
|
|
3
4
|
import type { ActionsRecentExecutions } from '../schemas/ActionsRecentExecutions';
|
|
4
5
|
import type { ActionActionTemplateRunProperties } from '../schemas/ActionActionTemplateRunProperties';
|
|
@@ -12,6 +13,7 @@ export interface GithubComHarnessHceSaasGraphqlServerPkgDatabaseMongodbActionsAc
|
|
|
12
13
|
description?: string;
|
|
13
14
|
hubRef?: string;
|
|
14
15
|
identity?: string;
|
|
16
|
+
importType?: MongodbImportType;
|
|
15
17
|
infrastructureType?: ActionsInfrastructureType;
|
|
16
18
|
isRemoved?: boolean;
|
|
17
19
|
name: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type MongodbImportType = 'LOCAL' | 'REFERENCE';
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
|
|
2
2
|
import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
|
|
3
|
+
import type { ProbeDynatraceApmProbeInputs } from '../schemas/ProbeDynatraceApmProbeInputs';
|
|
3
4
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
|
|
4
5
|
import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
|
|
5
6
|
import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
|
|
6
7
|
export interface ProbeApmProbeTemplate {
|
|
7
8
|
appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
|
|
8
9
|
comparator?: ProbeComparatorTemplate;
|
|
10
|
+
dynatraceApmProbeInputs?: ProbeDynatraceApmProbeInputs;
|
|
9
11
|
prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
|
|
10
12
|
splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
|
|
11
13
|
type?: ProbeApmProbeType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ProbeApmProbeType = 'AppDynamics' | 'Prometheus' | 'SplunkObservability';
|
|
1
|
+
export type ProbeApmProbeType = 'AppDynamics' | 'Dynatrace' | 'Prometheus' | 'SplunkObservability';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails } from '../schemas/GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails';
|
|
2
|
+
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
2
3
|
import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
|
|
3
4
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
4
5
|
import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
|
|
@@ -9,13 +10,17 @@ export interface TypesGetProbeResponse {
|
|
|
9
10
|
createdAt?: number;
|
|
10
11
|
createdBy?: GithubComHarnessHceSaasGraphqlServerGraphModelUserDetails;
|
|
11
12
|
description?: string;
|
|
13
|
+
hubRef?: string;
|
|
12
14
|
identity?: string;
|
|
15
|
+
importType?: MongodbImportType;
|
|
13
16
|
infrastructureType?: TypesInfrastructureType;
|
|
14
17
|
isEnabled?: boolean;
|
|
18
|
+
isImported?: boolean;
|
|
15
19
|
name?: string;
|
|
16
20
|
probeId?: string;
|
|
17
21
|
probeProperties?: ProbeProbeTemplateProperties;
|
|
18
22
|
probeReferenceCount?: number;
|
|
23
|
+
probeTemplateRef?: string;
|
|
19
24
|
recentProbeRuns?: TypesProbeRecentExecutions[];
|
|
20
25
|
runProperties?: ProbeProbeTemplateRunProperties;
|
|
21
26
|
tags?: string[];
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { MongodbIdentifiers } from '../schemas/MongodbIdentifiers';
|
|
2
|
+
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
1
3
|
export interface TypesImportProbeTemplateRequest {
|
|
2
|
-
accountID: string;
|
|
3
4
|
description?: string;
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
hubIdentifiers?: MongodbIdentifiers;
|
|
6
|
+
hubRef: string;
|
|
7
|
+
identity: string;
|
|
8
|
+
importType: MongodbImportType;
|
|
6
9
|
name: string;
|
|
7
|
-
|
|
8
|
-
probeRef?: string;
|
|
9
|
-
projectID?: string;
|
|
10
|
+
probeRef: string;
|
|
10
11
|
tags?: string[];
|
|
11
12
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { MongodbImportType } from '../schemas/MongodbImportType';
|
|
1
2
|
import type { TypesInfrastructureType } from '../schemas/TypesInfrastructureType';
|
|
2
3
|
import type { ProbeProbeTemplateProperties } from '../schemas/ProbeProbeTemplateProperties';
|
|
3
4
|
import type { TypesProbeRecentExecutions } from '../schemas/TypesProbeRecentExecutions';
|
|
@@ -6,13 +7,17 @@ import type { TypesProbeType } from '../schemas/TypesProbeType';
|
|
|
6
7
|
import type { TemplateVariable } from '../schemas/TemplateVariable';
|
|
7
8
|
export interface TypesProbeRequest {
|
|
8
9
|
description?: string;
|
|
10
|
+
hubRef?: string;
|
|
9
11
|
identity?: string;
|
|
12
|
+
importType?: MongodbImportType;
|
|
10
13
|
infrastructureType?: TypesInfrastructureType;
|
|
11
14
|
isEnabled?: boolean;
|
|
15
|
+
isImported?: boolean;
|
|
12
16
|
name?: string;
|
|
13
17
|
probeId?: string;
|
|
14
18
|
probeProperties?: ProbeProbeTemplateProperties;
|
|
15
19
|
probeReferenceCount?: number;
|
|
20
|
+
probeTemplateRef?: string;
|
|
16
21
|
recentProbeRuns?: TypesProbeRecentExecutions[];
|
|
17
22
|
runProperties?: ProbeProbeTemplateRunProperties;
|
|
18
23
|
tags?: string[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { V1AppDynamicsInputs } from '../schemas/V1AppDynamicsInputs';
|
|
2
2
|
import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
|
|
3
|
+
import type { V1DynatraceApmProbeInputs } from '../schemas/V1DynatraceApmProbeInputs';
|
|
3
4
|
import type { V1PrometheusInputs } from '../schemas/V1PrometheusInputs';
|
|
4
5
|
import type { V1SplunkObservabilityInputs } from '../schemas/V1SplunkObservabilityInputs';
|
|
5
6
|
export interface V1ApmProbeInputs {
|
|
@@ -11,6 +12,10 @@ export interface V1ApmProbeInputs {
|
|
|
11
12
|
* Comparator check for the correctness of the probe output
|
|
12
13
|
*/
|
|
13
14
|
comparator?: V1ComparatorInfo;
|
|
15
|
+
/**
|
|
16
|
+
* DynatraceApmProbeInputs contains the inputs required for Dynatrace probe
|
|
17
|
+
*/
|
|
18
|
+
dynatraceApmProbeInputs?: V1DynatraceApmProbeInputs;
|
|
14
19
|
/**
|
|
15
20
|
* PrometheusInputs contains the inputs required for prometheus probe
|
|
16
21
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { V1Metrics } from '../schemas/V1Metrics';
|
|
2
|
+
export interface V1DynatraceApmProbeInputs {
|
|
3
|
+
/**
|
|
4
|
+
* AuthSecretName secret name for the authentication
|
|
5
|
+
*/
|
|
6
|
+
authSecretName?: string;
|
|
7
|
+
/**
|
|
8
|
+
* DurationInMin contains the duration in minutes
|
|
9
|
+
*/
|
|
10
|
+
durationInMin?: number;
|
|
11
|
+
/**
|
|
12
|
+
* Endpoint for the Splunk Observability probe
|
|
13
|
+
*/
|
|
14
|
+
endpoint?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Raw metrcis details of the Dynatrace probe
|
|
17
|
+
*/
|
|
18
|
+
metrics?: V1Metrics;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED