@pulumi/datadog 4.55.0-alpha.1756359805 → 4.55.0-alpha.1756506711
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/actionConnection.js +8 -8
- package/actionConnection.js.map +1 -1
- package/agentlessScanningAwsScanOptions.js +16 -16
- package/agentlessScanningAwsScanOptions.js.map +1 -1
- package/apiKey.js +7 -7
- package/apiKey.js.map +1 -1
- package/apmRetentionFilter.js +17 -17
- package/apmRetentionFilter.js.map +1 -1
- package/apmRetentionFilterOrder.js +4 -4
- package/apmRetentionFilterOrder.js.map +1 -1
- package/appBuilderApp.js +14 -14
- package/appBuilderApp.js.map +1 -1
- package/appKeyRegistration.js +4 -4
- package/appKeyRegistration.js.map +1 -1
- package/applicationKey.js +7 -7
- package/applicationKey.js.map +1 -1
- package/appsecWafCustomRule.js +21 -21
- package/appsecWafCustomRule.js.map +1 -1
- package/appsecWafExclusionFilter.js +21 -21
- package/appsecWafExclusionFilter.js.map +1 -1
- package/authnMapping.js +11 -11
- package/authnMapping.js.map +1 -1
- package/aws/integration.js +26 -26
- package/aws/integration.js.map +1 -1
- package/aws/integrationAccount.js +21 -21
- package/aws/integrationAccount.js.map +1 -1
- package/aws/integrationEventBridge.js +12 -12
- package/aws/integrationEventBridge.js.map +1 -1
- package/aws/integrationExternalId.js +1 -1
- package/aws/integrationExternalId.js.map +1 -1
- package/aws/integrationLambdaArn.js +7 -7
- package/aws/integrationLambdaArn.js.map +1 -1
- package/aws/integrationLogCollection.js +7 -7
- package/aws/integrationLogCollection.js.map +1 -1
- package/aws/integrationTagFilter.js +10 -10
- package/aws/integrationTagFilter.js.map +1 -1
- package/azure/integration.js +32 -32
- package/azure/integration.js.map +1 -1
- package/childOrganization.js +10 -10
- package/childOrganization.js.map +1 -1
- package/cloudConfigurationRule.js +29 -29
- package/cloudConfigurationRule.js.map +1 -1
- package/cloudWorkloadSecurityAgentRule.js +11 -11
- package/cloudWorkloadSecurityAgentRule.js.map +1 -1
- package/cloudflare/integrationAccount.js +11 -11
- package/cloudflare/integrationAccount.js.map +1 -1
- package/complianceCustomFramework.js +14 -14
- package/complianceCustomFramework.js.map +1 -1
- package/complianceResourceEvaluationFilter.d.ts +15 -12
- package/complianceResourceEvaluationFilter.js +10 -10
- package/complianceResourceEvaluationFilter.js.map +1 -1
- package/config/vars.d.ts +8 -21
- package/config/vars.js.map +1 -1
- package/confluent/integrationAccount.js +9 -9
- package/confluent/integrationAccount.js.map +1 -1
- package/confluent/integrationResource.js +13 -13
- package/confluent/integrationResource.js.map +1 -1
- package/costBudget.js +18 -18
- package/costBudget.js.map +1 -1
- package/csmThreatsAgentRule.js +17 -17
- package/csmThreatsAgentRule.js.map +1 -1
- package/csmThreatsPolicy.js +12 -12
- package/csmThreatsPolicy.js.map +1 -1
- package/dashboard.js +30 -30
- package/dashboard.js.map +1 -1
- package/dashboardJson.js +9 -9
- package/dashboardJson.js.map +1 -1
- package/dashboardList.js +6 -6
- package/dashboardList.js.map +1 -1
- package/dataset.js +11 -11
- package/dataset.js.map +1 -1
- package/domainAllowlist.js +7 -7
- package/domainAllowlist.js.map +1 -1
- package/downtime.js +27 -27
- package/downtime.js.map +1 -1
- package/downtimeSchedule.js +20 -20
- package/downtimeSchedule.js.map +1 -1
- package/fastly/integrationAccount.js +7 -7
- package/fastly/integrationAccount.js.map +1 -1
- package/fastly/integrationService.js +8 -8
- package/fastly/integrationService.js.map +1 -1
- package/gcp/integration.js +30 -30
- package/gcp/integration.js.map +1 -1
- package/gcp/integrationSts.js +25 -25
- package/gcp/integrationSts.js.map +1 -1
- package/incidentType.js +8 -8
- package/incidentType.js.map +1 -1
- package/ipAllowlist.js +6 -6
- package/ipAllowlist.js.map +1 -1
- package/logsArchive.js +19 -19
- package/logsArchive.js.map +1 -1
- package/logsArchiveOrder.js +3 -3
- package/logsArchiveOrder.js.map +1 -1
- package/logsCustomDestination.js +22 -22
- package/logsCustomDestination.js.map +1 -1
- package/logsCustomPipeline.js +15 -15
- package/logsCustomPipeline.js.map +1 -1
- package/logsIndex.js +21 -21
- package/logsIndex.js.map +1 -1
- package/logsIndexOrder.js +6 -6
- package/logsIndexOrder.js.map +1 -1
- package/logsIntegrationPipeline.js +3 -3
- package/logsIntegrationPipeline.js.map +1 -1
- package/logsMetric.js +12 -12
- package/logsMetric.js.map +1 -1
- package/logsPipelineOrder.js +7 -7
- package/logsPipelineOrder.js.map +1 -1
- package/metricMetadata.js +16 -16
- package/metricMetadata.js.map +1 -1
- package/metricTagConfiguration.js +16 -16
- package/metricTagConfiguration.js.map +1 -1
- package/monitor.d.ts +69 -144
- package/monitor.js +73 -73
- package/monitor.js.map +1 -1
- package/monitorConfigPolicy.js +6 -6
- package/monitorConfigPolicy.js.map +1 -1
- package/monitorJson.js +6 -6
- package/monitorJson.js.map +1 -1
- package/monitorNotificationRule.js +9 -9
- package/monitorNotificationRule.js.map +1 -1
- package/ms/integrationTeamsTenantBasedHandle.js +13 -13
- package/ms/integrationTeamsTenantBasedHandle.js.map +1 -1
- package/ms/integrationTeamsWorkflowsWebhookHandle.js +7 -7
- package/ms/integrationTeamsWorkflowsWebhookHandle.js.map +1 -1
- package/observabilityPipeline.js +6 -6
- package/observabilityPipeline.js.map +1 -1
- package/onCallEscalationPolicy.js +13 -13
- package/onCallEscalationPolicy.js.map +1 -1
- package/onCallSchedule.js +11 -11
- package/onCallSchedule.js.map +1 -1
- package/onCallTeamRoutingRules.js +6 -6
- package/onCallTeamRoutingRules.js.map +1 -1
- package/openapiApi.js +4 -4
- package/openapiApi.js.map +1 -1
- package/opsgenie/serviceObject.js +12 -12
- package/opsgenie/serviceObject.js.map +1 -1
- package/organizationSettings.js +9 -9
- package/organizationSettings.js.map +1 -1
- package/package.json +2 -2
- package/pagerduty/integration.js +8 -8
- package/pagerduty/integration.js.map +1 -1
- package/pagerduty/serviceObject.js +7 -7
- package/pagerduty/serviceObject.js.map +1 -1
- package/powerpack.js +17 -17
- package/powerpack.js.map +1 -1
- package/provider.d.ts +15 -40
- package/provider.js +16 -16
- package/provider.js.map +1 -1
- package/restrictionPolicy.js +6 -6
- package/restrictionPolicy.js.map +1 -1
- package/role.js +11 -11
- package/role.js.map +1 -1
- package/rumApplication.js +7 -7
- package/rumApplication.js.map +1 -1
- package/rumMetric.js +15 -15
- package/rumMetric.js.map +1 -1
- package/rumRetentionFilter.js +17 -17
- package/rumRetentionFilter.js.map +1 -1
- package/rumRetentionFiltersOrder.js +7 -7
- package/rumRetentionFiltersOrder.js.map +1 -1
- package/securityMonitoringDefaultRule.js +18 -18
- package/securityMonitoringDefaultRule.js.map +1 -1
- package/securityMonitoringFilter.js +15 -15
- package/securityMonitoringFilter.js.map +1 -1
- package/securityMonitoringRule.js +33 -33
- package/securityMonitoringRule.js.map +1 -1
- package/securityMonitoringRuleJson.js +4 -4
- package/securityMonitoringRuleJson.js.map +1 -1
- package/securityMonitoringSuppression.js +20 -20
- package/securityMonitoringSuppression.js.map +1 -1
- package/securityNotificationRule.js +20 -20
- package/securityNotificationRule.js.map +1 -1
- package/sensitiveDataScannerGroup.js +17 -17
- package/sensitiveDataScannerGroup.js.map +1 -1
- package/sensitiveDataScannerGroupOrder.js +4 -4
- package/sensitiveDataScannerGroupOrder.js.map +1 -1
- package/sensitiveDataScannerRule.js +26 -26
- package/sensitiveDataScannerRule.js.map +1 -1
- package/serviceAccount.js +10 -10
- package/serviceAccount.js.map +1 -1
- package/serviceAccountApplicationKey.js +12 -12
- package/serviceAccountApplicationKey.js.map +1 -1
- package/serviceDefinitionYaml.js +4 -4
- package/serviceDefinitionYaml.js.map +1 -1
- package/serviceLevelObjective.js +32 -32
- package/serviceLevelObjective.js.map +1 -1
- package/slack/channel.js +10 -10
- package/slack/channel.js.map +1 -1
- package/sloCorrection.js +20 -20
- package/sloCorrection.js.map +1 -1
- package/softwareCatalog.js +4 -4
- package/softwareCatalog.js.map +1 -1
- package/spansMetric.js +10 -10
- package/spansMetric.js.map +1 -1
- package/syntheticsConcurrencyCap.js +4 -4
- package/syntheticsConcurrencyCap.js.map +1 -1
- package/syntheticsGlobalVariable.js +24 -24
- package/syntheticsGlobalVariable.js.map +1 -1
- package/syntheticsPrivateLocation.js +13 -13
- package/syntheticsPrivateLocation.js.map +1 -1
- package/syntheticsTest.js +62 -62
- package/syntheticsTest.js.map +1 -1
- package/team.js +13 -13
- package/team.js.map +1 -1
- package/teamLink.js +12 -12
- package/teamLink.js.map +1 -1
- package/teamMembership.js +9 -9
- package/teamMembership.js.map +1 -1
- package/teamPermissionSetting.js +10 -10
- package/teamPermissionSetting.js.map +1 -1
- package/user.js +14 -14
- package/user.js.map +1 -1
- package/userRole.js +7 -7
- package/userRole.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/webhook.js +13 -13
- package/webhook.js.map +1 -1
- package/webhookCustomVariable.js +10 -10
- package/webhookCustomVariable.js.map +1 -1
- package/workflowAutomation.js +18 -18
- package/workflowAutomation.js.map +1 -1
package/onCallSchedule.js
CHANGED
|
@@ -29,7 +29,7 @@ class OnCallSchedule extends pulumi.CustomResource {
|
|
|
29
29
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
30
|
*/
|
|
31
31
|
static get(name, id, state, opts) {
|
|
32
|
-
return new OnCallSchedule(name, state,
|
|
32
|
+
return new OnCallSchedule(name, state, { ...opts, id: id });
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Returns true if the given object is an instance of OnCallSchedule. This is designed to work even
|
|
@@ -46,23 +46,23 @@ class OnCallSchedule extends pulumi.CustomResource {
|
|
|
46
46
|
opts = opts || {};
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
|
-
resourceInputs["layers"] = state
|
|
50
|
-
resourceInputs["name"] = state
|
|
51
|
-
resourceInputs["teams"] = state
|
|
52
|
-
resourceInputs["timeZone"] = state
|
|
49
|
+
resourceInputs["layers"] = state?.layers;
|
|
50
|
+
resourceInputs["name"] = state?.name;
|
|
51
|
+
resourceInputs["teams"] = state?.teams;
|
|
52
|
+
resourceInputs["timeZone"] = state?.timeZone;
|
|
53
53
|
}
|
|
54
54
|
else {
|
|
55
55
|
const args = argsOrState;
|
|
56
|
-
if (
|
|
56
|
+
if (args?.name === undefined && !opts.urn) {
|
|
57
57
|
throw new Error("Missing required property 'name'");
|
|
58
58
|
}
|
|
59
|
-
if (
|
|
59
|
+
if (args?.timeZone === undefined && !opts.urn) {
|
|
60
60
|
throw new Error("Missing required property 'timeZone'");
|
|
61
61
|
}
|
|
62
|
-
resourceInputs["layers"] = args
|
|
63
|
-
resourceInputs["name"] = args
|
|
64
|
-
resourceInputs["teams"] = args
|
|
65
|
-
resourceInputs["timeZone"] = args
|
|
62
|
+
resourceInputs["layers"] = args?.layers;
|
|
63
|
+
resourceInputs["name"] = args?.name;
|
|
64
|
+
resourceInputs["teams"] = args?.teams;
|
|
65
|
+
resourceInputs["timeZone"] = args?.timeZone;
|
|
66
66
|
}
|
|
67
67
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
68
|
super(OnCallSchedule.__pulumiType, name, resourceInputs, opts);
|
package/onCallSchedule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCallSchedule.js","sourceRoot":"","sources":["../onCallSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;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,
|
|
1
|
+
{"version":3,"file":"onCallSchedule.js","sourceRoot":"","sources":["../onCallSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,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MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA7EL,wCA8EC;AAhEG,gBAAgB;AACO,2BAAY,GAAG,6CAA6C,CAAC"}
|
|
@@ -29,7 +29,7 @@ class OnCallTeamRoutingRules extends pulumi.CustomResource {
|
|
|
29
29
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
30
|
*/
|
|
31
31
|
static get(name, id, state, opts) {
|
|
32
|
-
return new OnCallTeamRoutingRules(name, state,
|
|
32
|
+
return new OnCallTeamRoutingRules(name, state, { ...opts, id: id });
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Returns true if the given object is an instance of OnCallTeamRoutingRules. This is designed to work even
|
|
@@ -46,16 +46,16 @@ class OnCallTeamRoutingRules extends pulumi.CustomResource {
|
|
|
46
46
|
opts = opts || {};
|
|
47
47
|
if (opts.id) {
|
|
48
48
|
const state = argsOrState;
|
|
49
|
-
resourceInputs["rules"] = state
|
|
50
|
-
resourceInputs["teamId"] = state
|
|
49
|
+
resourceInputs["rules"] = state?.rules;
|
|
50
|
+
resourceInputs["teamId"] = state?.teamId;
|
|
51
51
|
}
|
|
52
52
|
else {
|
|
53
53
|
const args = argsOrState;
|
|
54
|
-
if (
|
|
54
|
+
if (args?.teamId === undefined && !opts.urn) {
|
|
55
55
|
throw new Error("Missing required property 'teamId'");
|
|
56
56
|
}
|
|
57
|
-
resourceInputs["rules"] = args
|
|
58
|
-
resourceInputs["teamId"] = args
|
|
57
|
+
resourceInputs["rules"] = args?.rules;
|
|
58
|
+
resourceInputs["teamId"] = args?.teamId;
|
|
59
59
|
}
|
|
60
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
61
|
super(OnCallTeamRoutingRules.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onCallTeamRoutingRules.js","sourceRoot":"","sources":["../onCallTeamRoutingRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"onCallTeamRoutingRules.js","sourceRoot":"","sources":["../onCallTeamRoutingRules.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;QACjI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsD,CAAC;YACrE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAqD,CAAC;YACnE,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA9DL,wDA+DC;AAjDG,gBAAgB;AACO,mCAAY,GAAG,6DAA6D,CAAC"}
|
package/openapiApi.js
CHANGED
|
@@ -27,7 +27,7 @@ class OpenapiApi extends pulumi.CustomResource {
|
|
|
27
27
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
28
28
|
*/
|
|
29
29
|
static get(name, id, state, opts) {
|
|
30
|
-
return new OpenapiApi(name, state,
|
|
30
|
+
return new OpenapiApi(name, state, { ...opts, id: id });
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Returns true if the given object is an instance of OpenapiApi. This is designed to work even
|
|
@@ -44,14 +44,14 @@ class OpenapiApi extends pulumi.CustomResource {
|
|
|
44
44
|
opts = opts || {};
|
|
45
45
|
if (opts.id) {
|
|
46
46
|
const state = argsOrState;
|
|
47
|
-
resourceInputs["spec"] = state
|
|
47
|
+
resourceInputs["spec"] = state?.spec;
|
|
48
48
|
}
|
|
49
49
|
else {
|
|
50
50
|
const args = argsOrState;
|
|
51
|
-
if (
|
|
51
|
+
if (args?.spec === undefined && !opts.urn) {
|
|
52
52
|
throw new Error("Missing required property 'spec'");
|
|
53
53
|
}
|
|
54
|
-
resourceInputs["spec"] = args
|
|
54
|
+
resourceInputs["spec"] = args?.spec;
|
|
55
55
|
}
|
|
56
56
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
57
|
super(OpenapiApi.__pulumiType, name, resourceInputs, opts);
|
package/openapiApi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openapiApi.js","sourceRoot":"","sources":["../openapiApi.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"openapiApi.js","sourceRoot":"","sources":["../openapiApi.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,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 class ServiceObject extends pulumi.CustomResource {
|
|
|
37
37
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
38
|
*/
|
|
39
39
|
static get(name, id, state, opts) {
|
|
40
|
-
return new ServiceObject(name, state,
|
|
40
|
+
return new ServiceObject(name, state, { ...opts, id: id });
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Returns true if the given object is an instance of ServiceObject. This is designed to work even
|
|
@@ -54,26 +54,26 @@ class ServiceObject extends pulumi.CustomResource {
|
|
|
54
54
|
opts = opts || {};
|
|
55
55
|
if (opts.id) {
|
|
56
56
|
const state = argsOrState;
|
|
57
|
-
resourceInputs["customUrl"] = state
|
|
58
|
-
resourceInputs["name"] = state
|
|
59
|
-
resourceInputs["opsgenieApiKey"] = state
|
|
60
|
-
resourceInputs["region"] = state
|
|
57
|
+
resourceInputs["customUrl"] = state?.customUrl;
|
|
58
|
+
resourceInputs["name"] = state?.name;
|
|
59
|
+
resourceInputs["opsgenieApiKey"] = state?.opsgenieApiKey;
|
|
60
|
+
resourceInputs["region"] = state?.region;
|
|
61
61
|
}
|
|
62
62
|
else {
|
|
63
63
|
const args = argsOrState;
|
|
64
|
-
if (
|
|
64
|
+
if (args?.name === undefined && !opts.urn) {
|
|
65
65
|
throw new Error("Missing required property 'name'");
|
|
66
66
|
}
|
|
67
|
-
if (
|
|
67
|
+
if (args?.opsgenieApiKey === undefined && !opts.urn) {
|
|
68
68
|
throw new Error("Missing required property 'opsgenieApiKey'");
|
|
69
69
|
}
|
|
70
|
-
if (
|
|
70
|
+
if (args?.region === undefined && !opts.urn) {
|
|
71
71
|
throw new Error("Missing required property 'region'");
|
|
72
72
|
}
|
|
73
|
-
resourceInputs["customUrl"] = args
|
|
74
|
-
resourceInputs["name"] = args
|
|
75
|
-
resourceInputs["opsgenieApiKey"] =
|
|
76
|
-
resourceInputs["region"] = args
|
|
73
|
+
resourceInputs["customUrl"] = args?.customUrl;
|
|
74
|
+
resourceInputs["name"] = args?.name;
|
|
75
|
+
resourceInputs["opsgenieApiKey"] = args?.opsgenieApiKey ? pulumi.secret(args.opsgenieApiKey) : undefined;
|
|
76
|
+
resourceInputs["region"] = args?.region;
|
|
77
77
|
}
|
|
78
78
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
79
79
|
const secretOpts = { additionalSecretOutputs: ["opsgenieApiKey"] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceObject.js","sourceRoot":"","sources":["../../opsgenie/serviceObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"serviceObject.js","sourceRoot":"","sources":["../../opsgenie/serviceObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,CA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;YACzG,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACnE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA/EL,sCAgFC;AAlEG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
|
package/organizationSettings.js
CHANGED
|
@@ -37,7 +37,7 @@ class OrganizationSettings extends pulumi.CustomResource {
|
|
|
37
37
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
38
|
*/
|
|
39
39
|
static get(name, id, state, opts) {
|
|
40
|
-
return new OrganizationSettings(name, state,
|
|
40
|
+
return new OrganizationSettings(name, state, { ...opts, id: id });
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Returns true if the given object is an instance of OrganizationSettings. This is designed to work even
|
|
@@ -54,17 +54,17 @@ class OrganizationSettings extends pulumi.CustomResource {
|
|
|
54
54
|
opts = opts || {};
|
|
55
55
|
if (opts.id) {
|
|
56
56
|
const state = argsOrState;
|
|
57
|
-
resourceInputs["description"] = state
|
|
58
|
-
resourceInputs["name"] = state
|
|
59
|
-
resourceInputs["publicId"] = state
|
|
60
|
-
resourceInputs["securityContacts"] = state
|
|
61
|
-
resourceInputs["settings"] = state
|
|
57
|
+
resourceInputs["description"] = state?.description;
|
|
58
|
+
resourceInputs["name"] = state?.name;
|
|
59
|
+
resourceInputs["publicId"] = state?.publicId;
|
|
60
|
+
resourceInputs["securityContacts"] = state?.securityContacts;
|
|
61
|
+
resourceInputs["settings"] = state?.settings;
|
|
62
62
|
}
|
|
63
63
|
else {
|
|
64
64
|
const args = argsOrState;
|
|
65
|
-
resourceInputs["name"] = args
|
|
66
|
-
resourceInputs["securityContacts"] = args
|
|
67
|
-
resourceInputs["settings"] = args
|
|
65
|
+
resourceInputs["name"] = args?.name;
|
|
66
|
+
resourceInputs["securityContacts"] = args?.securityContacts;
|
|
67
|
+
resourceInputs["settings"] = args?.settings;
|
|
68
68
|
resourceInputs["description"] = undefined /*out*/;
|
|
69
69
|
resourceInputs["publicId"] = undefined /*out*/;
|
|
70
70
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizationSettings.js","sourceRoot":"","sources":["../organizationSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"organizationSettings.js","sourceRoot":"","sources":["../organizationSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU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AC;IACzE,CAAC;;AA7EL,oDA8EC;AAhEG,gBAAgB;AACO,iCAAY,GAAG,yDAAyD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/datadog",
|
|
3
|
-
"version": "4.55.0-alpha.
|
|
3
|
+
"version": "4.55.0-alpha.1756506711",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Datadog resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
"pulumi": {
|
|
23
23
|
"resource": true,
|
|
24
24
|
"name": "datadog",
|
|
25
|
-
"version": "4.55.0-alpha.
|
|
25
|
+
"version": "4.55.0-alpha.1756506711"
|
|
26
26
|
}
|
|
27
27
|
}
|
package/pagerduty/integration.js
CHANGED
|
@@ -49,7 +49,7 @@ class Integration extends pulumi.CustomResource {
|
|
|
49
49
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
50
|
*/
|
|
51
51
|
static get(name, id, state, opts) {
|
|
52
|
-
return new Integration(name, state,
|
|
52
|
+
return new Integration(name, state, { ...opts, id: id });
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
55
|
* Returns true if the given object is an instance of Integration. This is designed to work even
|
|
@@ -66,18 +66,18 @@ class Integration extends pulumi.CustomResource {
|
|
|
66
66
|
opts = opts || {};
|
|
67
67
|
if (opts.id) {
|
|
68
68
|
const state = argsOrState;
|
|
69
|
-
resourceInputs["apiToken"] = state
|
|
70
|
-
resourceInputs["schedules"] = state
|
|
71
|
-
resourceInputs["subdomain"] = state
|
|
69
|
+
resourceInputs["apiToken"] = state?.apiToken;
|
|
70
|
+
resourceInputs["schedules"] = state?.schedules;
|
|
71
|
+
resourceInputs["subdomain"] = state?.subdomain;
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
74
|
const args = argsOrState;
|
|
75
|
-
if (
|
|
75
|
+
if (args?.subdomain === undefined && !opts.urn) {
|
|
76
76
|
throw new Error("Missing required property 'subdomain'");
|
|
77
77
|
}
|
|
78
|
-
resourceInputs["apiToken"] =
|
|
79
|
-
resourceInputs["schedules"] = args
|
|
80
|
-
resourceInputs["subdomain"] = args
|
|
78
|
+
resourceInputs["apiToken"] = args?.apiToken ? pulumi.secret(args.apiToken) : undefined;
|
|
79
|
+
resourceInputs["schedules"] = args?.schedules;
|
|
80
|
+
resourceInputs["subdomain"] = args?.subdomain;
|
|
81
81
|
}
|
|
82
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
83
|
const secretOpts = { additionalSecretOutputs: ["apiToken"] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../pagerduty/integration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"integration.js","sourceRoot":"","sources":["../../pagerduty/integration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,C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C,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtEL,kCAuEC;AAzDG,gBAAgB;AACO,wBAAY,GAAG,2CAA2C,CAAC"}
|
|
@@ -45,7 +45,7 @@ class ServiceObject extends pulumi.CustomResource {
|
|
|
45
45
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
46
|
*/
|
|
47
47
|
static get(name, id, state, opts) {
|
|
48
|
-
return new ServiceObject(name, state,
|
|
48
|
+
return new ServiceObject(name, state, { ...opts, id: id });
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Returns true if the given object is an instance of ServiceObject. This is designed to work even
|
|
@@ -62,19 +62,19 @@ class ServiceObject extends pulumi.CustomResource {
|
|
|
62
62
|
opts = opts || {};
|
|
63
63
|
if (opts.id) {
|
|
64
64
|
const state = argsOrState;
|
|
65
|
-
resourceInputs["serviceKey"] = state
|
|
66
|
-
resourceInputs["serviceName"] = state
|
|
65
|
+
resourceInputs["serviceKey"] = state?.serviceKey;
|
|
66
|
+
resourceInputs["serviceName"] = state?.serviceName;
|
|
67
67
|
}
|
|
68
68
|
else {
|
|
69
69
|
const args = argsOrState;
|
|
70
|
-
if (
|
|
70
|
+
if (args?.serviceKey === undefined && !opts.urn) {
|
|
71
71
|
throw new Error("Missing required property 'serviceKey'");
|
|
72
72
|
}
|
|
73
|
-
if (
|
|
73
|
+
if (args?.serviceName === undefined && !opts.urn) {
|
|
74
74
|
throw new Error("Missing required property 'serviceName'");
|
|
75
75
|
}
|
|
76
|
-
resourceInputs["serviceKey"] =
|
|
77
|
-
resourceInputs["serviceName"] = args
|
|
76
|
+
resourceInputs["serviceKey"] = args?.serviceKey ? pulumi.secret(args.serviceKey) : undefined;
|
|
77
|
+
resourceInputs["serviceName"] = args?.serviceName;
|
|
78
78
|
}
|
|
79
79
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
80
80
|
const secretOpts = { additionalSecretOutputs: ["serviceKey"] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceObject.js","sourceRoot":"","sources":["../../pagerduty/serviceObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"serviceObject.js","sourceRoot":"","sources":["../../pagerduty/serviceObject.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAgBD,YAAY,I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G,+CAA+C,CAAC"}
|
package/powerpack.js
CHANGED
|
@@ -59,7 +59,7 @@ class Powerpack extends pulumi.CustomResource {
|
|
|
59
59
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
60
|
*/
|
|
61
61
|
static get(name, id, state, opts) {
|
|
62
|
-
return new Powerpack(name, state,
|
|
62
|
+
return new Powerpack(name, state, { ...opts, id: id });
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Returns true if the given object is an instance of Powerpack. This is designed to work even
|
|
@@ -76,25 +76,25 @@ class Powerpack extends pulumi.CustomResource {
|
|
|
76
76
|
opts = opts || {};
|
|
77
77
|
if (opts.id) {
|
|
78
78
|
const state = argsOrState;
|
|
79
|
-
resourceInputs["description"] = state
|
|
80
|
-
resourceInputs["layout"] = state
|
|
81
|
-
resourceInputs["liveSpan"] = state
|
|
82
|
-
resourceInputs["name"] = state
|
|
83
|
-
resourceInputs["showTitle"] = state
|
|
84
|
-
resourceInputs["tags"] = state
|
|
85
|
-
resourceInputs["templateVariables"] = state
|
|
86
|
-
resourceInputs["widgets"] = state
|
|
79
|
+
resourceInputs["description"] = state?.description;
|
|
80
|
+
resourceInputs["layout"] = state?.layout;
|
|
81
|
+
resourceInputs["liveSpan"] = state?.liveSpan;
|
|
82
|
+
resourceInputs["name"] = state?.name;
|
|
83
|
+
resourceInputs["showTitle"] = state?.showTitle;
|
|
84
|
+
resourceInputs["tags"] = state?.tags;
|
|
85
|
+
resourceInputs["templateVariables"] = state?.templateVariables;
|
|
86
|
+
resourceInputs["widgets"] = state?.widgets;
|
|
87
87
|
}
|
|
88
88
|
else {
|
|
89
89
|
const args = argsOrState;
|
|
90
|
-
resourceInputs["description"] = args
|
|
91
|
-
resourceInputs["layout"] = args
|
|
92
|
-
resourceInputs["liveSpan"] = args
|
|
93
|
-
resourceInputs["name"] = args
|
|
94
|
-
resourceInputs["showTitle"] = args
|
|
95
|
-
resourceInputs["tags"] = args
|
|
96
|
-
resourceInputs["templateVariables"] = args
|
|
97
|
-
resourceInputs["widgets"] = args
|
|
90
|
+
resourceInputs["description"] = args?.description;
|
|
91
|
+
resourceInputs["layout"] = args?.layout;
|
|
92
|
+
resourceInputs["liveSpan"] = args?.liveSpan;
|
|
93
|
+
resourceInputs["name"] = args?.name;
|
|
94
|
+
resourceInputs["showTitle"] = args?.showTitle;
|
|
95
|
+
resourceInputs["tags"] = args?.tags;
|
|
96
|
+
resourceInputs["templateVariables"] = args?.templateVariables;
|
|
97
|
+
resourceInputs["widgets"] = args?.widgets;
|
|
98
98
|
}
|
|
99
99
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
100
|
super(Powerpack.__pulumiType, name, resourceInputs, opts);
|
package/powerpack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"powerpack.js","sourceRoot":"","sources":["../powerpack.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"powerpack.js","sourceRoot":"","sources":["../powerpack.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAA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,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA/FL,8BAgGC;AAlFG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
package/provider.d.ts
CHANGED
|
@@ -17,12 +17,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
17
17
|
*/
|
|
18
18
|
readonly apiKey: pulumi.Output<string | undefined>;
|
|
19
19
|
/**
|
|
20
|
-
* The API URL. This can also be set via the DD_HOST environment variable, and defaults to `https://api.datadoghq.com`.
|
|
21
|
-
* Note that this URL must not end with the `/api/` path. For example, `https://api.datadoghq.com/` is a correct value,
|
|
22
|
-
* while `https://api.datadoghq.com/api/` is not. And if you're working with "EU" version of Datadog, use
|
|
23
|
-
* `https://api.datadoghq.eu/`. Other Datadog region examples: `https://api.us5.datadoghq.com/`,
|
|
24
|
-
* `https://api.us3.datadoghq.com/` and `https://api.ddog-gov.com/`. See https://docs.datadoghq.com/getting_started/site/
|
|
25
|
-
* for all available regions.
|
|
20
|
+
* The API URL. This can also be set via the DD_HOST environment variable, and defaults to `https://api.datadoghq.com`. Note that this URL must not end with the `/api/` path. For example, `https://api.datadoghq.com/` is a correct value, while `https://api.datadoghq.com/api/` is not. And if you're working with "EU" version of Datadog, use `https://api.datadoghq.eu/`. Other Datadog region examples: `https://api.us5.datadoghq.com/`, `https://api.us3.datadoghq.com/` and `https://api.ddog-gov.com/`. See https://docs.datadoghq.com/getting_started/site/ for all available regions.
|
|
26
21
|
*/
|
|
27
22
|
readonly apiUrl: pulumi.Output<string | undefined>;
|
|
28
23
|
/**
|
|
@@ -30,18 +25,15 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
30
25
|
*/
|
|
31
26
|
readonly appKey: pulumi.Output<string | undefined>;
|
|
32
27
|
/**
|
|
33
|
-
* The AWS access key ID; used for cloud-provider-based authentication. This can also be set using the `AWS_ACCESS_KEY_ID`
|
|
34
|
-
* environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
28
|
+
* The AWS access key ID; used for cloud-provider-based authentication. This can also be set using the `AWS_ACCESS_KEY_ID` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
35
29
|
*/
|
|
36
30
|
readonly awsAccessKeyId: pulumi.Output<string | undefined>;
|
|
37
31
|
/**
|
|
38
|
-
* The AWS secret access key; used for cloud-provider-based authentication. This can also be set using the
|
|
39
|
-
* `AWS_SECRET_ACCESS_KEY` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
32
|
+
* The AWS secret access key; used for cloud-provider-based authentication. This can also be set using the `AWS_SECRET_ACCESS_KEY` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
40
33
|
*/
|
|
41
34
|
readonly awsSecretAccessKey: pulumi.Output<string | undefined>;
|
|
42
35
|
/**
|
|
43
|
-
* The AWS session token; used for cloud-provider-based authentication. This can also be set using the `AWS_SESSION_TOKEN`
|
|
44
|
-
* environment variable. Required when using `cloudProviderType` set to `aws` and using temporary credentials.
|
|
36
|
+
* The AWS session token; used for cloud-provider-based authentication. This can also be set using the `AWS_SESSION_TOKEN` environment variable. Required when using `cloudProviderType` set to `aws` and using temporary credentials.
|
|
45
37
|
*/
|
|
46
38
|
readonly awsSessionToken: pulumi.Output<string | undefined>;
|
|
47
39
|
/**
|
|
@@ -49,9 +41,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
49
41
|
*/
|
|
50
42
|
readonly cloudProviderRegion: pulumi.Output<string | undefined>;
|
|
51
43
|
/**
|
|
52
|
-
* Specifies the cloud provider used for cloud-provider-based authentication, enabling keyless access without API or app
|
|
53
|
-
* keys. Only [`aws`] is supported. This feature is in Preview. If you'd like to enable it for your organization, contact
|
|
54
|
-
* [support](https://docs.datadoghq.com/help/).
|
|
44
|
+
* Specifies the cloud provider used for cloud-provider-based authentication, enabling keyless access without API or app keys. Only [`aws`] is supported. This feature is in Preview. If you'd like to enable it for your organization, contact [support](https://docs.datadoghq.com/help/).
|
|
55
45
|
*/
|
|
56
46
|
readonly cloudProviderType: pulumi.Output<string | undefined>;
|
|
57
47
|
/**
|
|
@@ -59,13 +49,11 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
59
49
|
*/
|
|
60
50
|
readonly httpClientRetryEnabled: pulumi.Output<string | undefined>;
|
|
61
51
|
/**
|
|
62
|
-
* The organization UUID; used for cloud-provider-based authentication. See the [Datadog API
|
|
63
|
-
* documentation](https://docs.datadoghq.com/api/v1/organizations/) for more information.
|
|
52
|
+
* The organization UUID; used for cloud-provider-based authentication. See the [Datadog API documentation](https://docs.datadoghq.com/api/v1/organizations/) for more information.
|
|
64
53
|
*/
|
|
65
54
|
readonly orgUuid: pulumi.Output<string | undefined>;
|
|
66
55
|
/**
|
|
67
|
-
* Enables validation of the provided API key during provider initialization. Valid values are [`true`, `false`]. Default
|
|
68
|
-
* is true. When false, apiKey won't be checked.
|
|
56
|
+
* Enables validation of the provided API key during provider initialization. Valid values are [`true`, `false`]. Default is true. When false, apiKey won't be checked.
|
|
69
57
|
*/
|
|
70
58
|
readonly validate: pulumi.Output<string | undefined>;
|
|
71
59
|
/**
|
|
@@ -90,12 +78,7 @@ export interface ProviderArgs {
|
|
|
90
78
|
*/
|
|
91
79
|
apiKey?: pulumi.Input<string>;
|
|
92
80
|
/**
|
|
93
|
-
* The API URL. This can also be set via the DD_HOST environment variable, and defaults to `https://api.datadoghq.com`.
|
|
94
|
-
* Note that this URL must not end with the `/api/` path. For example, `https://api.datadoghq.com/` is a correct value,
|
|
95
|
-
* while `https://api.datadoghq.com/api/` is not. And if you're working with "EU" version of Datadog, use
|
|
96
|
-
* `https://api.datadoghq.eu/`. Other Datadog region examples: `https://api.us5.datadoghq.com/`,
|
|
97
|
-
* `https://api.us3.datadoghq.com/` and `https://api.ddog-gov.com/`. See https://docs.datadoghq.com/getting_started/site/
|
|
98
|
-
* for all available regions.
|
|
81
|
+
* The API URL. This can also be set via the DD_HOST environment variable, and defaults to `https://api.datadoghq.com`. Note that this URL must not end with the `/api/` path. For example, `https://api.datadoghq.com/` is a correct value, while `https://api.datadoghq.com/api/` is not. And if you're working with "EU" version of Datadog, use `https://api.datadoghq.eu/`. Other Datadog region examples: `https://api.us5.datadoghq.com/`, `https://api.us3.datadoghq.com/` and `https://api.ddog-gov.com/`. See https://docs.datadoghq.com/getting_started/site/ for all available regions.
|
|
99
82
|
*/
|
|
100
83
|
apiUrl?: pulumi.Input<string>;
|
|
101
84
|
/**
|
|
@@ -103,18 +86,15 @@ export interface ProviderArgs {
|
|
|
103
86
|
*/
|
|
104
87
|
appKey?: pulumi.Input<string>;
|
|
105
88
|
/**
|
|
106
|
-
* The AWS access key ID; used for cloud-provider-based authentication. This can also be set using the `AWS_ACCESS_KEY_ID`
|
|
107
|
-
* environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
89
|
+
* The AWS access key ID; used for cloud-provider-based authentication. This can also be set using the `AWS_ACCESS_KEY_ID` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
108
90
|
*/
|
|
109
91
|
awsAccessKeyId?: pulumi.Input<string>;
|
|
110
92
|
/**
|
|
111
|
-
* The AWS secret access key; used for cloud-provider-based authentication. This can also be set using the
|
|
112
|
-
* `AWS_SECRET_ACCESS_KEY` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
93
|
+
* The AWS secret access key; used for cloud-provider-based authentication. This can also be set using the `AWS_SECRET_ACCESS_KEY` environment variable. Required when using `cloudProviderType` set to `aws`.
|
|
113
94
|
*/
|
|
114
95
|
awsSecretAccessKey?: pulumi.Input<string>;
|
|
115
96
|
/**
|
|
116
|
-
* The AWS session token; used for cloud-provider-based authentication. This can also be set using the `AWS_SESSION_TOKEN`
|
|
117
|
-
* environment variable. Required when using `cloudProviderType` set to `aws` and using temporary credentials.
|
|
97
|
+
* The AWS session token; used for cloud-provider-based authentication. This can also be set using the `AWS_SESSION_TOKEN` environment variable. Required when using `cloudProviderType` set to `aws` and using temporary credentials.
|
|
118
98
|
*/
|
|
119
99
|
awsSessionToken?: pulumi.Input<string>;
|
|
120
100
|
/**
|
|
@@ -122,14 +102,11 @@ export interface ProviderArgs {
|
|
|
122
102
|
*/
|
|
123
103
|
cloudProviderRegion?: pulumi.Input<string>;
|
|
124
104
|
/**
|
|
125
|
-
* Specifies the cloud provider used for cloud-provider-based authentication, enabling keyless access without API or app
|
|
126
|
-
* keys. Only [`aws`] is supported. This feature is in Preview. If you'd like to enable it for your organization, contact
|
|
127
|
-
* [support](https://docs.datadoghq.com/help/).
|
|
105
|
+
* Specifies the cloud provider used for cloud-provider-based authentication, enabling keyless access without API or app keys. Only [`aws`] is supported. This feature is in Preview. If you'd like to enable it for your organization, contact [support](https://docs.datadoghq.com/help/).
|
|
128
106
|
*/
|
|
129
107
|
cloudProviderType?: pulumi.Input<string>;
|
|
130
108
|
/**
|
|
131
|
-
* [Experimental - Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration
|
|
132
|
-
* block containing settings to apply default resource tags across all resources.
|
|
109
|
+
* [Experimental - Logs Pipelines, Monitors Security Monitoring Rules, and Service Level Objectives only] Configuration block containing settings to apply default resource tags across all resources.
|
|
133
110
|
*/
|
|
134
111
|
defaultTags?: pulumi.Input<inputs.ProviderDefaultTags>;
|
|
135
112
|
/**
|
|
@@ -153,13 +130,11 @@ export interface ProviderArgs {
|
|
|
153
130
|
*/
|
|
154
131
|
httpClientRetryTimeout?: pulumi.Input<number>;
|
|
155
132
|
/**
|
|
156
|
-
* The organization UUID; used for cloud-provider-based authentication. See the [Datadog API
|
|
157
|
-
* documentation](https://docs.datadoghq.com/api/v1/organizations/) for more information.
|
|
133
|
+
* The organization UUID; used for cloud-provider-based authentication. See the [Datadog API documentation](https://docs.datadoghq.com/api/v1/organizations/) for more information.
|
|
158
134
|
*/
|
|
159
135
|
orgUuid?: pulumi.Input<string>;
|
|
160
136
|
/**
|
|
161
|
-
* Enables validation of the provided API key during provider initialization. Valid values are [`true`, `false`]. Default
|
|
162
|
-
* is true. When false, apiKey won't be checked.
|
|
137
|
+
* Enables validation of the provided API key during provider initialization. Valid values are [`true`, `false`]. Default is true. When false, apiKey won't be checked.
|
|
163
138
|
*/
|
|
164
139
|
validate?: pulumi.Input<string>;
|
|
165
140
|
}
|
package/provider.js
CHANGED
|
@@ -33,22 +33,22 @@ class Provider extends pulumi.ProviderResource {
|
|
|
33
33
|
let resourceInputs = {};
|
|
34
34
|
opts = opts || {};
|
|
35
35
|
{
|
|
36
|
-
resourceInputs["apiKey"] =
|
|
37
|
-
resourceInputs["apiUrl"] = args
|
|
38
|
-
resourceInputs["appKey"] =
|
|
39
|
-
resourceInputs["awsAccessKeyId"] =
|
|
40
|
-
resourceInputs["awsSecretAccessKey"] =
|
|
41
|
-
resourceInputs["awsSessionToken"] =
|
|
42
|
-
resourceInputs["cloudProviderRegion"] = args
|
|
43
|
-
resourceInputs["cloudProviderType"] = args
|
|
44
|
-
resourceInputs["defaultTags"] = pulumi.output(args
|
|
45
|
-
resourceInputs["httpClientRetryBackoffBase"] = pulumi.output(args
|
|
46
|
-
resourceInputs["httpClientRetryBackoffMultiplier"] = pulumi.output(args
|
|
47
|
-
resourceInputs["httpClientRetryEnabled"] = args
|
|
48
|
-
resourceInputs["httpClientRetryMaxRetries"] = pulumi.output(args
|
|
49
|
-
resourceInputs["httpClientRetryTimeout"] = pulumi.output(args
|
|
50
|
-
resourceInputs["orgUuid"] = args
|
|
51
|
-
resourceInputs["validate"] = args
|
|
36
|
+
resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
|
|
37
|
+
resourceInputs["apiUrl"] = args?.apiUrl;
|
|
38
|
+
resourceInputs["appKey"] = args?.appKey ? pulumi.secret(args.appKey) : undefined;
|
|
39
|
+
resourceInputs["awsAccessKeyId"] = args?.awsAccessKeyId ? pulumi.secret(args.awsAccessKeyId) : undefined;
|
|
40
|
+
resourceInputs["awsSecretAccessKey"] = args?.awsSecretAccessKey ? pulumi.secret(args.awsSecretAccessKey) : undefined;
|
|
41
|
+
resourceInputs["awsSessionToken"] = args?.awsSessionToken ? pulumi.secret(args.awsSessionToken) : undefined;
|
|
42
|
+
resourceInputs["cloudProviderRegion"] = args?.cloudProviderRegion;
|
|
43
|
+
resourceInputs["cloudProviderType"] = args?.cloudProviderType;
|
|
44
|
+
resourceInputs["defaultTags"] = pulumi.output(args?.defaultTags).apply(JSON.stringify);
|
|
45
|
+
resourceInputs["httpClientRetryBackoffBase"] = pulumi.output(args?.httpClientRetryBackoffBase).apply(JSON.stringify);
|
|
46
|
+
resourceInputs["httpClientRetryBackoffMultiplier"] = pulumi.output(args?.httpClientRetryBackoffMultiplier).apply(JSON.stringify);
|
|
47
|
+
resourceInputs["httpClientRetryEnabled"] = args?.httpClientRetryEnabled;
|
|
48
|
+
resourceInputs["httpClientRetryMaxRetries"] = pulumi.output(args?.httpClientRetryMaxRetries).apply(JSON.stringify);
|
|
49
|
+
resourceInputs["httpClientRetryTimeout"] = pulumi.output(args?.httpClientRetryTimeout).apply(JSON.stringify);
|
|
50
|
+
resourceInputs["orgUuid"] = args?.orgUuid;
|
|
51
|
+
resourceInputs["validate"] = args?.validate;
|
|
52
52
|
}
|
|
53
53
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
54
|
const secretOpts = { additionalSecretOutputs: ["apiKey", "appKey", "awsAccessKeyId", "awsSecretAccessKey", "awsSessionToken"] };
|