@harnessio/react-chaos-manager-client 1.15.0 → 1.15.1-beta.1

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.
@@ -15,6 +15,10 @@ export interface ListTargetNetworkMapsQueryQueryParams {
15
15
  * @default 10
16
16
  */
17
17
  limit: number;
18
+ environmentIdentifier?: string;
19
+ infraId?: string;
20
+ all?: boolean;
21
+ minimal?: boolean;
18
22
  search?: string;
19
23
  }
20
24
  export type ListTargetNetworkMapsRequestBody = NetworkmapListTargetNetworkMapRequest;
@@ -664,6 +664,8 @@ export type { ProbeLinuxCmdProbe } from './schemas/ProbeLinuxCmdProbe';
664
664
  export type { ProbeMethod } from './schemas/ProbeMethod';
665
665
  export type { ProbeMethodTemplate } from './schemas/ProbeMethodTemplate';
666
666
  export type { ProbeMetrics } from './schemas/ProbeMetrics';
667
+ export type { ProbeNewrelicMetric } from './schemas/ProbeNewrelicMetric';
668
+ export type { ProbeNewrelicProbeInputs } from './schemas/ProbeNewrelicProbeInputs';
667
669
  export type { ProbeProbeTemplateProperties } from './schemas/ProbeProbeTemplateProperties';
668
670
  export type { ProbeProbeTemplateRunProperties } from './schemas/ProbeProbeTemplateRunProperties';
669
671
  export type { ProbeProbeType } from './schemas/ProbeProbeType';
@@ -850,6 +852,8 @@ export type { V1ManagedFieldsEntry } from './schemas/V1ManagedFieldsEntry';
850
852
  export type { V1ManagedFieldsOperationType } from './schemas/V1ManagedFieldsOperationType';
851
853
  export type { V1Metrics } from './schemas/V1Metrics';
852
854
  export type { V1MountPropagationMode } from './schemas/V1MountPropagationMode';
855
+ export type { V1NewrelicInputs } from './schemas/V1NewrelicInputs';
856
+ export type { V1NewrelicMetric } from './schemas/V1NewrelicMetric';
853
857
  export type { V1NewrelicMetrics } from './schemas/V1NewrelicMetrics';
854
858
  export type { V1NewrelicProbeInputs } from './schemas/V1NewrelicProbeInputs';
855
859
  export type { V1NfsVolumeSource } from './schemas/V1NfsVolumeSource';
@@ -34,6 +34,9 @@ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
34
34
  * inputs needed for the http probe
35
35
  */
36
36
  'httpProbe/inputs'?: V1HttpProbeInputs;
37
+ /**
38
+ * ID is the unique identifier for the probe
39
+ */
37
40
  id?: string;
38
41
  /**
39
42
  * inputs needed for the k8s probe
@@ -52,6 +55,10 @@ export interface GithubComHarnessHceSaasHceSdkCommonProbeV1Probe {
52
55
  * inputs needed for the Newrelic probe
53
56
  */
54
57
  'newrelicProbe/inputs'?: V1NewrelicProbeInputs;
58
+ /**
59
+ * ProbeRef is the reference to the probe
60
+ */
61
+ probeRef?: string;
55
62
  /**
56
63
  * inputs needed for the prometheus probe
57
64
  */
@@ -1,6 +1,7 @@
1
1
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs';
2
2
  import type { ProbeComparatorTemplate } from '../schemas/ProbeComparatorTemplate';
3
3
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs';
4
+ import type { ProbeNewrelicProbeInputs } from '../schemas/ProbeNewrelicProbeInputs';
4
5
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs';
5
6
  import type { GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs } from '../schemas/GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs';
6
7
  import type { ProbeApmProbeType } from '../schemas/ProbeApmProbeType';
@@ -8,6 +9,7 @@ export interface ProbeApmProbeTemplate {
8
9
  appDynamicsProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeAppDynamicsProbeInputs;
9
10
  comparator?: ProbeComparatorTemplate;
10
11
  dynatraceApmProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeDynatraceApmProbeInputs;
12
+ newrelicProbeInputs?: ProbeNewrelicProbeInputs;
11
13
  prometheusProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbePrometheusProbeInputs;
12
14
  splunkObservabilityProbeInputs?: GithubComHarnessHceSaasHceSdkTemplateSchemaProbeSplunkObservabilityProbeInputs;
13
15
  type?: ProbeApmProbeType;
@@ -0,0 +1,4 @@
1
+ export interface ProbeNewrelicMetric {
2
+ query?: string;
3
+ queryMetric?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { ProbeNewrelicMetric } from '../schemas/ProbeNewrelicMetric';
2
+ export interface ProbeNewrelicProbeInputs {
3
+ connectorID?: string;
4
+ newrelicMetric?: ProbeNewrelicMetric;
5
+ }
@@ -1,3 +1,3 @@
1
1
  export interface ResourceQuantity {
2
- Format?: 'BinarySI' | 'DecimalExponent' | 'DecimalSI';
2
+ Format?: string;
3
3
  }
@@ -1,6 +1,7 @@
1
1
  import type { V1AppDynamicsInputs } from '../schemas/V1AppDynamicsInputs';
2
2
  import type { V1ComparatorInfo } from '../schemas/V1ComparatorInfo';
3
3
  import type { V1DynatraceApmProbeInputs } from '../schemas/V1DynatraceApmProbeInputs';
4
+ import type { V1NewrelicInputs } from '../schemas/V1NewrelicInputs';
4
5
  import type { V1PrometheusInputs } from '../schemas/V1PrometheusInputs';
5
6
  import type { V1SplunkObservabilityInputs } from '../schemas/V1SplunkObservabilityInputs';
6
7
  export interface V1ApmProbeInputs {
@@ -16,6 +17,10 @@ export interface V1ApmProbeInputs {
16
17
  * DynatraceApmProbeInputs contains the inputs required for Dynatrace probe
17
18
  */
18
19
  dynatraceApmProbeInputs?: V1DynatraceApmProbeInputs;
20
+ /**
21
+ * NewrelicInputs contains the inputs required for Newrelic probe
22
+ */
23
+ newrelicInputs?: V1NewrelicInputs;
19
24
  /**
20
25
  * PrometheusInputs contains the inputs required for prometheus probe
21
26
  */
@@ -0,0 +1,19 @@
1
+ import type { V1NewrelicMetric } from '../schemas/V1NewrelicMetric';
2
+ export interface V1NewrelicInputs {
3
+ /**
4
+ * AccountID for the Newrelic probe
5
+ */
6
+ accountId?: string;
7
+ /**
8
+ * AuthSecretName secret name for the authentication
9
+ */
10
+ authSecretName?: string;
11
+ /**
12
+ * Endpoint for the Newrelic probe
13
+ */
14
+ endpoint?: string;
15
+ /**
16
+ * Raw metrcis details of the Newrelic probe
17
+ */
18
+ newrelicMetric?: V1NewrelicMetric;
19
+ }
@@ -0,0 +1,10 @@
1
+ export interface V1NewrelicMetric {
2
+ /**
3
+ * Query contains the query for the metrics
4
+ */
5
+ query?: string;
6
+ /**
7
+ * NRQL Metrics that will get evaluated
8
+ */
9
+ queryMetric?: string;
10
+ }
@@ -0,0 +1,4 @@
1
+ /* eslint-disable */
2
+ // This code is autogenerated using @harnessio/oats-cli.
3
+ // Please do not modify this code directly.
4
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harnessio/react-chaos-manager-client",
3
- "version": "1.15.0",
3
+ "version": "1.15.1-beta.1",
4
4
  "description": "Harness React Chaos Manager Service Client - APIs integrated with react hooks",
5
5
  "author": "Harness Inc",
6
6
  "license": "MIT",