@pulumi/datadog 4.33.0-alpha.1725946412 → 4.33.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/types/input.d.ts CHANGED
@@ -8197,6 +8197,86 @@ export interface LogsArchiveS3Archive {
8197
8197
  */
8198
8198
  roleName: pulumi.Input<string>;
8199
8199
  }
8200
+ export interface LogsCustomDestinationElasticsearchDestination {
8201
+ /**
8202
+ * Basic access authentication.
8203
+ */
8204
+ basicAuth: pulumi.Input<inputs.LogsCustomDestinationElasticsearchDestinationBasicAuth>;
8205
+ /**
8206
+ * The destination for which logs will be forwarded to. Must have HTTPS scheme. Forwarding back to Datadog is not allowed.
8207
+ */
8208
+ endpoint: pulumi.Input<string>;
8209
+ /**
8210
+ * Name of the Elasticsearch index (must follow [Elasticsearch's criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)).
8211
+ */
8212
+ indexName: pulumi.Input<string>;
8213
+ /**
8214
+ * Date pattern with US locale and UTC timezone to be appended to the index name after adding '-'
8215
+ * (that is, '${index_name}-${indexPattern}').
8216
+ * You can customize the index rotation naming pattern by choosing one of these options:
8217
+ * - Hourly: 'yyyy-MM-dd-HH' (as an example, it would render: '2022-10-19-09')
8218
+ * - Daily: 'yyyy-MM-dd' (as an example, it would render: '2022-10-19')
8219
+ * - Weekly: 'yyyy-'W'ww' (as an example, it would render: '2022-W42')
8220
+ * - Monthly: 'yyyy-MM' (as an example, it would render: '2022-10')
8221
+ * If this field is missing or is blank, it means that the index name will always be the same
8222
+ * (that is, no rotation).
8223
+ */
8224
+ indexRotation?: pulumi.Input<string>;
8225
+ }
8226
+ export interface LogsCustomDestinationElasticsearchDestinationBasicAuth {
8227
+ /**
8228
+ * The password of the authentication. This field is not returned by the API.
8229
+ */
8230
+ password: pulumi.Input<string>;
8231
+ /**
8232
+ * The username of the authentication. This field is not returned by the API.
8233
+ */
8234
+ username: pulumi.Input<string>;
8235
+ }
8236
+ export interface LogsCustomDestinationHttpDestination {
8237
+ /**
8238
+ * Basic access authentication.
8239
+ */
8240
+ basicAuth?: pulumi.Input<inputs.LogsCustomDestinationHttpDestinationBasicAuth>;
8241
+ /**
8242
+ * Custom header access authentication.
8243
+ */
8244
+ customHeaderAuth?: pulumi.Input<inputs.LogsCustomDestinationHttpDestinationCustomHeaderAuth>;
8245
+ /**
8246
+ * The destination for which logs will be forwarded to. Must have HTTPS scheme. Forwarding back to Datadog is not allowed.
8247
+ */
8248
+ endpoint: pulumi.Input<string>;
8249
+ }
8250
+ export interface LogsCustomDestinationHttpDestinationBasicAuth {
8251
+ /**
8252
+ * The password of the authentication. This field is not returned by the API.
8253
+ */
8254
+ password: pulumi.Input<string>;
8255
+ /**
8256
+ * The username of the authentication. This field is not returned by the API.
8257
+ */
8258
+ username: pulumi.Input<string>;
8259
+ }
8260
+ export interface LogsCustomDestinationHttpDestinationCustomHeaderAuth {
8261
+ /**
8262
+ * The header name of the authentication.
8263
+ */
8264
+ headerName: pulumi.Input<string>;
8265
+ /**
8266
+ * The header value of the authentication. This field is not returned by the API.
8267
+ */
8268
+ headerValue: pulumi.Input<string>;
8269
+ }
8270
+ export interface LogsCustomDestinationSplunkDestination {
8271
+ /**
8272
+ * Access token of the Splunk HTTP Event Collector. This field is not returned by the API.
8273
+ */
8274
+ accessToken: pulumi.Input<string>;
8275
+ /**
8276
+ * The destination for which logs will be forwarded to. Must have HTTPS scheme. Forwarding back to Datadog is not allowed.
8277
+ */
8278
+ endpoint: pulumi.Input<string>;
8279
+ }
8200
8280
  export interface LogsCustomPipelineFilter {
8201
8281
  /**
8202
8282
  * Filter criteria of the category.
@@ -20862,7 +20942,7 @@ export interface SyntheticsGlobalVariableParseTestOptions {
20862
20942
  localVariableName?: pulumi.Input<string>;
20863
20943
  parser?: pulumi.Input<inputs.SyntheticsGlobalVariableParseTestOptionsParser>;
20864
20944
  /**
20865
- * Defines the source to use to extract the value. Valid values are `httpBody`, `httpHeader`, `localVariable`.
20945
+ * Defines the source to use to extract the value. Valid values are `httpBody`, `httpHeader`, `httpStatusCode`, `localVariable`.
20866
20946
  */
20867
20947
  type: pulumi.Input<string>;
20868
20948
  }
@@ -21029,7 +21109,7 @@ export interface SyntheticsTestApiStepAssertionTargetxpath {
21029
21109
  }
21030
21110
  export interface SyntheticsTestApiStepExtractedValue {
21031
21111
  /**
21032
- * When type is `httpHeader`, name of the header to use to extract the value.
21112
+ * When type is `httpHeader` or `grpcMetadata`, name of the header or metadatum to extract.
21033
21113
  */
21034
21114
  field?: pulumi.Input<string>;
21035
21115
  name: pulumi.Input<string>;
@@ -21039,7 +21119,7 @@ export interface SyntheticsTestApiStepExtractedValue {
21039
21119
  */
21040
21120
  secure?: pulumi.Input<boolean>;
21041
21121
  /**
21042
- * Property of the Synthetics Test Response to use for the variable. Valid values are `httpBody`, `httpHeader`, `localVariable`.
21122
+ * Property of the Synthetics Test Response to use for the variable. Valid values are `grpcMessage`, `grpcMetadata`, `httpBody`, `httpHeader`, `httpStatusCode`.
21043
21123
  */
21044
21124
  type: pulumi.Input<string>;
21045
21125
  }
@@ -21175,7 +21255,7 @@ export interface SyntheticsTestApiStepRequestDefinition {
21175
21255
  /**
21176
21256
  * DNS server port to use for DNS tests.
21177
21257
  */
21178
- dnsServerPort?: pulumi.Input<number>;
21258
+ dnsServerPort?: pulumi.Input<string>;
21179
21259
  /**
21180
21260
  * Determines whether or not the API HTTP test should follow redirects.
21181
21261
  */
@@ -21215,7 +21295,7 @@ export interface SyntheticsTestApiStepRequestDefinition {
21215
21295
  /**
21216
21296
  * Port to use when performing the test.
21217
21297
  */
21218
- port?: pulumi.Input<number>;
21298
+ port?: pulumi.Input<string>;
21219
21299
  /**
21220
21300
  * A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead.
21221
21301
  *
@@ -21804,7 +21884,7 @@ export interface SyntheticsTestRequestDefinition {
21804
21884
  /**
21805
21885
  * DNS server port to use for DNS tests.
21806
21886
  */
21807
- dnsServerPort?: pulumi.Input<number>;
21887
+ dnsServerPort?: pulumi.Input<string>;
21808
21888
  /**
21809
21889
  * Host name to perform the test with.
21810
21890
  */
@@ -21842,7 +21922,7 @@ export interface SyntheticsTestRequestDefinition {
21842
21922
  /**
21843
21923
  * Port to use when performing the test.
21844
21924
  */
21845
- port?: pulumi.Input<number>;
21925
+ port?: pulumi.Input<string>;
21846
21926
  /**
21847
21927
  * A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead.
21848
21928
  *
package/types/output.d.ts CHANGED
@@ -8811,6 +8811,86 @@ export interface LogsArchiveS3Archive {
8811
8811
  */
8812
8812
  roleName: string;
8813
8813
  }
8814
+ export interface LogsCustomDestinationElasticsearchDestination {
8815
+ /**
8816
+ * Basic access authentication.
8817
+ */
8818
+ basicAuth: outputs.LogsCustomDestinationElasticsearchDestinationBasicAuth;
8819
+ /**
8820
+ * The destination for which logs will be forwarded to. Must have HTTPS scheme. Forwarding back to Datadog is not allowed.
8821
+ */
8822
+ endpoint: string;
8823
+ /**
8824
+ * Name of the Elasticsearch index (must follow [Elasticsearch's criteria](https://www.elastic.co/guide/en/elasticsearch/reference/8.11/indices-create-index.html#indices-create-api-path-params)).
8825
+ */
8826
+ indexName: string;
8827
+ /**
8828
+ * Date pattern with US locale and UTC timezone to be appended to the index name after adding '-'
8829
+ * (that is, '${index_name}-${indexPattern}').
8830
+ * You can customize the index rotation naming pattern by choosing one of these options:
8831
+ * - Hourly: 'yyyy-MM-dd-HH' (as an example, it would render: '2022-10-19-09')
8832
+ * - Daily: 'yyyy-MM-dd' (as an example, it would render: '2022-10-19')
8833
+ * - Weekly: 'yyyy-'W'ww' (as an example, it would render: '2022-W42')
8834
+ * - Monthly: 'yyyy-MM' (as an example, it would render: '2022-10')
8835
+ * If this field is missing or is blank, it means that the index name will always be the same
8836
+ * (that is, no rotation).
8837
+ */
8838
+ indexRotation?: string;
8839
+ }
8840
+ export interface LogsCustomDestinationElasticsearchDestinationBasicAuth {
8841
+ /**
8842
+ * The password of the authentication. This field is not returned by the API.
8843
+ */
8844
+ password: string;
8845
+ /**
8846
+ * The username of the authentication. This field is not returned by the API.
8847
+ */
8848
+ username: string;
8849
+ }
8850
+ export interface LogsCustomDestinationHttpDestination {
8851
+ /**
8852
+ * Basic access authentication.
8853
+ */
8854
+ basicAuth?: outputs.LogsCustomDestinationHttpDestinationBasicAuth;
8855
+ /**
8856
+ * Custom header access authentication.
8857
+ */
8858
+ customHeaderAuth?: outputs.LogsCustomDestinationHttpDestinationCustomHeaderAuth;
8859
+ /**
8860
+ * The destination for which logs will be forwarded to. Must have HTTPS scheme. Forwarding back to Datadog is not allowed.
8861
+ */
8862
+ endpoint: string;
8863
+ }
8864
+ export interface LogsCustomDestinationHttpDestinationBasicAuth {
8865
+ /**
8866
+ * The password of the authentication. This field is not returned by the API.
8867
+ */
8868
+ password: string;
8869
+ /**
8870
+ * The username of the authentication. This field is not returned by the API.
8871
+ */
8872
+ username: string;
8873
+ }
8874
+ export interface LogsCustomDestinationHttpDestinationCustomHeaderAuth {
8875
+ /**
8876
+ * The header name of the authentication.
8877
+ */
8878
+ headerName: string;
8879
+ /**
8880
+ * The header value of the authentication. This field is not returned by the API.
8881
+ */
8882
+ headerValue: string;
8883
+ }
8884
+ export interface LogsCustomDestinationSplunkDestination {
8885
+ /**
8886
+ * Access token of the Splunk HTTP Event Collector. This field is not returned by the API.
8887
+ */
8888
+ accessToken: string;
8889
+ /**
8890
+ * The destination for which logs will be forwarded to. Must have HTTPS scheme. Forwarding back to Datadog is not allowed.
8891
+ */
8892
+ endpoint: string;
8893
+ }
8814
8894
  export interface LogsCustomPipelineFilter {
8815
8895
  /**
8816
8896
  * Filter criteria of the category.
@@ -21468,7 +21548,7 @@ export interface SyntheticsGlobalVariableParseTestOptions {
21468
21548
  localVariableName?: string;
21469
21549
  parser?: outputs.SyntheticsGlobalVariableParseTestOptionsParser;
21470
21550
  /**
21471
- * Defines the source to use to extract the value. Valid values are `httpBody`, `httpHeader`, `localVariable`.
21551
+ * Defines the source to use to extract the value. Valid values are `httpBody`, `httpHeader`, `httpStatusCode`, `localVariable`.
21472
21552
  */
21473
21553
  type: string;
21474
21554
  }
@@ -21635,7 +21715,7 @@ export interface SyntheticsTestApiStepAssertionTargetxpath {
21635
21715
  }
21636
21716
  export interface SyntheticsTestApiStepExtractedValue {
21637
21717
  /**
21638
- * When type is `httpHeader`, name of the header to use to extract the value.
21718
+ * When type is `httpHeader` or `grpcMetadata`, name of the header or metadatum to extract.
21639
21719
  */
21640
21720
  field?: string;
21641
21721
  name: string;
@@ -21645,7 +21725,7 @@ export interface SyntheticsTestApiStepExtractedValue {
21645
21725
  */
21646
21726
  secure?: boolean;
21647
21727
  /**
21648
- * Property of the Synthetics Test Response to use for the variable. Valid values are `httpBody`, `httpHeader`, `localVariable`.
21728
+ * Property of the Synthetics Test Response to use for the variable. Valid values are `grpcMessage`, `grpcMetadata`, `httpBody`, `httpHeader`, `httpStatusCode`.
21649
21729
  */
21650
21730
  type: string;
21651
21731
  }
@@ -21781,7 +21861,7 @@ export interface SyntheticsTestApiStepRequestDefinition {
21781
21861
  /**
21782
21862
  * DNS server port to use for DNS tests.
21783
21863
  */
21784
- dnsServerPort?: number;
21864
+ dnsServerPort?: string;
21785
21865
  /**
21786
21866
  * Determines whether or not the API HTTP test should follow redirects.
21787
21867
  */
@@ -21821,7 +21901,7 @@ export interface SyntheticsTestApiStepRequestDefinition {
21821
21901
  /**
21822
21902
  * Port to use when performing the test.
21823
21903
  */
21824
- port?: number;
21904
+ port?: string;
21825
21905
  /**
21826
21906
  * A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead.
21827
21907
  *
@@ -22410,7 +22490,7 @@ export interface SyntheticsTestRequestDefinition {
22410
22490
  /**
22411
22491
  * DNS server port to use for DNS tests.
22412
22492
  */
22413
- dnsServerPort?: number;
22493
+ dnsServerPort?: string;
22414
22494
  /**
22415
22495
  * Host name to perform the test with.
22416
22496
  */
@@ -22448,7 +22528,7 @@ export interface SyntheticsTestRequestDefinition {
22448
22528
  /**
22449
22529
  * Port to use when performing the test.
22450
22530
  */
22451
- port?: number;
22531
+ port?: string;
22452
22532
  /**
22453
22533
  * A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead.
22454
22534
  *