@pulumi/datadog 4.58.0-alpha.1760375617 → 4.58.0-alpha.1760585632
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/applicationKey.d.ts +13 -2
- package/applicationKey.js +13 -2
- package/applicationKey.js.map +1 -1
- package/aws/getIntegrationIamPermissionsStandard.d.ts +22 -0
- package/aws/getIntegrationIamPermissionsStandard.js +24 -0
- package/aws/getIntegrationIamPermissionsStandard.js.map +1 -0
- package/aws/index.d.ts +3 -0
- package/aws/index.js +4 -1
- package/aws/index.js.map +1 -1
- package/awsCurConfig.d.ts +40 -0
- package/awsCurConfig.js +10 -0
- package/awsCurConfig.js.map +1 -1
- package/azureUcConfig.d.ts +151 -0
- package/azureUcConfig.js +89 -0
- package/azureUcConfig.js.map +1 -0
- package/customAllocationRule.d.ts +141 -0
- package/customAllocationRule.js +91 -0
- package/customAllocationRule.js.map +1 -0
- package/customAllocationRules.d.ts +61 -0
- package/customAllocationRules.js +65 -0
- package/customAllocationRules.js.map +1 -0
- package/gcpUcConfig.d.ts +192 -0
- package/gcpUcConfig.js +116 -0
- package/gcpUcConfig.js.map +1 -0
- package/getAzureUcConfig.d.ts +98 -0
- package/getAzureUcConfig.js +32 -0
- package/getAzureUcConfig.js.map +1 -0
- package/getCustomAllocationRule.d.ts +88 -0
- package/getCustomAllocationRule.js +34 -0
- package/getCustomAllocationRule.js.map +1 -0
- package/getGcpUcConfig.d.ts +88 -0
- package/getGcpUcConfig.js +28 -0
- package/getGcpUcConfig.js.map +1 -0
- package/getPermissions.d.ts +26 -2
- package/getPermissions.js +26 -2
- package/getPermissions.js.map +1 -1
- package/getRole.d.ts +4 -4
- package/getRole.js +4 -4
- package/getRoleUsers.d.ts +32 -0
- package/getRoleUsers.js +32 -0
- package/getRoleUsers.js.map +1 -1
- package/getRoles.d.ts +4 -4
- package/getRoles.js +4 -4
- package/getTagPipelineRuleset.d.ts +66 -0
- package/getTagPipelineRuleset.js +30 -0
- package/getTagPipelineRuleset.js.map +1 -0
- package/index.d.ts +30 -0
- package/index.js +47 -5
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/role.d.ts +6 -6
- package/role.js +6 -6
- package/serviceAccountApplicationKey.d.ts +15 -3
- package/serviceAccountApplicationKey.js +15 -3
- package/serviceAccountApplicationKey.js.map +1 -1
- package/syntheticsPrivateLocation.d.ts +8 -0
- package/syntheticsPrivateLocation.js +2 -0
- package/syntheticsPrivateLocation.js.map +1 -1
- package/tagPipelineRuleset.d.ts +103 -0
- package/tagPipelineRuleset.js +73 -0
- package/tagPipelineRuleset.js.map +1 -0
- package/tagPipelineRulesets.d.ts +73 -0
- package/tagPipelineRulesets.js +77 -0
- package/tagPipelineRulesets.js.map +1 -0
- package/types/input.d.ts +798 -0
- package/types/output.d.ts +588 -0
- package/userRole.d.ts +16 -8
- package/userRole.js +16 -8
- package/userRole.js.map +1 -1
package/userRole.js
CHANGED
|
@@ -14,16 +14,24 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as datadog from "@pulumi/datadog";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
17
|
+
* // Source the permissions
|
|
18
|
+
* const ddPerms = datadog.getPermissions({});
|
|
19
|
+
* // Create an API Key Manager role
|
|
20
|
+
* const apiKeyManager = new datadog.Role("api_key_manager", {
|
|
21
|
+
* name: "API Key Manager",
|
|
22
|
+
* permissions: [
|
|
23
|
+
* {
|
|
24
|
+
* id: ddPerms.then(ddPerms => ddPerms.permissions?.apiKeysRead),
|
|
25
|
+
* },
|
|
26
|
+
* {
|
|
27
|
+
* id: ddPerms.then(ddPerms => ddPerms.permissions?.apiKeysWrite),
|
|
28
|
+
* },
|
|
29
|
+
* ],
|
|
22
30
|
* });
|
|
23
31
|
* const newUser = new datadog.User("new_user", {email: "new@example.com"});
|
|
24
|
-
* //
|
|
25
|
-
* const
|
|
26
|
-
* roleId:
|
|
32
|
+
* // Assign the API Key Manager role to the user
|
|
33
|
+
* const newUserWithApiKeyManagerRole = new datadog.UserRole("new_user_with_api_key_manager_role", {
|
|
34
|
+
* roleId: apiKeyManager.id,
|
|
27
35
|
* userId: newUser.id,
|
|
28
36
|
* });
|
|
29
37
|
* ```
|
package/userRole.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userRole.js","sourceRoot":"","sources":["../userRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"userRole.js","sourceRoot":"","sources":["../userRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,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