@pulumi/datadog 4.1.0 → 4.2.0-alpha.1632753173

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.
@@ -42,7 +42,7 @@ export declare class IntegrationLambdaArn extends pulumi.CustomResource {
42
42
  */
43
43
  static isInstance(obj: any): obj is IntegrationLambdaArn;
44
44
  /**
45
- * Your AWS Account ID without dashes.
45
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
46
46
  */
47
47
  readonly accountId: pulumi.Output<string>;
48
48
  /**
@@ -63,7 +63,7 @@ export declare class IntegrationLambdaArn extends pulumi.CustomResource {
63
63
  */
64
64
  export interface IntegrationLambdaArnState {
65
65
  /**
66
- * Your AWS Account ID without dashes.
66
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
67
67
  */
68
68
  accountId?: pulumi.Input<string>;
69
69
  /**
@@ -76,7 +76,7 @@ export interface IntegrationLambdaArnState {
76
76
  */
77
77
  export interface IntegrationLambdaArnArgs {
78
78
  /**
79
- * Your AWS Account ID without dashes.
79
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
80
80
  */
81
81
  accountId: pulumi.Input<string>;
82
82
  /**
@@ -40,7 +40,7 @@ export declare class IntegrationLogCollection extends pulumi.CustomResource {
40
40
  */
41
41
  static isInstance(obj: any): obj is IntegrationLogCollection;
42
42
  /**
43
- * Your AWS Account ID without dashes.
43
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
44
44
  */
45
45
  readonly accountId: pulumi.Output<string>;
46
46
  /**
@@ -61,7 +61,7 @@ export declare class IntegrationLogCollection extends pulumi.CustomResource {
61
61
  */
62
62
  export interface IntegrationLogCollectionState {
63
63
  /**
64
- * Your AWS Account ID without dashes.
64
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
65
65
  */
66
66
  accountId?: pulumi.Input<string>;
67
67
  /**
@@ -74,7 +74,7 @@ export interface IntegrationLogCollectionState {
74
74
  */
75
75
  export interface IntegrationLogCollectionArgs {
76
76
  /**
77
- * Your AWS Account ID without dashes.
77
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
78
78
  */
79
79
  accountId: pulumi.Input<string>;
80
80
  /**
@@ -41,7 +41,7 @@ export declare class IntegrationTagFilter extends pulumi.CustomResource {
41
41
  */
42
42
  static isInstance(obj: any): obj is IntegrationTagFilter;
43
43
  /**
44
- * Your AWS Account ID without dashes.
44
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
45
45
  */
46
46
  readonly accountId: pulumi.Output<string>;
47
47
  /**
@@ -66,7 +66,7 @@ export declare class IntegrationTagFilter extends pulumi.CustomResource {
66
66
  */
67
67
  export interface IntegrationTagFilterState {
68
68
  /**
69
- * Your AWS Account ID without dashes.
69
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
70
70
  */
71
71
  accountId?: pulumi.Input<string>;
72
72
  /**
@@ -83,7 +83,7 @@ export interface IntegrationTagFilterState {
83
83
  */
84
84
  export interface IntegrationTagFilterArgs {
85
85
  /**
86
- * Your AWS Account ID without dashes.
86
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
87
87
  */
88
88
  accountId: pulumi.Input<string>;
89
89
  /**
@@ -11,6 +11,22 @@ import * as pulumi from "@pulumi/pulumi";
11
11
  * const test = pulumi.output(datadog.getDashboardList({
12
12
  * name: "My super list",
13
13
  * }));
14
+ * // Create a dashboard and register it in the list above.
15
+ * const time = new datadog.Dashboard("time", {
16
+ * dashboardLists: [test.apply(test => Number.parseFloat(test.id))],
17
+ * description: "Created using the Datadog provider in Terraform",
18
+ * isReadOnly: true,
19
+ * layoutType: "ordered",
20
+ * title: "TF Test Layout Dashboard",
21
+ * widgets: [{
22
+ * alertGraphDefinition: {
23
+ * alertId: "1234",
24
+ * liveSpan: "1h",
25
+ * title: "Widget Title",
26
+ * vizType: "timeseries",
27
+ * },
28
+ * }],
29
+ * });
14
30
  * ```
15
31
  */
16
32
  export declare function getDashboardList(args: GetDashboardListArgs, opts?: pulumi.InvokeOptions): Promise<GetDashboardListResult>;
@@ -16,6 +16,22 @@ const utilities = require("./utilities");
16
16
  * const test = pulumi.output(datadog.getDashboardList({
17
17
  * name: "My super list",
18
18
  * }));
19
+ * // Create a dashboard and register it in the list above.
20
+ * const time = new datadog.Dashboard("time", {
21
+ * dashboardLists: [test.apply(test => Number.parseFloat(test.id))],
22
+ * description: "Created using the Datadog provider in Terraform",
23
+ * isReadOnly: true,
24
+ * layoutType: "ordered",
25
+ * title: "TF Test Layout Dashboard",
26
+ * widgets: [{
27
+ * alertGraphDefinition: {
28
+ * alertId: "1234",
29
+ * liveSpan: "1h",
30
+ * title: "Widget Title",
31
+ * vizType: "timeseries",
32
+ * },
33
+ * }],
34
+ * });
19
35
  * ```
20
36
  */
21
37
  function getDashboardList(args, opts) {
@@ -1 +1 @@
1
- {"version":3,"file":"getDashboardList.js","sourceRoot":"","sources":["../getDashboardList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC"}
1
+ {"version":3,"file":"getDashboardList.js","sourceRoot":"","sources":["../getDashboardList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/datadog",
3
- "version": "v4.1.0",
3
+ "version": "v4.2.0-alpha.1632753173+6dd262c3",
4
4
  "description": "A Pulumi package for creating and managing Datadog resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource datadog v4.1.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource datadog v4.2.0-alpha.1632753173+6dd262c3"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/datadog",
3
- "version": "v4.1.0",
3
+ "version": "v4.2.0-alpha.1632753173+6dd262c3",
4
4
  "description": "A Pulumi package for creating and managing Datadog resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/types/input.d.ts CHANGED
@@ -59,6 +59,10 @@ export interface DashboardListDashItem {
59
59
  type: pulumi.Input<string>;
60
60
  }
61
61
  export interface DashboardTemplateVariable {
62
+ /**
63
+ * The list of values that the template variable drop-down is be limited to
64
+ */
65
+ availableValues?: pulumi.Input<pulumi.Input<string>[]>;
62
66
  /**
63
67
  * The default value for the template variable on dashboard load.
64
68
  */
package/types/output.d.ts CHANGED
@@ -58,6 +58,10 @@ export interface DashboardListDashItem {
58
58
  type: string;
59
59
  }
60
60
  export interface DashboardTemplateVariable {
61
+ /**
62
+ * The list of values that the template variable drop-down is be limited to
63
+ */
64
+ availableValues?: string[];
61
65
  /**
62
66
  * The default value for the template variable on dashboard load.
63
67
  */