@pulumi/datadog 4.62.0 → 4.63.0-alpha.1769053855
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/cloudInventorySyncConfig.d.ts +139 -0
- package/cloudInventorySyncConfig.js +111 -0
- package/cloudInventorySyncConfig.js.map +1 -0
- package/gcp/integrationSts.d.ts +24 -0
- package/gcp/integrationSts.js +4 -0
- package/gcp/integrationSts.js.map +1 -1
- package/getOrganizationSettings.d.ts +54 -0
- package/getOrganizationSettings.js +30 -0
- package/getOrganizationSettings.js.map +1 -0
- package/getServiceLevelObjective.d.ts +4 -0
- package/getServiceLevelObjective.js.map +1 -1
- package/getTeamNotificationRule.d.ts +128 -0
- package/getTeamNotificationRule.js +64 -0
- package/getTeamNotificationRule.js.map +1 -0
- package/getTeamNotificationRules.d.ts +78 -0
- package/getTeamNotificationRules.js +54 -0
- package/getTeamNotificationRules.js.map +1 -0
- package/index.d.ts +21 -0
- package/index.js +34 -5
- package/index.js.map +1 -1
- package/metricTagConfiguration.d.ts +9 -13
- package/metricTagConfiguration.js +0 -10
- package/metricTagConfiguration.js.map +1 -1
- package/onCallUserNotificationChannel.d.ts +59 -0
- package/onCallUserNotificationChannel.js +59 -0
- package/onCallUserNotificationChannel.js.map +1 -0
- package/onCallUserNotificationRule.d.ts +92 -0
- package/onCallUserNotificationRule.js +72 -0
- package/onCallUserNotificationRule.js.map +1 -0
- package/package.json +2 -2
- package/powerpack.d.ts +3 -3
- package/syntheticsGlobalVariable.d.ts +30 -21
- package/syntheticsGlobalVariable.js +5 -19
- package/syntheticsGlobalVariable.js.map +1 -1
- package/teamNotificationRule.d.ts +141 -0
- package/teamNotificationRule.js +103 -0
- package/teamNotificationRule.js.map +1 -0
- package/types/input.d.ts +865 -7
- package/types/output.d.ts +717 -7
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Provides a Datadog CloudInventorySyncConfig resource. This can be used to create and manage Datadog cloud_inventory_sync_config.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // AWS Cloud Inventory Sync Config
|
|
14
|
+
* const awsExample = new datadog.CloudInventorySyncConfig("aws_example", {
|
|
15
|
+
* cloudProvider: "aws",
|
|
16
|
+
* aws: [{
|
|
17
|
+
* awsAccountId: "123456789012",
|
|
18
|
+
* destinationBucketName: "my-inventory-bucket",
|
|
19
|
+
* destinationBucketRegion: "us-east-1",
|
|
20
|
+
* destinationPrefix: "inventory/",
|
|
21
|
+
* }],
|
|
22
|
+
* });
|
|
23
|
+
* // Azure Cloud Inventory Sync Config
|
|
24
|
+
* const azureExample = new datadog.CloudInventorySyncConfig("azure_example", {
|
|
25
|
+
* cloudProvider: "azure",
|
|
26
|
+
* azure: [{
|
|
27
|
+
* clientId: "00000000-0000-0000-0000-000000000000",
|
|
28
|
+
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
29
|
+
* subscriptionId: "00000000-0000-0000-0000-000000000000",
|
|
30
|
+
* resourceGroup: "my-resource-group",
|
|
31
|
+
* storageAccount: "mystorageaccount",
|
|
32
|
+
* container: "inventory",
|
|
33
|
+
* }],
|
|
34
|
+
* });
|
|
35
|
+
* // GCP Cloud Inventory Sync Config
|
|
36
|
+
* const gcpExample = new datadog.CloudInventorySyncConfig("gcp_example", {
|
|
37
|
+
* cloudProvider: "gcp",
|
|
38
|
+
* gcp: [{
|
|
39
|
+
* projectId: "my-gcp-project",
|
|
40
|
+
* destinationBucketName: "my-inventory-bucket",
|
|
41
|
+
* sourceBucketName: "my-source-bucket",
|
|
42
|
+
* serviceAccountEmail: "sa@my-gcp-project.iam.gserviceaccount.com",
|
|
43
|
+
* }],
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ## Import
|
|
48
|
+
*
|
|
49
|
+
* The `pulumi import` command can be used, for example:
|
|
50
|
+
*
|
|
51
|
+
* Import using the sync config ID returned by the API
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import datadog:index/cloudInventorySyncConfig:CloudInventorySyncConfig example "<sync-config-id>"
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare class CloudInventorySyncConfig extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing CloudInventorySyncConfig resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CloudInventorySyncConfigState, opts?: pulumi.CustomResourceOptions): CloudInventorySyncConfig;
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of CloudInventorySyncConfig. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj: any): obj is CloudInventorySyncConfig;
|
|
73
|
+
/**
|
|
74
|
+
* AWS-specific configuration. Required when cloudProvider is `aws`.
|
|
75
|
+
*/
|
|
76
|
+
readonly aws: pulumi.Output<outputs.CloudInventorySyncConfigAws | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* Azure-specific configuration. Required when cloudProvider is `azure`.
|
|
79
|
+
*/
|
|
80
|
+
readonly azure: pulumi.Output<outputs.CloudInventorySyncConfigAzure | undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* The cloud provider type. Valid values are `aws`, `azure`, `gcp`.
|
|
83
|
+
*/
|
|
84
|
+
readonly cloudProvider: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* GCP-specific configuration. Required when cloudProvider is `gcp`.
|
|
87
|
+
*/
|
|
88
|
+
readonly gcp: pulumi.Output<outputs.CloudInventorySyncConfigGcp | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* Create a CloudInventorySyncConfig resource with the given unique name, arguments, and options.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resource.
|
|
93
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
94
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
95
|
+
*/
|
|
96
|
+
constructor(name: string, args: CloudInventorySyncConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Input properties used for looking up and filtering CloudInventorySyncConfig resources.
|
|
100
|
+
*/
|
|
101
|
+
export interface CloudInventorySyncConfigState {
|
|
102
|
+
/**
|
|
103
|
+
* AWS-specific configuration. Required when cloudProvider is `aws`.
|
|
104
|
+
*/
|
|
105
|
+
aws?: pulumi.Input<inputs.CloudInventorySyncConfigAws>;
|
|
106
|
+
/**
|
|
107
|
+
* Azure-specific configuration. Required when cloudProvider is `azure`.
|
|
108
|
+
*/
|
|
109
|
+
azure?: pulumi.Input<inputs.CloudInventorySyncConfigAzure>;
|
|
110
|
+
/**
|
|
111
|
+
* The cloud provider type. Valid values are `aws`, `azure`, `gcp`.
|
|
112
|
+
*/
|
|
113
|
+
cloudProvider?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* GCP-specific configuration. Required when cloudProvider is `gcp`.
|
|
116
|
+
*/
|
|
117
|
+
gcp?: pulumi.Input<inputs.CloudInventorySyncConfigGcp>;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* The set of arguments for constructing a CloudInventorySyncConfig resource.
|
|
121
|
+
*/
|
|
122
|
+
export interface CloudInventorySyncConfigArgs {
|
|
123
|
+
/**
|
|
124
|
+
* AWS-specific configuration. Required when cloudProvider is `aws`.
|
|
125
|
+
*/
|
|
126
|
+
aws?: pulumi.Input<inputs.CloudInventorySyncConfigAws>;
|
|
127
|
+
/**
|
|
128
|
+
* Azure-specific configuration. Required when cloudProvider is `azure`.
|
|
129
|
+
*/
|
|
130
|
+
azure?: pulumi.Input<inputs.CloudInventorySyncConfigAzure>;
|
|
131
|
+
/**
|
|
132
|
+
* The cloud provider type. Valid values are `aws`, `azure`, `gcp`.
|
|
133
|
+
*/
|
|
134
|
+
cloudProvider: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* GCP-specific configuration. Required when cloudProvider is `gcp`.
|
|
137
|
+
*/
|
|
138
|
+
gcp?: pulumi.Input<inputs.CloudInventorySyncConfigGcp>;
|
|
139
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.CloudInventorySyncConfig = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides a Datadog CloudInventorySyncConfig resource. This can be used to create and manage Datadog cloud_inventory_sync_config.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // AWS Cloud Inventory Sync Config
|
|
18
|
+
* const awsExample = new datadog.CloudInventorySyncConfig("aws_example", {
|
|
19
|
+
* cloudProvider: "aws",
|
|
20
|
+
* aws: [{
|
|
21
|
+
* awsAccountId: "123456789012",
|
|
22
|
+
* destinationBucketName: "my-inventory-bucket",
|
|
23
|
+
* destinationBucketRegion: "us-east-1",
|
|
24
|
+
* destinationPrefix: "inventory/",
|
|
25
|
+
* }],
|
|
26
|
+
* });
|
|
27
|
+
* // Azure Cloud Inventory Sync Config
|
|
28
|
+
* const azureExample = new datadog.CloudInventorySyncConfig("azure_example", {
|
|
29
|
+
* cloudProvider: "azure",
|
|
30
|
+
* azure: [{
|
|
31
|
+
* clientId: "00000000-0000-0000-0000-000000000000",
|
|
32
|
+
* tenantId: "00000000-0000-0000-0000-000000000000",
|
|
33
|
+
* subscriptionId: "00000000-0000-0000-0000-000000000000",
|
|
34
|
+
* resourceGroup: "my-resource-group",
|
|
35
|
+
* storageAccount: "mystorageaccount",
|
|
36
|
+
* container: "inventory",
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
39
|
+
* // GCP Cloud Inventory Sync Config
|
|
40
|
+
* const gcpExample = new datadog.CloudInventorySyncConfig("gcp_example", {
|
|
41
|
+
* cloudProvider: "gcp",
|
|
42
|
+
* gcp: [{
|
|
43
|
+
* projectId: "my-gcp-project",
|
|
44
|
+
* destinationBucketName: "my-inventory-bucket",
|
|
45
|
+
* sourceBucketName: "my-source-bucket",
|
|
46
|
+
* serviceAccountEmail: "sa@my-gcp-project.iam.gserviceaccount.com",
|
|
47
|
+
* }],
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ## Import
|
|
52
|
+
*
|
|
53
|
+
* The `pulumi import` command can be used, for example:
|
|
54
|
+
*
|
|
55
|
+
* Import using the sync config ID returned by the API
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import datadog:index/cloudInventorySyncConfig:CloudInventorySyncConfig example "<sync-config-id>"
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
class CloudInventorySyncConfig extends pulumi.CustomResource {
|
|
62
|
+
/**
|
|
63
|
+
* Get an existing CloudInventorySyncConfig resource's state with the given name, ID, and optional extra
|
|
64
|
+
* properties used to qualify the lookup.
|
|
65
|
+
*
|
|
66
|
+
* @param name The _unique_ name of the resulting resource.
|
|
67
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
68
|
+
* @param state Any extra arguments used during the lookup.
|
|
69
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
70
|
+
*/
|
|
71
|
+
static get(name, id, state, opts) {
|
|
72
|
+
return new CloudInventorySyncConfig(name, state, { ...opts, id: id });
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Returns true if the given object is an instance of CloudInventorySyncConfig. This is designed to work even
|
|
76
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
77
|
+
*/
|
|
78
|
+
static isInstance(obj) {
|
|
79
|
+
if (obj === undefined || obj === null) {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
return obj['__pulumiType'] === CloudInventorySyncConfig.__pulumiType;
|
|
83
|
+
}
|
|
84
|
+
constructor(name, argsOrState, opts) {
|
|
85
|
+
let resourceInputs = {};
|
|
86
|
+
opts = opts || {};
|
|
87
|
+
if (opts.id) {
|
|
88
|
+
const state = argsOrState;
|
|
89
|
+
resourceInputs["aws"] = state?.aws;
|
|
90
|
+
resourceInputs["azure"] = state?.azure;
|
|
91
|
+
resourceInputs["cloudProvider"] = state?.cloudProvider;
|
|
92
|
+
resourceInputs["gcp"] = state?.gcp;
|
|
93
|
+
}
|
|
94
|
+
else {
|
|
95
|
+
const args = argsOrState;
|
|
96
|
+
if (args?.cloudProvider === undefined && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'cloudProvider'");
|
|
98
|
+
}
|
|
99
|
+
resourceInputs["aws"] = args?.aws;
|
|
100
|
+
resourceInputs["azure"] = args?.azure;
|
|
101
|
+
resourceInputs["cloudProvider"] = args?.cloudProvider;
|
|
102
|
+
resourceInputs["gcp"] = args?.gcp;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
super(CloudInventorySyncConfig.__pulumiType, name, resourceInputs, opts);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.CloudInventorySyncConfig = CloudInventorySyncConfig;
|
|
109
|
+
/** @internal */
|
|
110
|
+
CloudInventorySyncConfig.__pulumiType = 'datadog:index/cloudInventorySyncConfig:CloudInventorySyncConfig';
|
|
111
|
+
//# sourceMappingURL=cloudInventorySyncConfig.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cloudInventorySyncConfig.js","sourceRoot":"","sources":["../cloudInventorySyncConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IA2BD,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwD,CAAC;YACvE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;YACnC,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;SACtC;aAAM;YACH,MAAM,IAAI,GAAG,WAAuD,CAAC;YACrE,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,wBAAwB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7E,CAAC;;AA1EL,4DA2EC;AA7DG,gBAAgB;AACO,qCAAY,GAAG,iEAAiE,CAAC"}
|
package/gcp/integrationSts.d.ts
CHANGED
|
@@ -60,6 +60,10 @@ export declare class IntegrationSts extends pulumi.CustomResource {
|
|
|
60
60
|
* Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled.
|
|
61
61
|
*/
|
|
62
62
|
readonly isCspmEnabled: pulumi.Output<boolean>;
|
|
63
|
+
/**
|
|
64
|
+
* When enabled, Datadog collects metrics where location is explicitly stated as 'global' or where location information cannot be deduced from GCP.
|
|
65
|
+
*/
|
|
66
|
+
readonly isGlobalLocationEnabled: pulumi.Output<boolean>;
|
|
63
67
|
/**
|
|
64
68
|
* When enabled, Datadog includes the `X-Goog-User-Project` header to attribute Google Cloud billing and quota usage to the monitored project instead of the default service account project.
|
|
65
69
|
*/
|
|
@@ -80,6 +84,10 @@ export declare class IntegrationSts extends pulumi.CustomResource {
|
|
|
80
84
|
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
81
85
|
*/
|
|
82
86
|
readonly monitoredResourceConfigs: pulumi.Output<outputs.gcp.IntegrationStsMonitoredResourceConfig[]>;
|
|
87
|
+
/**
|
|
88
|
+
* Configurations for GCP location filtering, such as region, multi-region, or zone. Only monitored resources that match the specified regions are imported into Datadog. By default, Datadog collects from all locations.
|
|
89
|
+
*/
|
|
90
|
+
readonly regionFilterConfigs: pulumi.Output<string[] | undefined>;
|
|
83
91
|
/**
|
|
84
92
|
* When enabled, Datadog scans for all resources in your GCP environment.
|
|
85
93
|
*/
|
|
@@ -129,6 +137,10 @@ export interface IntegrationStsState {
|
|
|
129
137
|
* Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled.
|
|
130
138
|
*/
|
|
131
139
|
isCspmEnabled?: pulumi.Input<boolean>;
|
|
140
|
+
/**
|
|
141
|
+
* When enabled, Datadog collects metrics where location is explicitly stated as 'global' or where location information cannot be deduced from GCP.
|
|
142
|
+
*/
|
|
143
|
+
isGlobalLocationEnabled?: pulumi.Input<boolean>;
|
|
132
144
|
/**
|
|
133
145
|
* When enabled, Datadog includes the `X-Goog-User-Project` header to attribute Google Cloud billing and quota usage to the monitored project instead of the default service account project.
|
|
134
146
|
*/
|
|
@@ -149,6 +161,10 @@ export interface IntegrationStsState {
|
|
|
149
161
|
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
150
162
|
*/
|
|
151
163
|
monitoredResourceConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.IntegrationStsMonitoredResourceConfig>[]>;
|
|
164
|
+
/**
|
|
165
|
+
* Configurations for GCP location filtering, such as region, multi-region, or zone. Only monitored resources that match the specified regions are imported into Datadog. By default, Datadog collects from all locations.
|
|
166
|
+
*/
|
|
167
|
+
regionFilterConfigs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
152
168
|
/**
|
|
153
169
|
* When enabled, Datadog scans for all resources in your GCP environment.
|
|
154
170
|
*/
|
|
@@ -186,6 +202,10 @@ export interface IntegrationStsArgs {
|
|
|
186
202
|
* Whether Datadog collects cloud security posture management resources from your GCP project. If enabled, requires `resourceCollectionEnabled` to also be enabled.
|
|
187
203
|
*/
|
|
188
204
|
isCspmEnabled?: pulumi.Input<boolean>;
|
|
205
|
+
/**
|
|
206
|
+
* When enabled, Datadog collects metrics where location is explicitly stated as 'global' or where location information cannot be deduced from GCP.
|
|
207
|
+
*/
|
|
208
|
+
isGlobalLocationEnabled?: pulumi.Input<boolean>;
|
|
189
209
|
/**
|
|
190
210
|
* When enabled, Datadog includes the `X-Goog-User-Project` header to attribute Google Cloud billing and quota usage to the monitored project instead of the default service account project.
|
|
191
211
|
*/
|
|
@@ -206,6 +226,10 @@ export interface IntegrationStsArgs {
|
|
|
206
226
|
* Configurations for GCP monitored resources. Only monitored resources that apply to specified filters are imported into Datadog.
|
|
207
227
|
*/
|
|
208
228
|
monitoredResourceConfigs?: pulumi.Input<pulumi.Input<inputs.gcp.IntegrationStsMonitoredResourceConfig>[]>;
|
|
229
|
+
/**
|
|
230
|
+
* Configurations for GCP location filtering, such as region, multi-region, or zone. Only monitored resources that match the specified regions are imported into Datadog. By default, Datadog collects from all locations.
|
|
231
|
+
*/
|
|
232
|
+
regionFilterConfigs?: pulumi.Input<pulumi.Input<string>[]>;
|
|
209
233
|
/**
|
|
210
234
|
* When enabled, Datadog scans for all resources in your GCP environment.
|
|
211
235
|
*/
|
package/gcp/integrationSts.js
CHANGED
|
@@ -51,11 +51,13 @@ class IntegrationSts extends pulumi.CustomResource {
|
|
|
51
51
|
resourceInputs["delegateAccountEmail"] = state?.delegateAccountEmail;
|
|
52
52
|
resourceInputs["hostFilters"] = state?.hostFilters;
|
|
53
53
|
resourceInputs["isCspmEnabled"] = state?.isCspmEnabled;
|
|
54
|
+
resourceInputs["isGlobalLocationEnabled"] = state?.isGlobalLocationEnabled;
|
|
54
55
|
resourceInputs["isPerProjectQuotaEnabled"] = state?.isPerProjectQuotaEnabled;
|
|
55
56
|
resourceInputs["isResourceChangeCollectionEnabled"] = state?.isResourceChangeCollectionEnabled;
|
|
56
57
|
resourceInputs["isSecurityCommandCenterEnabled"] = state?.isSecurityCommandCenterEnabled;
|
|
57
58
|
resourceInputs["metricNamespaceConfigs"] = state?.metricNamespaceConfigs;
|
|
58
59
|
resourceInputs["monitoredResourceConfigs"] = state?.monitoredResourceConfigs;
|
|
60
|
+
resourceInputs["regionFilterConfigs"] = state?.regionFilterConfigs;
|
|
59
61
|
resourceInputs["resourceCollectionEnabled"] = state?.resourceCollectionEnabled;
|
|
60
62
|
}
|
|
61
63
|
else {
|
|
@@ -69,11 +71,13 @@ class IntegrationSts extends pulumi.CustomResource {
|
|
|
69
71
|
resourceInputs["cloudRunRevisionFilters"] = args?.cloudRunRevisionFilters;
|
|
70
72
|
resourceInputs["hostFilters"] = args?.hostFilters;
|
|
71
73
|
resourceInputs["isCspmEnabled"] = args?.isCspmEnabled;
|
|
74
|
+
resourceInputs["isGlobalLocationEnabled"] = args?.isGlobalLocationEnabled;
|
|
72
75
|
resourceInputs["isPerProjectQuotaEnabled"] = args?.isPerProjectQuotaEnabled;
|
|
73
76
|
resourceInputs["isResourceChangeCollectionEnabled"] = args?.isResourceChangeCollectionEnabled;
|
|
74
77
|
resourceInputs["isSecurityCommandCenterEnabled"] = args?.isSecurityCommandCenterEnabled;
|
|
75
78
|
resourceInputs["metricNamespaceConfigs"] = args?.metricNamespaceConfigs;
|
|
76
79
|
resourceInputs["monitoredResourceConfigs"] = args?.monitoredResourceConfigs;
|
|
80
|
+
resourceInputs["regionFilterConfigs"] = args?.regionFilterConfigs;
|
|
77
81
|
resourceInputs["resourceCollectionEnabled"] = args?.resourceCollectionEnabled;
|
|
78
82
|
resourceInputs["delegateAccountEmail"] = undefined /*out*/;
|
|
79
83
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationSts.js","sourceRoot":"","sources":["../../gcp/integrationSts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;
|
|
1
|
+
{"version":3,"file":"integrationSts.js","sourceRoot":"","sources":["../../gcp/integrationSts.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to retrieve information about your Datadog organization.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getOrganizationSettings(args?: GetOrganizationSettingsArgs, opts?: pulumi.InvokeOptions): Promise<GetOrganizationSettingsResult>;
|
|
8
|
+
/**
|
|
9
|
+
* A collection of arguments for invoking getOrganizationSettings.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetOrganizationSettingsArgs {
|
|
12
|
+
/**
|
|
13
|
+
* Organization settings.
|
|
14
|
+
*/
|
|
15
|
+
settings?: inputs.GetOrganizationSettingsSetting[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A collection of values returned by getOrganizationSettings.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetOrganizationSettingsResult {
|
|
21
|
+
/**
|
|
22
|
+
* Description of the organization.
|
|
23
|
+
*/
|
|
24
|
+
readonly description: string;
|
|
25
|
+
/**
|
|
26
|
+
* The ID of this resource.
|
|
27
|
+
*/
|
|
28
|
+
readonly id: string;
|
|
29
|
+
/**
|
|
30
|
+
* Name of the organization.
|
|
31
|
+
*/
|
|
32
|
+
readonly name: string;
|
|
33
|
+
/**
|
|
34
|
+
* The publicId of the organization.
|
|
35
|
+
*/
|
|
36
|
+
readonly publicId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Organization settings.
|
|
39
|
+
*/
|
|
40
|
+
readonly settings?: outputs.GetOrganizationSettingsSetting[];
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Use this data source to retrieve information about your Datadog organization.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getOrganizationSettingsOutput(args?: GetOrganizationSettingsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOrganizationSettingsResult>;
|
|
46
|
+
/**
|
|
47
|
+
* A collection of arguments for invoking getOrganizationSettings.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetOrganizationSettingsOutputArgs {
|
|
50
|
+
/**
|
|
51
|
+
* Organization settings.
|
|
52
|
+
*/
|
|
53
|
+
settings?: pulumi.Input<pulumi.Input<inputs.GetOrganizationSettingsSettingArgs>[]>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getOrganizationSettingsOutput = exports.getOrganizationSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about your Datadog organization.
|
|
10
|
+
*/
|
|
11
|
+
function getOrganizationSettings(args, opts) {
|
|
12
|
+
args = args || {};
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
+
return pulumi.runtime.invoke("datadog:index/getOrganizationSettings:getOrganizationSettings", {
|
|
15
|
+
"settings": args.settings,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getOrganizationSettings = getOrganizationSettings;
|
|
19
|
+
/**
|
|
20
|
+
* Use this data source to retrieve information about your Datadog organization.
|
|
21
|
+
*/
|
|
22
|
+
function getOrganizationSettingsOutput(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invokeOutput("datadog:index/getOrganizationSettings:getOrganizationSettings", {
|
|
26
|
+
"settings": args.settings,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getOrganizationSettingsOutput = getOrganizationSettingsOutput;
|
|
30
|
+
//# sourceMappingURL=getOrganizationSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOrganizationSettings.js","sourceRoot":"","sources":["../getOrganizationSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAA2B;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,+DAA+D,EAAE;QAC1F,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AAqCD;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAAiC;IACrH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,+DAA+D,EAAE;QAChG,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
|
|
@@ -68,6 +68,10 @@ export interface GetServiceLevelObjectiveResult {
|
|
|
68
68
|
* The metric query of good / total events
|
|
69
69
|
*/
|
|
70
70
|
readonly queries: outputs.GetServiceLevelObjectiveQuery[];
|
|
71
|
+
/**
|
|
72
|
+
* List of tags associated with the service level objective.
|
|
73
|
+
*/
|
|
74
|
+
readonly tags: string[];
|
|
71
75
|
/**
|
|
72
76
|
* Filter results based on a single SLO tag.
|
|
73
77
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getServiceLevelObjective.js","sourceRoot":"","sources":["../getServiceLevelObjective.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4DASC;
|
|
1
|
+
{"version":3,"file":"getServiceLevelObjective.js","sourceRoot":"","sources":["../getServiceLevelObjective.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iEAAiE,EAAE;QAC5F,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4DASC;AA6ED;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAAiC;IACvH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iEAAiE,EAAE;QAClG,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wEASC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Use this data source to retrieve information about a specific Datadog team notification rule.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as datadog from "@pulumi/datadog";
|
|
12
|
+
*
|
|
13
|
+
* // Get a specific notification rule for a team
|
|
14
|
+
* const example = datadog.getTeamNotificationRule({
|
|
15
|
+
* teamId: "00000000-0000-0000-0000-000000000000",
|
|
16
|
+
* ruleId: "11111111-1111-1111-1111-111111111111",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function getTeamNotificationRule(args: GetTeamNotificationRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamNotificationRuleResult>;
|
|
21
|
+
/**
|
|
22
|
+
* A collection of arguments for invoking getTeamNotificationRule.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetTeamNotificationRuleArgs {
|
|
25
|
+
/**
|
|
26
|
+
* The email notification settings.
|
|
27
|
+
*/
|
|
28
|
+
email?: inputs.GetTeamNotificationRuleEmail;
|
|
29
|
+
/**
|
|
30
|
+
* The MS Teams notification settings.
|
|
31
|
+
*/
|
|
32
|
+
msTeams?: inputs.GetTeamNotificationRuleMsTeams;
|
|
33
|
+
/**
|
|
34
|
+
* The PagerDuty notification settings.
|
|
35
|
+
*/
|
|
36
|
+
pagerduty?: inputs.GetTeamNotificationRulePagerduty;
|
|
37
|
+
/**
|
|
38
|
+
* The notification rule ID to fetch.
|
|
39
|
+
*/
|
|
40
|
+
ruleId: string;
|
|
41
|
+
/**
|
|
42
|
+
* The Slack notification settings.
|
|
43
|
+
*/
|
|
44
|
+
slack?: inputs.GetTeamNotificationRuleSlack;
|
|
45
|
+
/**
|
|
46
|
+
* The team ID to fetch the notification rule for.
|
|
47
|
+
*/
|
|
48
|
+
teamId: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* A collection of values returned by getTeamNotificationRule.
|
|
52
|
+
*/
|
|
53
|
+
export interface GetTeamNotificationRuleResult {
|
|
54
|
+
/**
|
|
55
|
+
* The email notification settings.
|
|
56
|
+
*/
|
|
57
|
+
readonly email?: outputs.GetTeamNotificationRuleEmail;
|
|
58
|
+
/**
|
|
59
|
+
* The ID of this resource.
|
|
60
|
+
*/
|
|
61
|
+
readonly id: string;
|
|
62
|
+
/**
|
|
63
|
+
* The MS Teams notification settings.
|
|
64
|
+
*/
|
|
65
|
+
readonly msTeams?: outputs.GetTeamNotificationRuleMsTeams;
|
|
66
|
+
/**
|
|
67
|
+
* The PagerDuty notification settings.
|
|
68
|
+
*/
|
|
69
|
+
readonly pagerduty?: outputs.GetTeamNotificationRulePagerduty;
|
|
70
|
+
/**
|
|
71
|
+
* The notification rule ID to fetch.
|
|
72
|
+
*/
|
|
73
|
+
readonly ruleId: string;
|
|
74
|
+
/**
|
|
75
|
+
* The Slack notification settings.
|
|
76
|
+
*/
|
|
77
|
+
readonly slack?: outputs.GetTeamNotificationRuleSlack;
|
|
78
|
+
/**
|
|
79
|
+
* The team ID to fetch the notification rule for.
|
|
80
|
+
*/
|
|
81
|
+
readonly teamId: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Use this data source to retrieve information about a specific Datadog team notification rule.
|
|
85
|
+
*
|
|
86
|
+
* ## Example Usage
|
|
87
|
+
*
|
|
88
|
+
* ```typescript
|
|
89
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
90
|
+
* import * as datadog from "@pulumi/datadog";
|
|
91
|
+
*
|
|
92
|
+
* // Get a specific notification rule for a team
|
|
93
|
+
* const example = datadog.getTeamNotificationRule({
|
|
94
|
+
* teamId: "00000000-0000-0000-0000-000000000000",
|
|
95
|
+
* ruleId: "11111111-1111-1111-1111-111111111111",
|
|
96
|
+
* });
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
export declare function getTeamNotificationRuleOutput(args: GetTeamNotificationRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTeamNotificationRuleResult>;
|
|
100
|
+
/**
|
|
101
|
+
* A collection of arguments for invoking getTeamNotificationRule.
|
|
102
|
+
*/
|
|
103
|
+
export interface GetTeamNotificationRuleOutputArgs {
|
|
104
|
+
/**
|
|
105
|
+
* The email notification settings.
|
|
106
|
+
*/
|
|
107
|
+
email?: pulumi.Input<inputs.GetTeamNotificationRuleEmailArgs>;
|
|
108
|
+
/**
|
|
109
|
+
* The MS Teams notification settings.
|
|
110
|
+
*/
|
|
111
|
+
msTeams?: pulumi.Input<inputs.GetTeamNotificationRuleMsTeamsArgs>;
|
|
112
|
+
/**
|
|
113
|
+
* The PagerDuty notification settings.
|
|
114
|
+
*/
|
|
115
|
+
pagerduty?: pulumi.Input<inputs.GetTeamNotificationRulePagerdutyArgs>;
|
|
116
|
+
/**
|
|
117
|
+
* The notification rule ID to fetch.
|
|
118
|
+
*/
|
|
119
|
+
ruleId: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The Slack notification settings.
|
|
122
|
+
*/
|
|
123
|
+
slack?: pulumi.Input<inputs.GetTeamNotificationRuleSlackArgs>;
|
|
124
|
+
/**
|
|
125
|
+
* The team ID to fetch the notification rule for.
|
|
126
|
+
*/
|
|
127
|
+
teamId: pulumi.Input<string>;
|
|
128
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getTeamNotificationRuleOutput = exports.getTeamNotificationRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve information about a specific Datadog team notification rule.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as datadog from "@pulumi/datadog";
|
|
16
|
+
*
|
|
17
|
+
* // Get a specific notification rule for a team
|
|
18
|
+
* const example = datadog.getTeamNotificationRule({
|
|
19
|
+
* teamId: "00000000-0000-0000-0000-000000000000",
|
|
20
|
+
* ruleId: "11111111-1111-1111-1111-111111111111",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getTeamNotificationRule(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("datadog:index/getTeamNotificationRule:getTeamNotificationRule", {
|
|
27
|
+
"email": args.email,
|
|
28
|
+
"msTeams": args.msTeams,
|
|
29
|
+
"pagerduty": args.pagerduty,
|
|
30
|
+
"ruleId": args.ruleId,
|
|
31
|
+
"slack": args.slack,
|
|
32
|
+
"teamId": args.teamId,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getTeamNotificationRule = getTeamNotificationRule;
|
|
36
|
+
/**
|
|
37
|
+
* Use this data source to retrieve information about a specific Datadog team notification rule.
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ```typescript
|
|
42
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
43
|
+
* import * as datadog from "@pulumi/datadog";
|
|
44
|
+
*
|
|
45
|
+
* // Get a specific notification rule for a team
|
|
46
|
+
* const example = datadog.getTeamNotificationRule({
|
|
47
|
+
* teamId: "00000000-0000-0000-0000-000000000000",
|
|
48
|
+
* ruleId: "11111111-1111-1111-1111-111111111111",
|
|
49
|
+
* });
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
52
|
+
function getTeamNotificationRuleOutput(args, opts) {
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
54
|
+
return pulumi.runtime.invokeOutput("datadog:index/getTeamNotificationRule:getTeamNotificationRule", {
|
|
55
|
+
"email": args.email,
|
|
56
|
+
"msTeams": args.msTeams,
|
|
57
|
+
"pagerduty": args.pagerduty,
|
|
58
|
+
"ruleId": args.ruleId,
|
|
59
|
+
"slack": args.slack,
|
|
60
|
+
"teamId": args.teamId,
|
|
61
|
+
}, opts);
|
|
62
|
+
}
|
|
63
|
+
exports.getTeamNotificationRuleOutput = getTeamNotificationRuleOutput;
|
|
64
|
+
//# sourceMappingURL=getTeamNotificationRule.js.map
|