@dynatrace-sdk/client-automation
Advanced tools
Comparing version 2.2.0 to 2.4.0
@@ -5,2 +5,14 @@ # Automation | ||
## 2.4.0 | ||
### Minor Changes | ||
- drop action-execution list endpoint, added workflow throttle event | ||
## 2.3.0 | ||
### Minor Changes | ||
- Support for non-distinct entity tags values. | ||
## 2.2.0 | ||
@@ -7,0 +19,0 @@ |
{ | ||
"dynagen": { | ||
"version": "0.12.9", | ||
"version": "0.13.0", | ||
"generatedAt": "", | ||
@@ -12,5 +12,5 @@ "template": { | ||
"title": "Automation", | ||
"version": "1.449.0", | ||
"version": "1.492.0", | ||
"baseUrl": "/platform/automation/v1" | ||
} | ||
} |
{ | ||
"name": "@dynatrace-sdk/client-automation", | ||
"version": "2.2.0", | ||
"version": "2.4.0", | ||
"description": "Automation API allows working with workflows and various trigger options.", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
# @dynatrace-sdk/client-automation | ||
[![npm](https://img.shields.io/badge/npm-v2.2.0-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-automation/v/2.2.0) | ||
[![npm](https://img.shields.io/badge/npm-v2.4.0-blue)](https://www.npmjs.com/package/@dynatrace-sdk/client-automation/v/2.4.0) | ||
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | ||
@@ -5,0 +5,0 @@ |
import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client'; | ||
import { ActionExecution } from '../models/action-execution'; | ||
import { PaginatedActionExecutionList } from '../models/paginated-action-execution-list'; | ||
export declare class ActionExecutionsClient { | ||
@@ -19,22 +18,2 @@ private httpClient; | ||
* const data = | ||
* await actionExecutionsClient.getActionExecutions(); | ||
*/ | ||
getActionExecutions(config?: { | ||
/** Allow access to all workflows/executions - additionally requires **automation:workflows:admin** */ adminAccess?: boolean; | ||
/** Number of results to return per page. */ limit?: number; | ||
/** The initial index from which to return the results. */ offset?: number; | ||
/** Which field to use when ordering the results. */ ordering?: string; | ||
/** A search term. */ search?: string; | ||
startedAtGte?: string; | ||
startedAtLte?: string; | ||
/** Multiple values may be separated by commas. */ state?: string[]; | ||
abortSignal?: AbortSignal; | ||
}): Promise<PaginatedActionExecutionList>; | ||
/** | ||
* **Required scope:** automation:workflows:read | ||
* | ||
* @example <caption>Code example</caption> | ||
* import { actionExecutionsClient } from "@dynatrace-sdk/client-automation"; | ||
* | ||
* const data = | ||
* await actionExecutionsClient.getActionExecution({ | ||
@@ -41,0 +20,0 @@ * id: "...", |
@@ -278,3 +278,9 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client'; | ||
* const data = await executionsClient.previewTaskInput({ | ||
* body: { task: "...", workflow: { title: "..." } }, | ||
* body: { | ||
* task: "...", | ||
* workflow: { | ||
* title: "...", | ||
* throttle: { isLimitHit: false }, | ||
* }, | ||
* }, | ||
* }); | ||
@@ -281,0 +287,0 @@ */ |
@@ -43,2 +43,3 @@ import { AbortSignal, HttpClient } from '@dynatrace-sdk/http-client'; | ||
/** A search term. */ search?: string; | ||
throttleIsLimitHit?: boolean; | ||
triggerType?: string; | ||
@@ -56,3 +57,3 @@ triggerScheduleIsFaulty?: boolean; | ||
* const data = await workflowsClient.createWorkflow({ | ||
* body: { title: "..." }, | ||
* body: { title: "...", throttle: { isLimitHit: false } }, | ||
* }); | ||
@@ -88,3 +89,3 @@ */ | ||
* id: "...", | ||
* body: { title: "..." }, | ||
* body: { title: "...", throttle: { isLimitHit: false } }, | ||
* }); | ||
@@ -121,3 +122,3 @@ */ | ||
* id: "...", | ||
* body: {}, | ||
* body: { throttle: { isLimitHit: false } }, | ||
* }); | ||
@@ -124,0 +125,0 @@ */ |
@@ -1,7 +0,7 @@ | ||
import { DavisEventConfigEntityTags } from './davis-event-config-entity-tags'; | ||
import { DavisEventName } from './davis-event-name'; | ||
import { EntityTagsMatch } from './entity-tags-match'; | ||
import * as _EntityTagsTransformation from './entity-tags.transformation'; | ||
export interface DavisEventConfig { | ||
entityTagsMatch?: EntityTagsMatch; | ||
entityTags?: DavisEventConfigEntityTags; | ||
entityTags?: _EntityTagsTransformation.AsJson; | ||
onProblemClose?: boolean; | ||
@@ -8,0 +8,0 @@ names?: DavisEventName[]; |
import { DavisEventConfig } from './davis-event-config'; | ||
import * as _DavisEventConfigEntityTagsTransformation from './davis-event-config-entity-tags.transformation'; | ||
import * as _DavisEventNameTransformation from './davis-event-name.transformation'; | ||
import * as _EntityTagsMatchTransformation from './entity-tags-match.transformation'; | ||
import * as _EntityTagsTransformation from './entity-tags.transformation'; | ||
export interface AsJson { | ||
entityTagsMatch?: _EntityTagsMatchTransformation.AsJson; | ||
entityTags?: _DavisEventConfigEntityTagsTransformation.AsJson; | ||
entityTags?: _EntityTagsTransformation.AsJson; | ||
onProblemClose?: boolean; | ||
@@ -9,0 +9,0 @@ names?: _DavisEventNameTransformation.AsJson[]; |
import { DavisProblemCategories } from './davis-problem-categories'; | ||
import { DavisProblemConfigEntityTags } from './davis-problem-config-entity-tags'; | ||
import { EntityTagsMatch } from './entity-tags-match'; | ||
import * as _EntityTagsTransformation from './entity-tags.transformation'; | ||
export interface DavisProblemConfig { | ||
entityTagsMatch?: EntityTagsMatch; | ||
entityTags?: DavisProblemConfigEntityTags; | ||
entityTags?: _EntityTagsTransformation.AsJson; | ||
onProblemClose?: boolean; | ||
@@ -8,0 +8,0 @@ categories: DavisProblemCategories; |
import * as _DavisProblemCategoriesTransformation from './davis-problem-categories.transformation'; | ||
import { DavisProblemConfig } from './davis-problem-config'; | ||
import * as _DavisProblemConfigEntityTagsTransformation from './davis-problem-config-entity-tags.transformation'; | ||
import * as _EntityTagsMatchTransformation from './entity-tags-match.transformation'; | ||
import * as _EntityTagsTransformation from './entity-tags.transformation'; | ||
export interface AsJson { | ||
entityTagsMatch?: _EntityTagsMatchTransformation.AsJson; | ||
entityTags?: _DavisProblemConfigEntityTagsTransformation.AsJson; | ||
entityTags?: _EntityTagsTransformation.AsJson; | ||
onProblemClose?: boolean; | ||
@@ -9,0 +9,0 @@ categories: _DavisProblemCategoriesTransformation.AsJson; |
@@ -23,4 +23,2 @@ export * from './action-execution'; | ||
export * as _DavisEventConfigTransformation from './davis-event-config.transformation'; | ||
export * from './davis-event-config-entity-tags'; | ||
export * as _DavisEventConfigEntityTagsTransformation from './davis-event-config-entity-tags.transformation'; | ||
export * from './davis-event-name'; | ||
@@ -38,4 +36,2 @@ export * as _DavisEventNameTransformation from './davis-event-name.transformation'; | ||
export * as _DavisProblemConfigTransformation from './davis-problem-config.transformation'; | ||
export * from './davis-problem-config-entity-tags'; | ||
export * as _DavisProblemConfigEntityTagsTransformation from './davis-problem-config-entity-tags.transformation'; | ||
export * from './davis-problem-trigger-config'; | ||
@@ -47,2 +43,4 @@ export * as _DavisProblemTriggerConfigTransformation from './davis-problem-trigger-config.transformation'; | ||
export * as _DuplicationRequestTransformation from './duplication-request.transformation'; | ||
export * from './entity-tags'; | ||
export * as _EntityTagsTransformation from './entity-tags.transformation'; | ||
export * from './entity-tags-match'; | ||
@@ -124,6 +122,6 @@ export * as _EntityTagsMatchTransformation from './entity-tags-match.transformation'; | ||
export * as _IntervalTriggerTypeTransformation from './interval-trigger-type.transformation'; | ||
export * from './maybe-string-array'; | ||
export * as _MaybeStringArrayTransformation from './maybe-string-array.transformation'; | ||
export * from './modification-info'; | ||
export * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
export * from './paginated-action-execution-list'; | ||
export * as _PaginatedActionExecutionListTransformation from './paginated-action-execution-list.transformation'; | ||
export * from './paginated-business-calendar-list'; | ||
@@ -253,2 +251,10 @@ export * as _PaginatedBusinessCalendarListTransformation from './paginated-business-calendar-list.transformation'; | ||
export * as _TasksTransformation from './tasks.transformation'; | ||
export * from './throttle'; | ||
export * as _ThrottleTransformation from './throttle.transformation'; | ||
export * from './throttle-limit-event'; | ||
export * as _ThrottleLimitEventTransformation from './throttle-limit-event.transformation'; | ||
export * from './throttle-limit-events'; | ||
export * as _ThrottleLimitEventsTransformation from './throttle-limit-events.transformation'; | ||
export * from './throttle-request'; | ||
export * as _ThrottleRequestTransformation from './throttle-request.transformation'; | ||
export * from './time-trigger'; | ||
@@ -255,0 +261,0 @@ export * as _TimeTriggerTransformation from './time-trigger.transformation'; |
import { PatchedWorkflowRequestOwnerType } from './patched-workflow-request-owner-type'; | ||
import { PatchedWorkflowRequestTaskDefaults } from './patched-workflow-request-task-defaults'; | ||
import { Tasks } from './tasks'; | ||
import { ThrottleRequest } from './throttle-request'; | ||
import { TriggerRequest } from './trigger-request'; | ||
@@ -16,3 +17,4 @@ export interface PatchedWorkflowRequest { | ||
schemaVersion?: number; | ||
throttle?: ThrottleRequest; | ||
trigger?: TriggerRequest; | ||
} |
@@ -5,2 +5,3 @@ import { PatchedWorkflowRequest } from './patched-workflow-request'; | ||
import * as _TasksTransformation from './tasks.transformation'; | ||
import * as _ThrottleRequestTransformation from './throttle-request.transformation'; | ||
import * as _TriggerRequestTransformation from './trigger-request.transformation'; | ||
@@ -18,2 +19,3 @@ export interface AsJson { | ||
schemaVersion?: number; | ||
throttle?: _ThrottleRequestTransformation.AsJson; | ||
trigger?: _TriggerRequestTransformation.AsJson; | ||
@@ -20,0 +22,0 @@ } |
import { Tasks } from './tasks'; | ||
import { ThrottleRequest } from './throttle-request'; | ||
import { TriggerRequest } from './trigger-request'; | ||
@@ -16,3 +17,4 @@ import { WorkflowRequestOwnerType } from './workflow-request-owner-type'; | ||
schemaVersion?: number; | ||
throttle?: ThrottleRequest; | ||
trigger?: TriggerRequest; | ||
} |
import * as _TasksTransformation from './tasks.transformation'; | ||
import * as _ThrottleRequestTransformation from './throttle-request.transformation'; | ||
import * as _TriggerRequestTransformation from './trigger-request.transformation'; | ||
@@ -17,2 +18,3 @@ import { WorkflowRequest } from './workflow-request'; | ||
schemaVersion?: number; | ||
throttle?: _ThrottleRequestTransformation.AsJson; | ||
trigger?: _TriggerRequestTransformation.AsJson; | ||
@@ -19,0 +21,0 @@ } |
import * as _ExecutionTransformation from './execution.transformation'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
import { Tasks } from './tasks'; | ||
import { Throttle } from './throttle'; | ||
import { Trigger } from './trigger'; | ||
@@ -23,4 +24,5 @@ import { WorkflowOwnerType } from './workflow-owner-type'; | ||
schemaVersion?: number; | ||
throttle?: Throttle; | ||
trigger?: Trigger; | ||
modificationInfo: _ModificationInfoTransformation.AsJson; | ||
} |
import * as _ExecutionTransformation from './execution.transformation'; | ||
import * as _ModificationInfoTransformation from './modification-info.transformation'; | ||
import * as _TasksTransformation from './tasks.transformation'; | ||
import * as _ThrottleTransformation from './throttle.transformation'; | ||
import * as _TriggerTransformation from './trigger.transformation'; | ||
@@ -24,2 +25,3 @@ import { Workflow } from './workflow'; | ||
schemaVersion?: number; | ||
throttle?: _ThrottleTransformation.AsJson; | ||
trigger?: _TriggerTransformation.AsJson; | ||
@@ -26,0 +28,0 @@ modificationInfo: _ModificationInfoTransformation.AsJson; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1226004
366
25426