@pulumi/datadog 4.29.0-alpha.1720520605 → 4.29.0-alpha.1720785364
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/authnMapping.d.ts +6 -6
- package/cloudWorkloadSecurityAgentRule.d.ts +0 -2
- package/cloudWorkloadSecurityAgentRule.js +0 -2
- package/cloudWorkloadSecurityAgentRule.js.map +1 -1
- package/fastly/integrationService.d.ts +1 -1
- package/fastly/integrationService.js +1 -1
- package/getCloudWorkloadSecurityAgentRules.d.ts +0 -4
- package/getCloudWorkloadSecurityAgentRules.js +0 -4
- package/getCloudWorkloadSecurityAgentRules.js.map +1 -1
- package/logsIndex.d.ts +3 -3
- package/organizationSettings.d.ts +12 -0
- package/organizationSettings.js +2 -0
- package/organizationSettings.js.map +1 -1
- package/package.json +2 -2
- package/powerpack.d.ts +0 -1
- package/powerpack.js +0 -1
- package/powerpack.js.map +1 -1
- package/securityMonitoringDefaultRule.d.ts +12 -0
- package/securityMonitoringDefaultRule.js +2 -0
- package/securityMonitoringDefaultRule.js.map +1 -1
- package/securityMonitoringRule.d.ts +12 -0
- package/securityMonitoringRule.js +2 -0
- package/securityMonitoringRule.js.map +1 -1
- package/securityMonitoringSuppression.d.ts +3 -2
- package/securityMonitoringSuppression.js +3 -2
- package/securityMonitoringSuppression.js.map +1 -1
- package/sensitiveDataScannerRule.d.ts +12 -0
- package/sensitiveDataScannerRule.js +2 -0
- package/sensitiveDataScannerRule.js.map +1 -1
- package/syntheticsTest.d.ts +39 -356
- package/syntheticsTest.js +6 -353
- package/syntheticsTest.js.map +1 -1
- package/teamLink.d.ts +1 -1
- package/teamLink.js +1 -1
- package/teamPermissionSetting.d.ts +3 -3
- package/types/input.d.ts +103 -7
- package/types/output.d.ts +103 -7
package/types/input.d.ts
CHANGED
|
@@ -8881,7 +8881,7 @@ export interface MonitorVariablesEventQuery {
|
|
|
8881
8881
|
*/
|
|
8882
8882
|
computes: pulumi.Input<pulumi.Input<inputs.MonitorVariablesEventQueryCompute>[]>;
|
|
8883
8883
|
/**
|
|
8884
|
-
* The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`.
|
|
8884
|
+
* The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`, `networkPerformanceQueries`.
|
|
8885
8885
|
*/
|
|
8886
8886
|
dataSource: pulumi.Input<string>;
|
|
8887
8887
|
/**
|
|
@@ -20347,6 +20347,10 @@ export interface SyntheticsTestApiStep {
|
|
|
20347
20347
|
* The request for the api step.
|
|
20348
20348
|
*/
|
|
20349
20349
|
requestDefinition?: pulumi.Input<inputs.SyntheticsTestApiStepRequestDefinition>;
|
|
20350
|
+
/**
|
|
20351
|
+
* Files to be used as part of the request in the test.
|
|
20352
|
+
*/
|
|
20353
|
+
requestFiles?: pulumi.Input<pulumi.Input<inputs.SyntheticsTestApiStepRequestFile>[]>;
|
|
20350
20354
|
/**
|
|
20351
20355
|
* Header name and value map.
|
|
20352
20356
|
*/
|
|
@@ -20365,9 +20369,13 @@ export interface SyntheticsTestApiStep {
|
|
|
20365
20369
|
}>;
|
|
20366
20370
|
retry?: pulumi.Input<inputs.SyntheticsTestApiStepRetry>;
|
|
20367
20371
|
/**
|
|
20368
|
-
* The subtype of the Synthetic
|
|
20372
|
+
* The subtype of the Synthetic multi-step API test step. Valid values are `http`, `grpc`, `wait`. Defaults to `"http"`.
|
|
20369
20373
|
*/
|
|
20370
20374
|
subtype?: pulumi.Input<string>;
|
|
20375
|
+
/**
|
|
20376
|
+
* The time to wait in seconds. Minimum value: 0. Maximum value: 180.
|
|
20377
|
+
*/
|
|
20378
|
+
value?: pulumi.Input<number>;
|
|
20371
20379
|
}
|
|
20372
20380
|
export interface SyntheticsTestApiStepAssertion {
|
|
20373
20381
|
/**
|
|
@@ -20386,6 +20394,10 @@ export interface SyntheticsTestApiStepAssertion {
|
|
|
20386
20394
|
* Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below.
|
|
20387
20395
|
*/
|
|
20388
20396
|
targetjsonpath?: pulumi.Input<inputs.SyntheticsTestApiStepAssertionTargetjsonpath>;
|
|
20397
|
+
/**
|
|
20398
|
+
* Expected structure if `operator` is `validatesJSONSchema`. Exactly one nested block is allowed with the structure below.
|
|
20399
|
+
*/
|
|
20400
|
+
targetjsonschema?: pulumi.Input<inputs.SyntheticsTestApiStepAssertionTargetjsonschema>;
|
|
20389
20401
|
/**
|
|
20390
20402
|
* Expected structure if `operator` is `validatesXPath`. Exactly one nested block is allowed with the structure below.
|
|
20391
20403
|
*/
|
|
@@ -20395,11 +20407,15 @@ export interface SyntheticsTestApiStepAssertion {
|
|
|
20395
20407
|
*/
|
|
20396
20408
|
timingsScope?: pulumi.Input<string>;
|
|
20397
20409
|
/**
|
|
20398
|
-
* Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`.
|
|
20410
|
+
* Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`.
|
|
20399
20411
|
*/
|
|
20400
20412
|
type: pulumi.Input<string>;
|
|
20401
20413
|
}
|
|
20402
20414
|
export interface SyntheticsTestApiStepAssertionTargetjsonpath {
|
|
20415
|
+
/**
|
|
20416
|
+
* The element from the list of results to assert on. Select from `firstElementMatches` (the first element in the list), `everyElementMatches` (every element in the list), `atLeastOneElementMatches` (at least one element in the list), or `serializationMatches` (the serialized value of the list). Defaults to `firstElementMatches`. Defaults to `"firstElementMatches"`.
|
|
20417
|
+
*/
|
|
20418
|
+
elementsoperator?: pulumi.Input<string>;
|
|
20403
20419
|
/**
|
|
20404
20420
|
* The JSON path to assert.
|
|
20405
20421
|
*/
|
|
@@ -20413,6 +20429,16 @@ export interface SyntheticsTestApiStepAssertionTargetjsonpath {
|
|
|
20413
20429
|
*/
|
|
20414
20430
|
targetvalue?: pulumi.Input<string>;
|
|
20415
20431
|
}
|
|
20432
|
+
export interface SyntheticsTestApiStepAssertionTargetjsonschema {
|
|
20433
|
+
/**
|
|
20434
|
+
* The JSON Schema to validate the body against.
|
|
20435
|
+
*/
|
|
20436
|
+
jsonschema: pulumi.Input<string>;
|
|
20437
|
+
/**
|
|
20438
|
+
* The meta schema to use for the JSON Schema. Defaults to `"draft-07"`.
|
|
20439
|
+
*/
|
|
20440
|
+
metaschema?: pulumi.Input<string>;
|
|
20441
|
+
}
|
|
20416
20442
|
export interface SyntheticsTestApiStepAssertionTargetxpath {
|
|
20417
20443
|
/**
|
|
20418
20444
|
* The specific operator to use on the path.
|
|
@@ -20643,6 +20669,32 @@ export interface SyntheticsTestApiStepRequestDefinition {
|
|
|
20643
20669
|
*/
|
|
20644
20670
|
url?: pulumi.Input<string>;
|
|
20645
20671
|
}
|
|
20672
|
+
export interface SyntheticsTestApiStepRequestFile {
|
|
20673
|
+
/**
|
|
20674
|
+
* Bucket key of the file.
|
|
20675
|
+
*/
|
|
20676
|
+
bucketKey?: pulumi.Input<string>;
|
|
20677
|
+
/**
|
|
20678
|
+
* Content of the file.
|
|
20679
|
+
*/
|
|
20680
|
+
content?: pulumi.Input<string>;
|
|
20681
|
+
/**
|
|
20682
|
+
* Name of the file.
|
|
20683
|
+
*/
|
|
20684
|
+
name: pulumi.Input<string>;
|
|
20685
|
+
/**
|
|
20686
|
+
* Original name of the file.
|
|
20687
|
+
*/
|
|
20688
|
+
originalFileName?: pulumi.Input<string>;
|
|
20689
|
+
/**
|
|
20690
|
+
* Size of the file.
|
|
20691
|
+
*/
|
|
20692
|
+
size: pulumi.Input<number>;
|
|
20693
|
+
/**
|
|
20694
|
+
* Type of the file.
|
|
20695
|
+
*/
|
|
20696
|
+
type: pulumi.Input<string>;
|
|
20697
|
+
}
|
|
20646
20698
|
export interface SyntheticsTestApiStepRequestProxy {
|
|
20647
20699
|
/**
|
|
20648
20700
|
* Header name and value map.
|
|
@@ -20682,6 +20734,10 @@ export interface SyntheticsTestAssertion {
|
|
|
20682
20734
|
* Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below.
|
|
20683
20735
|
*/
|
|
20684
20736
|
targetjsonpath?: pulumi.Input<inputs.SyntheticsTestAssertionTargetjsonpath>;
|
|
20737
|
+
/**
|
|
20738
|
+
* Expected structure if `operator` is `validatesJSONSchema`. Exactly one nested block is allowed with the structure below.
|
|
20739
|
+
*/
|
|
20740
|
+
targetjsonschema?: pulumi.Input<inputs.SyntheticsTestAssertionTargetjsonschema>;
|
|
20685
20741
|
/**
|
|
20686
20742
|
* Expected structure if `operator` is `validatesXPath`. Exactly one nested block is allowed with the structure below.
|
|
20687
20743
|
*/
|
|
@@ -20691,11 +20747,15 @@ export interface SyntheticsTestAssertion {
|
|
|
20691
20747
|
*/
|
|
20692
20748
|
timingsScope?: pulumi.Input<string>;
|
|
20693
20749
|
/**
|
|
20694
|
-
* Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`.
|
|
20750
|
+
* Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`.
|
|
20695
20751
|
*/
|
|
20696
20752
|
type: pulumi.Input<string>;
|
|
20697
20753
|
}
|
|
20698
20754
|
export interface SyntheticsTestAssertionTargetjsonpath {
|
|
20755
|
+
/**
|
|
20756
|
+
* The element from the list of results to assert on. Select from `firstElementMatches` (the first element in the list), `everyElementMatches` (every element in the list), `atLeastOneElementMatches` (at least one element in the list), or `serializationMatches` (the serialized value of the list). Defaults to `firstElementMatches`. Defaults to `"firstElementMatches"`.
|
|
20757
|
+
*/
|
|
20758
|
+
elementsoperator?: pulumi.Input<string>;
|
|
20699
20759
|
/**
|
|
20700
20760
|
* The JSON path to assert.
|
|
20701
20761
|
*/
|
|
@@ -20709,6 +20769,16 @@ export interface SyntheticsTestAssertionTargetjsonpath {
|
|
|
20709
20769
|
*/
|
|
20710
20770
|
targetvalue?: pulumi.Input<string>;
|
|
20711
20771
|
}
|
|
20772
|
+
export interface SyntheticsTestAssertionTargetjsonschema {
|
|
20773
|
+
/**
|
|
20774
|
+
* The JSON Schema to validate the body against.
|
|
20775
|
+
*/
|
|
20776
|
+
jsonschema: pulumi.Input<string>;
|
|
20777
|
+
/**
|
|
20778
|
+
* The meta schema to use for the JSON Schema. Defaults to `"draft-07"`.
|
|
20779
|
+
*/
|
|
20780
|
+
metaschema?: pulumi.Input<string>;
|
|
20781
|
+
}
|
|
20712
20782
|
export interface SyntheticsTestAssertionTargetxpath {
|
|
20713
20783
|
/**
|
|
20714
20784
|
* The specific operator to use on the path.
|
|
@@ -20779,7 +20849,7 @@ export interface SyntheticsTestBrowserStepParams {
|
|
|
20779
20849
|
*/
|
|
20780
20850
|
delay?: pulumi.Input<number>;
|
|
20781
20851
|
/**
|
|
20782
|
-
* Element to use for the step,
|
|
20852
|
+
* Element to use for the step, JSON encoded string.
|
|
20783
20853
|
*/
|
|
20784
20854
|
element?: pulumi.Input<string>;
|
|
20785
20855
|
/**
|
|
@@ -20787,7 +20857,7 @@ export interface SyntheticsTestBrowserStepParams {
|
|
|
20787
20857
|
*/
|
|
20788
20858
|
elementUserLocator?: pulumi.Input<inputs.SyntheticsTestBrowserStepParamsElementUserLocator>;
|
|
20789
20859
|
/**
|
|
20790
|
-
* Details of the email for an "assert email" step.
|
|
20860
|
+
* Details of the email for an "assert email" step, JSON encoded string.
|
|
20791
20861
|
*/
|
|
20792
20862
|
email?: pulumi.Input<string>;
|
|
20793
20863
|
/**
|
|
@@ -20795,7 +20865,7 @@ export interface SyntheticsTestBrowserStepParams {
|
|
|
20795
20865
|
*/
|
|
20796
20866
|
file?: pulumi.Input<string>;
|
|
20797
20867
|
/**
|
|
20798
|
-
* Details of the files for an "upload files" step,
|
|
20868
|
+
* Details of the files for an "upload files" step, JSON encoded string.
|
|
20799
20869
|
*/
|
|
20800
20870
|
files?: pulumi.Input<string>;
|
|
20801
20871
|
/**
|
|
@@ -21224,6 +21294,32 @@ export interface SyntheticsTestRequestDefinition {
|
|
|
21224
21294
|
*/
|
|
21225
21295
|
url?: pulumi.Input<string>;
|
|
21226
21296
|
}
|
|
21297
|
+
export interface SyntheticsTestRequestFile {
|
|
21298
|
+
/**
|
|
21299
|
+
* Bucket key of the file.
|
|
21300
|
+
*/
|
|
21301
|
+
bucketKey?: pulumi.Input<string>;
|
|
21302
|
+
/**
|
|
21303
|
+
* Content of the file.
|
|
21304
|
+
*/
|
|
21305
|
+
content?: pulumi.Input<string>;
|
|
21306
|
+
/**
|
|
21307
|
+
* Name of the file.
|
|
21308
|
+
*/
|
|
21309
|
+
name: pulumi.Input<string>;
|
|
21310
|
+
/**
|
|
21311
|
+
* Original name of the file.
|
|
21312
|
+
*/
|
|
21313
|
+
originalFileName?: pulumi.Input<string>;
|
|
21314
|
+
/**
|
|
21315
|
+
* Size of the file.
|
|
21316
|
+
*/
|
|
21317
|
+
size: pulumi.Input<number>;
|
|
21318
|
+
/**
|
|
21319
|
+
* Type of the file.
|
|
21320
|
+
*/
|
|
21321
|
+
type: pulumi.Input<string>;
|
|
21322
|
+
}
|
|
21227
21323
|
export interface SyntheticsTestRequestProxy {
|
|
21228
21324
|
/**
|
|
21229
21325
|
* Header name and value map.
|
package/types/output.d.ts
CHANGED
|
@@ -9492,7 +9492,7 @@ export interface MonitorVariablesEventQuery {
|
|
|
9492
9492
|
*/
|
|
9493
9493
|
computes: outputs.MonitorVariablesEventQueryCompute[];
|
|
9494
9494
|
/**
|
|
9495
|
-
* The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`.
|
|
9495
|
+
* The data source for event platform-based queries. Valid values are `rum`, `ciPipelines`, `ciTests`, `audit`, `events`, `logs`, `spans`, `databaseQueries`, `networkPerformanceQueries`.
|
|
9496
9496
|
*/
|
|
9497
9497
|
dataSource: string;
|
|
9498
9498
|
/**
|
|
@@ -20958,6 +20958,10 @@ export interface SyntheticsTestApiStep {
|
|
|
20958
20958
|
* The request for the api step.
|
|
20959
20959
|
*/
|
|
20960
20960
|
requestDefinition?: outputs.SyntheticsTestApiStepRequestDefinition;
|
|
20961
|
+
/**
|
|
20962
|
+
* Files to be used as part of the request in the test.
|
|
20963
|
+
*/
|
|
20964
|
+
requestFiles?: outputs.SyntheticsTestApiStepRequestFile[];
|
|
20961
20965
|
/**
|
|
20962
20966
|
* Header name and value map.
|
|
20963
20967
|
*/
|
|
@@ -20976,9 +20980,13 @@ export interface SyntheticsTestApiStep {
|
|
|
20976
20980
|
};
|
|
20977
20981
|
retry?: outputs.SyntheticsTestApiStepRetry;
|
|
20978
20982
|
/**
|
|
20979
|
-
* The subtype of the Synthetic
|
|
20983
|
+
* The subtype of the Synthetic multi-step API test step. Valid values are `http`, `grpc`, `wait`. Defaults to `"http"`.
|
|
20980
20984
|
*/
|
|
20981
20985
|
subtype?: string;
|
|
20986
|
+
/**
|
|
20987
|
+
* The time to wait in seconds. Minimum value: 0. Maximum value: 180.
|
|
20988
|
+
*/
|
|
20989
|
+
value?: number;
|
|
20982
20990
|
}
|
|
20983
20991
|
export interface SyntheticsTestApiStepAssertion {
|
|
20984
20992
|
/**
|
|
@@ -20997,6 +21005,10 @@ export interface SyntheticsTestApiStepAssertion {
|
|
|
20997
21005
|
* Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below.
|
|
20998
21006
|
*/
|
|
20999
21007
|
targetjsonpath?: outputs.SyntheticsTestApiStepAssertionTargetjsonpath;
|
|
21008
|
+
/**
|
|
21009
|
+
* Expected structure if `operator` is `validatesJSONSchema`. Exactly one nested block is allowed with the structure below.
|
|
21010
|
+
*/
|
|
21011
|
+
targetjsonschema?: outputs.SyntheticsTestApiStepAssertionTargetjsonschema;
|
|
21000
21012
|
/**
|
|
21001
21013
|
* Expected structure if `operator` is `validatesXPath`. Exactly one nested block is allowed with the structure below.
|
|
21002
21014
|
*/
|
|
@@ -21006,11 +21018,15 @@ export interface SyntheticsTestApiStepAssertion {
|
|
|
21006
21018
|
*/
|
|
21007
21019
|
timingsScope?: string;
|
|
21008
21020
|
/**
|
|
21009
|
-
* Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`.
|
|
21021
|
+
* Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`.
|
|
21010
21022
|
*/
|
|
21011
21023
|
type: string;
|
|
21012
21024
|
}
|
|
21013
21025
|
export interface SyntheticsTestApiStepAssertionTargetjsonpath {
|
|
21026
|
+
/**
|
|
21027
|
+
* The element from the list of results to assert on. Select from `firstElementMatches` (the first element in the list), `everyElementMatches` (every element in the list), `atLeastOneElementMatches` (at least one element in the list), or `serializationMatches` (the serialized value of the list). Defaults to `firstElementMatches`. Defaults to `"firstElementMatches"`.
|
|
21028
|
+
*/
|
|
21029
|
+
elementsoperator?: string;
|
|
21014
21030
|
/**
|
|
21015
21031
|
* The JSON path to assert.
|
|
21016
21032
|
*/
|
|
@@ -21024,6 +21040,16 @@ export interface SyntheticsTestApiStepAssertionTargetjsonpath {
|
|
|
21024
21040
|
*/
|
|
21025
21041
|
targetvalue?: string;
|
|
21026
21042
|
}
|
|
21043
|
+
export interface SyntheticsTestApiStepAssertionTargetjsonschema {
|
|
21044
|
+
/**
|
|
21045
|
+
* The JSON Schema to validate the body against.
|
|
21046
|
+
*/
|
|
21047
|
+
jsonschema: string;
|
|
21048
|
+
/**
|
|
21049
|
+
* The meta schema to use for the JSON Schema. Defaults to `"draft-07"`.
|
|
21050
|
+
*/
|
|
21051
|
+
metaschema?: string;
|
|
21052
|
+
}
|
|
21027
21053
|
export interface SyntheticsTestApiStepAssertionTargetxpath {
|
|
21028
21054
|
/**
|
|
21029
21055
|
* The specific operator to use on the path.
|
|
@@ -21254,6 +21280,32 @@ export interface SyntheticsTestApiStepRequestDefinition {
|
|
|
21254
21280
|
*/
|
|
21255
21281
|
url?: string;
|
|
21256
21282
|
}
|
|
21283
|
+
export interface SyntheticsTestApiStepRequestFile {
|
|
21284
|
+
/**
|
|
21285
|
+
* Bucket key of the file.
|
|
21286
|
+
*/
|
|
21287
|
+
bucketKey: string;
|
|
21288
|
+
/**
|
|
21289
|
+
* Content of the file.
|
|
21290
|
+
*/
|
|
21291
|
+
content?: string;
|
|
21292
|
+
/**
|
|
21293
|
+
* Name of the file.
|
|
21294
|
+
*/
|
|
21295
|
+
name: string;
|
|
21296
|
+
/**
|
|
21297
|
+
* Original name of the file.
|
|
21298
|
+
*/
|
|
21299
|
+
originalFileName?: string;
|
|
21300
|
+
/**
|
|
21301
|
+
* Size of the file.
|
|
21302
|
+
*/
|
|
21303
|
+
size: number;
|
|
21304
|
+
/**
|
|
21305
|
+
* Type of the file.
|
|
21306
|
+
*/
|
|
21307
|
+
type: string;
|
|
21308
|
+
}
|
|
21257
21309
|
export interface SyntheticsTestApiStepRequestProxy {
|
|
21258
21310
|
/**
|
|
21259
21311
|
* Header name and value map.
|
|
@@ -21293,6 +21345,10 @@ export interface SyntheticsTestAssertion {
|
|
|
21293
21345
|
* Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below.
|
|
21294
21346
|
*/
|
|
21295
21347
|
targetjsonpath?: outputs.SyntheticsTestAssertionTargetjsonpath;
|
|
21348
|
+
/**
|
|
21349
|
+
* Expected structure if `operator` is `validatesJSONSchema`. Exactly one nested block is allowed with the structure below.
|
|
21350
|
+
*/
|
|
21351
|
+
targetjsonschema?: outputs.SyntheticsTestAssertionTargetjsonschema;
|
|
21296
21352
|
/**
|
|
21297
21353
|
* Expected structure if `operator` is `validatesXPath`. Exactly one nested block is allowed with the structure below.
|
|
21298
21354
|
*/
|
|
@@ -21302,11 +21358,15 @@ export interface SyntheticsTestAssertion {
|
|
|
21302
21358
|
*/
|
|
21303
21359
|
timingsScope?: string;
|
|
21304
21360
|
/**
|
|
21305
|
-
* Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`.
|
|
21361
|
+
* Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`.
|
|
21306
21362
|
*/
|
|
21307
21363
|
type: string;
|
|
21308
21364
|
}
|
|
21309
21365
|
export interface SyntheticsTestAssertionTargetjsonpath {
|
|
21366
|
+
/**
|
|
21367
|
+
* The element from the list of results to assert on. Select from `firstElementMatches` (the first element in the list), `everyElementMatches` (every element in the list), `atLeastOneElementMatches` (at least one element in the list), or `serializationMatches` (the serialized value of the list). Defaults to `firstElementMatches`. Defaults to `"firstElementMatches"`.
|
|
21368
|
+
*/
|
|
21369
|
+
elementsoperator?: string;
|
|
21310
21370
|
/**
|
|
21311
21371
|
* The JSON path to assert.
|
|
21312
21372
|
*/
|
|
@@ -21320,6 +21380,16 @@ export interface SyntheticsTestAssertionTargetjsonpath {
|
|
|
21320
21380
|
*/
|
|
21321
21381
|
targetvalue?: string;
|
|
21322
21382
|
}
|
|
21383
|
+
export interface SyntheticsTestAssertionTargetjsonschema {
|
|
21384
|
+
/**
|
|
21385
|
+
* The JSON Schema to validate the body against.
|
|
21386
|
+
*/
|
|
21387
|
+
jsonschema: string;
|
|
21388
|
+
/**
|
|
21389
|
+
* The meta schema to use for the JSON Schema. Defaults to `"draft-07"`.
|
|
21390
|
+
*/
|
|
21391
|
+
metaschema?: string;
|
|
21392
|
+
}
|
|
21323
21393
|
export interface SyntheticsTestAssertionTargetxpath {
|
|
21324
21394
|
/**
|
|
21325
21395
|
* The specific operator to use on the path.
|
|
@@ -21390,7 +21460,7 @@ export interface SyntheticsTestBrowserStepParams {
|
|
|
21390
21460
|
*/
|
|
21391
21461
|
delay?: number;
|
|
21392
21462
|
/**
|
|
21393
|
-
* Element to use for the step,
|
|
21463
|
+
* Element to use for the step, JSON encoded string.
|
|
21394
21464
|
*/
|
|
21395
21465
|
element?: string;
|
|
21396
21466
|
/**
|
|
@@ -21398,7 +21468,7 @@ export interface SyntheticsTestBrowserStepParams {
|
|
|
21398
21468
|
*/
|
|
21399
21469
|
elementUserLocator?: outputs.SyntheticsTestBrowserStepParamsElementUserLocator;
|
|
21400
21470
|
/**
|
|
21401
|
-
* Details of the email for an "assert email" step.
|
|
21471
|
+
* Details of the email for an "assert email" step, JSON encoded string.
|
|
21402
21472
|
*/
|
|
21403
21473
|
email?: string;
|
|
21404
21474
|
/**
|
|
@@ -21406,7 +21476,7 @@ export interface SyntheticsTestBrowserStepParams {
|
|
|
21406
21476
|
*/
|
|
21407
21477
|
file?: string;
|
|
21408
21478
|
/**
|
|
21409
|
-
* Details of the files for an "upload files" step,
|
|
21479
|
+
* Details of the files for an "upload files" step, JSON encoded string.
|
|
21410
21480
|
*/
|
|
21411
21481
|
files?: string;
|
|
21412
21482
|
/**
|
|
@@ -21835,6 +21905,32 @@ export interface SyntheticsTestRequestDefinition {
|
|
|
21835
21905
|
*/
|
|
21836
21906
|
url?: string;
|
|
21837
21907
|
}
|
|
21908
|
+
export interface SyntheticsTestRequestFile {
|
|
21909
|
+
/**
|
|
21910
|
+
* Bucket key of the file.
|
|
21911
|
+
*/
|
|
21912
|
+
bucketKey: string;
|
|
21913
|
+
/**
|
|
21914
|
+
* Content of the file.
|
|
21915
|
+
*/
|
|
21916
|
+
content?: string;
|
|
21917
|
+
/**
|
|
21918
|
+
* Name of the file.
|
|
21919
|
+
*/
|
|
21920
|
+
name: string;
|
|
21921
|
+
/**
|
|
21922
|
+
* Original name of the file.
|
|
21923
|
+
*/
|
|
21924
|
+
originalFileName?: string;
|
|
21925
|
+
/**
|
|
21926
|
+
* Size of the file.
|
|
21927
|
+
*/
|
|
21928
|
+
size: number;
|
|
21929
|
+
/**
|
|
21930
|
+
* Type of the file.
|
|
21931
|
+
*/
|
|
21932
|
+
type: string;
|
|
21933
|
+
}
|
|
21838
21934
|
export interface SyntheticsTestRequestProxy {
|
|
21839
21935
|
/**
|
|
21840
21936
|
* Header name and value map.
|