@pulumi/datadog 4.12.0 → 4.13.0-alpha.1673372420

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.
Files changed (238) hide show
  1. package/apiKey.d.ts +1 -3
  2. package/apiKey.js +22 -22
  3. package/apiKey.js.map +1 -1
  4. package/applicationKey.d.ts +1 -3
  5. package/applicationKey.js +22 -22
  6. package/applicationKey.js.map +1 -1
  7. package/authnMapping.d.ts +1 -1
  8. package/authnMapping.js +23 -23
  9. package/authnMapping.js.map +1 -1
  10. package/aws/index.d.ts +12 -4
  11. package/aws/index.js +13 -28
  12. package/aws/index.js.map +1 -1
  13. package/aws/integration.d.ts +10 -28
  14. package/aws/integration.js +26 -24
  15. package/aws/integration.js.map +1 -1
  16. package/aws/integrationLambdaArn.d.ts +5 -5
  17. package/aws/integrationLambdaArn.js +24 -24
  18. package/aws/integrationLambdaArn.js.map +1 -1
  19. package/aws/integrationLogCollection.d.ts +7 -13
  20. package/aws/integrationLogCollection.js +23 -23
  21. package/aws/integrationLogCollection.js.map +1 -1
  22. package/aws/integrationTagFilter.d.ts +7 -7
  23. package/aws/integrationTagFilter.js +23 -23
  24. package/aws/integrationTagFilter.js.map +1 -1
  25. package/azure/index.d.ts +3 -1
  26. package/azure/index.js +4 -19
  27. package/azure/index.js.map +1 -1
  28. package/azure/integration.d.ts +4 -10
  29. package/azure/integration.js +26 -24
  30. package/azure/integration.js.map +1 -1
  31. package/childOrganization.d.ts +5 -6
  32. package/childOrganization.js +23 -25
  33. package/childOrganization.js.map +1 -1
  34. package/cloudWorkloadSecurityAgentRule.d.ts +2 -2
  35. package/cloudWorkloadSecurityAgentRule.js +24 -24
  36. package/cloudWorkloadSecurityAgentRule.js.map +1 -1
  37. package/dashboard.d.ts +11 -707
  38. package/dashboard.js +22 -716
  39. package/dashboard.js.map +1 -1
  40. package/dashboardJson.d.ts +9 -4
  41. package/dashboardJson.js +31 -26
  42. package/dashboardJson.js.map +1 -1
  43. package/dashboardList.d.ts +2 -1
  44. package/dashboardList.js +19 -19
  45. package/dashboardList.js.map +1 -1
  46. package/downtime.d.ts +16 -20
  47. package/downtime.js +22 -22
  48. package/downtime.js.map +1 -1
  49. package/gcp/index.d.ts +3 -1
  50. package/gcp/index.js +4 -19
  51. package/gcp/index.js.map +1 -1
  52. package/gcp/integration.d.ts +4 -7
  53. package/gcp/integration.js +26 -24
  54. package/gcp/integration.js.map +1 -1
  55. package/getApiKey.d.ts +37 -2
  56. package/getApiKey.js +18 -7
  57. package/getApiKey.js.map +1 -1
  58. package/getApplicationKey.d.ts +37 -2
  59. package/getApplicationKey.js +18 -7
  60. package/getApplicationKey.js.map +1 -1
  61. package/getCloudWorkloadSecurityAgentRules.d.ts +5 -2
  62. package/getCloudWorkloadSecurityAgentRules.js +2 -5
  63. package/getCloudWorkloadSecurityAgentRules.js.map +1 -1
  64. package/getDashboard.d.ts +31 -2
  65. package/getDashboard.js +18 -7
  66. package/getDashboard.js.map +1 -1
  67. package/getDashboardList.d.ts +42 -3
  68. package/getDashboardList.js +35 -8
  69. package/getDashboardList.js.map +1 -1
  70. package/getIpRanges.d.ts +49 -1
  71. package/getIpRanges.js +2 -5
  72. package/getIpRanges.js.map +1 -1
  73. package/getLogsArchivesOrder.d.ts +18 -0
  74. package/getLogsArchivesOrder.js +16 -0
  75. package/getLogsArchivesOrder.js.map +1 -0
  76. package/getLogsIndexes.d.ts +5 -2
  77. package/getLogsIndexes.js +2 -5
  78. package/getLogsIndexes.js.map +1 -1
  79. package/getLogsIndexesOrder.d.ts +4 -1
  80. package/getLogsIndexesOrder.js +2 -5
  81. package/getLogsIndexesOrder.js.map +1 -1
  82. package/getLogsPipelines.d.ts +16 -1
  83. package/getLogsPipelines.js +5 -5
  84. package/getLogsPipelines.js.map +1 -1
  85. package/getMonitor.d.ts +132 -3
  86. package/getMonitor.js +19 -7
  87. package/getMonitor.js.map +1 -1
  88. package/getMonitors.d.ts +34 -1
  89. package/getMonitors.js +5 -5
  90. package/getMonitors.js.map +1 -1
  91. package/getPermissions.d.ts +4 -1
  92. package/getPermissions.js +2 -5
  93. package/getPermissions.js.map +1 -1
  94. package/getRole.d.ts +31 -2
  95. package/getRole.js +18 -7
  96. package/getRole.js.map +1 -1
  97. package/getRoles.d.ts +29 -3
  98. package/getRoles.js +18 -7
  99. package/getRoles.js.map +1 -1
  100. package/getRumApplication.d.ts +72 -0
  101. package/getRumApplication.js +28 -0
  102. package/getRumApplication.js.map +1 -0
  103. package/getSecurityMonitoringFilters.d.ts +8 -2
  104. package/getSecurityMonitoringFilters.js +2 -5
  105. package/getSecurityMonitoringFilters.js.map +1 -1
  106. package/getSecurityMonitoringRules.d.ts +61 -3
  107. package/getSecurityMonitoringRules.js +20 -7
  108. package/getSecurityMonitoringRules.js.map +1 -1
  109. package/getServiceLevelObjective.d.ts +60 -0
  110. package/getServiceLevelObjective.js +20 -5
  111. package/getServiceLevelObjective.js.map +1 -1
  112. package/getServiceLevelObjectives.d.ts +56 -3
  113. package/getServiceLevelObjectives.js +18 -7
  114. package/getServiceLevelObjectives.js.map +1 -1
  115. package/getSyntheticsGlobalVariable.d.ts +15 -0
  116. package/getSyntheticsGlobalVariable.js +5 -5
  117. package/getSyntheticsGlobalVariable.js.map +1 -1
  118. package/getSyntheticsLocations.d.ts +3 -0
  119. package/getSyntheticsLocations.js +1 -4
  120. package/getSyntheticsLocations.js.map +1 -1
  121. package/getSyntheticsTest.d.ts +21 -0
  122. package/getSyntheticsTest.js +5 -5
  123. package/getSyntheticsTest.js.map +1 -1
  124. package/getUser.d.ts +18 -0
  125. package/getUser.js +5 -5
  126. package/getUser.js.map +1 -1
  127. package/index.d.ts +175 -59
  128. package/index.js +177 -150
  129. package/index.js.map +1 -1
  130. package/logsArchive.d.ts +6 -8
  131. package/logsArchive.js +23 -23
  132. package/logsArchive.js.map +1 -1
  133. package/logsArchiveOrder.d.ts +4 -10
  134. package/logsArchiveOrder.js +15 -15
  135. package/logsArchiveOrder.js.map +1 -1
  136. package/logsCustomPipeline.d.ts +3 -174
  137. package/logsCustomPipeline.js +23 -195
  138. package/logsCustomPipeline.js.map +1 -1
  139. package/logsIndex.d.ts +6 -8
  140. package/logsIndex.js +23 -23
  141. package/logsIndex.js.map +1 -1
  142. package/logsIndexOrder.d.ts +4 -7
  143. package/logsIndexOrder.js +23 -23
  144. package/logsIndexOrder.js.map +1 -1
  145. package/logsIntegrationPipeline.d.ts +2 -4
  146. package/logsIntegrationPipeline.js +16 -18
  147. package/logsIntegrationPipeline.js.map +1 -1
  148. package/logsMetric.d.ts +3 -2
  149. package/logsMetric.js +23 -23
  150. package/logsMetric.js.map +1 -1
  151. package/logsPipelineOrder.d.ts +4 -10
  152. package/logsPipelineOrder.js +23 -23
  153. package/logsPipelineOrder.js.map +1 -1
  154. package/metricMetadata.d.ts +1 -1
  155. package/metricMetadata.js +23 -23
  156. package/metricMetadata.js.map +1 -1
  157. package/metricTagConfiguration.d.ts +13 -21
  158. package/metricTagConfiguration.js +24 -24
  159. package/metricTagConfiguration.js.map +1 -1
  160. package/monitor.d.ts +51 -7
  161. package/monitor.js +28 -22
  162. package/monitor.js.map +1 -1
  163. package/monitorJson.js +19 -19
  164. package/monitorJson.js.map +1 -1
  165. package/opsgenie/index.d.ts +3 -1
  166. package/opsgenie/index.js +4 -19
  167. package/opsgenie/index.js.map +1 -1
  168. package/opsgenie/serviceObject.d.ts +5 -5
  169. package/opsgenie/serviceObject.js +27 -25
  170. package/opsgenie/serviceObject.js.map +1 -1
  171. package/organizationSettings.d.ts +5 -6
  172. package/organizationSettings.js +21 -23
  173. package/organizationSettings.js.map +1 -1
  174. package/package.json +4 -3
  175. package/package.json.bak +2 -1
  176. package/package.json.dev +4 -3
  177. package/pagerduty/index.d.ts +6 -2
  178. package/pagerduty/index.js +7 -22
  179. package/pagerduty/index.js.map +1 -1
  180. package/pagerduty/integration.d.ts +8 -4
  181. package/pagerduty/integration.js +31 -25
  182. package/pagerduty/integration.js.map +1 -1
  183. package/pagerduty/serviceObject.d.ts +5 -14
  184. package/pagerduty/serviceObject.js +26 -24
  185. package/pagerduty/serviceObject.js.map +1 -1
  186. package/provider.js +10 -10
  187. package/provider.js.map +1 -1
  188. package/role.d.ts +3 -2
  189. package/role.js +22 -22
  190. package/role.js.map +1 -1
  191. package/rumApplication.d.ts +1 -1
  192. package/rumApplication.js +22 -22
  193. package/rumApplication.js.map +1 -1
  194. package/securityMonitoringDefaultRule.d.ts +3 -3
  195. package/securityMonitoringDefaultRule.js +23 -24
  196. package/securityMonitoringDefaultRule.js.map +1 -1
  197. package/securityMonitoringFilter.d.ts +7 -6
  198. package/securityMonitoringFilter.js +24 -24
  199. package/securityMonitoringFilter.js.map +1 -1
  200. package/securityMonitoringRule.d.ts +20 -7
  201. package/securityMonitoringRule.js +25 -26
  202. package/securityMonitoringRule.js.map +1 -1
  203. package/serviceDefinitionYaml.d.ts +3 -4
  204. package/serviceDefinitionYaml.js +20 -21
  205. package/serviceDefinitionYaml.js.map +1 -1
  206. package/serviceLevelObjective.d.ts +9 -20
  207. package/serviceLevelObjective.js +23 -23
  208. package/serviceLevelObjective.js.map +1 -1
  209. package/slack/channel.d.ts +4 -3
  210. package/slack/channel.js +24 -24
  211. package/slack/channel.js.map +1 -1
  212. package/slack/index.d.ts +3 -1
  213. package/slack/index.js +4 -19
  214. package/slack/index.js.map +1 -1
  215. package/sloCorrection.d.ts +6 -9
  216. package/sloCorrection.js +22 -22
  217. package/sloCorrection.js.map +1 -1
  218. package/syntheticsGlobalVariable.d.ts +4 -3
  219. package/syntheticsGlobalVariable.js +27 -25
  220. package/syntheticsGlobalVariable.js.map +1 -1
  221. package/syntheticsPrivateLocation.d.ts +6 -7
  222. package/syntheticsPrivateLocation.js +26 -24
  223. package/syntheticsPrivateLocation.js.map +1 -1
  224. package/syntheticsTest.d.ts +35 -46
  225. package/syntheticsTest.js +28 -28
  226. package/syntheticsTest.js.map +1 -1
  227. package/types/index.js.map +1 -1
  228. package/types/input.d.ts +1398 -3
  229. package/types/output.d.ts +1438 -5
  230. package/user.js +22 -22
  231. package/user.js.map +1 -1
  232. package/utilities.js +13 -1
  233. package/utilities.js.map +1 -1
  234. package/webhook.d.ts +3 -3
  235. package/webhook.js +22 -22
  236. package/webhook.js.map +1 -1
  237. package/webhookCustomVariable.js +25 -23
  238. package/webhookCustomVariable.js.map +1 -1
@@ -17,7 +17,7 @@ const utilities = require("../utilities");
17
17
  * import * as datadog from "@pulumi/datadog";
18
18
  *
19
19
  * // Create a new Datadog - Amazon Web Services integration Lambda ARN
20
- * const mainCollector = new datadog.aws.IntegrationLambdaArn("main_collector", {
20
+ * const mainCollector = new datadog.aws.IntegrationLambdaArn("mainCollector", {
21
21
  * accountId: "1234567890",
22
22
  * lambdaArn: "arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder",
23
23
  * });
@@ -25,35 +25,13 @@ const utilities = require("../utilities");
25
25
  *
26
26
  * ## Import
27
27
  *
28
- * # Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `).
28
+ * Amazon Web Services Lambda ARN integrations can be imported using their account_id and lambda_arn separated with a space (` `).
29
29
  *
30
30
  * ```sh
31
31
  * $ pulumi import datadog:aws/integrationLambdaArn:IntegrationLambdaArn test "1234567890 arn:aws:lambda:us-east-1:1234567890:function:datadog-forwarder-Forwarder"
32
32
  * ```
33
33
  */
34
34
  class IntegrationLambdaArn extends pulumi.CustomResource {
35
- constructor(name, argsOrState, opts) {
36
- let resourceInputs = {};
37
- opts = opts || {};
38
- if (opts.id) {
39
- const state = argsOrState;
40
- resourceInputs["accountId"] = state ? state.accountId : undefined;
41
- resourceInputs["lambdaArn"] = state ? state.lambdaArn : undefined;
42
- }
43
- else {
44
- const args = argsOrState;
45
- if ((!args || args.accountId === undefined) && !opts.urn) {
46
- throw new Error("Missing required property 'accountId'");
47
- }
48
- if ((!args || args.lambdaArn === undefined) && !opts.urn) {
49
- throw new Error("Missing required property 'lambdaArn'");
50
- }
51
- resourceInputs["accountId"] = args ? args.accountId : undefined;
52
- resourceInputs["lambdaArn"] = args ? args.lambdaArn : undefined;
53
- }
54
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
55
- super(IntegrationLambdaArn.__pulumiType, name, resourceInputs, opts);
56
- }
57
35
  /**
58
36
  * Get an existing IntegrationLambdaArn resource's state with the given name, ID, and optional extra
59
37
  * properties used to qualify the lookup.
@@ -76,6 +54,28 @@ class IntegrationLambdaArn extends pulumi.CustomResource {
76
54
  }
77
55
  return obj['__pulumiType'] === IntegrationLambdaArn.__pulumiType;
78
56
  }
57
+ constructor(name, argsOrState, opts) {
58
+ let resourceInputs = {};
59
+ opts = opts || {};
60
+ if (opts.id) {
61
+ const state = argsOrState;
62
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
63
+ resourceInputs["lambdaArn"] = state ? state.lambdaArn : undefined;
64
+ }
65
+ else {
66
+ const args = argsOrState;
67
+ if ((!args || args.accountId === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'accountId'");
69
+ }
70
+ if ((!args || args.lambdaArn === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'lambdaArn'");
72
+ }
73
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
74
+ resourceInputs["lambdaArn"] = args ? args.lambdaArn : undefined;
75
+ }
76
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
77
+ super(IntegrationLambdaArn.__pulumiType, name, resourceInputs, opts);
78
+ }
79
79
  }
80
80
  exports.IntegrationLambdaArn = IntegrationLambdaArn;
81
81
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"integrationLambdaArn.js","sourceRoot":"","sources":["../../aws/integrationLambdaArn.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IA6C3D,YAAY,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19
19
  *
20
- * # Amazon Web Services log collection integrations can be imported using the `account ID`.
20
+ * Amazon Web Services log collection integrations can be imported using the `account ID`.
21
21
  *
22
22
  * ```sh
23
23
  * $ pulumi import datadog:aws/integrationLogCollection:IntegrationLogCollection test 1234567890
@@ -40,13 +40,11 @@ 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. If your account is a GovCloud or China account, specify the `access_key_id` here.
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
  /**
47
- * A list of services to collect logs from. See the [api
48
- * docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on
49
- * which services are supported.
47
+ * A list of services to collect logs from. See the [api docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on which services are supported.
50
48
  */
51
49
  readonly services: pulumi.Output<string[]>;
52
50
  /**
@@ -63,13 +61,11 @@ export declare class IntegrationLogCollection extends pulumi.CustomResource {
63
61
  */
64
62
  export interface IntegrationLogCollectionState {
65
63
  /**
66
- * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `access_key_id` here.
64
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
67
65
  */
68
66
  accountId?: pulumi.Input<string>;
69
67
  /**
70
- * A list of services to collect logs from. See the [api
71
- * docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on
72
- * which services are supported.
68
+ * A list of services to collect logs from. See the [api docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on which services are supported.
73
69
  */
74
70
  services?: pulumi.Input<pulumi.Input<string>[]>;
75
71
  }
@@ -78,13 +74,11 @@ export interface IntegrationLogCollectionState {
78
74
  */
79
75
  export interface IntegrationLogCollectionArgs {
80
76
  /**
81
- * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `access_key_id` here.
77
+ * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `accessKeyId` here.
82
78
  */
83
79
  accountId: pulumi.Input<string>;
84
80
  /**
85
- * A list of services to collect logs from. See the [api
86
- * docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on
87
- * which services are supported.
81
+ * A list of services to collect logs from. See the [api docs](https://docs.datadoghq.com/api/v1/aws-logs-integration/#get-list-of-aws-log-ready-services) for more details on which services are supported.
88
82
  */
89
83
  services: pulumi.Input<pulumi.Input<string>[]>;
90
84
  }
@@ -23,35 +23,13 @@ const utilities = require("../utilities");
23
23
  *
24
24
  * ## Import
25
25
  *
26
- * # Amazon Web Services log collection integrations can be imported using the `account ID`.
26
+ * Amazon Web Services log collection integrations can be imported using the `account ID`.
27
27
  *
28
28
  * ```sh
29
29
  * $ pulumi import datadog:aws/integrationLogCollection:IntegrationLogCollection test 1234567890
30
30
  * ```
31
31
  */
32
32
  class IntegrationLogCollection extends pulumi.CustomResource {
33
- constructor(name, argsOrState, opts) {
34
- let resourceInputs = {};
35
- opts = opts || {};
36
- if (opts.id) {
37
- const state = argsOrState;
38
- resourceInputs["accountId"] = state ? state.accountId : undefined;
39
- resourceInputs["services"] = state ? state.services : undefined;
40
- }
41
- else {
42
- const args = argsOrState;
43
- if ((!args || args.accountId === undefined) && !opts.urn) {
44
- throw new Error("Missing required property 'accountId'");
45
- }
46
- if ((!args || args.services === undefined) && !opts.urn) {
47
- throw new Error("Missing required property 'services'");
48
- }
49
- resourceInputs["accountId"] = args ? args.accountId : undefined;
50
- resourceInputs["services"] = args ? args.services : undefined;
51
- }
52
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
53
- super(IntegrationLogCollection.__pulumiType, name, resourceInputs, opts);
54
- }
55
33
  /**
56
34
  * Get an existing IntegrationLogCollection resource's state with the given name, ID, and optional extra
57
35
  * properties used to qualify the lookup.
@@ -74,6 +52,28 @@ class IntegrationLogCollection extends pulumi.CustomResource {
74
52
  }
75
53
  return obj['__pulumiType'] === IntegrationLogCollection.__pulumiType;
76
54
  }
55
+ constructor(name, argsOrState, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (opts.id) {
59
+ const state = argsOrState;
60
+ resourceInputs["accountId"] = state ? state.accountId : undefined;
61
+ resourceInputs["services"] = state ? state.services : undefined;
62
+ }
63
+ else {
64
+ const args = argsOrState;
65
+ if ((!args || args.accountId === undefined) && !opts.urn) {
66
+ throw new Error("Missing required property 'accountId'");
67
+ }
68
+ if ((!args || args.services === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'services'");
70
+ }
71
+ resourceInputs["accountId"] = args ? args.accountId : undefined;
72
+ resourceInputs["services"] = args ? args.services : undefined;
73
+ }
74
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
75
+ super(IntegrationLogCollection.__pulumiType, name, resourceInputs, opts);
76
+ }
77
77
  }
78
78
  exports.IntegrationLogCollection = IntegrationLogCollection;
79
79
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"integrationLogCollection.js","sourceRoot":"","sources":["../../aws/integrationLogCollection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IA+C/D,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,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SA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K,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAuD,CAAC;YACrE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;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;;AAjEL,4DAkEC;AApDG,gBAAgB;AACO,qCAAY,GAAG,+DAA+D,CAAC"}
@@ -18,7 +18,7 @@ import * as pulumi from "@pulumi/pulumi";
18
18
  *
19
19
  * ## Import
20
20
  *
21
- * # Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:).
21
+ * Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:).
22
22
  *
23
23
  * ```sh
24
24
  * $ pulumi import datadog:aws/integrationTagFilter:IntegrationTagFilter foo ${account_id}:${namespace}
@@ -41,11 +41,11 @@ 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. If your account is a GovCloud or China account, specify the `access_key_id` here.
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
  /**
48
- * The namespace associated with the tag filter entry.
48
+ * The namespace associated with the tag filter entry. Valid values are `elb`, `applicationElb`, `sqs`, `rds`, `custom`, `networkElb`, `lambda`.
49
49
  */
50
50
  readonly namespace: pulumi.Output<string>;
51
51
  /**
@@ -66,11 +66,11 @@ export declare class IntegrationTagFilter extends pulumi.CustomResource {
66
66
  */
67
67
  export interface IntegrationTagFilterState {
68
68
  /**
69
- * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `access_key_id` here.
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
  /**
73
- * The namespace associated with the tag filter entry.
73
+ * The namespace associated with the tag filter entry. Valid values are `elb`, `applicationElb`, `sqs`, `rds`, `custom`, `networkElb`, `lambda`.
74
74
  */
75
75
  namespace?: pulumi.Input<string>;
76
76
  /**
@@ -83,11 +83,11 @@ export interface IntegrationTagFilterState {
83
83
  */
84
84
  export interface IntegrationTagFilterArgs {
85
85
  /**
86
- * Your AWS Account ID without dashes. If your account is a GovCloud or China account, specify the `access_key_id` here.
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
  /**
90
- * The namespace associated with the tag filter entry.
90
+ * The namespace associated with the tag filter entry. Valid values are `elb`, `applicationElb`, `sqs`, `rds`, `custom`, `networkElb`, `lambda`.
91
91
  */
92
92
  namespace: pulumi.Input<string>;
93
93
  /**
@@ -24,13 +24,35 @@ const utilities = require("../utilities");
24
24
  *
25
25
  * ## Import
26
26
  *
27
- * # Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:).
27
+ * Amazon Web Services log filter resource can be imported using their account ID and namespace separated with a colon (:).
28
28
  *
29
29
  * ```sh
30
30
  * $ pulumi import datadog:aws/integrationTagFilter:IntegrationTagFilter foo ${account_id}:${namespace}
31
31
  * ```
32
32
  */
33
33
  class IntegrationTagFilter extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing IntegrationTagFilter resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new IntegrationTagFilter(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of IntegrationTagFilter. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === IntegrationTagFilter.__pulumiType;
55
+ }
34
56
  constructor(name, argsOrState, opts) {
35
57
  let resourceInputs = {};
36
58
  opts = opts || {};
@@ -58,28 +80,6 @@ class IntegrationTagFilter extends pulumi.CustomResource {
58
80
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
59
81
  super(IntegrationTagFilter.__pulumiType, name, resourceInputs, opts);
60
82
  }
61
- /**
62
- * Get an existing IntegrationTagFilter resource's state with the given name, ID, and optional extra
63
- * properties used to qualify the lookup.
64
- *
65
- * @param name The _unique_ name of the resulting resource.
66
- * @param id The _unique_ provider ID of the resource to lookup.
67
- * @param state Any extra arguments used during the lookup.
68
- * @param opts Optional settings to control the behavior of the CustomResource.
69
- */
70
- static get(name, id, state, opts) {
71
- return new IntegrationTagFilter(name, state, Object.assign(Object.assign({}, opts), { id: id }));
72
- }
73
- /**
74
- * Returns true if the given object is an instance of IntegrationTagFilter. This is designed to work even
75
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
76
- */
77
- static isInstance(obj) {
78
- if (obj === undefined || obj === null) {
79
- return false;
80
- }
81
- return obj['__pulumiType'] === IntegrationTagFilter.__pulumiType;
82
- }
83
83
  }
84
84
  exports.IntegrationTagFilter = IntegrationTagFilter;
85
85
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"integrationTagFilter.js","sourceRoot":"","sources":["../../aws/integrationTagFilter.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAiD3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoD,CAAC;YACnE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,WAAmD,CAAC;YACjE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YAC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1,3 @@
1
- export * from "./integration";
1
+ export { IntegrationArgs, IntegrationState } from "./integration";
2
+ export type Integration = import("./integration").Integration;
3
+ export declare const Integration: typeof import("./integration").Integration;
package/azure/index.js CHANGED
@@ -1,33 +1,18 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- var desc = Object.getOwnPropertyDescriptor(m, k);
7
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
- desc = { enumerable: true, get: function() { return m[k]; } };
9
- }
10
- Object.defineProperty(o, k2, desc);
11
- }) : (function(o, m, k, k2) {
12
- if (k2 === undefined) k2 = k;
13
- o[k2] = m[k];
14
- }));
15
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
- };
18
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Integration = void 0;
19
6
  const pulumi = require("@pulumi/pulumi");
20
7
  const utilities = require("../utilities");
21
- // Export members:
22
- __exportStar(require("./integration"), exports);
23
- // Import resources to register:
24
- const integration_1 = require("./integration");
8
+ exports.Integration = null;
9
+ utilities.lazyLoad(exports, ["Integration"], () => require("./integration"));
25
10
  const _module = {
26
11
  version: utilities.getVersion(),
27
12
  construct: (name, type, urn) => {
28
13
  switch (type) {
29
14
  case "datadog:azure/integration:Integration":
30
- return new integration_1.Integration(name, undefined, { urn });
15
+ return new exports.Integration(name, undefined, { urn });
31
16
  default:
32
17
  throw new Error(`unknown resource type ${type}`);
33
18
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../azure/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;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B,CAAC,SAAS,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA"}
@@ -19,7 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
19
19
  *
20
20
  * ## Import
21
21
  *
22
- * # Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`).
22
+ * Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`).
23
23
  *
24
24
  * ```sh
25
25
  * $ pulumi import datadog:azure/integration:Integration sandbox ${tenant_name}:${client_id}
@@ -54,9 +54,7 @@ export declare class Integration extends pulumi.CustomResource {
54
54
  */
55
55
  readonly clientSecret: pulumi.Output<string>;
56
56
  /**
57
- * String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics
58
- * from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the
59
- * defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red`
57
+ * String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red`
60
58
  */
61
59
  readonly hostFilters: pulumi.Output<string | undefined>;
62
60
  /**
@@ -89,9 +87,7 @@ export interface IntegrationState {
89
87
  */
90
88
  clientSecret?: pulumi.Input<string>;
91
89
  /**
92
- * String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics
93
- * from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the
94
- * defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red`
90
+ * String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red`
95
91
  */
96
92
  hostFilters?: pulumi.Input<string>;
97
93
  /**
@@ -116,9 +112,7 @@ export interface IntegrationArgs {
116
112
  */
117
113
  clientSecret: pulumi.Input<string>;
118
114
  /**
119
- * String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics
120
- * from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the
121
- * defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red`
115
+ * String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red`
122
116
  */
123
117
  hostFilters?: pulumi.Input<string>;
124
118
  /**
@@ -25,13 +25,35 @@ const utilities = require("../utilities");
25
25
  *
26
26
  * ## Import
27
27
  *
28
- * # Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`).
28
+ * Microsoft Azure integrations can be imported using their `tenant name` and `client` id separated with a colon (`:`).
29
29
  *
30
30
  * ```sh
31
31
  * $ pulumi import datadog:azure/integration:Integration sandbox ${tenant_name}:${client_id}
32
32
  * ```
33
33
  */
34
34
  class Integration extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing Integration resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name, id, state, opts) {
45
+ return new Integration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
46
+ }
47
+ /**
48
+ * Returns true if the given object is an instance of Integration. This is designed to work even
49
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
50
+ */
51
+ static isInstance(obj) {
52
+ if (obj === undefined || obj === null) {
53
+ return false;
54
+ }
55
+ return obj['__pulumiType'] === Integration.__pulumiType;
56
+ }
35
57
  constructor(name, argsOrState, opts) {
36
58
  let resourceInputs = {};
37
59
  opts = opts || {};
@@ -56,35 +78,15 @@ class Integration extends pulumi.CustomResource {
56
78
  }
57
79
  resourceInputs["automute"] = args ? args.automute : undefined;
58
80
  resourceInputs["clientId"] = args ? args.clientId : undefined;
59
- resourceInputs["clientSecret"] = args ? args.clientSecret : undefined;
81
+ resourceInputs["clientSecret"] = (args === null || args === void 0 ? void 0 : args.clientSecret) ? pulumi.secret(args.clientSecret) : undefined;
60
82
  resourceInputs["hostFilters"] = args ? args.hostFilters : undefined;
61
83
  resourceInputs["tenantName"] = args ? args.tenantName : undefined;
62
84
  }
63
85
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ const secretOpts = { additionalSecretOutputs: ["clientSecret"] };
87
+ opts = pulumi.mergeOptions(opts, secretOpts);
64
88
  super(Integration.__pulumiType, name, resourceInputs, opts);
65
89
  }
66
- /**
67
- * Get an existing Integration resource's state with the given name, ID, and optional extra
68
- * properties used to qualify the lookup.
69
- *
70
- * @param name The _unique_ name of the resulting resource.
71
- * @param id The _unique_ provider ID of the resource to lookup.
72
- * @param state Any extra arguments used during the lookup.
73
- * @param opts Optional settings to control the behavior of the CustomResource.
74
- */
75
- static get(name, id, state, opts) {
76
- return new Integration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
77
- }
78
- /**
79
- * Returns true if the given object is an instance of Integration. This is designed to work even
80
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
81
- */
82
- static isInstance(obj) {
83
- if (obj === undefined || obj === null) {
84
- return false;
85
- }
86
- return obj['__pulumiType'] === Integration.__pulumiType;
87
- }
88
90
  }
89
91
  exports.Integration = Integration;
90
92
  /** @internal */
@@ -1 +1 @@
1
- {"version":3,"file":"integration.js","sourceRoot":"","sources":["../../azure/integration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IA2DlD,YAAY,IAAY,EAAE,WAAgD,EAAE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;YACpE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;QACjE,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;;AAxFL,kCAyFC;AA3EG,gBAAgB;AACO,wBAAY,GAAG,uCAAuC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import { input as inputs, output as outputs } from "./types";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
5
  * Provides a Datadog Child Organization resource. This can be used to create Datadog Child Organizations. To manage created organization use `datadog.OrganizationSettings`.
5
6
  *
@@ -10,9 +11,7 @@ import { input as inputs, output as outputs } from "./types";
10
11
  * import * as datadog from "@pulumi/datadog";
11
12
  *
12
13
  * // Create a new Datadog Child Organization
13
- * const organization = new datadog.ChildOrganization("organization", {
14
- * name: "foo-organization",
15
- * });
14
+ * const organization = new datadog.ChildOrganization("organization", {name: "foo-organization"});
16
15
  * ```
17
16
  */
18
17
  export declare class ChildOrganization extends pulumi.CustomResource {
@@ -48,7 +47,7 @@ export declare class ChildOrganization extends pulumi.CustomResource {
48
47
  */
49
48
  readonly name: pulumi.Output<string>;
50
49
  /**
51
- * The `public_id` of the organization you are operating within.
50
+ * The `publicId` of the organization you are operating within.
52
51
  */
53
52
  readonly publicId: pulumi.Output<string>;
54
53
  /**
@@ -89,7 +88,7 @@ export interface ChildOrganizationState {
89
88
  */
90
89
  name?: pulumi.Input<string>;
91
90
  /**
92
- * The `public_id` of the organization you are operating within.
91
+ * The `publicId` of the organization you are operating within.
93
92
  */
94
93
  publicId?: pulumi.Input<string>;
95
94
  /**
@@ -15,12 +15,32 @@ const utilities = require("./utilities");
15
15
  * import * as datadog from "@pulumi/datadog";
16
16
  *
17
17
  * // Create a new Datadog Child Organization
18
- * const organization = new datadog.ChildOrganization("organization", {
19
- * name: "foo-organization",
20
- * });
18
+ * const organization = new datadog.ChildOrganization("organization", {name: "foo-organization"});
21
19
  * ```
22
20
  */
23
21
  class ChildOrganization extends pulumi.CustomResource {
22
+ /**
23
+ * Get an existing ChildOrganization resource's state with the given name, ID, and optional extra
24
+ * properties used to qualify the lookup.
25
+ *
26
+ * @param name The _unique_ name of the resulting resource.
27
+ * @param id The _unique_ provider ID of the resource to lookup.
28
+ * @param state Any extra arguments used during the lookup.
29
+ * @param opts Optional settings to control the behavior of the CustomResource.
30
+ */
31
+ static get(name, id, state, opts) {
32
+ return new ChildOrganization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
33
+ }
34
+ /**
35
+ * Returns true if the given object is an instance of ChildOrganization. This is designed to work even
36
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
37
+ */
38
+ static isInstance(obj) {
39
+ if (obj === undefined || obj === null) {
40
+ return false;
41
+ }
42
+ return obj['__pulumiType'] === ChildOrganization.__pulumiType;
43
+ }
24
44
  constructor(name, argsOrState, opts) {
25
45
  let resourceInputs = {};
26
46
  opts = opts || {};
@@ -50,28 +70,6 @@ class ChildOrganization extends pulumi.CustomResource {
50
70
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
51
71
  super(ChildOrganization.__pulumiType, name, resourceInputs, opts);
52
72
  }
53
- /**
54
- * Get an existing ChildOrganization resource's state with the given name, ID, and optional extra
55
- * properties used to qualify the lookup.
56
- *
57
- * @param name The _unique_ name of the resulting resource.
58
- * @param id The _unique_ provider ID of the resource to lookup.
59
- * @param state Any extra arguments used during the lookup.
60
- * @param opts Optional settings to control the behavior of the CustomResource.
61
- */
62
- static get(name, id, state, opts) {
63
- return new ChildOrganization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
64
- }
65
- /**
66
- * Returns true if the given object is an instance of ChildOrganization. This is designed to work even
67
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
- */
69
- static isInstance(obj) {
70
- if (obj === undefined || obj === null) {
71
- return false;
72
- }
73
- return obj['__pulumiType'] === ChildOrganization.__pulumiType;
74
- }
75
73
  }
76
74
  exports.ChildOrganization = ChildOrganization;
77
75
  /** @internal */