From b351d283e8cbddeaea166e857c1ac22660d5ed3b Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:47:30 -0800 Subject: [PATCH] Upgrade pulumi-terraform-bridge to v3.97.0 (#718) This PR was generated via `$ upgrade-provider pulumi/pulumi-datadog --kind=bridge --pr-reviewers=iwahbe`. --- - Upgrading pulumi-terraform-bridge from v3.96.0 to v3.97.0. --- examples/go.mod | 4 +- examples/go.sum | 8 +-- .../cmd/pulumi-resource-datadog/schema.json | 64 +++++++++---------- provider/go.mod | 10 +-- provider/go.sum | 20 +++--- sdk/go.mod | 2 +- sdk/go.sum | 4 +- sdk/nodejs/aws/getIntegrationLogsServices.ts | 2 +- .../aws/getIntegrationNamespaceRules.ts | 2 +- sdk/nodejs/getApiKey.ts | 2 +- sdk/nodejs/getApmRetentionFiltersOrder.ts | 2 +- sdk/nodejs/getApplicationKey.ts | 2 +- .../getCloudWorkloadSecurityAgentRules.ts | 2 +- sdk/nodejs/getCsmThreatsAgentRules.ts | 2 +- sdk/nodejs/getDashboard.ts | 2 +- sdk/nodejs/getDashboardList.ts | 2 +- sdk/nodejs/getHosts.ts | 2 +- sdk/nodejs/getIpRanges.ts | 2 +- sdk/nodejs/getLogsArchivesOrder.ts | 2 +- sdk/nodejs/getLogsIndexes.ts | 2 +- sdk/nodejs/getLogsIndexesOrder.ts | 2 +- sdk/nodejs/getLogsPipelines.ts | 2 +- sdk/nodejs/getMonitor.ts | 2 +- sdk/nodejs/getMonitorConfigPolicies.ts | 2 +- sdk/nodejs/getMonitors.ts | 2 +- sdk/nodejs/getPermissions.ts | 2 +- sdk/nodejs/getPowerpack.ts | 2 +- sdk/nodejs/getRole.ts | 2 +- sdk/nodejs/getRoleUsers.ts | 2 +- sdk/nodejs/getRoles.ts | 2 +- sdk/nodejs/getRumApplication.ts | 2 +- sdk/nodejs/getSecurityMonitoringFilters.ts | 2 +- sdk/nodejs/getSecurityMonitoringRules.ts | 2 +- .../getSecurityMonitoringSuppressions.ts | 2 +- .../getSensitiveDataScannerGroupOrder.ts | 2 +- .../getSensitiveDataScannerStandardPattern.ts | 2 +- sdk/nodejs/getServiceAccount.ts | 2 +- sdk/nodejs/getServiceLevelObjective.ts | 2 +- sdk/nodejs/getServiceLevelObjectives.ts | 2 +- sdk/nodejs/getSyntheticsGlobalVariable.ts | 2 +- sdk/nodejs/getSyntheticsLocations.ts | 2 +- sdk/nodejs/getSyntheticsTest.ts | 2 +- sdk/nodejs/getTeam.ts | 2 +- sdk/nodejs/getTeamMemberships.ts | 2 +- sdk/nodejs/getUser.ts | 2 +- sdk/nodejs/getUsers.ts | 2 +- .../aws/get_integration_logs_services.py | 4 +- .../aws/get_integration_namespace_rules.py | 4 +- sdk/python/pulumi_datadog/get_api_key.py | 4 +- .../get_apm_retention_filters_order.py | 4 +- .../pulumi_datadog/get_application_key.py | 4 +- ...get_cloud_workload_security_agent_rules.py | 4 +- .../get_csm_threats_agent_rules.py | 4 +- sdk/python/pulumi_datadog/get_dashboard.py | 4 +- .../pulumi_datadog/get_dashboard_list.py | 4 +- sdk/python/pulumi_datadog/get_hosts.py | 4 +- sdk/python/pulumi_datadog/get_ip_ranges.py | 4 +- .../pulumi_datadog/get_logs_archives_order.py | 4 +- sdk/python/pulumi_datadog/get_logs_indexes.py | 4 +- .../pulumi_datadog/get_logs_indexes_order.py | 4 +- .../pulumi_datadog/get_logs_pipelines.py | 4 +- sdk/python/pulumi_datadog/get_monitor.py | 4 +- .../get_monitor_config_policies.py | 4 +- sdk/python/pulumi_datadog/get_monitors.py | 4 +- sdk/python/pulumi_datadog/get_permissions.py | 4 +- sdk/python/pulumi_datadog/get_powerpack.py | 4 +- sdk/python/pulumi_datadog/get_role.py | 4 +- sdk/python/pulumi_datadog/get_role_users.py | 4 +- sdk/python/pulumi_datadog/get_roles.py | 4 +- .../pulumi_datadog/get_rum_application.py | 4 +- .../get_security_monitoring_filters.py | 4 +- .../get_security_monitoring_rules.py | 4 +- .../get_security_monitoring_suppressions.py | 4 +- .../get_sensitive_data_scanner_group_order.py | 4 +- ...sensitive_data_scanner_standard_pattern.py | 4 +- .../pulumi_datadog/get_service_account.py | 4 +- .../get_service_level_objective.py | 4 +- .../get_service_level_objectives.py | 4 +- .../get_synthetics_global_variable.py | 4 +- .../get_synthetics_locations.py | 4 +- .../pulumi_datadog/get_synthetics_test.py | 4 +- sdk/python/pulumi_datadog/get_team.py | 4 +- .../pulumi_datadog/get_team_memberships.py | 4 +- sdk/python/pulumi_datadog/get_user.py | 4 +- sdk/python/pulumi_datadog/get_users.py | 4 +- 85 files changed, 173 insertions(+), 173 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 223542c6d..afc85208b 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-datadog/examples/v4 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.140.0 +require github.com/pulumi/pulumi/pkg/v3 v3.142.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -123,7 +123,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.10.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.140.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.142.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index e2374cde4..304740d73 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -339,10 +339,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= -github.com/pulumi/pulumi/pkg/v3 v3.140.0 h1:/bvHa19HY/6qHWvuAOVII8qr72MDGGczBWlPYlPo3j0= -github.com/pulumi/pulumi/pkg/v3 v3.140.0/go.mod h1:rcTtSyisd7BzZTugNk/s9zlYgX9S0S10+pha3Tko6yM= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi/pkg/v3 v3.142.0 h1:UE8TFyXrlxvPrATpd3Kl3En34KrFIFWOxxNAodywPNU= +github.com/pulumi/pulumi/pkg/v3 v3.142.0/go.mod h1:3k6WwRIT7veiDnk3Yo2NtqEYX+4dgLCrMIFvEOnjQqI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/provider/cmd/pulumi-resource-datadog/schema.json b/provider/cmd/pulumi-resource-datadog/schema.json index cdcadeaf2..e13a1a9f3 100644 --- a/provider/cmd/pulumi-resource-datadog/schema.json +++ b/provider/cmd/pulumi-resource-datadog/schema.json @@ -33693,7 +33693,7 @@ } }, "datadog:index/authnMapping:AuthnMapping": { - "description": "Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Source the role\nconst roRole = datadog.getRole({\n filter: \"Datadog Read Only Role\",\n});\n// Create a new AuthN mapping\nconst devRoRoleMapping = new datadog.AuthnMapping(\"dev_ro_role_mapping\", {\n key: \"Member-of\",\n value: \"Development\",\n role: roRole.then(roRole =\u003e roRole.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Source the role\nro_role = datadog.get_role(filter=\"Datadog Read Only Role\")\n# Create a new AuthN mapping\ndev_ro_role_mapping = datadog.AuthnMapping(\"dev_ro_role_mapping\",\n key=\"Member-of\",\n value=\"Development\",\n role=ro_role.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Source the role\n var roRole = Datadog.GetRole.Invoke(new()\n {\n Filter = \"Datadog Read Only Role\",\n });\n\n // Create a new AuthN mapping\n var devRoRoleMapping = new Datadog.AuthnMapping(\"dev_ro_role_mapping\", new()\n {\n Key = \"Member-of\",\n Value = \"Development\",\n Role = roRole.Apply(getRoleResult =\u003e getRoleResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Source the role\n\t\troRole, err := datadog.LookupRole(ctx, \u0026datadog.LookupRoleArgs{\n\t\t\tFilter: \"Datadog Read Only Role\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new AuthN mapping\n\t\t_, err = datadog.NewAuthnMapping(ctx, \"dev_ro_role_mapping\", \u0026datadog.AuthnMappingArgs{\n\t\t\tKey: pulumi.String(\"Member-of\"),\n\t\t\tValue: pulumi.String(\"Development\"),\n\t\t\tRole: pulumi.String(roRole.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRoleArgs;\nimport com.pulumi.datadog.AuthnMapping;\nimport com.pulumi.datadog.AuthnMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Source the role\n final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\n // Create a new AuthN mapping\n var devRoRoleMapping = new AuthnMapping(\"devRoRoleMapping\", AuthnMappingArgs.builder()\n .key(\"Member-of\")\n .value(\"Development\")\n .role(roRole.applyValue(getRoleResult -\u003e getRoleResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new AuthN mapping\n devRoRoleMapping:\n type: datadog:AuthnMapping\n name: dev_ro_role_mapping\n properties:\n key: Member-of\n value: Development\n role: ${roRole.id}\nvariables:\n # Source the role\n roRole:\n fn::invoke:\n Function: datadog:getRole\n Arguments:\n filter: Datadog Read Only Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAuthN mappings can be imported using their ID, e.g.\n\n```sh\n$ pulumi import datadog:index/authnMapping:AuthnMapping dev_ro_mapping 000000-0000-0000-0000-000000000000\n```\n\n", + "description": "Provides a Datadog AuthN Mappings resource. This feature lets you automatically assign roles to users based on their SAML attributes.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Source the role\nconst roRole = datadog.getRole({\n filter: \"Datadog Read Only Role\",\n});\n// Create a new AuthN mapping\nconst devRoRoleMapping = new datadog.AuthnMapping(\"dev_ro_role_mapping\", {\n key: \"Member-of\",\n value: \"Development\",\n role: roRole.then(roRole =\u003e roRole.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Source the role\nro_role = datadog.get_role(filter=\"Datadog Read Only Role\")\n# Create a new AuthN mapping\ndev_ro_role_mapping = datadog.AuthnMapping(\"dev_ro_role_mapping\",\n key=\"Member-of\",\n value=\"Development\",\n role=ro_role.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Source the role\n var roRole = Datadog.GetRole.Invoke(new()\n {\n Filter = \"Datadog Read Only Role\",\n });\n\n // Create a new AuthN mapping\n var devRoRoleMapping = new Datadog.AuthnMapping(\"dev_ro_role_mapping\", new()\n {\n Key = \"Member-of\",\n Value = \"Development\",\n Role = roRole.Apply(getRoleResult =\u003e getRoleResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Source the role\n\t\troRole, err := datadog.LookupRole(ctx, \u0026datadog.LookupRoleArgs{\n\t\t\tFilter: \"Datadog Read Only Role\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new AuthN mapping\n\t\t_, err = datadog.NewAuthnMapping(ctx, \"dev_ro_role_mapping\", \u0026datadog.AuthnMappingArgs{\n\t\t\tKey: pulumi.String(\"Member-of\"),\n\t\t\tValue: pulumi.String(\"Development\"),\n\t\t\tRole: pulumi.String(roRole.Id),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRoleArgs;\nimport com.pulumi.datadog.AuthnMapping;\nimport com.pulumi.datadog.AuthnMappingArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Source the role\n final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\n // Create a new AuthN mapping\n var devRoRoleMapping = new AuthnMapping(\"devRoRoleMapping\", AuthnMappingArgs.builder()\n .key(\"Member-of\")\n .value(\"Development\")\n .role(roRole.applyValue(getRoleResult -\u003e getRoleResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new AuthN mapping\n devRoRoleMapping:\n type: datadog:AuthnMapping\n name: dev_ro_role_mapping\n properties:\n key: Member-of\n value: Development\n role: ${roRole.id}\nvariables:\n # Source the role\n roRole:\n fn::invoke:\n function: datadog:getRole\n arguments:\n filter: Datadog Read Only Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nAuthN mappings can be imported using their ID, e.g.\n\n```sh\n$ pulumi import datadog:index/authnMapping:AuthnMapping dev_ro_mapping 000000-0000-0000-0000-000000000000\n```\n\n", "properties": { "key": { "type": "string", @@ -34557,7 +34557,7 @@ } }, "datadog:index/dashboardList:DashboardList": { - "description": "Provides a Datadog dashboard_list resource. This can be used to create and manage Datadog Dashboard Lists and the individual dashboards within them.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst time = new datadog.Dashboard(\"time\", {\n title: \"TF Test Layout Dashboard\",\n description: \"Created using the Datadog provider in Pulumi\",\n layoutType: \"ordered\",\n isReadOnly: true,\n widgets: [{\n alertGraphDefinition: {\n alertId: \"1234\",\n vizType: \"timeseries\",\n title: \"Widget Title\",\n liveSpan: \"1h\",\n },\n }],\n});\nconst screen = new datadog.Dashboard(\"screen\", {\n title: \"TF Test Free Layout Dashboard\",\n description: \"Created using the Datadog provider in Pulumi\",\n layoutType: \"free\",\n isReadOnly: false,\n widgets: [{\n eventStreamDefinition: {\n query: \"*\",\n eventSize: \"l\",\n title: \"Widget Title\",\n titleSize: \"16\",\n titleAlign: \"left\",\n liveSpan: \"1h\",\n },\n widgetLayout: {\n height: 43,\n width: 32,\n x: 5,\n y: 5,\n },\n }],\n});\n// Create a new Dashboard List with two Dashboards\nconst newList = new datadog.DashboardList(\"new_list\", {\n name: \"Automated Created List\",\n dashItems: [\n {\n type: \"custom_timeboard\",\n dashId: time.id,\n },\n {\n type: \"custom_screenboard\",\n dashId: screen.id,\n },\n ],\n}, {\n dependsOn: [\n screen,\n time,\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntime = datadog.Dashboard(\"time\",\n title=\"TF Test Layout Dashboard\",\n description=\"Created using the Datadog provider in Pulumi\",\n layout_type=\"ordered\",\n is_read_only=True,\n widgets=[{\n \"alert_graph_definition\": {\n \"alert_id\": \"1234\",\n \"viz_type\": \"timeseries\",\n \"title\": \"Widget Title\",\n \"live_span\": \"1h\",\n },\n }])\nscreen = datadog.Dashboard(\"screen\",\n title=\"TF Test Free Layout Dashboard\",\n description=\"Created using the Datadog provider in Pulumi\",\n layout_type=\"free\",\n is_read_only=False,\n widgets=[{\n \"event_stream_definition\": {\n \"query\": \"*\",\n \"event_size\": \"l\",\n \"title\": \"Widget Title\",\n \"title_size\": \"16\",\n \"title_align\": \"left\",\n \"live_span\": \"1h\",\n },\n \"widget_layout\": {\n \"height\": 43,\n \"width\": 32,\n \"x\": 5,\n \"y\": 5,\n },\n }])\n# Create a new Dashboard List with two Dashboards\nnew_list = datadog.DashboardList(\"new_list\",\n name=\"Automated Created List\",\n dash_items=[\n {\n \"type\": \"custom_timeboard\",\n \"dash_id\": time.id,\n },\n {\n \"type\": \"custom_screenboard\",\n \"dash_id\": screen.id,\n },\n ],\n opts = pulumi.ResourceOptions(depends_on=[\n screen,\n time,\n ]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var time = new Datadog.Dashboard(\"time\", new()\n {\n Title = \"TF Test Layout Dashboard\",\n Description = \"Created using the Datadog provider in Pulumi\",\n LayoutType = \"ordered\",\n IsReadOnly = true,\n Widgets = new[]\n {\n new Datadog.Inputs.DashboardWidgetArgs\n {\n AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs\n {\n AlertId = \"1234\",\n VizType = \"timeseries\",\n Title = \"Widget Title\",\n LiveSpan = \"1h\",\n },\n },\n },\n });\n\n var screen = new Datadog.Dashboard(\"screen\", new()\n {\n Title = \"TF Test Free Layout Dashboard\",\n Description = \"Created using the Datadog provider in Pulumi\",\n LayoutType = \"free\",\n IsReadOnly = false,\n Widgets = new[]\n {\n new Datadog.Inputs.DashboardWidgetArgs\n {\n EventStreamDefinition = new Datadog.Inputs.DashboardWidgetEventStreamDefinitionArgs\n {\n Query = \"*\",\n EventSize = \"l\",\n Title = \"Widget Title\",\n TitleSize = \"16\",\n TitleAlign = \"left\",\n LiveSpan = \"1h\",\n },\n WidgetLayout = new Datadog.Inputs.DashboardWidgetWidgetLayoutArgs\n {\n Height = 43,\n Width = 32,\n X = 5,\n Y = 5,\n },\n },\n },\n });\n\n // Create a new Dashboard List with two Dashboards\n var newList = new Datadog.DashboardList(\"new_list\", new()\n {\n Name = \"Automated Created List\",\n DashItems = new[]\n {\n new Datadog.Inputs.DashboardListDashItemArgs\n {\n Type = \"custom_timeboard\",\n DashId = time.Id,\n },\n new Datadog.Inputs.DashboardListDashItemArgs\n {\n Type = \"custom_screenboard\",\n DashId = screen.Id,\n },\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n screen,\n time,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttime, err := datadog.NewDashboard(ctx, \"time\", \u0026datadog.DashboardArgs{\n\t\t\tTitle: pulumi.String(\"TF Test Layout Dashboard\"),\n\t\t\tDescription: pulumi.String(\"Created using the Datadog provider in Pulumi\"),\n\t\t\tLayoutType: pulumi.String(\"ordered\"),\n\t\t\tIsReadOnly: pulumi.Bool(true),\n\t\t\tWidgets: datadog.DashboardWidgetArray{\n\t\t\t\t\u0026datadog.DashboardWidgetArgs{\n\t\t\t\t\tAlertGraphDefinition: \u0026datadog.DashboardWidgetAlertGraphDefinitionArgs{\n\t\t\t\t\t\tAlertId: pulumi.String(\"1234\"),\n\t\t\t\t\t\tVizType: pulumi.String(\"timeseries\"),\n\t\t\t\t\t\tTitle: pulumi.String(\"Widget Title\"),\n\t\t\t\t\t\tLiveSpan: pulumi.String(\"1h\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tscreen, err := datadog.NewDashboard(ctx, \"screen\", \u0026datadog.DashboardArgs{\n\t\t\tTitle: pulumi.String(\"TF Test Free Layout Dashboard\"),\n\t\t\tDescription: pulumi.String(\"Created using the Datadog provider in Pulumi\"),\n\t\t\tLayoutType: pulumi.String(\"free\"),\n\t\t\tIsReadOnly: pulumi.Bool(false),\n\t\t\tWidgets: datadog.DashboardWidgetArray{\n\t\t\t\t\u0026datadog.DashboardWidgetArgs{\n\t\t\t\t\tEventStreamDefinition: \u0026datadog.DashboardWidgetEventStreamDefinitionArgs{\n\t\t\t\t\t\tQuery: pulumi.String(\"*\"),\n\t\t\t\t\t\tEventSize: pulumi.String(\"l\"),\n\t\t\t\t\t\tTitle: pulumi.String(\"Widget Title\"),\n\t\t\t\t\t\tTitleSize: pulumi.String(\"16\"),\n\t\t\t\t\t\tTitleAlign: pulumi.String(\"left\"),\n\t\t\t\t\t\tLiveSpan: pulumi.String(\"1h\"),\n\t\t\t\t\t},\n\t\t\t\t\tWidgetLayout: \u0026datadog.DashboardWidgetWidgetLayoutArgs{\n\t\t\t\t\t\tHeight: pulumi.Int(43),\n\t\t\t\t\t\tWidth: pulumi.Int(32),\n\t\t\t\t\t\tX: pulumi.Int(5),\n\t\t\t\t\t\tY: pulumi.Int(5),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Dashboard List with two Dashboards\n\t\t_, err = datadog.NewDashboardList(ctx, \"new_list\", \u0026datadog.DashboardListArgs{\n\t\t\tName: pulumi.String(\"Automated Created List\"),\n\t\t\tDashItems: datadog.DashboardListDashItemArray{\n\t\t\t\t\u0026datadog.DashboardListDashItemArgs{\n\t\t\t\t\tType: pulumi.String(\"custom_timeboard\"),\n\t\t\t\t\tDashId: time.ID(),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.DashboardListDashItemArgs{\n\t\t\t\t\tType: pulumi.String(\"custom_screenboard\"),\n\t\t\t\t\tDashId: screen.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tscreen,\n\t\t\ttime,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.Dashboard;\nimport com.pulumi.datadog.DashboardArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetAlertGraphDefinitionArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetEventStreamDefinitionArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetWidgetLayoutArgs;\nimport com.pulumi.datadog.DashboardList;\nimport com.pulumi.datadog.DashboardListArgs;\nimport com.pulumi.datadog.inputs.DashboardListDashItemArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var time = new Dashboard(\"time\", DashboardArgs.builder()\n .title(\"TF Test Layout Dashboard\")\n .description(\"Created using the Datadog provider in Pulumi\")\n .layoutType(\"ordered\")\n .isReadOnly(true)\n .widgets(DashboardWidgetArgs.builder()\n .alertGraphDefinition(DashboardWidgetAlertGraphDefinitionArgs.builder()\n .alertId(\"1234\")\n .vizType(\"timeseries\")\n .title(\"Widget Title\")\n .liveSpan(\"1h\")\n .build())\n .build())\n .build());\n\n var screen = new Dashboard(\"screen\", DashboardArgs.builder()\n .title(\"TF Test Free Layout Dashboard\")\n .description(\"Created using the Datadog provider in Pulumi\")\n .layoutType(\"free\")\n .isReadOnly(false)\n .widgets(DashboardWidgetArgs.builder()\n .eventStreamDefinition(DashboardWidgetEventStreamDefinitionArgs.builder()\n .query(\"*\")\n .eventSize(\"l\")\n .title(\"Widget Title\")\n .titleSize(16)\n .titleAlign(\"left\")\n .liveSpan(\"1h\")\n .build())\n .widgetLayout(DashboardWidgetWidgetLayoutArgs.builder()\n .height(43)\n .width(32)\n .x(5)\n .y(5)\n .build())\n .build())\n .build());\n\n // Create a new Dashboard List with two Dashboards\n var newList = new DashboardList(\"newList\", DashboardListArgs.builder()\n .name(\"Automated Created List\")\n .dashItems( \n DashboardListDashItemArgs.builder()\n .type(\"custom_timeboard\")\n .dashId(time.id())\n .build(),\n DashboardListDashItemArgs.builder()\n .type(\"custom_screenboard\")\n .dashId(screen.id())\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn( \n screen,\n time)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Dashboard List with two Dashboards\n newList:\n type: datadog:DashboardList\n name: new_list\n properties:\n name: Automated Created List\n dashItems:\n - type: custom_timeboard\n dashId: ${time.id}\n - type: custom_screenboard\n dashId: ${screen.id}\n options:\n dependson:\n - ${screen}\n - ${time}\n time:\n type: datadog:Dashboard\n properties:\n title: TF Test Layout Dashboard\n description: Created using the Datadog provider in Pulumi\n layoutType: ordered\n isReadOnly: true\n widgets:\n - alertGraphDefinition:\n alertId: '1234'\n vizType: timeseries\n title: Widget Title\n liveSpan: 1h\n screen:\n type: datadog:Dashboard\n properties:\n title: TF Test Free Layout Dashboard\n description: Created using the Datadog provider in Pulumi\n layoutType: free\n isReadOnly: false\n widgets:\n - eventStreamDefinition:\n query: '*'\n eventSize: l\n title: Widget Title\n titleSize: 16\n titleAlign: left\n liveSpan: 1h\n widgetLayout:\n height: 43\n width: 32\n x: 5\n y: 5\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/dashboardList:DashboardList new_list 123456\n```\n\n", + "description": "Provides a Datadog dashboard_list resource. This can be used to create and manage Datadog Dashboard Lists and the individual dashboards within them.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst time = new datadog.Dashboard(\"time\", {\n title: \"TF Test Layout Dashboard\",\n description: \"Created using the Datadog provider in Pulumi\",\n layoutType: \"ordered\",\n isReadOnly: true,\n widgets: [{\n alertGraphDefinition: {\n alertId: \"1234\",\n vizType: \"timeseries\",\n title: \"Widget Title\",\n liveSpan: \"1h\",\n },\n }],\n});\nconst screen = new datadog.Dashboard(\"screen\", {\n title: \"TF Test Free Layout Dashboard\",\n description: \"Created using the Datadog provider in Pulumi\",\n layoutType: \"free\",\n isReadOnly: false,\n widgets: [{\n eventStreamDefinition: {\n query: \"*\",\n eventSize: \"l\",\n title: \"Widget Title\",\n titleSize: \"16\",\n titleAlign: \"left\",\n liveSpan: \"1h\",\n },\n widgetLayout: {\n height: 43,\n width: 32,\n x: 5,\n y: 5,\n },\n }],\n});\n// Create a new Dashboard List with two Dashboards\nconst newList = new datadog.DashboardList(\"new_list\", {\n name: \"Automated Created List\",\n dashItems: [\n {\n type: \"custom_timeboard\",\n dashId: time.id,\n },\n {\n type: \"custom_screenboard\",\n dashId: screen.id,\n },\n ],\n}, {\n dependsOn: [\n screen,\n time,\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntime = datadog.Dashboard(\"time\",\n title=\"TF Test Layout Dashboard\",\n description=\"Created using the Datadog provider in Pulumi\",\n layout_type=\"ordered\",\n is_read_only=True,\n widgets=[{\n \"alert_graph_definition\": {\n \"alert_id\": \"1234\",\n \"viz_type\": \"timeseries\",\n \"title\": \"Widget Title\",\n \"live_span\": \"1h\",\n },\n }])\nscreen = datadog.Dashboard(\"screen\",\n title=\"TF Test Free Layout Dashboard\",\n description=\"Created using the Datadog provider in Pulumi\",\n layout_type=\"free\",\n is_read_only=False,\n widgets=[{\n \"event_stream_definition\": {\n \"query\": \"*\",\n \"event_size\": \"l\",\n \"title\": \"Widget Title\",\n \"title_size\": \"16\",\n \"title_align\": \"left\",\n \"live_span\": \"1h\",\n },\n \"widget_layout\": {\n \"height\": 43,\n \"width\": 32,\n \"x\": 5,\n \"y\": 5,\n },\n }])\n# Create a new Dashboard List with two Dashboards\nnew_list = datadog.DashboardList(\"new_list\",\n name=\"Automated Created List\",\n dash_items=[\n {\n \"type\": \"custom_timeboard\",\n \"dash_id\": time.id,\n },\n {\n \"type\": \"custom_screenboard\",\n \"dash_id\": screen.id,\n },\n ],\n opts = pulumi.ResourceOptions(depends_on=[\n screen,\n time,\n ]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var time = new Datadog.Dashboard(\"time\", new()\n {\n Title = \"TF Test Layout Dashboard\",\n Description = \"Created using the Datadog provider in Pulumi\",\n LayoutType = \"ordered\",\n IsReadOnly = true,\n Widgets = new[]\n {\n new Datadog.Inputs.DashboardWidgetArgs\n {\n AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs\n {\n AlertId = \"1234\",\n VizType = \"timeseries\",\n Title = \"Widget Title\",\n LiveSpan = \"1h\",\n },\n },\n },\n });\n\n var screen = new Datadog.Dashboard(\"screen\", new()\n {\n Title = \"TF Test Free Layout Dashboard\",\n Description = \"Created using the Datadog provider in Pulumi\",\n LayoutType = \"free\",\n IsReadOnly = false,\n Widgets = new[]\n {\n new Datadog.Inputs.DashboardWidgetArgs\n {\n EventStreamDefinition = new Datadog.Inputs.DashboardWidgetEventStreamDefinitionArgs\n {\n Query = \"*\",\n EventSize = \"l\",\n Title = \"Widget Title\",\n TitleSize = \"16\",\n TitleAlign = \"left\",\n LiveSpan = \"1h\",\n },\n WidgetLayout = new Datadog.Inputs.DashboardWidgetWidgetLayoutArgs\n {\n Height = 43,\n Width = 32,\n X = 5,\n Y = 5,\n },\n },\n },\n });\n\n // Create a new Dashboard List with two Dashboards\n var newList = new Datadog.DashboardList(\"new_list\", new()\n {\n Name = \"Automated Created List\",\n DashItems = new[]\n {\n new Datadog.Inputs.DashboardListDashItemArgs\n {\n Type = \"custom_timeboard\",\n DashId = time.Id,\n },\n new Datadog.Inputs.DashboardListDashItemArgs\n {\n Type = \"custom_screenboard\",\n DashId = screen.Id,\n },\n },\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n screen,\n time,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttime, err := datadog.NewDashboard(ctx, \"time\", \u0026datadog.DashboardArgs{\n\t\t\tTitle: pulumi.String(\"TF Test Layout Dashboard\"),\n\t\t\tDescription: pulumi.String(\"Created using the Datadog provider in Pulumi\"),\n\t\t\tLayoutType: pulumi.String(\"ordered\"),\n\t\t\tIsReadOnly: pulumi.Bool(true),\n\t\t\tWidgets: datadog.DashboardWidgetArray{\n\t\t\t\t\u0026datadog.DashboardWidgetArgs{\n\t\t\t\t\tAlertGraphDefinition: \u0026datadog.DashboardWidgetAlertGraphDefinitionArgs{\n\t\t\t\t\t\tAlertId: pulumi.String(\"1234\"),\n\t\t\t\t\t\tVizType: pulumi.String(\"timeseries\"),\n\t\t\t\t\t\tTitle: pulumi.String(\"Widget Title\"),\n\t\t\t\t\t\tLiveSpan: pulumi.String(\"1h\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tscreen, err := datadog.NewDashboard(ctx, \"screen\", \u0026datadog.DashboardArgs{\n\t\t\tTitle: pulumi.String(\"TF Test Free Layout Dashboard\"),\n\t\t\tDescription: pulumi.String(\"Created using the Datadog provider in Pulumi\"),\n\t\t\tLayoutType: pulumi.String(\"free\"),\n\t\t\tIsReadOnly: pulumi.Bool(false),\n\t\t\tWidgets: datadog.DashboardWidgetArray{\n\t\t\t\t\u0026datadog.DashboardWidgetArgs{\n\t\t\t\t\tEventStreamDefinition: \u0026datadog.DashboardWidgetEventStreamDefinitionArgs{\n\t\t\t\t\t\tQuery: pulumi.String(\"*\"),\n\t\t\t\t\t\tEventSize: pulumi.String(\"l\"),\n\t\t\t\t\t\tTitle: pulumi.String(\"Widget Title\"),\n\t\t\t\t\t\tTitleSize: pulumi.String(\"16\"),\n\t\t\t\t\t\tTitleAlign: pulumi.String(\"left\"),\n\t\t\t\t\t\tLiveSpan: pulumi.String(\"1h\"),\n\t\t\t\t\t},\n\t\t\t\t\tWidgetLayout: \u0026datadog.DashboardWidgetWidgetLayoutArgs{\n\t\t\t\t\t\tHeight: pulumi.Int(43),\n\t\t\t\t\t\tWidth: pulumi.Int(32),\n\t\t\t\t\t\tX: pulumi.Int(5),\n\t\t\t\t\t\tY: pulumi.Int(5),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Dashboard List with two Dashboards\n\t\t_, err = datadog.NewDashboardList(ctx, \"new_list\", \u0026datadog.DashboardListArgs{\n\t\t\tName: pulumi.String(\"Automated Created List\"),\n\t\t\tDashItems: datadog.DashboardListDashItemArray{\n\t\t\t\t\u0026datadog.DashboardListDashItemArgs{\n\t\t\t\t\tType: pulumi.String(\"custom_timeboard\"),\n\t\t\t\t\tDashId: time.ID(),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.DashboardListDashItemArgs{\n\t\t\t\t\tType: pulumi.String(\"custom_screenboard\"),\n\t\t\t\t\tDashId: screen.ID(),\n\t\t\t\t},\n\t\t\t},\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tscreen,\n\t\t\ttime,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.Dashboard;\nimport com.pulumi.datadog.DashboardArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetAlertGraphDefinitionArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetEventStreamDefinitionArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetWidgetLayoutArgs;\nimport com.pulumi.datadog.DashboardList;\nimport com.pulumi.datadog.DashboardListArgs;\nimport com.pulumi.datadog.inputs.DashboardListDashItemArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var time = new Dashboard(\"time\", DashboardArgs.builder()\n .title(\"TF Test Layout Dashboard\")\n .description(\"Created using the Datadog provider in Pulumi\")\n .layoutType(\"ordered\")\n .isReadOnly(true)\n .widgets(DashboardWidgetArgs.builder()\n .alertGraphDefinition(DashboardWidgetAlertGraphDefinitionArgs.builder()\n .alertId(\"1234\")\n .vizType(\"timeseries\")\n .title(\"Widget Title\")\n .liveSpan(\"1h\")\n .build())\n .build())\n .build());\n\n var screen = new Dashboard(\"screen\", DashboardArgs.builder()\n .title(\"TF Test Free Layout Dashboard\")\n .description(\"Created using the Datadog provider in Pulumi\")\n .layoutType(\"free\")\n .isReadOnly(false)\n .widgets(DashboardWidgetArgs.builder()\n .eventStreamDefinition(DashboardWidgetEventStreamDefinitionArgs.builder()\n .query(\"*\")\n .eventSize(\"l\")\n .title(\"Widget Title\")\n .titleSize(16)\n .titleAlign(\"left\")\n .liveSpan(\"1h\")\n .build())\n .widgetLayout(DashboardWidgetWidgetLayoutArgs.builder()\n .height(43)\n .width(32)\n .x(5)\n .y(5)\n .build())\n .build())\n .build());\n\n // Create a new Dashboard List with two Dashboards\n var newList = new DashboardList(\"newList\", DashboardListArgs.builder()\n .name(\"Automated Created List\")\n .dashItems( \n DashboardListDashItemArgs.builder()\n .type(\"custom_timeboard\")\n .dashId(time.id())\n .build(),\n DashboardListDashItemArgs.builder()\n .type(\"custom_screenboard\")\n .dashId(screen.id())\n .build())\n .build(), CustomResourceOptions.builder()\n .dependsOn( \n screen,\n time)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Dashboard List with two Dashboards\n newList:\n type: datadog:DashboardList\n name: new_list\n properties:\n name: Automated Created List\n dashItems:\n - type: custom_timeboard\n dashId: ${time.id}\n - type: custom_screenboard\n dashId: ${screen.id}\n options:\n dependsOn:\n - ${screen}\n - ${time}\n time:\n type: datadog:Dashboard\n properties:\n title: TF Test Layout Dashboard\n description: Created using the Datadog provider in Pulumi\n layoutType: ordered\n isReadOnly: true\n widgets:\n - alertGraphDefinition:\n alertId: '1234'\n vizType: timeseries\n title: Widget Title\n liveSpan: 1h\n screen:\n type: datadog:Dashboard\n properties:\n title: TF Test Free Layout Dashboard\n description: Created using the Datadog provider in Pulumi\n layoutType: free\n isReadOnly: false\n widgets:\n - eventStreamDefinition:\n query: '*'\n eventSize: l\n title: Widget Title\n titleSize: 16\n titleAlign: left\n liveSpan: 1h\n widgetLayout:\n height: 43\n width: 32\n x: 5\n y: 5\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/dashboardList:DashboardList new_list 123456\n```\n\n", "properties": { "dashItems": { "type": "array", @@ -35355,7 +35355,7 @@ } }, "datadog:index/logsCustomPipeline:LogsCustomPipeline": { - "description": "Provides a Datadog [Logs Pipeline API](https://docs.datadoghq.com/api/v1/logs-pipelines/) resource, which is used to create and manage Datadog logs custom pipelines. Each `datadog.LogsCustomPipeline` resource defines a complete pipeline. The order of the pipelines is maintained in a different resource: `datadog.LogsPipelineOrder`. When creating a new pipeline, you need to **explicitly** add this pipeline to the `datadog.LogsPipelineOrder` resource to track the pipeline. Similarly, when a pipeline needs to be destroyed, remove its references from the `datadog.LogsPipelineOrder` resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst samplePipeline = new datadog.LogsCustomPipeline(\"sample_pipeline\", {\n filters: [{\n query: \"source:foo\",\n }],\n name: \"sample pipeline\",\n isEnabled: true,\n processors: [\n {\n arithmeticProcessor: {\n expression: \"(time1 - time2)*1000\",\n target: \"my_arithmetic\",\n isReplaceMissing: true,\n name: \"sample arithmetic processor\",\n isEnabled: true,\n },\n },\n {\n attributeRemapper: {\n sources: [\"db.instance\"],\n sourceType: \"tag\",\n target: \"db\",\n targetType: \"attribute\",\n targetFormat: \"string\",\n preserveSource: true,\n overrideOnConflict: false,\n name: \"sample attribute processor\",\n isEnabled: true,\n },\n },\n {\n categoryProcessor: {\n target: \"foo.severity\",\n categories: [\n {\n name: \"debug\",\n filter: {\n query: \"@severity: \\\".\\\"\",\n },\n },\n {\n name: \"verbose\",\n filter: {\n query: \"@severity: \\\"-\\\"\",\n },\n },\n ],\n name: \"sample category processor\",\n isEnabled: true,\n },\n },\n {\n dateRemapper: {\n sources: [\n \"_timestamp\",\n \"published_date\",\n ],\n name: \"sample date remapper\",\n isEnabled: true,\n },\n },\n {\n geoIpParser: {\n sources: [\"network.client.ip\"],\n target: \"network.client.geoip\",\n name: \"sample geo ip parser\",\n isEnabled: true,\n },\n },\n {\n grokParser: {\n samples: [\"sample log 1\"],\n source: \"message\",\n grok: {\n supportRules: \"\",\n matchRules: \"Rule %{word:my_word2} %{number:my_float2}\",\n },\n name: \"sample grok parser\",\n isEnabled: true,\n },\n },\n {\n lookupProcessor: {\n source: \"service_id\",\n target: \"service_name\",\n lookupTables: [\"1,my service\"],\n defaultLookup: \"unknown service\",\n name: \"sample lookup processor\",\n isEnabled: true,\n },\n },\n {\n messageRemapper: {\n sources: [\"msg\"],\n name: \"sample message remapper\",\n isEnabled: true,\n },\n },\n {\n pipeline: {\n filters: [{\n query: \"source:foo\",\n }],\n processors: [{\n urlParser: {\n name: \"sample url parser\",\n sources: [\n \"url\",\n \"extra\",\n ],\n target: \"http_url\",\n normalizeEndingSlashes: true,\n },\n }],\n name: \"nested pipeline\",\n isEnabled: true,\n },\n },\n {\n serviceRemapper: {\n sources: [\"service\"],\n name: \"sample service remapper\",\n isEnabled: true,\n },\n },\n {\n statusRemapper: {\n sources: [\n \"info\",\n \"trace\",\n ],\n name: \"sample status remapper\",\n isEnabled: true,\n },\n },\n {\n stringBuilderProcessor: {\n target: \"user_activity\",\n template: \"%{user.name} logged in at %{timestamp}\",\n name: \"sample string builder processor\",\n isEnabled: true,\n isReplaceMissing: false,\n },\n },\n {\n traceIdRemapper: {\n sources: [\"dd.trace_id\"],\n name: \"sample trace id remapper\",\n isEnabled: true,\n },\n },\n {\n userAgentParser: {\n sources: [\n \"user\",\n \"agent\",\n ],\n target: \"http_agent\",\n isEncoded: false,\n name: \"sample user agent parser\",\n isEnabled: true,\n },\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nsample_pipeline = datadog.LogsCustomPipeline(\"sample_pipeline\",\n filters=[{\n \"query\": \"source:foo\",\n }],\n name=\"sample pipeline\",\n is_enabled=True,\n processors=[\n {\n \"arithmetic_processor\": {\n \"expression\": \"(time1 - time2)*1000\",\n \"target\": \"my_arithmetic\",\n \"is_replace_missing\": True,\n \"name\": \"sample arithmetic processor\",\n \"is_enabled\": True,\n },\n },\n {\n \"attribute_remapper\": {\n \"sources\": [\"db.instance\"],\n \"source_type\": \"tag\",\n \"target\": \"db\",\n \"target_type\": \"attribute\",\n \"target_format\": \"string\",\n \"preserve_source\": True,\n \"override_on_conflict\": False,\n \"name\": \"sample attribute processor\",\n \"is_enabled\": True,\n },\n },\n {\n \"category_processor\": {\n \"target\": \"foo.severity\",\n \"categories\": [\n {\n \"name\": \"debug\",\n \"filter\": {\n \"query\": \"@severity: \\\".\\\"\",\n },\n },\n {\n \"name\": \"verbose\",\n \"filter\": {\n \"query\": \"@severity: \\\"-\\\"\",\n },\n },\n ],\n \"name\": \"sample category processor\",\n \"is_enabled\": True,\n },\n },\n {\n \"date_remapper\": {\n \"sources\": [\n \"_timestamp\",\n \"published_date\",\n ],\n \"name\": \"sample date remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"geo_ip_parser\": {\n \"sources\": [\"network.client.ip\"],\n \"target\": \"network.client.geoip\",\n \"name\": \"sample geo ip parser\",\n \"is_enabled\": True,\n },\n },\n {\n \"grok_parser\": {\n \"samples\": [\"sample log 1\"],\n \"source\": \"message\",\n \"grok\": {\n \"support_rules\": \"\",\n \"match_rules\": \"Rule %{word:my_word2} %{number:my_float2}\",\n },\n \"name\": \"sample grok parser\",\n \"is_enabled\": True,\n },\n },\n {\n \"lookup_processor\": {\n \"source\": \"service_id\",\n \"target\": \"service_name\",\n \"lookup_tables\": [\"1,my service\"],\n \"default_lookup\": \"unknown service\",\n \"name\": \"sample lookup processor\",\n \"is_enabled\": True,\n },\n },\n {\n \"message_remapper\": {\n \"sources\": [\"msg\"],\n \"name\": \"sample message remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"pipeline\": {\n \"filters\": [{\n \"query\": \"source:foo\",\n }],\n \"processors\": [{\n \"url_parser\": {\n \"name\": \"sample url parser\",\n \"sources\": [\n \"url\",\n \"extra\",\n ],\n \"target\": \"http_url\",\n \"normalize_ending_slashes\": True,\n },\n }],\n \"name\": \"nested pipeline\",\n \"is_enabled\": True,\n },\n },\n {\n \"service_remapper\": {\n \"sources\": [\"service\"],\n \"name\": \"sample service remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"status_remapper\": {\n \"sources\": [\n \"info\",\n \"trace\",\n ],\n \"name\": \"sample status remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"string_builder_processor\": {\n \"target\": \"user_activity\",\n \"template\": \"%{user.name} logged in at %{timestamp}\",\n \"name\": \"sample string builder processor\",\n \"is_enabled\": True,\n \"is_replace_missing\": False,\n },\n },\n {\n \"trace_id_remapper\": {\n \"sources\": [\"dd.trace_id\"],\n \"name\": \"sample trace id remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"user_agent_parser\": {\n \"sources\": [\n \"user\",\n \"agent\",\n ],\n \"target\": \"http_agent\",\n \"is_encoded\": False,\n \"name\": \"sample user agent parser\",\n \"is_enabled\": True,\n },\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var samplePipeline = new Datadog.LogsCustomPipeline(\"sample_pipeline\", new()\n {\n Filters = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineFilterArgs\n {\n Query = \"source:foo\",\n },\n },\n Name = \"sample pipeline\",\n IsEnabled = true,\n Processors = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n ArithmeticProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorArithmeticProcessorArgs\n {\n Expression = \"(time1 - time2)*1000\",\n Target = \"my_arithmetic\",\n IsReplaceMissing = true,\n Name = \"sample arithmetic processor\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n AttributeRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorAttributeRemapperArgs\n {\n Sources = new[]\n {\n \"db.instance\",\n },\n SourceType = \"tag\",\n Target = \"db\",\n TargetType = \"attribute\",\n TargetFormat = \"string\",\n PreserveSource = true,\n OverrideOnConflict = false,\n Name = \"sample attribute processor\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n CategoryProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorArgs\n {\n Target = \"foo.severity\",\n Categories = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs\n {\n Name = \"debug\",\n Filter = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs\n {\n Query = \"@severity: \\\".\\\"\",\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs\n {\n Name = \"verbose\",\n Filter = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs\n {\n Query = \"@severity: \\\"-\\\"\",\n },\n },\n },\n Name = \"sample category processor\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n DateRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorDateRemapperArgs\n {\n Sources = new[]\n {\n \"_timestamp\",\n \"published_date\",\n },\n Name = \"sample date remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n GeoIpParser = new Datadog.Inputs.LogsCustomPipelineProcessorGeoIpParserArgs\n {\n Sources = new[]\n {\n \"network.client.ip\",\n },\n Target = \"network.client.geoip\",\n Name = \"sample geo ip parser\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n GrokParser = new Datadog.Inputs.LogsCustomPipelineProcessorGrokParserArgs\n {\n Samples = new[]\n {\n \"sample log 1\",\n },\n Source = \"message\",\n Grok = new Datadog.Inputs.LogsCustomPipelineProcessorGrokParserGrokArgs\n {\n SupportRules = \"\",\n MatchRules = \"Rule %{word:my_word2} %{number:my_float2}\",\n },\n Name = \"sample grok parser\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n LookupProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorLookupProcessorArgs\n {\n Source = \"service_id\",\n Target = \"service_name\",\n LookupTables = new[]\n {\n \"1,my service\",\n },\n DefaultLookup = \"unknown service\",\n Name = \"sample lookup processor\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n MessageRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorMessageRemapperArgs\n {\n Sources = new[]\n {\n \"msg\",\n },\n Name = \"sample message remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n Pipeline = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineArgs\n {\n Filters = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineProcessorPipelineFilterArgs\n {\n Query = \"source:foo\",\n },\n },\n Processors = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorArgs\n {\n UrlParser = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs\n {\n Name = \"sample url parser\",\n Sources = new[]\n {\n \"url\",\n \"extra\",\n },\n Target = \"http_url\",\n NormalizeEndingSlashes = true,\n },\n },\n },\n Name = \"nested pipeline\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n ServiceRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorServiceRemapperArgs\n {\n Sources = new[]\n {\n \"service\",\n },\n Name = \"sample service remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n StatusRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorStatusRemapperArgs\n {\n Sources = new[]\n {\n \"info\",\n \"trace\",\n },\n Name = \"sample status remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n StringBuilderProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorStringBuilderProcessorArgs\n {\n Target = \"user_activity\",\n Template = \"%{user.name} logged in at %{timestamp}\",\n Name = \"sample string builder processor\",\n IsEnabled = true,\n IsReplaceMissing = false,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n TraceIdRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorTraceIdRemapperArgs\n {\n Sources = new[]\n {\n \"dd.trace_id\",\n },\n Name = \"sample trace id remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n UserAgentParser = new Datadog.Inputs.LogsCustomPipelineProcessorUserAgentParserArgs\n {\n Sources = new[]\n {\n \"user\",\n \"agent\",\n },\n Target = \"http_agent\",\n IsEncoded = false,\n Name = \"sample user agent parser\",\n IsEnabled = true,\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.NewLogsCustomPipeline(ctx, \"sample_pipeline\", \u0026datadog.LogsCustomPipelineArgs{\n\t\t\tFilters: datadog.LogsCustomPipelineFilterArray{\n\t\t\t\t\u0026datadog.LogsCustomPipelineFilterArgs{\n\t\t\t\t\tQuery: pulumi.String(\"source:foo\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(\"sample pipeline\"),\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tProcessors: datadog.LogsCustomPipelineProcessorArray{\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tArithmeticProcessor: \u0026datadog.LogsCustomPipelineProcessorArithmeticProcessorArgs{\n\t\t\t\t\t\tExpression: pulumi.String(\"(time1 - time2)*1000\"),\n\t\t\t\t\t\tTarget: pulumi.String(\"my_arithmetic\"),\n\t\t\t\t\t\tIsReplaceMissing: pulumi.Bool(true),\n\t\t\t\t\t\tName: pulumi.String(\"sample arithmetic processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tAttributeRemapper: \u0026datadog.LogsCustomPipelineProcessorAttributeRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"db.instance\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSourceType: pulumi.String(\"tag\"),\n\t\t\t\t\t\tTarget: pulumi.String(\"db\"),\n\t\t\t\t\t\tTargetType: pulumi.String(\"attribute\"),\n\t\t\t\t\t\tTargetFormat: pulumi.String(\"string\"),\n\t\t\t\t\t\tPreserveSource: pulumi.Bool(true),\n\t\t\t\t\t\tOverrideOnConflict: pulumi.Bool(false),\n\t\t\t\t\t\tName: pulumi.String(\"sample attribute processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tCategoryProcessor: \u0026datadog.LogsCustomPipelineProcessorCategoryProcessorArgs{\n\t\t\t\t\t\tTarget: pulumi.String(\"foo.severity\"),\n\t\t\t\t\t\tCategories: datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArray{\n\t\t\t\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{\n\t\t\t\t\t\t\t\tName: pulumi.String(\"debug\"),\n\t\t\t\t\t\t\t\tFilter: \u0026datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{\n\t\t\t\t\t\t\t\t\tQuery: pulumi.String(\"@severity: \\\".\\\"\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{\n\t\t\t\t\t\t\t\tName: pulumi.String(\"verbose\"),\n\t\t\t\t\t\t\t\tFilter: \u0026datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{\n\t\t\t\t\t\t\t\t\tQuery: pulumi.String(\"@severity: \\\"-\\\"\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample category processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tDateRemapper: \u0026datadog.LogsCustomPipelineProcessorDateRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"_timestamp\"),\n\t\t\t\t\t\t\tpulumi.String(\"published_date\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample date remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tGeoIpParser: \u0026datadog.LogsCustomPipelineProcessorGeoIpParserArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"network.client.ip\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTarget: pulumi.String(\"network.client.geoip\"),\n\t\t\t\t\t\tName: pulumi.String(\"sample geo ip parser\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tGrokParser: \u0026datadog.LogsCustomPipelineProcessorGrokParserArgs{\n\t\t\t\t\t\tSamples: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"sample log 1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSource: pulumi.String(\"message\"),\n\t\t\t\t\t\tGrok: \u0026datadog.LogsCustomPipelineProcessorGrokParserGrokArgs{\n\t\t\t\t\t\t\tSupportRules: pulumi.String(\"\"),\n\t\t\t\t\t\t\tMatchRules: pulumi.String(\"Rule %{word:my_word2} %{number:my_float2}\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample grok parser\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tLookupProcessor: \u0026datadog.LogsCustomPipelineProcessorLookupProcessorArgs{\n\t\t\t\t\t\tSource: pulumi.String(\"service_id\"),\n\t\t\t\t\t\tTarget: pulumi.String(\"service_name\"),\n\t\t\t\t\t\tLookupTables: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"1,my service\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tDefaultLookup: pulumi.String(\"unknown service\"),\n\t\t\t\t\t\tName: pulumi.String(\"sample lookup processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tMessageRemapper: \u0026datadog.LogsCustomPipelineProcessorMessageRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"msg\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample message remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tPipeline: \u0026datadog.LogsCustomPipelineProcessorPipelineArgs{\n\t\t\t\t\t\tFilters: datadog.LogsCustomPipelineProcessorPipelineFilterArray{\n\t\t\t\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorPipelineFilterArgs{\n\t\t\t\t\t\t\t\tQuery: pulumi.String(\"source:foo\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tProcessors: datadog.LogsCustomPipelineProcessorPipelineProcessorArray{\n\t\t\t\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorPipelineProcessorArgs{\n\t\t\t\t\t\t\t\tUrlParser: \u0026datadog.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"sample url parser\"),\n\t\t\t\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\t\t\t\tpulumi.String(\"url\"),\n\t\t\t\t\t\t\t\t\t\tpulumi.String(\"extra\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tTarget: pulumi.String(\"http_url\"),\n\t\t\t\t\t\t\t\t\tNormalizeEndingSlashes: pulumi.Bool(true),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"nested pipeline\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tServiceRemapper: \u0026datadog.LogsCustomPipelineProcessorServiceRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"service\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample service remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tStatusRemapper: \u0026datadog.LogsCustomPipelineProcessorStatusRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"info\"),\n\t\t\t\t\t\t\tpulumi.String(\"trace\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample status remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tStringBuilderProcessor: \u0026datadog.LogsCustomPipelineProcessorStringBuilderProcessorArgs{\n\t\t\t\t\t\tTarget: pulumi.String(\"user_activity\"),\n\t\t\t\t\t\tTemplate: pulumi.String(\"%{user.name} logged in at %{timestamp}\"),\n\t\t\t\t\t\tName: pulumi.String(\"sample string builder processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tIsReplaceMissing: pulumi.Bool(false),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tTraceIdRemapper: \u0026datadog.LogsCustomPipelineProcessorTraceIdRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"dd.trace_id\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample trace id remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tUserAgentParser: \u0026datadog.LogsCustomPipelineProcessorUserAgentParserArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"user\"),\n\t\t\t\t\t\t\tpulumi.String(\"agent\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTarget: pulumi.String(\"http_agent\"),\n\t\t\t\t\t\tIsEncoded: pulumi.Bool(false),\n\t\t\t\t\t\tName: pulumi.String(\"sample user agent parser\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.LogsCustomPipeline;\nimport com.pulumi.datadog.LogsCustomPipelineArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineFilterArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorArithmeticProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorAttributeRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorCategoryProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorDateRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGeoIpParserArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGrokParserArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGrokParserGrokArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorLookupProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorMessageRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorPipelineArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorServiceRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorStatusRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorStringBuilderProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorTraceIdRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorUserAgentParserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var samplePipeline = new LogsCustomPipeline(\"samplePipeline\", LogsCustomPipelineArgs.builder()\n .filters(LogsCustomPipelineFilterArgs.builder()\n .query(\"source:foo\")\n .build())\n .name(\"sample pipeline\")\n .isEnabled(true)\n .processors( \n LogsCustomPipelineProcessorArgs.builder()\n .arithmeticProcessor(LogsCustomPipelineProcessorArithmeticProcessorArgs.builder()\n .expression(\"(time1 - time2)*1000\")\n .target(\"my_arithmetic\")\n .isReplaceMissing(true)\n .name(\"sample arithmetic processor\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .attributeRemapper(LogsCustomPipelineProcessorAttributeRemapperArgs.builder()\n .sources(\"db.instance\")\n .sourceType(\"tag\")\n .target(\"db\")\n .targetType(\"attribute\")\n .targetFormat(\"string\")\n .preserveSource(true)\n .overrideOnConflict(false)\n .name(\"sample attribute processor\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .categoryProcessor(LogsCustomPipelineProcessorCategoryProcessorArgs.builder()\n .target(\"foo.severity\")\n .categories( \n LogsCustomPipelineProcessorCategoryProcessorCategoryArgs.builder()\n .name(\"debug\")\n .filter(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs.builder()\n .query(\"@severity: \\\".\\\"\")\n .build())\n .build(),\n LogsCustomPipelineProcessorCategoryProcessorCategoryArgs.builder()\n .name(\"verbose\")\n .filter(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs.builder()\n .query(\"@severity: \\\"-\\\"\")\n .build())\n .build())\n .name(\"sample category processor\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .dateRemapper(LogsCustomPipelineProcessorDateRemapperArgs.builder()\n .sources( \n \"_timestamp\",\n \"published_date\")\n .name(\"sample date remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .geoIpParser(LogsCustomPipelineProcessorGeoIpParserArgs.builder()\n .sources(\"network.client.ip\")\n .target(\"network.client.geoip\")\n .name(\"sample geo ip parser\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .grokParser(LogsCustomPipelineProcessorGrokParserArgs.builder()\n .samples(\"sample log 1\")\n .source(\"message\")\n .grok(LogsCustomPipelineProcessorGrokParserGrokArgs.builder()\n .supportRules(\"\")\n .matchRules(\"Rule %{word:my_word2} %{number:my_float2}\")\n .build())\n .name(\"sample grok parser\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .lookupProcessor(LogsCustomPipelineProcessorLookupProcessorArgs.builder()\n .source(\"service_id\")\n .target(\"service_name\")\n .lookupTables(\"1,my service\")\n .defaultLookup(\"unknown service\")\n .name(\"sample lookup processor\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .messageRemapper(LogsCustomPipelineProcessorMessageRemapperArgs.builder()\n .sources(\"msg\")\n .name(\"sample message remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .pipeline(LogsCustomPipelineProcessorPipelineArgs.builder()\n .filters(LogsCustomPipelineProcessorPipelineFilterArgs.builder()\n .query(\"source:foo\")\n .build())\n .processors(LogsCustomPipelineProcessorPipelineProcessorArgs.builder()\n .urlParser(LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs.builder()\n .name(\"sample url parser\")\n .sources( \n \"url\",\n \"extra\")\n .target(\"http_url\")\n .normalizeEndingSlashes(true)\n .build())\n .build())\n .name(\"nested pipeline\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .serviceRemapper(LogsCustomPipelineProcessorServiceRemapperArgs.builder()\n .sources(\"service\")\n .name(\"sample service remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .statusRemapper(LogsCustomPipelineProcessorStatusRemapperArgs.builder()\n .sources( \n \"info\",\n \"trace\")\n .name(\"sample status remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .stringBuilderProcessor(LogsCustomPipelineProcessorStringBuilderProcessorArgs.builder()\n .target(\"user_activity\")\n .template(\"%{user.name} logged in at %{timestamp}\")\n .name(\"sample string builder processor\")\n .isEnabled(true)\n .isReplaceMissing(false)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .traceIdRemapper(LogsCustomPipelineProcessorTraceIdRemapperArgs.builder()\n .sources(\"dd.trace_id\")\n .name(\"sample trace id remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .userAgentParser(LogsCustomPipelineProcessorUserAgentParserArgs.builder()\n .sources( \n \"user\",\n \"agent\")\n .target(\"http_agent\")\n .isEncoded(false)\n .name(\"sample user agent parser\")\n .isEnabled(true)\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n samplePipeline:\n type: datadog:LogsCustomPipeline\n name: sample_pipeline\n properties:\n filters:\n - query: source:foo\n name: sample pipeline\n isEnabled: true\n processors:\n - arithmeticProcessor:\n expression: (time1 - time2)*1000\n target: my_arithmetic\n isReplaceMissing: true\n name: sample arithmetic processor\n isEnabled: true\n - attributeRemapper:\n sources:\n - db.instance\n sourceType: tag\n target: db\n targetType: attribute\n targetFormat: string\n preserveSource: true\n overrideOnConflict: false\n name: sample attribute processor\n isEnabled: true\n - categoryProcessor:\n target: foo.severity\n categories:\n - name: debug\n filter:\n query: '@severity: \".\"'\n - name: verbose\n filter:\n query: '@severity: \"-\"'\n name: sample category processor\n isEnabled: true\n - dateRemapper:\n sources:\n - _timestamp\n - published_date\n name: sample date remapper\n isEnabled: true\n - geoIpParser:\n sources:\n - network.client.ip\n target: network.client.geoip\n name: sample geo ip parser\n isEnabled: true\n - grokParser:\n samples:\n - sample log 1\n source: message\n grok:\n supportRules:\n matchRules: Rule %{word:my_word2} %{number:my_float2}\n name: sample grok parser\n isEnabled: true\n - lookupProcessor:\n source: service_id\n target: service_name\n lookupTables:\n - 1,my service\n defaultLookup: unknown service\n name: sample lookup processor\n isEnabled: true\n - messageRemapper:\n sources:\n - msg\n name: sample message remapper\n isEnabled: true\n - pipeline:\n filters:\n - query: source:foo\n processors:\n - urlParser:\n name: sample url parser\n sources:\n - url\n - extra\n target: http_url\n normalizeEndingSlashes: true\n name: nested pipeline\n isEnabled: true\n - serviceRemapper:\n sources:\n - service\n name: sample service remapper\n isEnabled: true\n - statusRemapper:\n sources:\n - info\n - trace\n name: sample status remapper\n isEnabled: true\n - stringBuilderProcessor:\n target: user_activity\n template: '%{user.name} logged in at %{timestamp}'\n name: sample string builder processor\n isEnabled: true\n isReplaceMissing: false\n - traceIdRemapper:\n sources:\n - dd.trace_id\n name: sample trace id remapper\n isEnabled: true\n - userAgentParser:\n sources:\n - user\n - agent\n target: http_agent\n isEncoded: false\n name: sample user agent parser\n isEnabled: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nTo find the pipeline ID, click the \"edit\" button in the UI to open the pipeline details.\n\nThe pipeline ID is the last part of the URL.\n\n```sh\n$ pulumi import datadog:index/logsCustomPipeline:LogsCustomPipeline name\u003e \u003cpipelineID\u003e\n```\n\n", + "description": "Provides a Datadog [Logs Pipeline API](https://docs.datadoghq.com/api/v1/logs-pipelines/) resource, which is used to create and manage Datadog logs custom pipelines. Each `datadog.LogsCustomPipeline` resource defines a complete pipeline. The order of the pipelines is maintained in a different resource: `datadog.LogsPipelineOrder`. When creating a new pipeline, you need to **explicitly** add this pipeline to the `datadog.LogsPipelineOrder` resource to track the pipeline. Similarly, when a pipeline needs to be destroyed, remove its references from the `datadog.LogsPipelineOrder` resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst samplePipeline = new datadog.LogsCustomPipeline(\"sample_pipeline\", {\n filters: [{\n query: \"source:foo\",\n }],\n name: \"sample pipeline\",\n isEnabled: true,\n processors: [\n {\n arithmeticProcessor: {\n expression: \"(time1 - time2)*1000\",\n target: \"my_arithmetic\",\n isReplaceMissing: true,\n name: \"sample arithmetic processor\",\n isEnabled: true,\n },\n },\n {\n attributeRemapper: {\n sources: [\"db.instance\"],\n sourceType: \"tag\",\n target: \"db\",\n targetType: \"attribute\",\n targetFormat: \"string\",\n preserveSource: true,\n overrideOnConflict: false,\n name: \"sample attribute processor\",\n isEnabled: true,\n },\n },\n {\n categoryProcessor: {\n target: \"foo.severity\",\n categories: [\n {\n name: \"debug\",\n filter: {\n query: \"@severity: \\\".\\\"\",\n },\n },\n {\n name: \"verbose\",\n filter: {\n query: \"@severity: \\\"-\\\"\",\n },\n },\n ],\n name: \"sample category processor\",\n isEnabled: true,\n },\n },\n {\n dateRemapper: {\n sources: [\n \"_timestamp\",\n \"published_date\",\n ],\n name: \"sample date remapper\",\n isEnabled: true,\n },\n },\n {\n geoIpParser: {\n sources: [\"network.client.ip\"],\n target: \"network.client.geoip\",\n name: \"sample geo ip parser\",\n isEnabled: true,\n },\n },\n {\n grokParser: {\n samples: [\"sample log 1\"],\n source: \"message\",\n grok: {\n supportRules: \"\",\n matchRules: \"Rule %{word:my_word2} %{number:my_float2}\",\n },\n name: \"sample grok parser\",\n isEnabled: true,\n },\n },\n {\n lookupProcessor: {\n source: \"service_id\",\n target: \"service_name\",\n lookupTables: [\"1,my service\"],\n defaultLookup: \"unknown service\",\n name: \"sample lookup processor\",\n isEnabled: true,\n },\n },\n {\n messageRemapper: {\n sources: [\"msg\"],\n name: \"sample message remapper\",\n isEnabled: true,\n },\n },\n {\n pipeline: {\n filters: [{\n query: \"source:foo\",\n }],\n processors: [{\n urlParser: {\n name: \"sample url parser\",\n sources: [\n \"url\",\n \"extra\",\n ],\n target: \"http_url\",\n normalizeEndingSlashes: true,\n },\n }],\n name: \"nested pipeline\",\n isEnabled: true,\n },\n },\n {\n serviceRemapper: {\n sources: [\"service\"],\n name: \"sample service remapper\",\n isEnabled: true,\n },\n },\n {\n statusRemapper: {\n sources: [\n \"info\",\n \"trace\",\n ],\n name: \"sample status remapper\",\n isEnabled: true,\n },\n },\n {\n stringBuilderProcessor: {\n target: \"user_activity\",\n template: \"%{user.name} logged in at %{timestamp}\",\n name: \"sample string builder processor\",\n isEnabled: true,\n isReplaceMissing: false,\n },\n },\n {\n traceIdRemapper: {\n sources: [\"dd.trace_id\"],\n name: \"sample trace id remapper\",\n isEnabled: true,\n },\n },\n {\n userAgentParser: {\n sources: [\n \"user\",\n \"agent\",\n ],\n target: \"http_agent\",\n isEncoded: false,\n name: \"sample user agent parser\",\n isEnabled: true,\n },\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nsample_pipeline = datadog.LogsCustomPipeline(\"sample_pipeline\",\n filters=[{\n \"query\": \"source:foo\",\n }],\n name=\"sample pipeline\",\n is_enabled=True,\n processors=[\n {\n \"arithmetic_processor\": {\n \"expression\": \"(time1 - time2)*1000\",\n \"target\": \"my_arithmetic\",\n \"is_replace_missing\": True,\n \"name\": \"sample arithmetic processor\",\n \"is_enabled\": True,\n },\n },\n {\n \"attribute_remapper\": {\n \"sources\": [\"db.instance\"],\n \"source_type\": \"tag\",\n \"target\": \"db\",\n \"target_type\": \"attribute\",\n \"target_format\": \"string\",\n \"preserve_source\": True,\n \"override_on_conflict\": False,\n \"name\": \"sample attribute processor\",\n \"is_enabled\": True,\n },\n },\n {\n \"category_processor\": {\n \"target\": \"foo.severity\",\n \"categories\": [\n {\n \"name\": \"debug\",\n \"filter\": {\n \"query\": \"@severity: \\\".\\\"\",\n },\n },\n {\n \"name\": \"verbose\",\n \"filter\": {\n \"query\": \"@severity: \\\"-\\\"\",\n },\n },\n ],\n \"name\": \"sample category processor\",\n \"is_enabled\": True,\n },\n },\n {\n \"date_remapper\": {\n \"sources\": [\n \"_timestamp\",\n \"published_date\",\n ],\n \"name\": \"sample date remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"geo_ip_parser\": {\n \"sources\": [\"network.client.ip\"],\n \"target\": \"network.client.geoip\",\n \"name\": \"sample geo ip parser\",\n \"is_enabled\": True,\n },\n },\n {\n \"grok_parser\": {\n \"samples\": [\"sample log 1\"],\n \"source\": \"message\",\n \"grok\": {\n \"support_rules\": \"\",\n \"match_rules\": \"Rule %{word:my_word2} %{number:my_float2}\",\n },\n \"name\": \"sample grok parser\",\n \"is_enabled\": True,\n },\n },\n {\n \"lookup_processor\": {\n \"source\": \"service_id\",\n \"target\": \"service_name\",\n \"lookup_tables\": [\"1,my service\"],\n \"default_lookup\": \"unknown service\",\n \"name\": \"sample lookup processor\",\n \"is_enabled\": True,\n },\n },\n {\n \"message_remapper\": {\n \"sources\": [\"msg\"],\n \"name\": \"sample message remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"pipeline\": {\n \"filters\": [{\n \"query\": \"source:foo\",\n }],\n \"processors\": [{\n \"url_parser\": {\n \"name\": \"sample url parser\",\n \"sources\": [\n \"url\",\n \"extra\",\n ],\n \"target\": \"http_url\",\n \"normalize_ending_slashes\": True,\n },\n }],\n \"name\": \"nested pipeline\",\n \"is_enabled\": True,\n },\n },\n {\n \"service_remapper\": {\n \"sources\": [\"service\"],\n \"name\": \"sample service remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"status_remapper\": {\n \"sources\": [\n \"info\",\n \"trace\",\n ],\n \"name\": \"sample status remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"string_builder_processor\": {\n \"target\": \"user_activity\",\n \"template\": \"%{user.name} logged in at %{timestamp}\",\n \"name\": \"sample string builder processor\",\n \"is_enabled\": True,\n \"is_replace_missing\": False,\n },\n },\n {\n \"trace_id_remapper\": {\n \"sources\": [\"dd.trace_id\"],\n \"name\": \"sample trace id remapper\",\n \"is_enabled\": True,\n },\n },\n {\n \"user_agent_parser\": {\n \"sources\": [\n \"user\",\n \"agent\",\n ],\n \"target\": \"http_agent\",\n \"is_encoded\": False,\n \"name\": \"sample user agent parser\",\n \"is_enabled\": True,\n },\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var samplePipeline = new Datadog.LogsCustomPipeline(\"sample_pipeline\", new()\n {\n Filters = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineFilterArgs\n {\n Query = \"source:foo\",\n },\n },\n Name = \"sample pipeline\",\n IsEnabled = true,\n Processors = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n ArithmeticProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorArithmeticProcessorArgs\n {\n Expression = \"(time1 - time2)*1000\",\n Target = \"my_arithmetic\",\n IsReplaceMissing = true,\n Name = \"sample arithmetic processor\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n AttributeRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorAttributeRemapperArgs\n {\n Sources = new[]\n {\n \"db.instance\",\n },\n SourceType = \"tag\",\n Target = \"db\",\n TargetType = \"attribute\",\n TargetFormat = \"string\",\n PreserveSource = true,\n OverrideOnConflict = false,\n Name = \"sample attribute processor\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n CategoryProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorArgs\n {\n Target = \"foo.severity\",\n Categories = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs\n {\n Name = \"debug\",\n Filter = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs\n {\n Query = \"@severity: \\\".\\\"\",\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs\n {\n Name = \"verbose\",\n Filter = new Datadog.Inputs.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs\n {\n Query = \"@severity: \\\"-\\\"\",\n },\n },\n },\n Name = \"sample category processor\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n DateRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorDateRemapperArgs\n {\n Sources = new[]\n {\n \"_timestamp\",\n \"published_date\",\n },\n Name = \"sample date remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n GeoIpParser = new Datadog.Inputs.LogsCustomPipelineProcessorGeoIpParserArgs\n {\n Sources = new[]\n {\n \"network.client.ip\",\n },\n Target = \"network.client.geoip\",\n Name = \"sample geo ip parser\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n GrokParser = new Datadog.Inputs.LogsCustomPipelineProcessorGrokParserArgs\n {\n Samples = new[]\n {\n \"sample log 1\",\n },\n Source = \"message\",\n Grok = new Datadog.Inputs.LogsCustomPipelineProcessorGrokParserGrokArgs\n {\n SupportRules = \"\",\n MatchRules = \"Rule %{word:my_word2} %{number:my_float2}\",\n },\n Name = \"sample grok parser\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n LookupProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorLookupProcessorArgs\n {\n Source = \"service_id\",\n Target = \"service_name\",\n LookupTables = new[]\n {\n \"1,my service\",\n },\n DefaultLookup = \"unknown service\",\n Name = \"sample lookup processor\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n MessageRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorMessageRemapperArgs\n {\n Sources = new[]\n {\n \"msg\",\n },\n Name = \"sample message remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n Pipeline = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineArgs\n {\n Filters = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineProcessorPipelineFilterArgs\n {\n Query = \"source:foo\",\n },\n },\n Processors = new[]\n {\n new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorArgs\n {\n UrlParser = new Datadog.Inputs.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs\n {\n Name = \"sample url parser\",\n Sources = new[]\n {\n \"url\",\n \"extra\",\n },\n Target = \"http_url\",\n NormalizeEndingSlashes = true,\n },\n },\n },\n Name = \"nested pipeline\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n ServiceRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorServiceRemapperArgs\n {\n Sources = new[]\n {\n \"service\",\n },\n Name = \"sample service remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n StatusRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorStatusRemapperArgs\n {\n Sources = new[]\n {\n \"info\",\n \"trace\",\n },\n Name = \"sample status remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n StringBuilderProcessor = new Datadog.Inputs.LogsCustomPipelineProcessorStringBuilderProcessorArgs\n {\n Target = \"user_activity\",\n Template = \"%{user.name} logged in at %{timestamp}\",\n Name = \"sample string builder processor\",\n IsEnabled = true,\n IsReplaceMissing = false,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n TraceIdRemapper = new Datadog.Inputs.LogsCustomPipelineProcessorTraceIdRemapperArgs\n {\n Sources = new[]\n {\n \"dd.trace_id\",\n },\n Name = \"sample trace id remapper\",\n IsEnabled = true,\n },\n },\n new Datadog.Inputs.LogsCustomPipelineProcessorArgs\n {\n UserAgentParser = new Datadog.Inputs.LogsCustomPipelineProcessorUserAgentParserArgs\n {\n Sources = new[]\n {\n \"user\",\n \"agent\",\n },\n Target = \"http_agent\",\n IsEncoded = false,\n Name = \"sample user agent parser\",\n IsEnabled = true,\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.NewLogsCustomPipeline(ctx, \"sample_pipeline\", \u0026datadog.LogsCustomPipelineArgs{\n\t\t\tFilters: datadog.LogsCustomPipelineFilterArray{\n\t\t\t\t\u0026datadog.LogsCustomPipelineFilterArgs{\n\t\t\t\t\tQuery: pulumi.String(\"source:foo\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tName: pulumi.String(\"sample pipeline\"),\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tProcessors: datadog.LogsCustomPipelineProcessorArray{\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tArithmeticProcessor: \u0026datadog.LogsCustomPipelineProcessorArithmeticProcessorArgs{\n\t\t\t\t\t\tExpression: pulumi.String(\"(time1 - time2)*1000\"),\n\t\t\t\t\t\tTarget: pulumi.String(\"my_arithmetic\"),\n\t\t\t\t\t\tIsReplaceMissing: pulumi.Bool(true),\n\t\t\t\t\t\tName: pulumi.String(\"sample arithmetic processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tAttributeRemapper: \u0026datadog.LogsCustomPipelineProcessorAttributeRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"db.instance\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSourceType: pulumi.String(\"tag\"),\n\t\t\t\t\t\tTarget: pulumi.String(\"db\"),\n\t\t\t\t\t\tTargetType: pulumi.String(\"attribute\"),\n\t\t\t\t\t\tTargetFormat: pulumi.String(\"string\"),\n\t\t\t\t\t\tPreserveSource: pulumi.Bool(true),\n\t\t\t\t\t\tOverrideOnConflict: pulumi.Bool(false),\n\t\t\t\t\t\tName: pulumi.String(\"sample attribute processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tCategoryProcessor: \u0026datadog.LogsCustomPipelineProcessorCategoryProcessorArgs{\n\t\t\t\t\t\tTarget: pulumi.String(\"foo.severity\"),\n\t\t\t\t\t\tCategories: datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArray{\n\t\t\t\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{\n\t\t\t\t\t\t\t\tName: pulumi.String(\"debug\"),\n\t\t\t\t\t\t\t\tFilter: \u0026datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{\n\t\t\t\t\t\t\t\t\tQuery: pulumi.String(\"@severity: \\\".\\\"\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryArgs{\n\t\t\t\t\t\t\t\tName: pulumi.String(\"verbose\"),\n\t\t\t\t\t\t\t\tFilter: \u0026datadog.LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs{\n\t\t\t\t\t\t\t\t\tQuery: pulumi.String(\"@severity: \\\"-\\\"\"),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample category processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tDateRemapper: \u0026datadog.LogsCustomPipelineProcessorDateRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"_timestamp\"),\n\t\t\t\t\t\t\tpulumi.String(\"published_date\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample date remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tGeoIpParser: \u0026datadog.LogsCustomPipelineProcessorGeoIpParserArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"network.client.ip\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTarget: pulumi.String(\"network.client.geoip\"),\n\t\t\t\t\t\tName: pulumi.String(\"sample geo ip parser\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tGrokParser: \u0026datadog.LogsCustomPipelineProcessorGrokParserArgs{\n\t\t\t\t\t\tSamples: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"sample log 1\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tSource: pulumi.String(\"message\"),\n\t\t\t\t\t\tGrok: \u0026datadog.LogsCustomPipelineProcessorGrokParserGrokArgs{\n\t\t\t\t\t\t\tSupportRules: pulumi.String(\"\"),\n\t\t\t\t\t\t\tMatchRules: pulumi.String(\"Rule %{word:my_word2} %{number:my_float2}\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample grok parser\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tLookupProcessor: \u0026datadog.LogsCustomPipelineProcessorLookupProcessorArgs{\n\t\t\t\t\t\tSource: pulumi.String(\"service_id\"),\n\t\t\t\t\t\tTarget: pulumi.String(\"service_name\"),\n\t\t\t\t\t\tLookupTables: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"1,my service\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tDefaultLookup: pulumi.String(\"unknown service\"),\n\t\t\t\t\t\tName: pulumi.String(\"sample lookup processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tMessageRemapper: \u0026datadog.LogsCustomPipelineProcessorMessageRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"msg\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample message remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tPipeline: \u0026datadog.LogsCustomPipelineProcessorPipelineArgs{\n\t\t\t\t\t\tFilters: datadog.LogsCustomPipelineProcessorPipelineFilterArray{\n\t\t\t\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorPipelineFilterArgs{\n\t\t\t\t\t\t\t\tQuery: pulumi.String(\"source:foo\"),\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tProcessors: datadog.LogsCustomPipelineProcessorPipelineProcessorArray{\n\t\t\t\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorPipelineProcessorArgs{\n\t\t\t\t\t\t\t\tUrlParser: \u0026datadog.LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs{\n\t\t\t\t\t\t\t\t\tName: pulumi.String(\"sample url parser\"),\n\t\t\t\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\t\t\t\tpulumi.String(\"url\"),\n\t\t\t\t\t\t\t\t\t\tpulumi.String(\"extra\"),\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tTarget: pulumi.String(\"http_url\"),\n\t\t\t\t\t\t\t\t\tNormalizeEndingSlashes: pulumi.Bool(true),\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"nested pipeline\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tServiceRemapper: \u0026datadog.LogsCustomPipelineProcessorServiceRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"service\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample service remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tStatusRemapper: \u0026datadog.LogsCustomPipelineProcessorStatusRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"info\"),\n\t\t\t\t\t\t\tpulumi.String(\"trace\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample status remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tStringBuilderProcessor: \u0026datadog.LogsCustomPipelineProcessorStringBuilderProcessorArgs{\n\t\t\t\t\t\tTarget: pulumi.String(\"user_activity\"),\n\t\t\t\t\t\tTemplate: pulumi.String(\"%{user.name} logged in at %{timestamp}\"),\n\t\t\t\t\t\tName: pulumi.String(\"sample string builder processor\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t\tIsReplaceMissing: pulumi.Bool(false),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tTraceIdRemapper: \u0026datadog.LogsCustomPipelineProcessorTraceIdRemapperArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"dd.trace_id\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tName: pulumi.String(\"sample trace id remapper\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsCustomPipelineProcessorArgs{\n\t\t\t\t\tUserAgentParser: \u0026datadog.LogsCustomPipelineProcessorUserAgentParserArgs{\n\t\t\t\t\t\tSources: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"user\"),\n\t\t\t\t\t\t\tpulumi.String(\"agent\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\tTarget: pulumi.String(\"http_agent\"),\n\t\t\t\t\t\tIsEncoded: pulumi.Bool(false),\n\t\t\t\t\t\tName: pulumi.String(\"sample user agent parser\"),\n\t\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.LogsCustomPipeline;\nimport com.pulumi.datadog.LogsCustomPipelineArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineFilterArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorArithmeticProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorAttributeRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorCategoryProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorDateRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGeoIpParserArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGrokParserArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorGrokParserGrokArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorLookupProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorMessageRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorPipelineArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorServiceRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorStatusRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorStringBuilderProcessorArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorTraceIdRemapperArgs;\nimport com.pulumi.datadog.inputs.LogsCustomPipelineProcessorUserAgentParserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var samplePipeline = new LogsCustomPipeline(\"samplePipeline\", LogsCustomPipelineArgs.builder()\n .filters(LogsCustomPipelineFilterArgs.builder()\n .query(\"source:foo\")\n .build())\n .name(\"sample pipeline\")\n .isEnabled(true)\n .processors( \n LogsCustomPipelineProcessorArgs.builder()\n .arithmeticProcessor(LogsCustomPipelineProcessorArithmeticProcessorArgs.builder()\n .expression(\"(time1 - time2)*1000\")\n .target(\"my_arithmetic\")\n .isReplaceMissing(true)\n .name(\"sample arithmetic processor\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .attributeRemapper(LogsCustomPipelineProcessorAttributeRemapperArgs.builder()\n .sources(\"db.instance\")\n .sourceType(\"tag\")\n .target(\"db\")\n .targetType(\"attribute\")\n .targetFormat(\"string\")\n .preserveSource(true)\n .overrideOnConflict(false)\n .name(\"sample attribute processor\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .categoryProcessor(LogsCustomPipelineProcessorCategoryProcessorArgs.builder()\n .target(\"foo.severity\")\n .categories( \n LogsCustomPipelineProcessorCategoryProcessorCategoryArgs.builder()\n .name(\"debug\")\n .filter(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs.builder()\n .query(\"@severity: \\\".\\\"\")\n .build())\n .build(),\n LogsCustomPipelineProcessorCategoryProcessorCategoryArgs.builder()\n .name(\"verbose\")\n .filter(LogsCustomPipelineProcessorCategoryProcessorCategoryFilterArgs.builder()\n .query(\"@severity: \\\"-\\\"\")\n .build())\n .build())\n .name(\"sample category processor\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .dateRemapper(LogsCustomPipelineProcessorDateRemapperArgs.builder()\n .sources( \n \"_timestamp\",\n \"published_date\")\n .name(\"sample date remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .geoIpParser(LogsCustomPipelineProcessorGeoIpParserArgs.builder()\n .sources(\"network.client.ip\")\n .target(\"network.client.geoip\")\n .name(\"sample geo ip parser\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .grokParser(LogsCustomPipelineProcessorGrokParserArgs.builder()\n .samples(\"sample log 1\")\n .source(\"message\")\n .grok(LogsCustomPipelineProcessorGrokParserGrokArgs.builder()\n .supportRules(\"\")\n .matchRules(\"Rule %{word:my_word2} %{number:my_float2}\")\n .build())\n .name(\"sample grok parser\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .lookupProcessor(LogsCustomPipelineProcessorLookupProcessorArgs.builder()\n .source(\"service_id\")\n .target(\"service_name\")\n .lookupTables(\"1,my service\")\n .defaultLookup(\"unknown service\")\n .name(\"sample lookup processor\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .messageRemapper(LogsCustomPipelineProcessorMessageRemapperArgs.builder()\n .sources(\"msg\")\n .name(\"sample message remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .pipeline(LogsCustomPipelineProcessorPipelineArgs.builder()\n .filters(LogsCustomPipelineProcessorPipelineFilterArgs.builder()\n .query(\"source:foo\")\n .build())\n .processors(LogsCustomPipelineProcessorPipelineProcessorArgs.builder()\n .urlParser(LogsCustomPipelineProcessorPipelineProcessorUrlParserArgs.builder()\n .name(\"sample url parser\")\n .sources( \n \"url\",\n \"extra\")\n .target(\"http_url\")\n .normalizeEndingSlashes(true)\n .build())\n .build())\n .name(\"nested pipeline\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .serviceRemapper(LogsCustomPipelineProcessorServiceRemapperArgs.builder()\n .sources(\"service\")\n .name(\"sample service remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .statusRemapper(LogsCustomPipelineProcessorStatusRemapperArgs.builder()\n .sources( \n \"info\",\n \"trace\")\n .name(\"sample status remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .stringBuilderProcessor(LogsCustomPipelineProcessorStringBuilderProcessorArgs.builder()\n .target(\"user_activity\")\n .template(\"%{user.name} logged in at %{timestamp}\")\n .name(\"sample string builder processor\")\n .isEnabled(true)\n .isReplaceMissing(false)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .traceIdRemapper(LogsCustomPipelineProcessorTraceIdRemapperArgs.builder()\n .sources(\"dd.trace_id\")\n .name(\"sample trace id remapper\")\n .isEnabled(true)\n .build())\n .build(),\n LogsCustomPipelineProcessorArgs.builder()\n .userAgentParser(LogsCustomPipelineProcessorUserAgentParserArgs.builder()\n .sources( \n \"user\",\n \"agent\")\n .target(\"http_agent\")\n .isEncoded(false)\n .name(\"sample user agent parser\")\n .isEnabled(true)\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n samplePipeline:\n type: datadog:LogsCustomPipeline\n name: sample_pipeline\n properties:\n filters:\n - query: source:foo\n name: sample pipeline\n isEnabled: true\n processors:\n - arithmeticProcessor:\n expression: (time1 - time2)*1000\n target: my_arithmetic\n isReplaceMissing: true\n name: sample arithmetic processor\n isEnabled: true\n - attributeRemapper:\n sources:\n - db.instance\n sourceType: tag\n target: db\n targetType: attribute\n targetFormat: string\n preserveSource: true\n overrideOnConflict: false\n name: sample attribute processor\n isEnabled: true\n - categoryProcessor:\n target: foo.severity\n categories:\n - name: debug\n filter:\n query: '@severity: \".\"'\n - name: verbose\n filter:\n query: '@severity: \"-\"'\n name: sample category processor\n isEnabled: true\n - dateRemapper:\n sources:\n - _timestamp\n - published_date\n name: sample date remapper\n isEnabled: true\n - geoIpParser:\n sources:\n - network.client.ip\n target: network.client.geoip\n name: sample geo ip parser\n isEnabled: true\n - grokParser:\n samples:\n - sample log 1\n source: message\n grok:\n supportRules: \"\"\n matchRules: Rule %{word:my_word2} %{number:my_float2}\n name: sample grok parser\n isEnabled: true\n - lookupProcessor:\n source: service_id\n target: service_name\n lookupTables:\n - 1,my service\n defaultLookup: unknown service\n name: sample lookup processor\n isEnabled: true\n - messageRemapper:\n sources:\n - msg\n name: sample message remapper\n isEnabled: true\n - pipeline:\n filters:\n - query: source:foo\n processors:\n - urlParser:\n name: sample url parser\n sources:\n - url\n - extra\n target: http_url\n normalizeEndingSlashes: true\n name: nested pipeline\n isEnabled: true\n - serviceRemapper:\n sources:\n - service\n name: sample service remapper\n isEnabled: true\n - statusRemapper:\n sources:\n - info\n - trace\n name: sample status remapper\n isEnabled: true\n - stringBuilderProcessor:\n target: user_activity\n template: '%{user.name} logged in at %{timestamp}'\n name: sample string builder processor\n isEnabled: true\n isReplaceMissing: false\n - traceIdRemapper:\n sources:\n - dd.trace_id\n name: sample trace id remapper\n isEnabled: true\n - userAgentParser:\n sources:\n - user\n - agent\n target: http_agent\n isEncoded: false\n name: sample user agent parser\n isEnabled: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nTo find the pipeline ID, click the \"edit\" button in the UI to open the pipeline details.\n\nThe pipeline ID is the last part of the URL.\n\n```sh\n$ pulumi import datadog:index/logsCustomPipeline:LogsCustomPipeline name\u003e \u003cpipelineID\u003e\n```\n\n", "properties": { "filters": { "type": "array", @@ -36886,7 +36886,7 @@ } }, "datadog:index/role:Role": { - "description": "Provides a Datadog role resource. This can be used to create and manage Datadog roles.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Source the permissions\nconst bar = datadog.getPermissions({});\n// Create a new Datadog role\nconst foo = new datadog.Role(\"foo\", {\n name: \"foo\",\n permissions: [\n {\n id: bar.then(bar =\u003e bar.permissions?.monitorsDowntime),\n },\n {\n id: bar.then(bar =\u003e bar.permissions?.monitorsWrite),\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Source the permissions\nbar = datadog.get_permissions()\n# Create a new Datadog role\nfoo = datadog.Role(\"foo\",\n name=\"foo\",\n permissions=[\n {\n \"id\": bar.permissions[\"monitorsDowntime\"],\n },\n {\n \"id\": bar.permissions[\"monitorsWrite\"],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Source the permissions\n var bar = Datadog.GetPermissions.Invoke();\n\n // Create a new Datadog role\n var foo = new Datadog.Role(\"foo\", new()\n {\n Name = \"foo\",\n Permissions = new[]\n {\n new Datadog.Inputs.RolePermissionArgs\n {\n Id = bar.Apply(getPermissionsResult =\u003e getPermissionsResult.Permissions?.MonitorsDowntime),\n },\n new Datadog.Inputs.RolePermissionArgs\n {\n Id = bar.Apply(getPermissionsResult =\u003e getPermissionsResult.Permissions?.MonitorsWrite),\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Source the permissions\n\t\tbar, err := datadog.GetPermissions(ctx, \u0026datadog.GetPermissionsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Datadog role\n\t\t_, err = datadog.NewRole(ctx, \"foo\", \u0026datadog.RoleArgs{\n\t\t\tName: pulumi.String(\"foo\"),\n\t\t\tPermissions: datadog.RolePermissionArray{\n\t\t\t\t\u0026datadog.RolePermissionArgs{\n\t\t\t\t\tId: pulumi.String(bar.Permissions.MonitorsDowntime),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.RolePermissionArgs{\n\t\t\t\t\tId: pulumi.String(bar.Permissions.MonitorsWrite),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetPermissionsArgs;\nimport com.pulumi.datadog.Role;\nimport com.pulumi.datadog.RoleArgs;\nimport com.pulumi.datadog.inputs.RolePermissionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Source the permissions\n final var bar = DatadogFunctions.getPermissions();\n\n // Create a new Datadog role\n var foo = new Role(\"foo\", RoleArgs.builder()\n .name(\"foo\")\n .permissions( \n RolePermissionArgs.builder()\n .id(bar.applyValue(getPermissionsResult -\u003e getPermissionsResult.permissions().monitorsDowntime()))\n .build(),\n RolePermissionArgs.builder()\n .id(bar.applyValue(getPermissionsResult -\u003e getPermissionsResult.permissions().monitorsWrite()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Datadog role\n foo:\n type: datadog:Role\n properties:\n name: foo\n permissions:\n - id: ${bar.permissions.monitorsDowntime}\n - id: ${bar.permissions.monitorsWrite}\nvariables:\n # Source the permissions\n bar:\n fn::invoke:\n Function: datadog:getPermissions\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRoles can be imported using their ID, e.g.\n\n```sh\n$ pulumi import datadog:index/role:Role example_role 000000-0000-0000-0000-000000000000\n```\n\n", + "description": "Provides a Datadog role resource. This can be used to create and manage Datadog roles.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Source the permissions\nconst bar = datadog.getPermissions({});\n// Create a new Datadog role\nconst foo = new datadog.Role(\"foo\", {\n name: \"foo\",\n permissions: [\n {\n id: bar.then(bar =\u003e bar.permissions?.monitorsDowntime),\n },\n {\n id: bar.then(bar =\u003e bar.permissions?.monitorsWrite),\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Source the permissions\nbar = datadog.get_permissions()\n# Create a new Datadog role\nfoo = datadog.Role(\"foo\",\n name=\"foo\",\n permissions=[\n {\n \"id\": bar.permissions[\"monitorsDowntime\"],\n },\n {\n \"id\": bar.permissions[\"monitorsWrite\"],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Source the permissions\n var bar = Datadog.GetPermissions.Invoke();\n\n // Create a new Datadog role\n var foo = new Datadog.Role(\"foo\", new()\n {\n Name = \"foo\",\n Permissions = new[]\n {\n new Datadog.Inputs.RolePermissionArgs\n {\n Id = bar.Apply(getPermissionsResult =\u003e getPermissionsResult.Permissions?.MonitorsDowntime),\n },\n new Datadog.Inputs.RolePermissionArgs\n {\n Id = bar.Apply(getPermissionsResult =\u003e getPermissionsResult.Permissions?.MonitorsWrite),\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Source the permissions\n\t\tbar, err := datadog.GetPermissions(ctx, \u0026datadog.GetPermissionsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Datadog role\n\t\t_, err = datadog.NewRole(ctx, \"foo\", \u0026datadog.RoleArgs{\n\t\t\tName: pulumi.String(\"foo\"),\n\t\t\tPermissions: datadog.RolePermissionArray{\n\t\t\t\t\u0026datadog.RolePermissionArgs{\n\t\t\t\t\tId: pulumi.String(bar.Permissions.MonitorsDowntime),\n\t\t\t\t},\n\t\t\t\t\u0026datadog.RolePermissionArgs{\n\t\t\t\t\tId: pulumi.String(bar.Permissions.MonitorsWrite),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetPermissionsArgs;\nimport com.pulumi.datadog.Role;\nimport com.pulumi.datadog.RoleArgs;\nimport com.pulumi.datadog.inputs.RolePermissionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Source the permissions\n final var bar = DatadogFunctions.getPermissions();\n\n // Create a new Datadog role\n var foo = new Role(\"foo\", RoleArgs.builder()\n .name(\"foo\")\n .permissions( \n RolePermissionArgs.builder()\n .id(bar.applyValue(getPermissionsResult -\u003e getPermissionsResult.permissions().monitorsDowntime()))\n .build(),\n RolePermissionArgs.builder()\n .id(bar.applyValue(getPermissionsResult -\u003e getPermissionsResult.permissions().monitorsWrite()))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Datadog role\n foo:\n type: datadog:Role\n properties:\n name: foo\n permissions:\n - id: ${bar.permissions.monitorsDowntime}\n - id: ${bar.permissions.monitorsWrite}\nvariables:\n # Source the permissions\n bar:\n fn::invoke:\n function: datadog:getPermissions\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nRoles can be imported using their ID, e.g.\n\n```sh\n$ pulumi import datadog:index/role:Role example_role 000000-0000-0000-0000-000000000000\n```\n\n", "properties": { "name": { "type": "string", @@ -38004,7 +38004,7 @@ } }, "datadog:index/serviceAccount:ServiceAccount": { - "description": "Provides a Datadog service account resource. This can be used to create and manage Datadog service accounts.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Source a role\nconst roRole = datadog.getRole({\n filter: \"Datadog Read Only Role\",\n});\n// Create a new Datadog service account\nconst bar = new datadog.ServiceAccount(\"bar\", {\n email: \"new@example.com\",\n name: \"Service Account Bar\",\n roles: [roRole.then(roRole =\u003e roRole.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Source a role\nro_role = datadog.get_role(filter=\"Datadog Read Only Role\")\n# Create a new Datadog service account\nbar = datadog.ServiceAccount(\"bar\",\n email=\"new@example.com\",\n name=\"Service Account Bar\",\n roles=[ro_role.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Source a role\n var roRole = Datadog.GetRole.Invoke(new()\n {\n Filter = \"Datadog Read Only Role\",\n });\n\n // Create a new Datadog service account\n var bar = new Datadog.ServiceAccount(\"bar\", new()\n {\n Email = \"new@example.com\",\n Name = \"Service Account Bar\",\n Roles = new[]\n {\n roRole.Apply(getRoleResult =\u003e getRoleResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Source a role\n\t\troRole, err := datadog.LookupRole(ctx, \u0026datadog.LookupRoleArgs{\n\t\t\tFilter: \"Datadog Read Only Role\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Datadog service account\n\t\t_, err = datadog.NewServiceAccount(ctx, \"bar\", \u0026datadog.ServiceAccountArgs{\n\t\t\tEmail: pulumi.String(\"new@example.com\"),\n\t\t\tName: pulumi.String(\"Service Account Bar\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(roRole.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRoleArgs;\nimport com.pulumi.datadog.ServiceAccount;\nimport com.pulumi.datadog.ServiceAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Source a role\n final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\n // Create a new Datadog service account\n var bar = new ServiceAccount(\"bar\", ServiceAccountArgs.builder()\n .email(\"new@example.com\")\n .name(\"Service Account Bar\")\n .roles(roRole.applyValue(getRoleResult -\u003e getRoleResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Datadog service account\n bar:\n type: datadog:ServiceAccount\n properties:\n email: new@example.com\n name: Service Account Bar\n roles:\n - ${roRole.id}\nvariables:\n # Source a role\n roRole:\n fn::invoke:\n Function: datadog:getRole\n Arguments:\n filter: Datadog Read Only Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/serviceAccount:ServiceAccount example_sa 6f1b44c0-30b2-11eb-86bc-279f7c1ebaa4\n```\n\n", + "description": "Provides a Datadog service account resource. This can be used to create and manage Datadog service accounts.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Source a role\nconst roRole = datadog.getRole({\n filter: \"Datadog Read Only Role\",\n});\n// Create a new Datadog service account\nconst bar = new datadog.ServiceAccount(\"bar\", {\n email: \"new@example.com\",\n name: \"Service Account Bar\",\n roles: [roRole.then(roRole =\u003e roRole.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Source a role\nro_role = datadog.get_role(filter=\"Datadog Read Only Role\")\n# Create a new Datadog service account\nbar = datadog.ServiceAccount(\"bar\",\n email=\"new@example.com\",\n name=\"Service Account Bar\",\n roles=[ro_role.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Source a role\n var roRole = Datadog.GetRole.Invoke(new()\n {\n Filter = \"Datadog Read Only Role\",\n });\n\n // Create a new Datadog service account\n var bar = new Datadog.ServiceAccount(\"bar\", new()\n {\n Email = \"new@example.com\",\n Name = \"Service Account Bar\",\n Roles = new[]\n {\n roRole.Apply(getRoleResult =\u003e getRoleResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Source a role\n\t\troRole, err := datadog.LookupRole(ctx, \u0026datadog.LookupRoleArgs{\n\t\t\tFilter: \"Datadog Read Only Role\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Datadog service account\n\t\t_, err = datadog.NewServiceAccount(ctx, \"bar\", \u0026datadog.ServiceAccountArgs{\n\t\t\tEmail: pulumi.String(\"new@example.com\"),\n\t\t\tName: pulumi.String(\"Service Account Bar\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(roRole.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRoleArgs;\nimport com.pulumi.datadog.ServiceAccount;\nimport com.pulumi.datadog.ServiceAccountArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Source a role\n final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\n // Create a new Datadog service account\n var bar = new ServiceAccount(\"bar\", ServiceAccountArgs.builder()\n .email(\"new@example.com\")\n .name(\"Service Account Bar\")\n .roles(roRole.applyValue(getRoleResult -\u003e getRoleResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Datadog service account\n bar:\n type: datadog:ServiceAccount\n properties:\n email: new@example.com\n name: Service Account Bar\n roles:\n - ${roRole.id}\nvariables:\n # Source a role\n roRole:\n fn::invoke:\n function: datadog:getRole\n arguments:\n filter: Datadog Read Only Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/serviceAccount:ServiceAccount example_sa 6f1b44c0-30b2-11eb-86bc-279f7c1ebaa4\n```\n\n", "properties": { "disabled": { "type": "boolean", @@ -39617,7 +39617,7 @@ } }, "datadog:index/user:User": { - "description": "Provides a Datadog user resource. This can be used to create and manage Datadog users.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Source a role\nconst roRole = datadog.getRole({\n filter: \"Datadog Read Only Role\",\n});\n// Create a new Datadog user\nconst foo = new datadog.User(\"foo\", {\n email: \"new@example.com\",\n roles: [roRole.then(roRole =\u003e roRole.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Source a role\nro_role = datadog.get_role(filter=\"Datadog Read Only Role\")\n# Create a new Datadog user\nfoo = datadog.User(\"foo\",\n email=\"new@example.com\",\n roles=[ro_role.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Source a role\n var roRole = Datadog.GetRole.Invoke(new()\n {\n Filter = \"Datadog Read Only Role\",\n });\n\n // Create a new Datadog user\n var foo = new Datadog.User(\"foo\", new()\n {\n Email = \"new@example.com\",\n Roles = new[]\n {\n roRole.Apply(getRoleResult =\u003e getRoleResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Source a role\n\t\troRole, err := datadog.LookupRole(ctx, \u0026datadog.LookupRoleArgs{\n\t\t\tFilter: \"Datadog Read Only Role\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Datadog user\n\t\t_, err = datadog.NewUser(ctx, \"foo\", \u0026datadog.UserArgs{\n\t\t\tEmail: pulumi.String(\"new@example.com\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(roRole.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRoleArgs;\nimport com.pulumi.datadog.User;\nimport com.pulumi.datadog.UserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Source a role\n final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\n // Create a new Datadog user\n var foo = new User(\"foo\", UserArgs.builder()\n .email(\"new@example.com\")\n .roles(roRole.applyValue(getRoleResult -\u003e getRoleResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Datadog user\n foo:\n type: datadog:User\n properties:\n email: new@example.com\n roles:\n - ${roRole.id}\nvariables:\n # Source a role\n roRole:\n fn::invoke:\n Function: datadog:getRole\n Arguments:\n filter: Datadog Read Only Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/user:User example_user 6f1b44c0-30b2-11eb-86bc-279f7c1ebaa4\n```\n\n", + "description": "Provides a Datadog user resource. This can be used to create and manage Datadog users.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Source a role\nconst roRole = datadog.getRole({\n filter: \"Datadog Read Only Role\",\n});\n// Create a new Datadog user\nconst foo = new datadog.User(\"foo\", {\n email: \"new@example.com\",\n roles: [roRole.then(roRole =\u003e roRole.id)],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Source a role\nro_role = datadog.get_role(filter=\"Datadog Read Only Role\")\n# Create a new Datadog user\nfoo = datadog.User(\"foo\",\n email=\"new@example.com\",\n roles=[ro_role.id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Source a role\n var roRole = Datadog.GetRole.Invoke(new()\n {\n Filter = \"Datadog Read Only Role\",\n });\n\n // Create a new Datadog user\n var foo = new Datadog.User(\"foo\", new()\n {\n Email = \"new@example.com\",\n Roles = new[]\n {\n roRole.Apply(getRoleResult =\u003e getRoleResult.Id),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Source a role\n\t\troRole, err := datadog.LookupRole(ctx, \u0026datadog.LookupRoleArgs{\n\t\t\tFilter: \"Datadog Read Only Role\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a new Datadog user\n\t\t_, err = datadog.NewUser(ctx, \"foo\", \u0026datadog.UserArgs{\n\t\t\tEmail: pulumi.String(\"new@example.com\"),\n\t\t\tRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(roRole.Id),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRoleArgs;\nimport com.pulumi.datadog.User;\nimport com.pulumi.datadog.UserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Source a role\n final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\n // Create a new Datadog user\n var foo = new User(\"foo\", UserArgs.builder()\n .email(\"new@example.com\")\n .roles(roRole.applyValue(getRoleResult -\u003e getRoleResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a new Datadog user\n foo:\n type: datadog:User\n properties:\n email: new@example.com\n roles:\n - ${roRole.id}\nvariables:\n # Source a role\n roRole:\n fn::invoke:\n function: datadog:getRole\n arguments:\n filter: Datadog Read Only Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/user:User example_user 6f1b44c0-30b2-11eb-86bc-279f7c1ebaa4\n```\n\n", "properties": { "disabled": { "type": "boolean", @@ -40058,7 +40058,7 @@ } }, "datadog:pagerduty/integration:Integration": { - "description": "Provides a Datadog - PagerDuty resource. This can be used to create and manage Datadog - PagerDuty integration. See also [PagerDuty Integration Guide](https://www.pagerduty.com/docs/guides/datadog-integration-guide/).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n// Services as Individual Resources\nconst pd = new datadog.pagerduty.Integration(\"pd\", {\n schedules: [\n \"https://ddog.pagerduty.com/schedules/X123VF\",\n \"https://ddog.pagerduty.com/schedules/X321XX\",\n ],\n subdomain: \"ddog\",\n apiToken: \"38457822378273432587234242874\",\n});\nconst testingFoo = new datadog.pagerduty.ServiceObject(\"testing_foo\", {\n serviceName: \"testing_foo\",\n serviceKey: \"9876543210123456789\",\n}, {\n dependsOn: [pd],\n});\nconst testingBar = new datadog.pagerduty.ServiceObject(\"testing_bar\", {\n serviceName: \"testing_bar\",\n serviceKey: \"54321098765432109876\",\n}, {\n dependsOn: [pd],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n# Services as Individual Resources\npd = datadog.pagerduty.Integration(\"pd\",\n schedules=[\n \"https://ddog.pagerduty.com/schedules/X123VF\",\n \"https://ddog.pagerduty.com/schedules/X321XX\",\n ],\n subdomain=\"ddog\",\n api_token=\"38457822378273432587234242874\")\ntesting_foo = datadog.pagerduty.ServiceObject(\"testing_foo\",\n service_name=\"testing_foo\",\n service_key=\"9876543210123456789\",\n opts = pulumi.ResourceOptions(depends_on=[pd]))\ntesting_bar = datadog.pagerduty.ServiceObject(\"testing_bar\",\n service_name=\"testing_bar\",\n service_key=\"54321098765432109876\",\n opts = pulumi.ResourceOptions(depends_on=[pd]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n // Services as Individual Resources\n var pd = new Datadog.PagerDuty.Integration(\"pd\", new()\n {\n Schedules = new[]\n {\n \"https://ddog.pagerduty.com/schedules/X123VF\",\n \"https://ddog.pagerduty.com/schedules/X321XX\",\n },\n Subdomain = \"ddog\",\n ApiToken = \"38457822378273432587234242874\",\n });\n\n var testingFoo = new Datadog.PagerDuty.ServiceObject(\"testing_foo\", new()\n {\n ServiceName = \"testing_foo\",\n ServiceKey = \"9876543210123456789\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n pd,\n },\n });\n\n var testingBar = new Datadog.PagerDuty.ServiceObject(\"testing_bar\", new()\n {\n ServiceName = \"testing_bar\",\n ServiceKey = \"54321098765432109876\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n pd,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/pagerduty\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n\t\t// Services as Individual Resources\n\t\tpd, err := pagerduty.NewIntegration(ctx, \"pd\", \u0026pagerduty.IntegrationArgs{\n\t\t\tSchedules: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://ddog.pagerduty.com/schedules/X123VF\"),\n\t\t\t\tpulumi.String(\"https://ddog.pagerduty.com/schedules/X321XX\"),\n\t\t\t},\n\t\t\tSubdomain: pulumi.String(\"ddog\"),\n\t\t\tApiToken: pulumi.String(\"38457822378273432587234242874\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pagerduty.NewServiceObject(ctx, \"testing_foo\", \u0026pagerduty.ServiceObjectArgs{\n\t\t\tServiceName: pulumi.String(\"testing_foo\"),\n\t\t\tServiceKey: pulumi.String(\"9876543210123456789\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tpd,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pagerduty.NewServiceObject(ctx, \"testing_bar\", \u0026pagerduty.ServiceObjectArgs{\n\t\t\tServiceName: pulumi.String(\"testing_bar\"),\n\t\t\tServiceKey: pulumi.String(\"54321098765432109876\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tpd,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.pagerduty.Integration;\nimport com.pulumi.datadog.pagerduty.IntegrationArgs;\nimport com.pulumi.datadog.pagerduty.ServiceObject;\nimport com.pulumi.datadog.pagerduty.ServiceObjectArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n // Services as Individual Resources\n var pd = new Integration(\"pd\", IntegrationArgs.builder()\n .schedules( \n \"https://ddog.pagerduty.com/schedules/X123VF\",\n \"https://ddog.pagerduty.com/schedules/X321XX\")\n .subdomain(\"ddog\")\n .apiToken(\"38457822378273432587234242874\")\n .build());\n\n var testingFoo = new ServiceObject(\"testingFoo\", ServiceObjectArgs.builder()\n .serviceName(\"testing_foo\")\n .serviceKey(\"9876543210123456789\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(pd)\n .build());\n\n var testingBar = new ServiceObject(\"testingBar\", ServiceObjectArgs.builder()\n .serviceName(\"testing_bar\")\n .serviceKey(\"54321098765432109876\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(pd)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n\n # Services as Individual Resources\n pd:\n type: datadog:pagerduty:Integration\n properties:\n schedules:\n - https://ddog.pagerduty.com/schedules/X123VF\n - https://ddog.pagerduty.com/schedules/X321XX\n subdomain: ddog\n apiToken: '38457822378273432587234242874'\n testingFoo:\n type: datadog:pagerduty:ServiceObject\n name: testing_foo\n properties:\n serviceName: testing_foo\n serviceKey: '9876543210123456789'\n options:\n dependson:\n - ${pd}\n testingBar:\n type: datadog:pagerduty:ServiceObject\n name: testing_bar\n properties:\n serviceName: testing_bar\n serviceKey: '54321098765432109876'\n options:\n dependson:\n - ${pd}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Provides a Datadog - PagerDuty resource. This can be used to create and manage Datadog - PagerDuty integration. See also [PagerDuty Integration Guide](https://www.pagerduty.com/docs/guides/datadog-integration-guide/).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n// Services as Individual Resources\nconst pd = new datadog.pagerduty.Integration(\"pd\", {\n schedules: [\n \"https://ddog.pagerduty.com/schedules/X123VF\",\n \"https://ddog.pagerduty.com/schedules/X321XX\",\n ],\n subdomain: \"ddog\",\n apiToken: \"38457822378273432587234242874\",\n});\nconst testingFoo = new datadog.pagerduty.ServiceObject(\"testing_foo\", {\n serviceName: \"testing_foo\",\n serviceKey: \"9876543210123456789\",\n}, {\n dependsOn: [pd],\n});\nconst testingBar = new datadog.pagerduty.ServiceObject(\"testing_bar\", {\n serviceName: \"testing_bar\",\n serviceKey: \"54321098765432109876\",\n}, {\n dependsOn: [pd],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n# Services as Individual Resources\npd = datadog.pagerduty.Integration(\"pd\",\n schedules=[\n \"https://ddog.pagerduty.com/schedules/X123VF\",\n \"https://ddog.pagerduty.com/schedules/X321XX\",\n ],\n subdomain=\"ddog\",\n api_token=\"38457822378273432587234242874\")\ntesting_foo = datadog.pagerduty.ServiceObject(\"testing_foo\",\n service_name=\"testing_foo\",\n service_key=\"9876543210123456789\",\n opts = pulumi.ResourceOptions(depends_on=[pd]))\ntesting_bar = datadog.pagerduty.ServiceObject(\"testing_bar\",\n service_name=\"testing_bar\",\n service_key=\"54321098765432109876\",\n opts = pulumi.ResourceOptions(depends_on=[pd]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n // Services as Individual Resources\n var pd = new Datadog.PagerDuty.Integration(\"pd\", new()\n {\n Schedules = new[]\n {\n \"https://ddog.pagerduty.com/schedules/X123VF\",\n \"https://ddog.pagerduty.com/schedules/X321XX\",\n },\n Subdomain = \"ddog\",\n ApiToken = \"38457822378273432587234242874\",\n });\n\n var testingFoo = new Datadog.PagerDuty.ServiceObject(\"testing_foo\", new()\n {\n ServiceName = \"testing_foo\",\n ServiceKey = \"9876543210123456789\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n pd,\n },\n });\n\n var testingBar = new Datadog.PagerDuty.ServiceObject(\"testing_bar\", new()\n {\n ServiceName = \"testing_bar\",\n ServiceKey = \"54321098765432109876\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n pd,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/pagerduty\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n\t\t// Services as Individual Resources\n\t\tpd, err := pagerduty.NewIntegration(ctx, \"pd\", \u0026pagerduty.IntegrationArgs{\n\t\t\tSchedules: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"https://ddog.pagerduty.com/schedules/X123VF\"),\n\t\t\t\tpulumi.String(\"https://ddog.pagerduty.com/schedules/X321XX\"),\n\t\t\t},\n\t\t\tSubdomain: pulumi.String(\"ddog\"),\n\t\t\tApiToken: pulumi.String(\"38457822378273432587234242874\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pagerduty.NewServiceObject(ctx, \"testing_foo\", \u0026pagerduty.ServiceObjectArgs{\n\t\t\tServiceName: pulumi.String(\"testing_foo\"),\n\t\t\tServiceKey: pulumi.String(\"9876543210123456789\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tpd,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = pagerduty.NewServiceObject(ctx, \"testing_bar\", \u0026pagerduty.ServiceObjectArgs{\n\t\t\tServiceName: pulumi.String(\"testing_bar\"),\n\t\t\tServiceKey: pulumi.String(\"54321098765432109876\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tpd,\n\t\t}))\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.pagerduty.Integration;\nimport com.pulumi.datadog.pagerduty.IntegrationArgs;\nimport com.pulumi.datadog.pagerduty.ServiceObject;\nimport com.pulumi.datadog.pagerduty.ServiceObjectArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n // Services as Individual Resources\n var pd = new Integration(\"pd\", IntegrationArgs.builder()\n .schedules( \n \"https://ddog.pagerduty.com/schedules/X123VF\",\n \"https://ddog.pagerduty.com/schedules/X321XX\")\n .subdomain(\"ddog\")\n .apiToken(\"38457822378273432587234242874\")\n .build());\n\n var testingFoo = new ServiceObject(\"testingFoo\", ServiceObjectArgs.builder()\n .serviceName(\"testing_foo\")\n .serviceKey(\"9876543210123456789\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(pd)\n .build());\n\n var testingBar = new ServiceObject(\"testingBar\", ServiceObjectArgs.builder()\n .serviceName(\"testing_bar\")\n .serviceKey(\"54321098765432109876\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(pd)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Note: Until terraform-provider-datadog version 2.1.0, service objects under the services key were specified inside the datadog_integration_pagerduty resource. This was incompatible with multi-configuration-file setups, where users wanted to have individual service objects controlled from different Terraform configuration files. The recommended approach now is specifying service objects as individual resources using datadog_integration_pagerduty_service_object.\n\n # Services as Individual Resources\n pd:\n type: datadog:pagerduty:Integration\n properties:\n schedules:\n - https://ddog.pagerduty.com/schedules/X123VF\n - https://ddog.pagerduty.com/schedules/X321XX\n subdomain: ddog\n apiToken: '38457822378273432587234242874'\n testingFoo:\n type: datadog:pagerduty:ServiceObject\n name: testing_foo\n properties:\n serviceName: testing_foo\n serviceKey: '9876543210123456789'\n options:\n dependsOn:\n - ${pd}\n testingBar:\n type: datadog:pagerduty:ServiceObject\n name: testing_bar\n properties:\n serviceName: testing_bar\n serviceKey: '54321098765432109876'\n options:\n dependsOn:\n - ${pd}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "apiToken": { "type": "string", @@ -40259,7 +40259,7 @@ } }, "datadog:aws/getIntegrationNamespaceRules:getIntegrationNamespaceRules": { - "description": "Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst rules = datadog.aws.getIntegrationNamespaceRules({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nrules = datadog.aws.get_integration_namespace_rules()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var rules = Datadog.Aws.GetIntegrationNamespaceRules.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := aws.GetIntegrationNamespaceRules(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.aws.AwsFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var rules = AwsFunctions.getIntegrationNamespaceRules();\n\n }\n}\n```\n```yaml\nvariables:\n rules:\n fn::invoke:\n Function: datadog:aws:getIntegrationNamespaceRules\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst rules = datadog.aws.getIntegrationNamespaceRules({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nrules = datadog.aws.get_integration_namespace_rules()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var rules = Datadog.Aws.GetIntegrationNamespaceRules.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog/aws\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := aws.GetIntegrationNamespaceRules(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.aws.AwsFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var rules = AwsFunctions.getIntegrationNamespaceRules();\n\n }\n}\n```\n```yaml\nvariables:\n rules:\n fn::invoke:\n function: datadog:aws:getIntegrationNamespaceRules\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getIntegrationNamespaceRules.\n", "properties": { @@ -40283,7 +40283,7 @@ } }, "datadog:index/getApiKey:getApiKey": { - "description": "Use this data source to retrieve information about an existing api key. Deprecated. This will be removed in a future release with prior notice. Securely store your API keys using a secret management system or use the datadog.ApiKey resource to manage API keys in your Datadog account.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getApiKey({\n name: \"foo-application\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_api_key(name=\"foo-application\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetApiKey.Invoke(new()\n {\n Name = \"foo-application\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupApiKey(ctx, \u0026datadog.LookupApiKeyArgs{\n\t\t\tName: pulumi.StringRef(\"foo-application\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetApiKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getApiKey(GetApiKeyArgs.builder()\n .name(\"foo-application\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: datadog:getApiKey\n Arguments:\n name: foo-application\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing api key. Deprecated. This will be removed in a future release with prior notice. Securely store your API keys using a secret management system or use the datadog.ApiKey resource to manage API keys in your Datadog account.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getApiKey({\n name: \"foo-application\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_api_key(name=\"foo-application\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetApiKey.Invoke(new()\n {\n Name = \"foo-application\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupApiKey(ctx, \u0026datadog.LookupApiKeyArgs{\n\t\t\tName: pulumi.StringRef(\"foo-application\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetApiKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getApiKey(GetApiKeyArgs.builder()\n .name(\"foo-application\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n function: datadog:getApiKey\n arguments:\n name: foo-application\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getApiKey.\n", "properties": { @@ -40330,7 +40330,7 @@ } }, "datadog:index/getApmRetentionFiltersOrder:getApmRetentionFiltersOrder": { - "description": "Provides a Datadog [APM Retention Filters API](https://docs.datadoghq.com/api/v2/apm-retention-filters/) order datasource. This can be used to retrieve APM retention filters order.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getApmRetentionFiltersOrder({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_apm_retention_filters_order()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetApmRetentionFiltersOrder.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetApmRetentionFiltersOrder(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getApmRetentionFiltersOrder();\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: datadog:getApmRetentionFiltersOrder\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Provides a Datadog [APM Retention Filters API](https://docs.datadoghq.com/api/v2/apm-retention-filters/) order datasource. This can be used to retrieve APM retention filters order.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getApmRetentionFiltersOrder({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_apm_retention_filters_order()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetApmRetentionFiltersOrder.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetApmRetentionFiltersOrder(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getApmRetentionFiltersOrder();\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n function: datadog:getApmRetentionFiltersOrder\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getApmRetentionFiltersOrder.\n", "properties": { @@ -40354,7 +40354,7 @@ } }, "datadog:index/getApplicationKey:getApplicationKey": { - "description": "Use this data source to retrieve information about an existing application key. Deprecated. This will be removed in a future release with prior notice. Securely store your application keys using a secret management system or use the datadog.ApplicationKey resource to manage application keys in your Datadog account.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getApplicationKey({\n name: \"foo-application\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_application_key(name=\"foo-application\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetApplicationKey.Invoke(new()\n {\n Name = \"foo-application\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupApplicationKey(ctx, \u0026datadog.LookupApplicationKeyArgs{\n\t\t\tName: pulumi.StringRef(\"foo-application\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetApplicationKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getApplicationKey(GetApplicationKeyArgs.builder()\n .name(\"foo-application\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: datadog:getApplicationKey\n Arguments:\n name: foo-application\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing application key. Deprecated. This will be removed in a future release with prior notice. Securely store your application keys using a secret management system or use the datadog.ApplicationKey resource to manage application keys in your Datadog account.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getApplicationKey({\n name: \"foo-application\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_application_key(name=\"foo-application\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetApplicationKey.Invoke(new()\n {\n Name = \"foo-application\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupApplicationKey(ctx, \u0026datadog.LookupApplicationKeyArgs{\n\t\t\tName: pulumi.StringRef(\"foo-application\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetApplicationKeyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getApplicationKey(GetApplicationKeyArgs.builder()\n .name(\"foo-application\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n function: datadog:getApplicationKey\n arguments:\n name: foo-application\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getApplicationKey.\n", "properties": { @@ -40401,7 +40401,7 @@ } }, "datadog:index/getCloudWorkloadSecurityAgentRules:getCloudWorkloadSecurityAgentRules": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getCloudWorkloadSecurityAgentRules({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_cloud_workload_security_agent_rules()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetCloudWorkloadSecurityAgentRules.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetCloudWorkloadSecurityAgentRules(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getCloudWorkloadSecurityAgentRules();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getCloudWorkloadSecurityAgentRules\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getCloudWorkloadSecurityAgentRules({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_cloud_workload_security_agent_rules()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetCloudWorkloadSecurityAgentRules.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetCloudWorkloadSecurityAgentRules(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getCloudWorkloadSecurityAgentRules();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getCloudWorkloadSecurityAgentRules\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getCloudWorkloadSecurityAgentRules.\n", "properties": { @@ -40457,7 +40457,7 @@ } }, "datadog:index/getDashboard:getDashboard": { - "description": "Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getDashboard({\n name: \"My super dashboard\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_dashboard(name=\"My super dashboard\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetDashboard.Invoke(new()\n {\n Name = \"My super dashboard\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupDashboard(ctx, \u0026datadog.LookupDashboardArgs{\n\t\t\tName: \"My super dashboard\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetDashboardArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getDashboard(GetDashboardArgs.builder()\n .name(\"My super dashboard\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getDashboard\n Arguments:\n name: My super dashboard\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getDashboard({\n name: \"My super dashboard\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_dashboard(name=\"My super dashboard\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetDashboard.Invoke(new()\n {\n Name = \"My super dashboard\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupDashboard(ctx, \u0026datadog.LookupDashboardArgs{\n\t\t\tName: \"My super dashboard\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetDashboardArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getDashboard(GetDashboardArgs.builder()\n .name(\"My super dashboard\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getDashboard\n arguments:\n name: My super dashboard\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDashboard.\n", "properties": { @@ -40501,7 +40501,7 @@ } }, "datadog:index/getDashboardList:getDashboardList": { - "description": "Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getDashboardList({\n name: \"My super list\",\n});\n// Create a dashboard and register it in the list above.\nconst time = new datadog.Dashboard(\"time\", {\n title: \"TF Test Layout Dashboard\",\n description: \"Created using the Datadog provider in Pulumi\",\n dashboardLists: [test.then(test =\u003e test.id)],\n layoutType: \"ordered\",\n isReadOnly: true,\n widgets: [{\n alertGraphDefinition: {\n alertId: \"1234\",\n vizType: \"timeseries\",\n title: \"Widget Title\",\n liveSpan: \"1h\",\n },\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_dashboard_list(name=\"My super list\")\n# Create a dashboard and register it in the list above.\ntime = datadog.Dashboard(\"time\",\n title=\"TF Test Layout Dashboard\",\n description=\"Created using the Datadog provider in Pulumi\",\n dashboard_lists=[test.id],\n layout_type=\"ordered\",\n is_read_only=True,\n widgets=[{\n \"alert_graph_definition\": {\n \"alert_id\": \"1234\",\n \"viz_type\": \"timeseries\",\n \"title\": \"Widget Title\",\n \"live_span\": \"1h\",\n },\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetDashboardList.Invoke(new()\n {\n Name = \"My super list\",\n });\n\n // Create a dashboard and register it in the list above.\n var time = new Datadog.Dashboard(\"time\", new()\n {\n Title = \"TF Test Layout Dashboard\",\n Description = \"Created using the Datadog provider in Pulumi\",\n DashboardLists = new[]\n {\n test.Apply(getDashboardListResult =\u003e getDashboardListResult.Id),\n },\n LayoutType = \"ordered\",\n IsReadOnly = true,\n Widgets = new[]\n {\n new Datadog.Inputs.DashboardWidgetArgs\n {\n AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs\n {\n AlertId = \"1234\",\n VizType = \"timeseries\",\n Title = \"Widget Title\",\n LiveSpan = \"1h\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := datadog.LookupDashboardList(ctx, \u0026datadog.LookupDashboardListArgs{\n\t\t\tName: \"My super list\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a dashboard and register it in the list above.\n\t\t_, err = datadog.NewDashboard(ctx, \"time\", \u0026datadog.DashboardArgs{\n\t\t\tTitle: pulumi.String(\"TF Test Layout Dashboard\"),\n\t\t\tDescription: pulumi.String(\"Created using the Datadog provider in Pulumi\"),\n\t\t\tDashboardLists: pulumi.IntArray{\n\t\t\t\tpulumi.String(test.Id),\n\t\t\t},\n\t\t\tLayoutType: pulumi.String(\"ordered\"),\n\t\t\tIsReadOnly: pulumi.Bool(true),\n\t\t\tWidgets: datadog.DashboardWidgetArray{\n\t\t\t\t\u0026datadog.DashboardWidgetArgs{\n\t\t\t\t\tAlertGraphDefinition: \u0026datadog.DashboardWidgetAlertGraphDefinitionArgs{\n\t\t\t\t\t\tAlertId: pulumi.String(\"1234\"),\n\t\t\t\t\t\tVizType: pulumi.String(\"timeseries\"),\n\t\t\t\t\t\tTitle: pulumi.String(\"Widget Title\"),\n\t\t\t\t\t\tLiveSpan: pulumi.String(\"1h\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetDashboardListArgs;\nimport com.pulumi.datadog.Dashboard;\nimport com.pulumi.datadog.DashboardArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetAlertGraphDefinitionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getDashboardList(GetDashboardListArgs.builder()\n .name(\"My super list\")\n .build());\n\n // Create a dashboard and register it in the list above.\n var time = new Dashboard(\"time\", DashboardArgs.builder()\n .title(\"TF Test Layout Dashboard\")\n .description(\"Created using the Datadog provider in Pulumi\")\n .dashboardLists(test.applyValue(getDashboardListResult -\u003e getDashboardListResult.id()))\n .layoutType(\"ordered\")\n .isReadOnly(true)\n .widgets(DashboardWidgetArgs.builder()\n .alertGraphDefinition(DashboardWidgetAlertGraphDefinitionArgs.builder()\n .alertId(\"1234\")\n .vizType(\"timeseries\")\n .title(\"Widget Title\")\n .liveSpan(\"1h\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a dashboard and register it in the list above.\n time:\n type: datadog:Dashboard\n properties:\n title: TF Test Layout Dashboard\n description: Created using the Datadog provider in Pulumi\n dashboardLists:\n - ${test.id}\n layoutType: ordered\n isReadOnly: true\n widgets:\n - alertGraphDefinition:\n alertId: '1234'\n vizType: timeseries\n title: Widget Title\n liveSpan: 1h\nvariables:\n test:\n fn::invoke:\n Function: datadog:getDashboardList\n Arguments:\n name: My super list\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getDashboardList({\n name: \"My super list\",\n});\n// Create a dashboard and register it in the list above.\nconst time = new datadog.Dashboard(\"time\", {\n title: \"TF Test Layout Dashboard\",\n description: \"Created using the Datadog provider in Pulumi\",\n dashboardLists: [test.then(test =\u003e test.id)],\n layoutType: \"ordered\",\n isReadOnly: true,\n widgets: [{\n alertGraphDefinition: {\n alertId: \"1234\",\n vizType: \"timeseries\",\n title: \"Widget Title\",\n liveSpan: \"1h\",\n },\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_dashboard_list(name=\"My super list\")\n# Create a dashboard and register it in the list above.\ntime = datadog.Dashboard(\"time\",\n title=\"TF Test Layout Dashboard\",\n description=\"Created using the Datadog provider in Pulumi\",\n dashboard_lists=[test.id],\n layout_type=\"ordered\",\n is_read_only=True,\n widgets=[{\n \"alert_graph_definition\": {\n \"alert_id\": \"1234\",\n \"viz_type\": \"timeseries\",\n \"title\": \"Widget Title\",\n \"live_span\": \"1h\",\n },\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetDashboardList.Invoke(new()\n {\n Name = \"My super list\",\n });\n\n // Create a dashboard and register it in the list above.\n var time = new Datadog.Dashboard(\"time\", new()\n {\n Title = \"TF Test Layout Dashboard\",\n Description = \"Created using the Datadog provider in Pulumi\",\n DashboardLists = new[]\n {\n test.Apply(getDashboardListResult =\u003e getDashboardListResult.Id),\n },\n LayoutType = \"ordered\",\n IsReadOnly = true,\n Widgets = new[]\n {\n new Datadog.Inputs.DashboardWidgetArgs\n {\n AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs\n {\n AlertId = \"1234\",\n VizType = \"timeseries\",\n Title = \"Widget Title\",\n LiveSpan = \"1h\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := datadog.LookupDashboardList(ctx, \u0026datadog.LookupDashboardListArgs{\n\t\t\tName: \"My super list\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// Create a dashboard and register it in the list above.\n\t\t_, err = datadog.NewDashboard(ctx, \"time\", \u0026datadog.DashboardArgs{\n\t\t\tTitle: pulumi.String(\"TF Test Layout Dashboard\"),\n\t\t\tDescription: pulumi.String(\"Created using the Datadog provider in Pulumi\"),\n\t\t\tDashboardLists: pulumi.IntArray{\n\t\t\t\tpulumi.String(test.Id),\n\t\t\t},\n\t\t\tLayoutType: pulumi.String(\"ordered\"),\n\t\t\tIsReadOnly: pulumi.Bool(true),\n\t\t\tWidgets: datadog.DashboardWidgetArray{\n\t\t\t\t\u0026datadog.DashboardWidgetArgs{\n\t\t\t\t\tAlertGraphDefinition: \u0026datadog.DashboardWidgetAlertGraphDefinitionArgs{\n\t\t\t\t\t\tAlertId: pulumi.String(\"1234\"),\n\t\t\t\t\t\tVizType: pulumi.String(\"timeseries\"),\n\t\t\t\t\t\tTitle: pulumi.String(\"Widget Title\"),\n\t\t\t\t\t\tLiveSpan: pulumi.String(\"1h\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetDashboardListArgs;\nimport com.pulumi.datadog.Dashboard;\nimport com.pulumi.datadog.DashboardArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetArgs;\nimport com.pulumi.datadog.inputs.DashboardWidgetAlertGraphDefinitionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getDashboardList(GetDashboardListArgs.builder()\n .name(\"My super list\")\n .build());\n\n // Create a dashboard and register it in the list above.\n var time = new Dashboard(\"time\", DashboardArgs.builder()\n .title(\"TF Test Layout Dashboard\")\n .description(\"Created using the Datadog provider in Pulumi\")\n .dashboardLists(test.applyValue(getDashboardListResult -\u003e getDashboardListResult.id()))\n .layoutType(\"ordered\")\n .isReadOnly(true)\n .widgets(DashboardWidgetArgs.builder()\n .alertGraphDefinition(DashboardWidgetAlertGraphDefinitionArgs.builder()\n .alertId(\"1234\")\n .vizType(\"timeseries\")\n .title(\"Widget Title\")\n .liveSpan(\"1h\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create a dashboard and register it in the list above.\n time:\n type: datadog:Dashboard\n properties:\n title: TF Test Layout Dashboard\n description: Created using the Datadog provider in Pulumi\n dashboardLists:\n - ${test.id}\n layoutType: ordered\n isReadOnly: true\n widgets:\n - alertGraphDefinition:\n alertId: '1234'\n vizType: timeseries\n title: Widget Title\n liveSpan: 1h\nvariables:\n test:\n fn::invoke:\n function: datadog:getDashboardList\n arguments:\n name: My super list\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDashboardList.\n", "properties": { @@ -40535,7 +40535,7 @@ } }, "datadog:index/getHosts:getHosts": { - "description": "Use this data source to retrieve information about your live hosts in Datadog.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetHostsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getHosts(GetHostsArgs.builder()\n .includeMutedHostsData(true)\n .includeHostsMetadata(true)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: datadog:getHosts\n Arguments:\n includeMutedHostsData: true\n includeHostsMetadata: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about your live hosts in Datadog.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetHostsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getHosts(GetHostsArgs.builder()\n .includeMutedHostsData(true)\n .includeHostsMetadata(true)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n function: datadog:getHosts\n arguments:\n includeMutedHostsData: true\n includeHostsMetadata: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getHosts.\n", "properties": { @@ -40615,7 +40615,7 @@ } }, "datadog:index/getIpRanges:getIpRanges": { - "description": "Use this data source to retrieve information about Datadog's IP addresses.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getIpRanges({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_ip_ranges()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetIpRanges.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetIpRanges(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getIpRanges();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getIpRanges\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about Datadog's IP addresses.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getIpRanges({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_ip_ranges()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetIpRanges.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetIpRanges(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getIpRanges();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getIpRanges\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getIpRanges.\n", "properties": { @@ -40815,7 +40815,7 @@ } }, "datadog:index/getLogsIndexes:getLogsIndexes": { - "description": "Use this data source to list several existing logs indexes for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getLogsIndexes({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_logs_indexes()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetLogsIndexes.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetLogsIndexes(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getLogsIndexes();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getLogsIndexes\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to list several existing logs indexes for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getLogsIndexes({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_logs_indexes()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetLogsIndexes.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetLogsIndexes(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getLogsIndexes();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getLogsIndexes\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getLogsIndexes.\n", "properties": { @@ -40839,7 +40839,7 @@ } }, "datadog:index/getLogsIndexesOrder:getLogsIndexesOrder": { - "description": "Get the current order of your log indexes.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getLogsIndexesOrder({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_logs_indexes_order()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetLogsIndexesOrder.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetLogsIndexesOrder(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getLogsIndexesOrder();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getLogsIndexesOrder\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get the current order of your log indexes.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getLogsIndexesOrder({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_logs_indexes_order()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetLogsIndexesOrder.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetLogsIndexesOrder(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getLogsIndexesOrder();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getLogsIndexesOrder\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getLogsIndexesOrder.\n", "properties": { @@ -40901,7 +40901,7 @@ } }, "datadog:index/getMonitor:getMonitor": { - "description": "Use this data source to retrieve information about an existing monitor for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getMonitor({\n nameFilter: \"My awesome monitor\",\n monitorTagsFilters: [\"foo:bar\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_monitor(name_filter=\"My awesome monitor\",\n monitor_tags_filters=[\"foo:bar\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetMonitor.Invoke(new()\n {\n NameFilter = \"My awesome monitor\",\n MonitorTagsFilters = new[]\n {\n \"foo:bar\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupMonitor(ctx, \u0026datadog.LookupMonitorArgs{\n\t\t\tNameFilter: pulumi.StringRef(\"My awesome monitor\"),\n\t\t\tMonitorTagsFilters: []string{\n\t\t\t\t\"foo:bar\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetMonitorArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getMonitor(GetMonitorArgs.builder()\n .nameFilter(\"My awesome monitor\")\n .monitorTagsFilters(\"foo:bar\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getMonitor\n Arguments:\n nameFilter: My awesome monitor\n monitorTagsFilters:\n - foo:bar\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing monitor for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getMonitor({\n nameFilter: \"My awesome monitor\",\n monitorTagsFilters: [\"foo:bar\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_monitor(name_filter=\"My awesome monitor\",\n monitor_tags_filters=[\"foo:bar\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetMonitor.Invoke(new()\n {\n NameFilter = \"My awesome monitor\",\n MonitorTagsFilters = new[]\n {\n \"foo:bar\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupMonitor(ctx, \u0026datadog.LookupMonitorArgs{\n\t\t\tNameFilter: pulumi.StringRef(\"My awesome monitor\"),\n\t\t\tMonitorTagsFilters: []string{\n\t\t\t\t\"foo:bar\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetMonitorArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getMonitor(GetMonitorArgs.builder()\n .nameFilter(\"My awesome monitor\")\n .monitorTagsFilters(\"foo:bar\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getMonitor\n arguments:\n nameFilter: My awesome monitor\n monitorTagsFilters:\n - foo:bar\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getMonitor.\n", "properties": { @@ -41129,7 +41129,7 @@ } }, "datadog:index/getMonitorConfigPolicies:getMonitorConfigPolicies": { - "description": "Use this data source to list existing monitor config policies for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getMonitorConfigPolicies({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_monitor_config_policies()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetMonitorConfigPolicies.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetMonitorConfigPolicies(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getMonitorConfigPolicies();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getMonitorConfigPolicies\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to list existing monitor config policies for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getMonitorConfigPolicies({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_monitor_config_policies()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetMonitorConfigPolicies.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetMonitorConfigPolicies(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getMonitorConfigPolicies();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getMonitorConfigPolicies\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getMonitorConfigPolicies.\n", "properties": { @@ -41219,7 +41219,7 @@ } }, "datadog:index/getPermissions:getPermissions": { - "description": "Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst permissions = datadog.getPermissions({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\npermissions = datadog.get_permissions()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var permissions = Datadog.GetPermissions.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetPermissions(ctx, \u0026datadog.GetPermissionsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetPermissionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var permissions = DatadogFunctions.getPermissions();\n\n }\n}\n```\n```yaml\nvariables:\n permissions:\n fn::invoke:\n Function: datadog:getPermissions\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst permissions = datadog.getPermissions({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\npermissions = datadog.get_permissions()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var permissions = Datadog.GetPermissions.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetPermissions(ctx, \u0026datadog.GetPermissionsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetPermissionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var permissions = DatadogFunctions.getPermissions();\n\n }\n}\n```\n```yaml\nvariables:\n permissions:\n fn::invoke:\n function: datadog:getPermissions\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getPermissions.\n", "properties": { @@ -41291,7 +41291,7 @@ } }, "datadog:index/getRole:getRole": { - "description": "Use this data source to retrieve information about an existing role for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getRole({\n filter: \"Datadog Standard Role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_role(filter=\"Datadog Standard Role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetRole.Invoke(new()\n {\n Filter = \"Datadog Standard Role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupRole(ctx, \u0026datadog.LookupRoleArgs{\n\t\t\tFilter: \"Datadog Standard Role\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Standard Role\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getRole\n Arguments:\n filter: Datadog Standard Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing role for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getRole({\n filter: \"Datadog Standard Role\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_role(filter=\"Datadog Standard Role\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetRole.Invoke(new()\n {\n Filter = \"Datadog Standard Role\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupRole(ctx, \u0026datadog.LookupRoleArgs{\n\t\t\tFilter: \"Datadog Standard Role\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Standard Role\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getRole\n arguments:\n filter: Datadog Standard Role\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRole.\n", "properties": { @@ -41393,7 +41393,7 @@ } }, "datadog:index/getRoles:getRoles": { - "description": "Use this data source to retrieve information about multiple roles for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getRoles({\n filter: \"Datadog\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_roles(filter=\"Datadog\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetRoles.Invoke(new()\n {\n Filter = \"Datadog\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetRoles(ctx, \u0026datadog.GetRolesArgs{\n\t\t\tFilter: pulumi.StringRef(\"Datadog\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRolesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getRoles(GetRolesArgs.builder()\n .filter(\"Datadog\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: datadog:getRoles\n Arguments:\n filter: Datadog\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about multiple roles for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getRoles({\n filter: \"Datadog\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_roles(filter=\"Datadog\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetRoles.Invoke(new()\n {\n Filter = \"Datadog\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetRoles(ctx, \u0026datadog.GetRolesArgs{\n\t\t\tFilter: pulumi.StringRef(\"Datadog\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetRolesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getRoles(GetRolesArgs.builder()\n .filter(\"Datadog\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n function: datadog:getRoles\n arguments:\n filter: Datadog\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRoles.\n", "properties": { @@ -41488,7 +41488,7 @@ } }, "datadog:index/getSecurityMonitoringFilters:getSecurityMonitoringFilters": { - "description": "Use this data source to retrieve information about existing security monitoring filters for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getSecurityMonitoringFilters({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_security_monitoring_filters()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetSecurityMonitoringFilters.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetSecurityMonitoringFilters(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getSecurityMonitoringFilters();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getSecurityMonitoringFilters\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about existing security monitoring filters for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getSecurityMonitoringFilters({});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_security_monitoring_filters()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetSecurityMonitoringFilters.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetSecurityMonitoringFilters(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getSecurityMonitoringFilters();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getSecurityMonitoringFilters\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getSecurityMonitoringFilters.\n", "properties": { @@ -41520,7 +41520,7 @@ } }, "datadog:index/getSecurityMonitoringRules:getSecurityMonitoringRules": { - "description": "Use this data source to retrieve information about existing security monitoring rules for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getSecurityMonitoringRules({\n nameFilter: \"attack\",\n tagsFilters: [\"foo:bar\"],\n defaultOnlyFilter: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_security_monitoring_rules(name_filter=\"attack\",\n tags_filters=[\"foo:bar\"],\n default_only_filter=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetSecurityMonitoringRules.Invoke(new()\n {\n NameFilter = \"attack\",\n TagsFilters = new[]\n {\n \"foo:bar\",\n },\n DefaultOnlyFilter = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetSecurityMonitoringRules(ctx, \u0026datadog.GetSecurityMonitoringRulesArgs{\n\t\t\tNameFilter: pulumi.StringRef(\"attack\"),\n\t\t\tTagsFilters: []string{\n\t\t\t\t\"foo:bar\",\n\t\t\t},\n\t\t\tDefaultOnlyFilter: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetSecurityMonitoringRulesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getSecurityMonitoringRules(GetSecurityMonitoringRulesArgs.builder()\n .nameFilter(\"attack\")\n .tagsFilters(\"foo:bar\")\n .defaultOnlyFilter(true)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getSecurityMonitoringRules\n Arguments:\n nameFilter: attack\n tagsFilters:\n - foo:bar\n defaultOnlyFilter: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about existing security monitoring rules for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getSecurityMonitoringRules({\n nameFilter: \"attack\",\n tagsFilters: [\"foo:bar\"],\n defaultOnlyFilter: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_security_monitoring_rules(name_filter=\"attack\",\n tags_filters=[\"foo:bar\"],\n default_only_filter=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetSecurityMonitoringRules.Invoke(new()\n {\n NameFilter = \"attack\",\n TagsFilters = new[]\n {\n \"foo:bar\",\n },\n DefaultOnlyFilter = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetSecurityMonitoringRules(ctx, \u0026datadog.GetSecurityMonitoringRulesArgs{\n\t\t\tNameFilter: pulumi.StringRef(\"attack\"),\n\t\t\tTagsFilters: []string{\n\t\t\t\t\"foo:bar\",\n\t\t\t},\n\t\t\tDefaultOnlyFilter: pulumi.BoolRef(true),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetSecurityMonitoringRulesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getSecurityMonitoringRules(GetSecurityMonitoringRulesArgs.builder()\n .nameFilter(\"attack\")\n .tagsFilters(\"foo:bar\")\n .defaultOnlyFilter(true)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getSecurityMonitoringRules\n arguments:\n nameFilter: attack\n tagsFilters:\n - foo:bar\n defaultOnlyFilter: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSecurityMonitoringRules.\n", "properties": { @@ -41628,7 +41628,7 @@ } }, "datadog:index/getSensitiveDataScannerGroupOrder:getSensitiveDataScannerGroupOrder": { - "description": "Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getSensitiveDataScannerGroupOrder({});\nconst foobar = new datadog.SensitiveDataScannerGroupOrder(\"foobar\", {groupIds: foo.then(foo =\u003e foo.groupIds)});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_sensitive_data_scanner_group_order()\nfoobar = datadog.SensitiveDataScannerGroupOrder(\"foobar\", group_ids=foo.group_ids)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetSensitiveDataScannerGroupOrder.Invoke();\n\n var foobar = new Datadog.SensitiveDataScannerGroupOrder(\"foobar\", new()\n {\n GroupIds = foo.Apply(getSensitiveDataScannerGroupOrderResult =\u003e getSensitiveDataScannerGroupOrderResult.GroupIds),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo, err := datadog.LookupSensitiveDataScannerGroupOrder(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSensitiveDataScannerGroupOrder(ctx, \"foobar\", \u0026datadog.SensitiveDataScannerGroupOrderArgs{\n\t\t\tGroupIds: interface{}(foo.GroupIds),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.SensitiveDataScannerGroupOrder;\nimport com.pulumi.datadog.SensitiveDataScannerGroupOrderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getSensitiveDataScannerGroupOrder();\n\n var foobar = new SensitiveDataScannerGroupOrder(\"foobar\", SensitiveDataScannerGroupOrderArgs.builder()\n .groupIds(foo.applyValue(getSensitiveDataScannerGroupOrderResult -\u003e getSensitiveDataScannerGroupOrderResult.groupIds()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: datadog:SensitiveDataScannerGroupOrder\n properties:\n groupIds: ${foo.groupIds}\nvariables:\n foo:\n fn::invoke:\n Function: datadog:getSensitiveDataScannerGroupOrder\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getSensitiveDataScannerGroupOrder({});\nconst foobar = new datadog.SensitiveDataScannerGroupOrder(\"foobar\", {groupIds: foo.then(foo =\u003e foo.groupIds)});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_sensitive_data_scanner_group_order()\nfoobar = datadog.SensitiveDataScannerGroupOrder(\"foobar\", group_ids=foo.group_ids)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetSensitiveDataScannerGroupOrder.Invoke();\n\n var foobar = new Datadog.SensitiveDataScannerGroupOrder(\"foobar\", new()\n {\n GroupIds = foo.Apply(getSensitiveDataScannerGroupOrderResult =\u003e getSensitiveDataScannerGroupOrderResult.GroupIds),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tfoo, err := datadog.LookupSensitiveDataScannerGroupOrder(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSensitiveDataScannerGroupOrder(ctx, \"foobar\", \u0026datadog.SensitiveDataScannerGroupOrderArgs{\n\t\t\tGroupIds: interface{}(foo.GroupIds),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.SensitiveDataScannerGroupOrder;\nimport com.pulumi.datadog.SensitiveDataScannerGroupOrderArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getSensitiveDataScannerGroupOrder();\n\n var foobar = new SensitiveDataScannerGroupOrder(\"foobar\", SensitiveDataScannerGroupOrderArgs.builder()\n .groupIds(foo.applyValue(getSensitiveDataScannerGroupOrderResult -\u003e getSensitiveDataScannerGroupOrderResult.groupIds()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n foobar:\n type: datadog:SensitiveDataScannerGroupOrder\n properties:\n groupIds: ${foo.groupIds}\nvariables:\n foo:\n fn::invoke:\n function: datadog:getSensitiveDataScannerGroupOrder\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getSensitiveDataScannerGroupOrder.\n", "properties": { @@ -41810,7 +41810,7 @@ } }, "datadog:index/getServiceLevelObjective:getServiceLevelObjective": { - "description": "Use this data source to retrieve information about an existing SLO for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getServiceLevelObjective({\n nameQuery: \"My test SLO\",\n tagsQuery: \"foo:bar\",\n});\nconst apiSlo = datadog.getServiceLevelObjective({\n id: api.outputs.slo,\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_service_level_objective(name_query=\"My test SLO\",\n tags_query=\"foo:bar\")\napi_slo = datadog.get_service_level_objective(id=api[\"outputs\"][\"slo\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetServiceLevelObjective.Invoke(new()\n {\n NameQuery = \"My test SLO\",\n TagsQuery = \"foo:bar\",\n });\n\n var apiSlo = Datadog.GetServiceLevelObjective.Invoke(new()\n {\n Id = api.Outputs.Slo,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupServiceLevelObjective(ctx, \u0026datadog.LookupServiceLevelObjectiveArgs{\n\t\t\tNameQuery: pulumi.StringRef(\"My test SLO\"),\n\t\t\tTagsQuery: pulumi.StringRef(\"foo:bar\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.LookupServiceLevelObjective(ctx, \u0026datadog.LookupServiceLevelObjectiveArgs{\n\t\t\tId: pulumi.StringRef(api.Outputs.Slo),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetServiceLevelObjectiveArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getServiceLevelObjective(GetServiceLevelObjectiveArgs.builder()\n .nameQuery(\"My test SLO\")\n .tagsQuery(\"foo:bar\")\n .build());\n\n final var apiSlo = DatadogFunctions.getServiceLevelObjective(GetServiceLevelObjectiveArgs.builder()\n .id(api.outputs().slo())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getServiceLevelObjective\n Arguments:\n nameQuery: My test SLO\n tagsQuery: foo:bar\n apiSlo:\n fn::invoke:\n Function: datadog:getServiceLevelObjective\n Arguments:\n id: ${api.outputs.slo}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing SLO for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getServiceLevelObjective({\n nameQuery: \"My test SLO\",\n tagsQuery: \"foo:bar\",\n});\nconst apiSlo = datadog.getServiceLevelObjective({\n id: api.outputs.slo,\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_service_level_objective(name_query=\"My test SLO\",\n tags_query=\"foo:bar\")\napi_slo = datadog.get_service_level_objective(id=api[\"outputs\"][\"slo\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetServiceLevelObjective.Invoke(new()\n {\n NameQuery = \"My test SLO\",\n TagsQuery = \"foo:bar\",\n });\n\n var apiSlo = Datadog.GetServiceLevelObjective.Invoke(new()\n {\n Id = api.Outputs.Slo,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupServiceLevelObjective(ctx, \u0026datadog.LookupServiceLevelObjectiveArgs{\n\t\t\tNameQuery: pulumi.StringRef(\"My test SLO\"),\n\t\t\tTagsQuery: pulumi.StringRef(\"foo:bar\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.LookupServiceLevelObjective(ctx, \u0026datadog.LookupServiceLevelObjectiveArgs{\n\t\t\tId: pulumi.StringRef(api.Outputs.Slo),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetServiceLevelObjectiveArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getServiceLevelObjective(GetServiceLevelObjectiveArgs.builder()\n .nameQuery(\"My test SLO\")\n .tagsQuery(\"foo:bar\")\n .build());\n\n final var apiSlo = DatadogFunctions.getServiceLevelObjective(GetServiceLevelObjectiveArgs.builder()\n .id(api.outputs().slo())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getServiceLevelObjective\n arguments:\n nameQuery: My test SLO\n tagsQuery: foo:bar\n apiSlo:\n fn::invoke:\n function: datadog:getServiceLevelObjective\n arguments:\n id: ${api.outputs.slo}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getServiceLevelObjective.\n", "properties": { @@ -41897,7 +41897,7 @@ } }, "datadog:index/getServiceLevelObjectives:getServiceLevelObjectives": { - "description": "Use this data source to retrieve information about multiple SLOs for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst ftFooSlos = datadog.getServiceLevelObjectives({\n tagsQuery: \"owner:ft-foo\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nft_foo_slos = datadog.get_service_level_objectives(tags_query=\"owner:ft-foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ftFooSlos = Datadog.GetServiceLevelObjectives.Invoke(new()\n {\n TagsQuery = \"owner:ft-foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetServiceLevelObjectives(ctx, \u0026datadog.GetServiceLevelObjectivesArgs{\n\t\t\tTagsQuery: pulumi.StringRef(\"owner:ft-foo\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetServiceLevelObjectivesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var ftFooSlos = DatadogFunctions.getServiceLevelObjectives(GetServiceLevelObjectivesArgs.builder()\n .tagsQuery(\"owner:ft-foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n ftFooSlos:\n fn::invoke:\n Function: datadog:getServiceLevelObjectives\n Arguments:\n tagsQuery: owner:ft-foo\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about multiple SLOs for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst ftFooSlos = datadog.getServiceLevelObjectives({\n tagsQuery: \"owner:ft-foo\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nft_foo_slos = datadog.get_service_level_objectives(tags_query=\"owner:ft-foo\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var ftFooSlos = Datadog.GetServiceLevelObjectives.Invoke(new()\n {\n TagsQuery = \"owner:ft-foo\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetServiceLevelObjectives(ctx, \u0026datadog.GetServiceLevelObjectivesArgs{\n\t\t\tTagsQuery: pulumi.StringRef(\"owner:ft-foo\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetServiceLevelObjectivesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var ftFooSlos = DatadogFunctions.getServiceLevelObjectives(GetServiceLevelObjectivesArgs.builder()\n .tagsQuery(\"owner:ft-foo\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n ftFooSlos:\n fn::invoke:\n function: datadog:getServiceLevelObjectives\n arguments:\n tagsQuery: owner:ft-foo\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getServiceLevelObjectives.\n", "properties": { @@ -42099,7 +42099,7 @@ } }, "datadog:index/getTeam:getTeam": { - "description": "Use this data source to retrieve information about an existing Datadog team.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getTeam({\n teamId: \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_team(team_id=\"e6723c40-edb1-11ed-b816-da7ad0900002\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetTeam.Invoke(new()\n {\n TeamId = \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupTeam(ctx, \u0026datadog.LookupTeamArgs{\n\t\t\tTeamId: pulumi.StringRef(\"e6723c40-edb1-11ed-b816-da7ad0900002\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetTeamArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getTeam(GetTeamArgs.builder()\n .teamId(\"e6723c40-edb1-11ed-b816-da7ad0900002\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: datadog:getTeam\n Arguments:\n teamId: e6723c40-edb1-11ed-b816-da7ad0900002\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing Datadog team.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getTeam({\n teamId: \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_team(team_id=\"e6723c40-edb1-11ed-b816-da7ad0900002\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetTeam.Invoke(new()\n {\n TeamId = \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupTeam(ctx, \u0026datadog.LookupTeamArgs{\n\t\t\tTeamId: pulumi.StringRef(\"e6723c40-edb1-11ed-b816-da7ad0900002\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetTeamArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getTeam(GetTeamArgs.builder()\n .teamId(\"e6723c40-edb1-11ed-b816-da7ad0900002\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n function: datadog:getTeam\n arguments:\n teamId: e6723c40-edb1-11ed-b816-da7ad0900002\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getTeam.\n", "properties": { @@ -42168,7 +42168,7 @@ } }, "datadog:index/getTeamMemberships:getTeamMemberships": { - "description": "Use this data source to retrieve information about existing Datadog team memberships.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getTeamMemberships({\n teamId: \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n filterKeyword: \"foo@example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_team_memberships(team_id=\"e6723c40-edb1-11ed-b816-da7ad0900002\",\n filter_keyword=\"foo@example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetTeamMemberships.Invoke(new()\n {\n TeamId = \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n FilterKeyword = \"foo@example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetTeamMemberships(ctx, \u0026datadog.GetTeamMembershipsArgs{\n\t\t\tTeamId: \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n\t\t\tFilterKeyword: pulumi.StringRef(\"foo@example.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetTeamMembershipsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getTeamMemberships(GetTeamMembershipsArgs.builder()\n .teamId(\"e6723c40-edb1-11ed-b816-da7ad0900002\")\n .filterKeyword(\"foo@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n Function: datadog:getTeamMemberships\n Arguments:\n teamId: e6723c40-edb1-11ed-b816-da7ad0900002\n filterKeyword: foo@example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about existing Datadog team memberships.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst foo = datadog.getTeamMemberships({\n teamId: \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n filterKeyword: \"foo@example.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\nfoo = datadog.get_team_memberships(team_id=\"e6723c40-edb1-11ed-b816-da7ad0900002\",\n filter_keyword=\"foo@example.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var foo = Datadog.GetTeamMemberships.Invoke(new()\n {\n TeamId = \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n FilterKeyword = \"foo@example.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetTeamMemberships(ctx, \u0026datadog.GetTeamMembershipsArgs{\n\t\t\tTeamId: \"e6723c40-edb1-11ed-b816-da7ad0900002\",\n\t\t\tFilterKeyword: pulumi.StringRef(\"foo@example.com\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetTeamMembershipsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var foo = DatadogFunctions.getTeamMemberships(GetTeamMembershipsArgs.builder()\n .teamId(\"e6723c40-edb1-11ed-b816-da7ad0900002\")\n .filterKeyword(\"foo@example.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n foo:\n fn::invoke:\n function: datadog:getTeamMemberships\n arguments:\n teamId: e6723c40-edb1-11ed-b816-da7ad0900002\n filterKeyword: foo@example.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getTeamMemberships.\n", "properties": { @@ -42226,7 +42226,7 @@ } }, "datadog:index/getUser:getUser": { - "description": "Use this data source to retrieve information about an existing user to use it in an other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getUser({\n filter: \"user.name@company.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_user(filter=\"user.name@company.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetUser.Invoke(new()\n {\n Filter = \"user.name@company.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupUser(ctx, \u0026datadog.LookupUserArgs{\n\t\t\tFilter: \"user.name@company.com\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getUser(GetUserArgs.builder()\n .filter(\"user.name@company.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getUser\n Arguments:\n filter: user.name@company.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about an existing user to use it in an other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getUser({\n filter: \"user.name@company.com\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_user(filter=\"user.name@company.com\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetUser.Invoke(new()\n {\n Filter = \"user.name@company.com\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.LookupUser(ctx, \u0026datadog.LookupUserArgs{\n\t\t\tFilter: \"user.name@company.com\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetUserArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getUser(GetUserArgs.builder()\n .filter(\"user.name@company.com\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getUser\n arguments:\n filter: user.name@company.com\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getUser.\n", "properties": { @@ -42278,7 +42278,7 @@ } }, "datadog:index/getUsers:getUsers": { - "description": "Use this data source to retrieve information about existing users for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getUsers({\n filter: \"user.name@company.com\",\n filterStatus: \"Active,Pending\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_users(filter=\"user.name@company.com\",\n filter_status=\"Active,Pending\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetUsers.Invoke(new()\n {\n Filter = \"user.name@company.com\",\n FilterStatus = \"Active,Pending\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetUsers(ctx, \u0026datadog.GetUsersArgs{\n\t\t\tFilter: pulumi.StringRef(\"user.name@company.com\"),\n\t\t\tFilterStatus: pulumi.StringRef(\"Active,Pending\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetUsersArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getUsers(GetUsersArgs.builder()\n .filter(\"user.name@company.com\")\n .filterStatus(\"Active,Pending\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: datadog:getUsers\n Arguments:\n filter: user.name@company.com\n filterStatus: Active,Pending\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve information about existing users for use in other resources.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\nconst test = datadog.getUsers({\n filter: \"user.name@company.com\",\n filterStatus: \"Active,Pending\",\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\ntest = datadog.get_users(filter=\"user.name@company.com\",\n filter_status=\"Active,Pending\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Datadog.GetUsers.Invoke(new()\n {\n Filter = \"user.name@company.com\",\n FilterStatus = \"Active,Pending\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := datadog.GetUsers(ctx, \u0026datadog.GetUsersArgs{\n\t\t\tFilter: pulumi.StringRef(\"user.name@company.com\"),\n\t\t\tFilterStatus: pulumi.StringRef(\"Active,Pending\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetUsersArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var test = DatadogFunctions.getUsers(GetUsersArgs.builder()\n .filter(\"user.name@company.com\")\n .filterStatus(\"Active,Pending\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: datadog:getUsers\n arguments:\n filter: user.name@company.com\n filterStatus: Active,Pending\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getUsers.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 1aa98ea32..2e453ece3 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -6,9 +6,9 @@ toolchain go1.23.1 require ( github.com/pulumi/providertest v0.1.3 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0 - github.com/pulumi/pulumi/pkg/v3 v3.140.0 - github.com/pulumi/pulumi/sdk/v3 v3.140.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0 + github.com/pulumi/pulumi/pkg/v3 v3.142.0 + github.com/pulumi/pulumi/sdk/v3 v3.142.0 github.com/stretchr/testify v1.9.0 github.com/terraform-providers/terraform-provider-datadog v0.0.0 golang.org/x/text v0.17.0 @@ -188,8 +188,8 @@ require ( github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.10.0 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.17.0 // indirect - github.com/pulumi/pulumi-yaml v1.11.2 // indirect + github.com/pulumi/pulumi-java/pkg v0.18.0 // indirect + github.com/pulumi/pulumi-yaml v1.12.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/provider/go.sum b/provider/go.sum index 3899c9198..bcbfe0407 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1927,16 +1927,16 @@ github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+Sob github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.1.3 h1:GpNKRy/haNjRHiUA9bi4diU4Op2zf3axYXbga5AepHg= github.com/pulumi/providertest v0.1.3/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -github.com/pulumi/pulumi-java/pkg v0.17.0 h1:KmaVLrVmlkzShOfaJNJDlckorbFm8dM/C7L4hj6LX8U= -github.com/pulumi/pulumi-java/pkg v0.17.0/go.mod h1:ji4U4H7t81X4aaE88D9+z5CmKH/QoLwQi9N1iGl+2KQ= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0 h1:uJB3tM1j+9SKeXLCAx3DBVHsYk4ddXNrVoiqpgXal2Q= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0/go.mod h1:WnOTAfdtm5+kW3rIU0rLhxFSEHtJIMf19FdOU6NFXG0= -github.com/pulumi/pulumi-yaml v1.11.2 h1:MU7TTNbruGCSgNHhaBygjIbLWm3WSbd1q98GpMIgQzE= -github.com/pulumi/pulumi-yaml v1.11.2/go.mod h1:RdXRBupRGGAD1kbYNG1V1h6pyFnXisvQsl0AANvVjGI= -github.com/pulumi/pulumi/pkg/v3 v3.140.0 h1:/bvHa19HY/6qHWvuAOVII8qr72MDGGczBWlPYlPo3j0= -github.com/pulumi/pulumi/pkg/v3 v3.140.0/go.mod h1:rcTtSyisd7BzZTugNk/s9zlYgX9S0S10+pha3Tko6yM= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi-java/pkg v0.18.0 h1:3PApc5YegH69n6oubB63mqI97pF+oQywWr7ii4082Mw= +github.com/pulumi/pulumi-java/pkg v0.18.0/go.mod h1:YKYYFEb3Jvzf/dDJo0xOeEkIfBAMkkkdhXulauvEjmc= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0 h1:/Y/9hffZp2CFUfInVbv/9rWnZETiiOgKju1Ua512Ke8= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0/go.mod h1:B/Auryr+yVUkLOMzgpFe7HLwKAtXc6YJwpAXfNGyLPk= +github.com/pulumi/pulumi-yaml v1.12.0 h1:ThJP+EBqeJyCnS6w6/PwcEFOT5o112qv0lObhefmFCk= +github.com/pulumi/pulumi-yaml v1.12.0/go.mod h1:EhZd1XDfuLa15O51qVVE16U6r8ldK9mLIBclqWCX27Y= +github.com/pulumi/pulumi/pkg/v3 v3.142.0 h1:UE8TFyXrlxvPrATpd3Kl3En34KrFIFWOxxNAodywPNU= +github.com/pulumi/pulumi/pkg/v3 v3.142.0/go.mod h1:3k6WwRIT7veiDnk3Yo2NtqEYX+4dgLCrMIFvEOnjQqI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= diff --git a/sdk/go.mod b/sdk/go.mod index 297ea3e8d..73b8643db 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.140.0 + github.com/pulumi/pulumi/sdk/v3 v3.142.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 5d5453c0c..54cd0acde 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/nodejs/aws/getIntegrationLogsServices.ts b/sdk/nodejs/aws/getIntegrationLogsServices.ts index ca40e8c0d..b9e7b4544 100644 --- a/sdk/nodejs/aws/getIntegrationLogsServices.ts +++ b/sdk/nodejs/aws/getIntegrationLogsServices.ts @@ -31,7 +31,7 @@ export interface GetIntegrationLogsServicesResult { /** * Use this data source to retrieve all AWS log ready services. */ -export function getIntegrationLogsServicesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getIntegrationLogsServicesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:aws/getIntegrationLogsServices:getIntegrationLogsServices", { }, opts); diff --git a/sdk/nodejs/aws/getIntegrationNamespaceRules.ts b/sdk/nodejs/aws/getIntegrationNamespaceRules.ts index 58444f923..9cea51374 100644 --- a/sdk/nodejs/aws/getIntegrationNamespaceRules.ts +++ b/sdk/nodejs/aws/getIntegrationNamespaceRules.ts @@ -47,7 +47,7 @@ export interface GetIntegrationNamespaceRulesResult { * const rules = datadog.aws.getIntegrationNamespaceRules({}); * ``` */ -export function getIntegrationNamespaceRulesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getIntegrationNamespaceRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:aws/getIntegrationNamespaceRules:getIntegrationNamespaceRules", { }, opts); diff --git a/sdk/nodejs/getApiKey.ts b/sdk/nodejs/getApiKey.ts index 981e5a8da..570e3df26 100644 --- a/sdk/nodejs/getApiKey.ts +++ b/sdk/nodejs/getApiKey.ts @@ -81,7 +81,7 @@ export interface GetApiKeyResult { * }); * ``` */ -export function getApiKeyOutput(args?: GetApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getApiKeyOutput(args?: GetApiKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getApiKey:getApiKey", { diff --git a/sdk/nodejs/getApmRetentionFiltersOrder.ts b/sdk/nodejs/getApmRetentionFiltersOrder.ts index cba354895..9a24c3cb4 100644 --- a/sdk/nodejs/getApmRetentionFiltersOrder.ts +++ b/sdk/nodejs/getApmRetentionFiltersOrder.ts @@ -47,7 +47,7 @@ export interface GetApmRetentionFiltersOrderResult { * const foo = datadog.getApmRetentionFiltersOrder({}); * ``` */ -export function getApmRetentionFiltersOrderOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getApmRetentionFiltersOrderOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getApmRetentionFiltersOrder:getApmRetentionFiltersOrder", { }, opts); diff --git a/sdk/nodejs/getApplicationKey.ts b/sdk/nodejs/getApplicationKey.ts index 8c0fd27e7..cc913805d 100644 --- a/sdk/nodejs/getApplicationKey.ts +++ b/sdk/nodejs/getApplicationKey.ts @@ -81,7 +81,7 @@ export interface GetApplicationKeyResult { * }); * ``` */ -export function getApplicationKeyOutput(args?: GetApplicationKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getApplicationKeyOutput(args?: GetApplicationKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getApplicationKey:getApplicationKey", { diff --git a/sdk/nodejs/getCloudWorkloadSecurityAgentRules.ts b/sdk/nodejs/getCloudWorkloadSecurityAgentRules.ts index 9df21d85d..0565e6630 100644 --- a/sdk/nodejs/getCloudWorkloadSecurityAgentRules.ts +++ b/sdk/nodejs/getCloudWorkloadSecurityAgentRules.ts @@ -45,7 +45,7 @@ export interface GetCloudWorkloadSecurityAgentRulesResult { * const test = datadog.getCloudWorkloadSecurityAgentRules({}); * ``` */ -export function getCloudWorkloadSecurityAgentRulesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCloudWorkloadSecurityAgentRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getCloudWorkloadSecurityAgentRules:getCloudWorkloadSecurityAgentRules", { }, opts); diff --git a/sdk/nodejs/getCsmThreatsAgentRules.ts b/sdk/nodejs/getCsmThreatsAgentRules.ts index a0ab81060..ac8cb1a2f 100644 --- a/sdk/nodejs/getCsmThreatsAgentRules.ts +++ b/sdk/nodejs/getCsmThreatsAgentRules.ts @@ -35,7 +35,7 @@ export interface GetCsmThreatsAgentRulesResult { /** * Use this data source to retrieve information about existing Agent rules. */ -export function getCsmThreatsAgentRulesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getCsmThreatsAgentRulesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getCsmThreatsAgentRules:getCsmThreatsAgentRules", { }, opts); diff --git a/sdk/nodejs/getDashboard.ts b/sdk/nodejs/getDashboard.ts index 18bc83126..df1d8bf4e 100644 --- a/sdk/nodejs/getDashboard.ts +++ b/sdk/nodejs/getDashboard.ts @@ -70,7 +70,7 @@ export interface GetDashboardResult { * }); * ``` */ -export function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDashboardOutput(args: GetDashboardOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getDashboard:getDashboard", { "name": args.name, diff --git a/sdk/nodejs/getDashboardList.ts b/sdk/nodejs/getDashboardList.ts index 7f28221bf..c7fffc50f 100644 --- a/sdk/nodejs/getDashboardList.ts +++ b/sdk/nodejs/getDashboardList.ts @@ -94,7 +94,7 @@ export interface GetDashboardListResult { * }); * ``` */ -export function getDashboardListOutput(args: GetDashboardListOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDashboardListOutput(args: GetDashboardListOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getDashboardList:getDashboardList", { "name": args.name, diff --git a/sdk/nodejs/getHosts.ts b/sdk/nodejs/getHosts.ts index 82afac46d..1eef315d1 100644 --- a/sdk/nodejs/getHosts.ts +++ b/sdk/nodejs/getHosts.ts @@ -91,7 +91,7 @@ export interface GetHostsResult { /** * Use this data source to retrieve information about your live hosts in Datadog. */ -export function getHostsOutput(args?: GetHostsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getHostsOutput(args?: GetHostsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getHosts:getHosts", { diff --git a/sdk/nodejs/getIpRanges.ts b/sdk/nodejs/getIpRanges.ts index 17ccac550..b4b52025f 100644 --- a/sdk/nodejs/getIpRanges.ts +++ b/sdk/nodejs/getIpRanges.ts @@ -123,7 +123,7 @@ export interface GetIpRangesResult { * const test = datadog.getIpRanges({}); * ``` */ -export function getIpRangesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getIpRangesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getIpRanges:getIpRanges", { }, opts); diff --git a/sdk/nodejs/getLogsArchivesOrder.ts b/sdk/nodejs/getLogsArchivesOrder.ts index ed4d55cea..404af0909 100644 --- a/sdk/nodejs/getLogsArchivesOrder.ts +++ b/sdk/nodejs/getLogsArchivesOrder.ts @@ -29,7 +29,7 @@ export interface GetLogsArchivesOrderResult { /** * Get the current order of your logs archives. */ -export function getLogsArchivesOrderOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getLogsArchivesOrderOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getLogsArchivesOrder:getLogsArchivesOrder", { }, opts); diff --git a/sdk/nodejs/getLogsIndexes.ts b/sdk/nodejs/getLogsIndexes.ts index b450442e3..1a0c64dee 100644 --- a/sdk/nodejs/getLogsIndexes.ts +++ b/sdk/nodejs/getLogsIndexes.ts @@ -49,7 +49,7 @@ export interface GetLogsIndexesResult { * const test = datadog.getLogsIndexes({}); * ``` */ -export function getLogsIndexesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getLogsIndexesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getLogsIndexes:getLogsIndexes", { }, opts); diff --git a/sdk/nodejs/getLogsIndexesOrder.ts b/sdk/nodejs/getLogsIndexesOrder.ts index ec700a68a..505252dbd 100644 --- a/sdk/nodejs/getLogsIndexesOrder.ts +++ b/sdk/nodejs/getLogsIndexesOrder.ts @@ -47,7 +47,7 @@ export interface GetLogsIndexesOrderResult { * const test = datadog.getLogsIndexesOrder({}); * ``` */ -export function getLogsIndexesOrderOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getLogsIndexesOrderOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getLogsIndexesOrder:getLogsIndexesOrder", { }, opts); diff --git a/sdk/nodejs/getLogsPipelines.ts b/sdk/nodejs/getLogsPipelines.ts index 91f51f7ac..5e76023aa 100644 --- a/sdk/nodejs/getLogsPipelines.ts +++ b/sdk/nodejs/getLogsPipelines.ts @@ -77,7 +77,7 @@ export interface GetLogsPipelinesResult { * }); * ``` */ -export function getLogsPipelinesOutput(args?: GetLogsPipelinesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getLogsPipelinesOutput(args?: GetLogsPipelinesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getLogsPipelines:getLogsPipelines", { diff --git a/sdk/nodejs/getMonitor.ts b/sdk/nodejs/getMonitor.ts index e77350ad8..57a7bb80f 100644 --- a/sdk/nodejs/getMonitor.ts +++ b/sdk/nodejs/getMonitor.ts @@ -202,7 +202,7 @@ export interface GetMonitorResult { * }); * ``` */ -export function getMonitorOutput(args?: GetMonitorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMonitorOutput(args?: GetMonitorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getMonitor:getMonitor", { diff --git a/sdk/nodejs/getMonitorConfigPolicies.ts b/sdk/nodejs/getMonitorConfigPolicies.ts index 8658dfeab..486488cca 100644 --- a/sdk/nodejs/getMonitorConfigPolicies.ts +++ b/sdk/nodejs/getMonitorConfigPolicies.ts @@ -49,7 +49,7 @@ export interface GetMonitorConfigPoliciesResult { * const test = datadog.getMonitorConfigPolicies({}); * ``` */ -export function getMonitorConfigPoliciesOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMonitorConfigPoliciesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getMonitorConfigPolicies:getMonitorConfigPolicies", { }, opts); diff --git a/sdk/nodejs/getMonitors.ts b/sdk/nodejs/getMonitors.ts index bd707cb68..a2e3a8690 100644 --- a/sdk/nodejs/getMonitors.ts +++ b/sdk/nodejs/getMonitors.ts @@ -65,7 +65,7 @@ export interface GetMonitorsResult { /** * Use this data source to list several existing monitors for use in other resources. */ -export function getMonitorsOutput(args?: GetMonitorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMonitorsOutput(args?: GetMonitorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getMonitors:getMonitors", { diff --git a/sdk/nodejs/getPermissions.ts b/sdk/nodejs/getPermissions.ts index bbf83cf50..8284fd050 100644 --- a/sdk/nodejs/getPermissions.ts +++ b/sdk/nodejs/getPermissions.ts @@ -63,7 +63,7 @@ export interface GetPermissionsResult { * const permissions = datadog.getPermissions({}); * ``` */ -export function getPermissionsOutput(args?: GetPermissionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getPermissionsOutput(args?: GetPermissionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getPermissions:getPermissions", { diff --git a/sdk/nodejs/getPowerpack.ts b/sdk/nodejs/getPowerpack.ts index f6da71bd3..b3f561a95 100644 --- a/sdk/nodejs/getPowerpack.ts +++ b/sdk/nodejs/getPowerpack.ts @@ -40,7 +40,7 @@ export interface GetPowerpackResult { /** * Use this data source to retrieve information about an existing Datadog Powerpack. */ -export function getPowerpackOutput(args: GetPowerpackOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getPowerpackOutput(args: GetPowerpackOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getPowerpack:getPowerpack", { "name": args.name, diff --git a/sdk/nodejs/getRole.ts b/sdk/nodejs/getRole.ts index 8d200b857..23906d6e9 100644 --- a/sdk/nodejs/getRole.ts +++ b/sdk/nodejs/getRole.ts @@ -70,7 +70,7 @@ export interface GetRoleResult { * }); * ``` */ -export function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRoleOutput(args: GetRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getRole:getRole", { "filter": args.filter, diff --git a/sdk/nodejs/getRoleUsers.ts b/sdk/nodejs/getRoleUsers.ts index f02d224b7..59d434a1c 100644 --- a/sdk/nodejs/getRoleUsers.ts +++ b/sdk/nodejs/getRoleUsers.ts @@ -64,7 +64,7 @@ export interface GetRoleUsersResult { /** * Use this data source to retrieve information about existing Datadog role users assignments. This data source is in beta and is subject to change. */ -export function getRoleUsersOutput(args: GetRoleUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRoleUsersOutput(args: GetRoleUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getRoleUsers:getRoleUsers", { "exactMatch": args.exactMatch, diff --git a/sdk/nodejs/getRoles.ts b/sdk/nodejs/getRoles.ts index 43b03f521..64b092f82 100644 --- a/sdk/nodejs/getRoles.ts +++ b/sdk/nodejs/getRoles.ts @@ -69,7 +69,7 @@ export interface GetRolesResult { * }); * ``` */ -export function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRolesOutput(args?: GetRolesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getRoles:getRoles", { diff --git a/sdk/nodejs/getRumApplication.ts b/sdk/nodejs/getRumApplication.ts index bb6f3c86e..f6f480e85 100644 --- a/sdk/nodejs/getRumApplication.ts +++ b/sdk/nodejs/getRumApplication.ts @@ -67,7 +67,7 @@ export interface GetRumApplicationResult { /** * Use this data source to retrieve a Datadog RUM Application. */ -export function getRumApplicationOutput(args?: GetRumApplicationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRumApplicationOutput(args?: GetRumApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getRumApplication:getRumApplication", { diff --git a/sdk/nodejs/getSecurityMonitoringFilters.ts b/sdk/nodejs/getSecurityMonitoringFilters.ts index 2d78dd3f7..570e43deb 100644 --- a/sdk/nodejs/getSecurityMonitoringFilters.ts +++ b/sdk/nodejs/getSecurityMonitoringFilters.ts @@ -53,7 +53,7 @@ export interface GetSecurityMonitoringFiltersResult { * const test = datadog.getSecurityMonitoringFilters({}); * ``` */ -export function getSecurityMonitoringFiltersOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSecurityMonitoringFiltersOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getSecurityMonitoringFilters:getSecurityMonitoringFilters", { }, opts); diff --git a/sdk/nodejs/getSecurityMonitoringRules.ts b/sdk/nodejs/getSecurityMonitoringRules.ts index 06f9dc3fb..2bc461561 100644 --- a/sdk/nodejs/getSecurityMonitoringRules.ts +++ b/sdk/nodejs/getSecurityMonitoringRules.ts @@ -104,7 +104,7 @@ export interface GetSecurityMonitoringRulesResult { * }); * ``` */ -export function getSecurityMonitoringRulesOutput(args?: GetSecurityMonitoringRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSecurityMonitoringRulesOutput(args?: GetSecurityMonitoringRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getSecurityMonitoringRules:getSecurityMonitoringRules", { diff --git a/sdk/nodejs/getSecurityMonitoringSuppressions.ts b/sdk/nodejs/getSecurityMonitoringSuppressions.ts index 09b1302c3..6ff3cfe16 100644 --- a/sdk/nodejs/getSecurityMonitoringSuppressions.ts +++ b/sdk/nodejs/getSecurityMonitoringSuppressions.ts @@ -35,7 +35,7 @@ export interface GetSecurityMonitoringSuppressionsResult { /** * Use this data source to retrieve information about existing suppression rules, and use them in other resources. */ -export function getSecurityMonitoringSuppressionsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSecurityMonitoringSuppressionsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getSecurityMonitoringSuppressions:getSecurityMonitoringSuppressions", { }, opts); diff --git a/sdk/nodejs/getSensitiveDataScannerGroupOrder.ts b/sdk/nodejs/getSensitiveDataScannerGroupOrder.ts index a92a2cbd6..ed4fe3fc7 100644 --- a/sdk/nodejs/getSensitiveDataScannerGroupOrder.ts +++ b/sdk/nodejs/getSensitiveDataScannerGroupOrder.ts @@ -49,7 +49,7 @@ export interface GetSensitiveDataScannerGroupOrderResult { * const foobar = new datadog.SensitiveDataScannerGroupOrder("foobar", {groupIds: foo.then(foo => foo.groupIds)}); * ``` */ -export function getSensitiveDataScannerGroupOrderOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSensitiveDataScannerGroupOrderOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getSensitiveDataScannerGroupOrder:getSensitiveDataScannerGroupOrder", { }, opts); diff --git a/sdk/nodejs/getSensitiveDataScannerStandardPattern.ts b/sdk/nodejs/getSensitiveDataScannerStandardPattern.ts index 928f4fb83..cc696b9b5 100644 --- a/sdk/nodejs/getSensitiveDataScannerStandardPattern.ts +++ b/sdk/nodejs/getSensitiveDataScannerStandardPattern.ts @@ -56,7 +56,7 @@ export interface GetSensitiveDataScannerStandardPatternResult { /** * Use this data source to retrieve information about an existing sensitive data scanner standard pattern. */ -export function getSensitiveDataScannerStandardPatternOutput(args: GetSensitiveDataScannerStandardPatternOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSensitiveDataScannerStandardPatternOutput(args: GetSensitiveDataScannerStandardPatternOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getSensitiveDataScannerStandardPattern:getSensitiveDataScannerStandardPattern", { "filter": args.filter, diff --git a/sdk/nodejs/getServiceAccount.ts b/sdk/nodejs/getServiceAccount.ts index 4f15584a7..ec8077bcd 100644 --- a/sdk/nodejs/getServiceAccount.ts +++ b/sdk/nodejs/getServiceAccount.ts @@ -100,7 +100,7 @@ export interface GetServiceAccountResult { /** * Use this data source to retrieve information about an existing Datadog service account. */ -export function getServiceAccountOutput(args?: GetServiceAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getServiceAccountOutput(args?: GetServiceAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getServiceAccount:getServiceAccount", { diff --git a/sdk/nodejs/getServiceLevelObjective.ts b/sdk/nodejs/getServiceLevelObjective.ts index 06b42143d..a2b3f19b2 100644 --- a/sdk/nodejs/getServiceLevelObjective.ts +++ b/sdk/nodejs/getServiceLevelObjective.ts @@ -124,7 +124,7 @@ export interface GetServiceLevelObjectiveResult { * }); * ``` */ -export function getServiceLevelObjectiveOutput(args?: GetServiceLevelObjectiveOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getServiceLevelObjectiveOutput(args?: GetServiceLevelObjectiveOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getServiceLevelObjective:getServiceLevelObjective", { diff --git a/sdk/nodejs/getServiceLevelObjectives.ts b/sdk/nodejs/getServiceLevelObjectives.ts index 5c3f7173d..166a0fdb8 100644 --- a/sdk/nodejs/getServiceLevelObjectives.ts +++ b/sdk/nodejs/getServiceLevelObjectives.ts @@ -114,7 +114,7 @@ export interface GetServiceLevelObjectivesResult { * }); * ``` */ -export function getServiceLevelObjectivesOutput(args?: GetServiceLevelObjectivesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getServiceLevelObjectivesOutput(args?: GetServiceLevelObjectivesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getServiceLevelObjectives:getServiceLevelObjectives", { diff --git a/sdk/nodejs/getSyntheticsGlobalVariable.ts b/sdk/nodejs/getSyntheticsGlobalVariable.ts index 470f1dbfb..f6f5e2272 100644 --- a/sdk/nodejs/getSyntheticsGlobalVariable.ts +++ b/sdk/nodejs/getSyntheticsGlobalVariable.ts @@ -44,7 +44,7 @@ export interface GetSyntheticsGlobalVariableResult { /** * Use this data source to retrieve a Datadog Synthetics global variable (to be used in Synthetics tests). */ -export function getSyntheticsGlobalVariableOutput(args: GetSyntheticsGlobalVariableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSyntheticsGlobalVariableOutput(args: GetSyntheticsGlobalVariableOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getSyntheticsGlobalVariable:getSyntheticsGlobalVariable", { "name": args.name, diff --git a/sdk/nodejs/getSyntheticsLocations.ts b/sdk/nodejs/getSyntheticsLocations.ts index 6877ca4c7..45531ea4a 100644 --- a/sdk/nodejs/getSyntheticsLocations.ts +++ b/sdk/nodejs/getSyntheticsLocations.ts @@ -29,7 +29,7 @@ export interface GetSyntheticsLocationsResult { /** * Use this data source to retrieve Datadog's Synthetics Locations (to be used in Synthetics tests). */ -export function getSyntheticsLocationsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSyntheticsLocationsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getSyntheticsLocations:getSyntheticsLocations", { }, opts); diff --git a/sdk/nodejs/getSyntheticsTest.ts b/sdk/nodejs/getSyntheticsTest.ts index 5345c1626..78e154a6b 100644 --- a/sdk/nodejs/getSyntheticsTest.ts +++ b/sdk/nodejs/getSyntheticsTest.ts @@ -52,7 +52,7 @@ export interface GetSyntheticsTestResult { /** * Use this data source to retrieve a Datadog Synthetic Test. */ -export function getSyntheticsTestOutput(args: GetSyntheticsTestOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSyntheticsTestOutput(args: GetSyntheticsTestOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getSyntheticsTest:getSyntheticsTest", { "testId": args.testId, diff --git a/sdk/nodejs/getTeam.ts b/sdk/nodejs/getTeam.ts index b6ee7471b..05a669b35 100644 --- a/sdk/nodejs/getTeam.ts +++ b/sdk/nodejs/getTeam.ts @@ -96,7 +96,7 @@ export interface GetTeamResult { * }); * ``` */ -export function getTeamOutput(args?: GetTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTeamOutput(args?: GetTeamOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getTeam:getTeam", { diff --git a/sdk/nodejs/getTeamMemberships.ts b/sdk/nodejs/getTeamMemberships.ts index 65df76c31..483c94b8b 100644 --- a/sdk/nodejs/getTeamMemberships.ts +++ b/sdk/nodejs/getTeamMemberships.ts @@ -88,7 +88,7 @@ export interface GetTeamMembershipsResult { * }); * ``` */ -export function getTeamMembershipsOutput(args: GetTeamMembershipsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTeamMembershipsOutput(args: GetTeamMembershipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getTeamMemberships:getTeamMemberships", { "exactMatch": args.exactMatch, diff --git a/sdk/nodejs/getUser.ts b/sdk/nodejs/getUser.ts index 6c647d37b..51c2fe2ae 100644 --- a/sdk/nodejs/getUser.ts +++ b/sdk/nodejs/getUser.ts @@ -79,7 +79,7 @@ export interface GetUserResult { * }); * ``` */ -export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserOutput(args: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getUser:getUser", { "exactMatch": args.exactMatch, diff --git a/sdk/nodejs/getUsers.ts b/sdk/nodejs/getUsers.ts index 2d3925927..2e865533d 100644 --- a/sdk/nodejs/getUsers.ts +++ b/sdk/nodejs/getUsers.ts @@ -80,7 +80,7 @@ export interface GetUsersResult { * }); * ``` */ -export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("datadog:index/getUsers:getUsers", { diff --git a/sdk/python/pulumi_datadog/aws/get_integration_logs_services.py b/sdk/python/pulumi_datadog/aws/get_integration_logs_services.py index 4b9353ff8..69456397a 100644 --- a/sdk/python/pulumi_datadog/aws/get_integration_logs_services.py +++ b/sdk/python/pulumi_datadog/aws/get_integration_logs_services.py @@ -73,12 +73,12 @@ def get_integration_logs_services(opts: Optional[pulumi.InvokeOptions] = None) - return AwaitableGetIntegrationLogsServicesResult( aws_logs_services=pulumi.get(__ret__, 'aws_logs_services'), id=pulumi.get(__ret__, 'id')) -def get_integration_logs_services_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIntegrationLogsServicesResult]: +def get_integration_logs_services_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIntegrationLogsServicesResult]: """ Use this data source to retrieve all AWS log ready services. """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:aws/getIntegrationLogsServices:getIntegrationLogsServices', __args__, opts=opts, typ=GetIntegrationLogsServicesResult) return __ret__.apply(lambda __response__: GetIntegrationLogsServicesResult( aws_logs_services=pulumi.get(__response__, 'aws_logs_services'), diff --git a/sdk/python/pulumi_datadog/aws/get_integration_namespace_rules.py b/sdk/python/pulumi_datadog/aws/get_integration_namespace_rules.py index 977fdeeab..b1de3da58 100644 --- a/sdk/python/pulumi_datadog/aws/get_integration_namespace_rules.py +++ b/sdk/python/pulumi_datadog/aws/get_integration_namespace_rules.py @@ -81,7 +81,7 @@ def get_integration_namespace_rules(opts: Optional[pulumi.InvokeOptions] = None) return AwaitableGetIntegrationNamespaceRulesResult( id=pulumi.get(__ret__, 'id'), namespace_rules=pulumi.get(__ret__, 'namespace_rules')) -def get_integration_namespace_rules_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIntegrationNamespaceRulesResult]: +def get_integration_namespace_rules_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIntegrationNamespaceRulesResult]: """ Provides a Datadog AWS Integration Namespace Rules data source. This can be used to retrieve all available namespace rules for a Datadog-AWS integration. @@ -95,7 +95,7 @@ def get_integration_namespace_rules_output(opts: Optional[pulumi.InvokeOptions] ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:aws/getIntegrationNamespaceRules:getIntegrationNamespaceRules', __args__, opts=opts, typ=GetIntegrationNamespaceRulesResult) return __ret__.apply(lambda __response__: GetIntegrationNamespaceRulesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_api_key.py b/sdk/python/pulumi_datadog/get_api_key.py index e124d39f2..592add05c 100644 --- a/sdk/python/pulumi_datadog/get_api_key.py +++ b/sdk/python/pulumi_datadog/get_api_key.py @@ -121,7 +121,7 @@ def get_api_key(exact_match: Optional[bool] = None, def get_api_key_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApiKeyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApiKeyResult]: """ Use this data source to retrieve information about an existing api key. Deprecated. This will be removed in a future release with prior notice. Securely store your API keys using a secret management system or use the ApiKey resource to manage API keys in your Datadog account. @@ -143,7 +143,7 @@ def get_api_key_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = Non __args__['exactMatch'] = exact_match __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getApiKey:getApiKey', __args__, opts=opts, typ=GetApiKeyResult) return __ret__.apply(lambda __response__: GetApiKeyResult( exact_match=pulumi.get(__response__, 'exact_match'), diff --git a/sdk/python/pulumi_datadog/get_apm_retention_filters_order.py b/sdk/python/pulumi_datadog/get_apm_retention_filters_order.py index decb9601d..f4726fa76 100644 --- a/sdk/python/pulumi_datadog/get_apm_retention_filters_order.py +++ b/sdk/python/pulumi_datadog/get_apm_retention_filters_order.py @@ -81,7 +81,7 @@ def get_apm_retention_filters_order(opts: Optional[pulumi.InvokeOptions] = None) return AwaitableGetApmRetentionFiltersOrderResult( filter_ids=pulumi.get(__ret__, 'filter_ids'), id=pulumi.get(__ret__, 'id')) -def get_apm_retention_filters_order_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApmRetentionFiltersOrderResult]: +def get_apm_retention_filters_order_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApmRetentionFiltersOrderResult]: """ Provides a Datadog [APM Retention Filters API](https://docs.datadoghq.com/api/v2/apm-retention-filters/) order datasource. This can be used to retrieve APM retention filters order. @@ -95,7 +95,7 @@ def get_apm_retention_filters_order_output(opts: Optional[pulumi.InvokeOptions] ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getApmRetentionFiltersOrder:getApmRetentionFiltersOrder', __args__, opts=opts, typ=GetApmRetentionFiltersOrderResult) return __ret__.apply(lambda __response__: GetApmRetentionFiltersOrderResult( filter_ids=pulumi.get(__response__, 'filter_ids'), diff --git a/sdk/python/pulumi_datadog/get_application_key.py b/sdk/python/pulumi_datadog/get_application_key.py index 1a871b05e..a17116325 100644 --- a/sdk/python/pulumi_datadog/get_application_key.py +++ b/sdk/python/pulumi_datadog/get_application_key.py @@ -121,7 +121,7 @@ def get_application_key(exact_match: Optional[bool] = None, def get_application_key_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetApplicationKeyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetApplicationKeyResult]: """ Use this data source to retrieve information about an existing application key. Deprecated. This will be removed in a future release with prior notice. Securely store your application keys using a secret management system or use the ApplicationKey resource to manage application keys in your Datadog account. @@ -143,7 +143,7 @@ def get_application_key_output(exact_match: Optional[pulumi.Input[Optional[bool] __args__['exactMatch'] = exact_match __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getApplicationKey:getApplicationKey', __args__, opts=opts, typ=GetApplicationKeyResult) return __ret__.apply(lambda __response__: GetApplicationKeyResult( exact_match=pulumi.get(__response__, 'exact_match'), diff --git a/sdk/python/pulumi_datadog/get_cloud_workload_security_agent_rules.py b/sdk/python/pulumi_datadog/get_cloud_workload_security_agent_rules.py index 8c25a99af..a66363bb6 100644 --- a/sdk/python/pulumi_datadog/get_cloud_workload_security_agent_rules.py +++ b/sdk/python/pulumi_datadog/get_cloud_workload_security_agent_rules.py @@ -80,7 +80,7 @@ def get_cloud_workload_security_agent_rules(opts: Optional[pulumi.InvokeOptions] return AwaitableGetCloudWorkloadSecurityAgentRulesResult( agent_rules=pulumi.get(__ret__, 'agent_rules'), id=pulumi.get(__ret__, 'id')) -def get_cloud_workload_security_agent_rules_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCloudWorkloadSecurityAgentRulesResult]: +def get_cloud_workload_security_agent_rules_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCloudWorkloadSecurityAgentRulesResult]: """ ## Example Usage @@ -92,7 +92,7 @@ def get_cloud_workload_security_agent_rules_output(opts: Optional[pulumi.InvokeO ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getCloudWorkloadSecurityAgentRules:getCloudWorkloadSecurityAgentRules', __args__, opts=opts, typ=GetCloudWorkloadSecurityAgentRulesResult) return __ret__.apply(lambda __response__: GetCloudWorkloadSecurityAgentRulesResult( agent_rules=pulumi.get(__response__, 'agent_rules'), diff --git a/sdk/python/pulumi_datadog/get_csm_threats_agent_rules.py b/sdk/python/pulumi_datadog/get_csm_threats_agent_rules.py index 0759c985b..a00fcb3de 100644 --- a/sdk/python/pulumi_datadog/get_csm_threats_agent_rules.py +++ b/sdk/python/pulumi_datadog/get_csm_threats_agent_rules.py @@ -86,12 +86,12 @@ def get_csm_threats_agent_rules(opts: Optional[pulumi.InvokeOptions] = None) -> agent_rules=pulumi.get(__ret__, 'agent_rules'), agent_rules_ids=pulumi.get(__ret__, 'agent_rules_ids'), id=pulumi.get(__ret__, 'id')) -def get_csm_threats_agent_rules_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCsmThreatsAgentRulesResult]: +def get_csm_threats_agent_rules_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCsmThreatsAgentRulesResult]: """ Use this data source to retrieve information about existing Agent rules. """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getCsmThreatsAgentRules:getCsmThreatsAgentRules', __args__, opts=opts, typ=GetCsmThreatsAgentRulesResult) return __ret__.apply(lambda __response__: GetCsmThreatsAgentRulesResult( agent_rules=pulumi.get(__response__, 'agent_rules'), diff --git a/sdk/python/pulumi_datadog/get_dashboard.py b/sdk/python/pulumi_datadog/get_dashboard.py index 109664954..316261588 100644 --- a/sdk/python/pulumi_datadog/get_dashboard.py +++ b/sdk/python/pulumi_datadog/get_dashboard.py @@ -113,7 +113,7 @@ def get_dashboard(name: Optional[str] = None, title=pulumi.get(__ret__, 'title'), url=pulumi.get(__ret__, 'url')) def get_dashboard_output(name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDashboardResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDashboardResult]: """ Use this data source to retrieve information about an existing dashboard, for use in other resources. In particular, it can be used in a monitor message to link to a specific dashboard. @@ -131,7 +131,7 @@ def get_dashboard_output(name: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getDashboard:getDashboard', __args__, opts=opts, typ=GetDashboardResult) return __ret__.apply(lambda __response__: GetDashboardResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_dashboard_list.py b/sdk/python/pulumi_datadog/get_dashboard_list.py index f0ad208e6..760421915 100644 --- a/sdk/python/pulumi_datadog/get_dashboard_list.py +++ b/sdk/python/pulumi_datadog/get_dashboard_list.py @@ -102,7 +102,7 @@ def get_dashboard_list(name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name')) def get_dashboard_list_output(name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDashboardListResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDashboardListResult]: """ Use this data source to retrieve information about an existing dashboard list, for use in other resources. In particular, it can be used in a dashboard to register it in the list. @@ -135,7 +135,7 @@ def get_dashboard_list_output(name: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getDashboardList:getDashboardList', __args__, opts=opts, typ=GetDashboardListResult) return __ret__.apply(lambda __response__: GetDashboardListResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_hosts.py b/sdk/python/pulumi_datadog/get_hosts.py index 05f35f642..184193be4 100644 --- a/sdk/python/pulumi_datadog/get_hosts.py +++ b/sdk/python/pulumi_datadog/get_hosts.py @@ -186,7 +186,7 @@ def get_hosts_output(filter: Optional[pulumi.Input[Optional[str]]] = None, include_muted_hosts_data: Optional[pulumi.Input[Optional[bool]]] = None, sort_dir: Optional[pulumi.Input[Optional[str]]] = None, sort_field: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetHostsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetHostsResult]: """ Use this data source to retrieve information about your live hosts in Datadog. @@ -203,7 +203,7 @@ def get_hosts_output(filter: Optional[pulumi.Input[Optional[str]]] = None, __args__['includeMutedHostsData'] = include_muted_hosts_data __args__['sortDir'] = sort_dir __args__['sortField'] = sort_field - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getHosts:getHosts', __args__, opts=opts, typ=GetHostsResult) return __ret__.apply(lambda __response__: GetHostsResult( filter=pulumi.get(__response__, 'filter'), diff --git a/sdk/python/pulumi_datadog/get_ip_ranges.py b/sdk/python/pulumi_datadog/get_ip_ranges.py index 9fa0fa00b..2dfcb21d8 100644 --- a/sdk/python/pulumi_datadog/get_ip_ranges.py +++ b/sdk/python/pulumi_datadog/get_ip_ranges.py @@ -328,7 +328,7 @@ def get_ip_ranges(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIp synthetics_ipv6s=pulumi.get(__ret__, 'synthetics_ipv6s'), webhooks_ipv4s=pulumi.get(__ret__, 'webhooks_ipv4s'), webhooks_ipv6s=pulumi.get(__ret__, 'webhooks_ipv6s')) -def get_ip_ranges_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpRangesResult]: +def get_ip_ranges_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIpRangesResult]: """ Use this data source to retrieve information about Datadog's IP addresses. @@ -342,7 +342,7 @@ def get_ip_ranges_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi. ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getIpRanges:getIpRanges', __args__, opts=opts, typ=GetIpRangesResult) return __ret__.apply(lambda __response__: GetIpRangesResult( agents_ipv4s=pulumi.get(__response__, 'agents_ipv4s'), diff --git a/sdk/python/pulumi_datadog/get_logs_archives_order.py b/sdk/python/pulumi_datadog/get_logs_archives_order.py index 12e664d7b..d3f5a6a25 100644 --- a/sdk/python/pulumi_datadog/get_logs_archives_order.py +++ b/sdk/python/pulumi_datadog/get_logs_archives_order.py @@ -72,12 +72,12 @@ def get_logs_archives_order(opts: Optional[pulumi.InvokeOptions] = None) -> Awai return AwaitableGetLogsArchivesOrderResult( archive_ids=pulumi.get(__ret__, 'archive_ids'), id=pulumi.get(__ret__, 'id')) -def get_logs_archives_order_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogsArchivesOrderResult]: +def get_logs_archives_order_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogsArchivesOrderResult]: """ Get the current order of your logs archives. """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getLogsArchivesOrder:getLogsArchivesOrder', __args__, opts=opts, typ=GetLogsArchivesOrderResult) return __ret__.apply(lambda __response__: GetLogsArchivesOrderResult( archive_ids=pulumi.get(__response__, 'archive_ids'), diff --git a/sdk/python/pulumi_datadog/get_logs_indexes.py b/sdk/python/pulumi_datadog/get_logs_indexes.py index 0df9e6d8d..c5cc179aa 100644 --- a/sdk/python/pulumi_datadog/get_logs_indexes.py +++ b/sdk/python/pulumi_datadog/get_logs_indexes.py @@ -82,7 +82,7 @@ def get_logs_indexes(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe return AwaitableGetLogsIndexesResult( id=pulumi.get(__ret__, 'id'), logs_indexes=pulumi.get(__ret__, 'logs_indexes')) -def get_logs_indexes_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogsIndexesResult]: +def get_logs_indexes_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogsIndexesResult]: """ Use this data source to list several existing logs indexes for use in other resources. @@ -96,7 +96,7 @@ def get_logs_indexes_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulu ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getLogsIndexes:getLogsIndexes', __args__, opts=opts, typ=GetLogsIndexesResult) return __ret__.apply(lambda __response__: GetLogsIndexesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_logs_indexes_order.py b/sdk/python/pulumi_datadog/get_logs_indexes_order.py index 930f6cb60..ded3f1c8a 100644 --- a/sdk/python/pulumi_datadog/get_logs_indexes_order.py +++ b/sdk/python/pulumi_datadog/get_logs_indexes_order.py @@ -81,7 +81,7 @@ def get_logs_indexes_order(opts: Optional[pulumi.InvokeOptions] = None) -> Await return AwaitableGetLogsIndexesOrderResult( id=pulumi.get(__ret__, 'id'), index_names=pulumi.get(__ret__, 'index_names')) -def get_logs_indexes_order_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogsIndexesOrderResult]: +def get_logs_indexes_order_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogsIndexesOrderResult]: """ Get the current order of your log indexes. @@ -95,7 +95,7 @@ def get_logs_indexes_order_output(opts: Optional[pulumi.InvokeOptions] = None) - ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getLogsIndexesOrder:getLogsIndexesOrder', __args__, opts=opts, typ=GetLogsIndexesOrderResult) return __ret__.apply(lambda __response__: GetLogsIndexesOrderResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_logs_pipelines.py b/sdk/python/pulumi_datadog/get_logs_pipelines.py index 5c54c2acc..9b714c8ae 100644 --- a/sdk/python/pulumi_datadog/get_logs_pipelines.py +++ b/sdk/python/pulumi_datadog/get_logs_pipelines.py @@ -106,7 +106,7 @@ def get_logs_pipelines(is_read_only: Optional[str] = None, is_read_only=pulumi.get(__ret__, 'is_read_only'), logs_pipelines=pulumi.get(__ret__, 'logs_pipelines')) def get_logs_pipelines_output(is_read_only: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogsPipelinesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogsPipelinesResult]: """ Use this data source to list all existing logs pipelines for use in other resources. @@ -129,7 +129,7 @@ def get_logs_pipelines_output(is_read_only: Optional[pulumi.Input[Optional[str]] """ __args__ = dict() __args__['isReadOnly'] = is_read_only - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getLogsPipelines:getLogsPipelines', __args__, opts=opts, typ=GetLogsPipelinesResult) return __ret__.apply(lambda __response__: GetLogsPipelinesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_monitor.py b/sdk/python/pulumi_datadog/get_monitor.py index 05a1a0740..43c3eda73 100644 --- a/sdk/python/pulumi_datadog/get_monitor.py +++ b/sdk/python/pulumi_datadog/get_monitor.py @@ -510,7 +510,7 @@ def get_monitor(monitor_tags_filters: Optional[Sequence[str]] = None, def get_monitor_output(monitor_tags_filters: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, name_filter: Optional[pulumi.Input[Optional[str]]] = None, tags_filters: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitorResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitorResult]: """ Use this data source to retrieve information about an existing monitor for use in other resources. @@ -533,7 +533,7 @@ def get_monitor_output(monitor_tags_filters: Optional[pulumi.Input[Optional[Sequ __args__['monitorTagsFilters'] = monitor_tags_filters __args__['nameFilter'] = name_filter __args__['tagsFilters'] = tags_filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getMonitor:getMonitor', __args__, opts=opts, typ=GetMonitorResult) return __ret__.apply(lambda __response__: GetMonitorResult( enable_logs_sample=pulumi.get(__response__, 'enable_logs_sample'), diff --git a/sdk/python/pulumi_datadog/get_monitor_config_policies.py b/sdk/python/pulumi_datadog/get_monitor_config_policies.py index ff88a0e68..f9a13358f 100644 --- a/sdk/python/pulumi_datadog/get_monitor_config_policies.py +++ b/sdk/python/pulumi_datadog/get_monitor_config_policies.py @@ -82,7 +82,7 @@ def get_monitor_config_policies(opts: Optional[pulumi.InvokeOptions] = None) -> return AwaitableGetMonitorConfigPoliciesResult( id=pulumi.get(__ret__, 'id'), monitor_config_policies=pulumi.get(__ret__, 'monitor_config_policies')) -def get_monitor_config_policies_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitorConfigPoliciesResult]: +def get_monitor_config_policies_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitorConfigPoliciesResult]: """ Use this data source to list existing monitor config policies for use in other resources. @@ -96,7 +96,7 @@ def get_monitor_config_policies_output(opts: Optional[pulumi.InvokeOptions] = No ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getMonitorConfigPolicies:getMonitorConfigPolicies', __args__, opts=opts, typ=GetMonitorConfigPoliciesResult) return __ret__.apply(lambda __response__: GetMonitorConfigPoliciesResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_monitors.py b/sdk/python/pulumi_datadog/get_monitors.py index cae64ab11..aca112da6 100644 --- a/sdk/python/pulumi_datadog/get_monitors.py +++ b/sdk/python/pulumi_datadog/get_monitors.py @@ -126,7 +126,7 @@ def get_monitors(monitor_tags_filters: Optional[Sequence[str]] = None, def get_monitors_output(monitor_tags_filters: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, name_filter: Optional[pulumi.Input[Optional[str]]] = None, tags_filters: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMonitorsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMonitorsResult]: """ Use this data source to list several existing monitors for use in other resources. @@ -139,7 +139,7 @@ def get_monitors_output(monitor_tags_filters: Optional[pulumi.Input[Optional[Seq __args__['monitorTagsFilters'] = monitor_tags_filters __args__['nameFilter'] = name_filter __args__['tagsFilters'] = tags_filters - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getMonitors:getMonitors', __args__, opts=opts, typ=GetMonitorsResult) return __ret__.apply(lambda __response__: GetMonitorsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_permissions.py b/sdk/python/pulumi_datadog/get_permissions.py index a034d6db3..49dadb9e9 100644 --- a/sdk/python/pulumi_datadog/get_permissions.py +++ b/sdk/python/pulumi_datadog/get_permissions.py @@ -100,7 +100,7 @@ def get_permissions(include_restricted: Optional[bool] = None, include_restricted=pulumi.get(__ret__, 'include_restricted'), permissions=pulumi.get(__ret__, 'permissions')) def get_permissions_output(include_restricted: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPermissionsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPermissionsResult]: """ Use this data source to retrieve the list of Datadog permissions by name and their corresponding ID, for use in the role resource. @@ -118,7 +118,7 @@ def get_permissions_output(include_restricted: Optional[pulumi.Input[Optional[bo """ __args__ = dict() __args__['includeRestricted'] = include_restricted - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getPermissions:getPermissions', __args__, opts=opts, typ=GetPermissionsResult) return __ret__.apply(lambda __response__: GetPermissionsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_powerpack.py b/sdk/python/pulumi_datadog/get_powerpack.py index bfc7d0d4e..4df1a4299 100644 --- a/sdk/python/pulumi_datadog/get_powerpack.py +++ b/sdk/python/pulumi_datadog/get_powerpack.py @@ -78,7 +78,7 @@ def get_powerpack(name: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name')) def get_powerpack_output(name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPowerpackResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPowerpackResult]: """ Use this data source to retrieve information about an existing Datadog Powerpack. @@ -87,7 +87,7 @@ def get_powerpack_output(name: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getPowerpack:getPowerpack', __args__, opts=opts, typ=GetPowerpackResult) return __ret__.apply(lambda __response__: GetPowerpackResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_role.py b/sdk/python/pulumi_datadog/get_role.py index 38492c673..7ce471886 100644 --- a/sdk/python/pulumi_datadog/get_role.py +++ b/sdk/python/pulumi_datadog/get_role.py @@ -113,7 +113,7 @@ def get_role(filter: Optional[str] = None, name=pulumi.get(__ret__, 'name'), user_count=pulumi.get(__ret__, 'user_count')) def get_role_output(filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoleResult]: """ Use this data source to retrieve information about an existing role for use in other resources. @@ -131,7 +131,7 @@ def get_role_output(filter: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['filter'] = filter - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getRole:getRole', __args__, opts=opts, typ=GetRoleResult) return __ret__.apply(lambda __response__: GetRoleResult( filter=pulumi.get(__response__, 'filter'), diff --git a/sdk/python/pulumi_datadog/get_role_users.py b/sdk/python/pulumi_datadog/get_role_users.py index 104a1bb56..62e4bd246 100644 --- a/sdk/python/pulumi_datadog/get_role_users.py +++ b/sdk/python/pulumi_datadog/get_role_users.py @@ -126,7 +126,7 @@ def get_role_users(exact_match: Optional[bool] = None, def get_role_users_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = None, filter: Optional[pulumi.Input[Optional[str]]] = None, role_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleUsersResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoleUsersResult]: """ Use this data source to retrieve information about existing Datadog role users assignments. This data source is in beta and is subject to change. @@ -139,7 +139,7 @@ def get_role_users_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = __args__['exactMatch'] = exact_match __args__['filter'] = filter __args__['roleId'] = role_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getRoleUsers:getRoleUsers', __args__, opts=opts, typ=GetRoleUsersResult) return __ret__.apply(lambda __response__: GetRoleUsersResult( exact_match=pulumi.get(__response__, 'exact_match'), diff --git a/sdk/python/pulumi_datadog/get_roles.py b/sdk/python/pulumi_datadog/get_roles.py index 34a89a5ac..705dce8d3 100644 --- a/sdk/python/pulumi_datadog/get_roles.py +++ b/sdk/python/pulumi_datadog/get_roles.py @@ -101,7 +101,7 @@ def get_roles(filter: Optional[str] = None, id=pulumi.get(__ret__, 'id'), roles=pulumi.get(__ret__, 'roles')) def get_roles_output(filter: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRolesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRolesResult]: """ Use this data source to retrieve information about multiple roles for use in other resources. @@ -119,7 +119,7 @@ def get_roles_output(filter: Optional[pulumi.Input[Optional[str]]] = None, """ __args__ = dict() __args__['filter'] = filter - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getRoles:getRoles', __args__, opts=opts, typ=GetRolesResult) return __ret__.apply(lambda __response__: GetRolesResult( filter=pulumi.get(__response__, 'filter'), diff --git a/sdk/python/pulumi_datadog/get_rum_application.py b/sdk/python/pulumi_datadog/get_rum_application.py index d976d128d..ab4bf9530 100644 --- a/sdk/python/pulumi_datadog/get_rum_application.py +++ b/sdk/python/pulumi_datadog/get_rum_application.py @@ -138,7 +138,7 @@ def get_rum_application(id: Optional[str] = None, def get_rum_application_output(id: Optional[pulumi.Input[Optional[str]]] = None, name_filter: Optional[pulumi.Input[Optional[str]]] = None, type_filter: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRumApplicationResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRumApplicationResult]: """ Use this data source to retrieve a Datadog RUM Application. @@ -151,7 +151,7 @@ def get_rum_application_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['id'] = id __args__['nameFilter'] = name_filter __args__['typeFilter'] = type_filter - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getRumApplication:getRumApplication', __args__, opts=opts, typ=GetRumApplicationResult) return __ret__.apply(lambda __response__: GetRumApplicationResult( client_token=pulumi.get(__response__, 'client_token'), diff --git a/sdk/python/pulumi_datadog/get_security_monitoring_filters.py b/sdk/python/pulumi_datadog/get_security_monitoring_filters.py index aeeb2efe3..4c0eac518 100644 --- a/sdk/python/pulumi_datadog/get_security_monitoring_filters.py +++ b/sdk/python/pulumi_datadog/get_security_monitoring_filters.py @@ -95,7 +95,7 @@ def get_security_monitoring_filters(opts: Optional[pulumi.InvokeOptions] = None) filters=pulumi.get(__ret__, 'filters'), filters_ids=pulumi.get(__ret__, 'filters_ids'), id=pulumi.get(__ret__, 'id')) -def get_security_monitoring_filters_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityMonitoringFiltersResult]: +def get_security_monitoring_filters_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityMonitoringFiltersResult]: """ Use this data source to retrieve information about existing security monitoring filters for use in other resources. @@ -109,7 +109,7 @@ def get_security_monitoring_filters_output(opts: Optional[pulumi.InvokeOptions] ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getSecurityMonitoringFilters:getSecurityMonitoringFilters', __args__, opts=opts, typ=GetSecurityMonitoringFiltersResult) return __ret__.apply(lambda __response__: GetSecurityMonitoringFiltersResult( filters=pulumi.get(__response__, 'filters'), diff --git a/sdk/python/pulumi_datadog/get_security_monitoring_rules.py b/sdk/python/pulumi_datadog/get_security_monitoring_rules.py index 21f1af6b9..8e2792ca8 100644 --- a/sdk/python/pulumi_datadog/get_security_monitoring_rules.py +++ b/sdk/python/pulumi_datadog/get_security_monitoring_rules.py @@ -167,7 +167,7 @@ def get_security_monitoring_rules_output(default_only_filter: Optional[pulumi.In name_filter: Optional[pulumi.Input[Optional[str]]] = None, tags_filters: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, user_only_filter: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityMonitoringRulesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityMonitoringRulesResult]: """ Use this data source to retrieve information about existing security monitoring rules for use in other resources. @@ -193,7 +193,7 @@ def get_security_monitoring_rules_output(default_only_filter: Optional[pulumi.In __args__['nameFilter'] = name_filter __args__['tagsFilters'] = tags_filters __args__['userOnlyFilter'] = user_only_filter - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getSecurityMonitoringRules:getSecurityMonitoringRules', __args__, opts=opts, typ=GetSecurityMonitoringRulesResult) return __ret__.apply(lambda __response__: GetSecurityMonitoringRulesResult( default_only_filter=pulumi.get(__response__, 'default_only_filter'), diff --git a/sdk/python/pulumi_datadog/get_security_monitoring_suppressions.py b/sdk/python/pulumi_datadog/get_security_monitoring_suppressions.py index 4b8b93607..e01447264 100644 --- a/sdk/python/pulumi_datadog/get_security_monitoring_suppressions.py +++ b/sdk/python/pulumi_datadog/get_security_monitoring_suppressions.py @@ -86,12 +86,12 @@ def get_security_monitoring_suppressions(opts: Optional[pulumi.InvokeOptions] = id=pulumi.get(__ret__, 'id'), suppression_ids=pulumi.get(__ret__, 'suppression_ids'), suppressions=pulumi.get(__ret__, 'suppressions')) -def get_security_monitoring_suppressions_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSecurityMonitoringSuppressionsResult]: +def get_security_monitoring_suppressions_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSecurityMonitoringSuppressionsResult]: """ Use this data source to retrieve information about existing suppression rules, and use them in other resources. """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getSecurityMonitoringSuppressions:getSecurityMonitoringSuppressions', __args__, opts=opts, typ=GetSecurityMonitoringSuppressionsResult) return __ret__.apply(lambda __response__: GetSecurityMonitoringSuppressionsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_sensitive_data_scanner_group_order.py b/sdk/python/pulumi_datadog/get_sensitive_data_scanner_group_order.py index b07fc1ff6..226128b75 100644 --- a/sdk/python/pulumi_datadog/get_sensitive_data_scanner_group_order.py +++ b/sdk/python/pulumi_datadog/get_sensitive_data_scanner_group_order.py @@ -82,7 +82,7 @@ def get_sensitive_data_scanner_group_order(opts: Optional[pulumi.InvokeOptions] return AwaitableGetSensitiveDataScannerGroupOrderResult( group_ids=pulumi.get(__ret__, 'group_ids'), id=pulumi.get(__ret__, 'id')) -def get_sensitive_data_scanner_group_order_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSensitiveDataScannerGroupOrderResult]: +def get_sensitive_data_scanner_group_order_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSensitiveDataScannerGroupOrderResult]: """ Provides a Datadog Sensitive Data Scanner Group Order API data source. This can be used to retrieve the order of Datadog Sensitive Data Scanner Groups. @@ -97,7 +97,7 @@ def get_sensitive_data_scanner_group_order_output(opts: Optional[pulumi.InvokeOp ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getSensitiveDataScannerGroupOrder:getSensitiveDataScannerGroupOrder', __args__, opts=opts, typ=GetSensitiveDataScannerGroupOrderResult) return __ret__.apply(lambda __response__: GetSensitiveDataScannerGroupOrderResult( group_ids=pulumi.get(__response__, 'group_ids'), diff --git a/sdk/python/pulumi_datadog/get_sensitive_data_scanner_standard_pattern.py b/sdk/python/pulumi_datadog/get_sensitive_data_scanner_standard_pattern.py index dd3f9853a..60accd7d3 100644 --- a/sdk/python/pulumi_datadog/get_sensitive_data_scanner_standard_pattern.py +++ b/sdk/python/pulumi_datadog/get_sensitive_data_scanner_standard_pattern.py @@ -130,7 +130,7 @@ def get_sensitive_data_scanner_standard_pattern(filter: Optional[str] = None, pattern=pulumi.get(__ret__, 'pattern'), tags=pulumi.get(__ret__, 'tags')) def get_sensitive_data_scanner_standard_pattern_output(filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSensitiveDataScannerStandardPatternResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSensitiveDataScannerStandardPatternResult]: """ Use this data source to retrieve information about an existing sensitive data scanner standard pattern. @@ -139,7 +139,7 @@ def get_sensitive_data_scanner_standard_pattern_output(filter: Optional[pulumi.I """ __args__ = dict() __args__['filter'] = filter - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getSensitiveDataScannerStandardPattern:getSensitiveDataScannerStandardPattern', __args__, opts=opts, typ=GetSensitiveDataScannerStandardPatternResult) return __ret__.apply(lambda __response__: GetSensitiveDataScannerStandardPatternResult( filter=pulumi.get(__response__, 'filter'), diff --git a/sdk/python/pulumi_datadog/get_service_account.py b/sdk/python/pulumi_datadog/get_service_account.py index 275c60b53..ae207c2fb 100644 --- a/sdk/python/pulumi_datadog/get_service_account.py +++ b/sdk/python/pulumi_datadog/get_service_account.py @@ -233,7 +233,7 @@ def get_service_account_output(exact_match: Optional[pulumi.Input[Optional[bool] filter: Optional[pulumi.Input[Optional[str]]] = None, filter_status: Optional[pulumi.Input[Optional[str]]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceAccountResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceAccountResult]: """ Use this data source to retrieve information about an existing Datadog service account. @@ -248,7 +248,7 @@ def get_service_account_output(exact_match: Optional[pulumi.Input[Optional[bool] __args__['filter'] = filter __args__['filterStatus'] = filter_status __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getServiceAccount:getServiceAccount', __args__, opts=opts, typ=GetServiceAccountResult) return __ret__.apply(lambda __response__: GetServiceAccountResult( disabled=pulumi.get(__response__, 'disabled'), diff --git a/sdk/python/pulumi_datadog/get_service_level_objective.py b/sdk/python/pulumi_datadog/get_service_level_objective.py index 3a8db2b60..eca157c06 100644 --- a/sdk/python/pulumi_datadog/get_service_level_objective.py +++ b/sdk/python/pulumi_datadog/get_service_level_objective.py @@ -219,7 +219,7 @@ def get_service_level_objective_output(id: Optional[pulumi.Input[Optional[str]]] metrics_query: Optional[pulumi.Input[Optional[str]]] = None, name_query: Optional[pulumi.Input[Optional[str]]] = None, tags_query: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceLevelObjectiveResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceLevelObjectiveResult]: """ Use this data source to retrieve information about an existing SLO for use in other resources. @@ -245,7 +245,7 @@ def get_service_level_objective_output(id: Optional[pulumi.Input[Optional[str]]] __args__['metricsQuery'] = metrics_query __args__['nameQuery'] = name_query __args__['tagsQuery'] = tags_query - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getServiceLevelObjective:getServiceLevelObjective', __args__, opts=opts, typ=GetServiceLevelObjectiveResult) return __ret__.apply(lambda __response__: GetServiceLevelObjectiveResult( description=pulumi.get(__response__, 'description'), diff --git a/sdk/python/pulumi_datadog/get_service_level_objectives.py b/sdk/python/pulumi_datadog/get_service_level_objectives.py index cde271c0a..2ef97f573 100644 --- a/sdk/python/pulumi_datadog/get_service_level_objectives.py +++ b/sdk/python/pulumi_datadog/get_service_level_objectives.py @@ -186,7 +186,7 @@ def get_service_level_objectives_output(error_on_empty_result: Optional[pulumi.I name_query: Optional[pulumi.Input[Optional[str]]] = None, query: Optional[pulumi.Input[Optional[str]]] = None, tags_query: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceLevelObjectivesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceLevelObjectivesResult]: """ Use this data source to retrieve information about multiple SLOs for use in other resources. @@ -214,7 +214,7 @@ def get_service_level_objectives_output(error_on_empty_result: Optional[pulumi.I __args__['nameQuery'] = name_query __args__['query'] = query __args__['tagsQuery'] = tags_query - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getServiceLevelObjectives:getServiceLevelObjectives', __args__, opts=opts, typ=GetServiceLevelObjectivesResult) return __ret__.apply(lambda __response__: GetServiceLevelObjectivesResult( error_on_empty_result=pulumi.get(__response__, 'error_on_empty_result'), diff --git a/sdk/python/pulumi_datadog/get_synthetics_global_variable.py b/sdk/python/pulumi_datadog/get_synthetics_global_variable.py index 30b46cd51..3f422b46d 100644 --- a/sdk/python/pulumi_datadog/get_synthetics_global_variable.py +++ b/sdk/python/pulumi_datadog/get_synthetics_global_variable.py @@ -91,7 +91,7 @@ def get_synthetics_global_variable(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), tags=pulumi.get(__ret__, 'tags')) def get_synthetics_global_variable_output(name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSyntheticsGlobalVariableResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSyntheticsGlobalVariableResult]: """ Use this data source to retrieve a Datadog Synthetics global variable (to be used in Synthetics tests). @@ -100,7 +100,7 @@ def get_synthetics_global_variable_output(name: Optional[pulumi.Input[str]] = No """ __args__ = dict() __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getSyntheticsGlobalVariable:getSyntheticsGlobalVariable', __args__, opts=opts, typ=GetSyntheticsGlobalVariableResult) return __ret__.apply(lambda __response__: GetSyntheticsGlobalVariableResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_synthetics_locations.py b/sdk/python/pulumi_datadog/get_synthetics_locations.py index ba185baa8..e814ea6c6 100644 --- a/sdk/python/pulumi_datadog/get_synthetics_locations.py +++ b/sdk/python/pulumi_datadog/get_synthetics_locations.py @@ -72,12 +72,12 @@ def get_synthetics_locations(opts: Optional[pulumi.InvokeOptions] = None) -> Awa return AwaitableGetSyntheticsLocationsResult( id=pulumi.get(__ret__, 'id'), locations=pulumi.get(__ret__, 'locations')) -def get_synthetics_locations_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSyntheticsLocationsResult]: +def get_synthetics_locations_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSyntheticsLocationsResult]: """ Use this data source to retrieve Datadog's Synthetics Locations (to be used in Synthetics tests). """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getSyntheticsLocations:getSyntheticsLocations', __args__, opts=opts, typ=GetSyntheticsLocationsResult) return __ret__.apply(lambda __response__: GetSyntheticsLocationsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_synthetics_test.py b/sdk/python/pulumi_datadog/get_synthetics_test.py index 5c62a6da9..99e1453de 100644 --- a/sdk/python/pulumi_datadog/get_synthetics_test.py +++ b/sdk/python/pulumi_datadog/get_synthetics_test.py @@ -117,7 +117,7 @@ def get_synthetics_test(test_id: Optional[str] = None, test_id=pulumi.get(__ret__, 'test_id'), url=pulumi.get(__ret__, 'url')) def get_synthetics_test_output(test_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSyntheticsTestResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSyntheticsTestResult]: """ Use this data source to retrieve a Datadog Synthetic Test. @@ -126,7 +126,7 @@ def get_synthetics_test_output(test_id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['testId'] = test_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getSyntheticsTest:getSyntheticsTest', __args__, opts=opts, typ=GetSyntheticsTestResult) return __ret__.apply(lambda __response__: GetSyntheticsTestResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_datadog/get_team.py b/sdk/python/pulumi_datadog/get_team.py index b253b8563..698a94968 100644 --- a/sdk/python/pulumi_datadog/get_team.py +++ b/sdk/python/pulumi_datadog/get_team.py @@ -182,7 +182,7 @@ def get_team(filter_keyword: Optional[str] = None, user_count=pulumi.get(__ret__, 'user_count')) def get_team_output(filter_keyword: Optional[pulumi.Input[Optional[str]]] = None, team_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTeamResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamResult]: """ Use this data source to retrieve information about an existing Datadog team. @@ -202,7 +202,7 @@ def get_team_output(filter_keyword: Optional[pulumi.Input[Optional[str]]] = None __args__ = dict() __args__['filterKeyword'] = filter_keyword __args__['teamId'] = team_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getTeam:getTeam', __args__, opts=opts, typ=GetTeamResult) return __ret__.apply(lambda __response__: GetTeamResult( description=pulumi.get(__response__, 'description'), diff --git a/sdk/python/pulumi_datadog/get_team_memberships.py b/sdk/python/pulumi_datadog/get_team_memberships.py index 6fec2bcfa..e4ab48da2 100644 --- a/sdk/python/pulumi_datadog/get_team_memberships.py +++ b/sdk/python/pulumi_datadog/get_team_memberships.py @@ -136,7 +136,7 @@ def get_team_memberships(exact_match: Optional[bool] = None, def get_team_memberships_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = None, filter_keyword: Optional[pulumi.Input[Optional[str]]] = None, team_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTeamMembershipsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTeamMembershipsResult]: """ Use this data source to retrieve information about existing Datadog team memberships. @@ -159,7 +159,7 @@ def get_team_memberships_output(exact_match: Optional[pulumi.Input[Optional[bool __args__['exactMatch'] = exact_match __args__['filterKeyword'] = filter_keyword __args__['teamId'] = team_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getTeamMemberships:getTeamMemberships', __args__, opts=opts, typ=GetTeamMembershipsResult) return __ret__.apply(lambda __response__: GetTeamMembershipsResult( exact_match=pulumi.get(__response__, 'exact_match'), diff --git a/sdk/python/pulumi_datadog/get_user.py b/sdk/python/pulumi_datadog/get_user.py index 5293d43c8..c80c1e263 100644 --- a/sdk/python/pulumi_datadog/get_user.py +++ b/sdk/python/pulumi_datadog/get_user.py @@ -130,7 +130,7 @@ def get_user(exact_match: Optional[bool] = None, name=pulumi.get(__ret__, 'name')) def get_user_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = None, filter: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]: """ Use this data source to retrieve information about an existing user to use it in an other resources. @@ -150,7 +150,7 @@ def get_user_output(exact_match: Optional[pulumi.Input[Optional[bool]]] = None, __args__ = dict() __args__['exactMatch'] = exact_match __args__['filter'] = filter - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getUser:getUser', __args__, opts=opts, typ=GetUserResult) return __ret__.apply(lambda __response__: GetUserResult( email=pulumi.get(__response__, 'email'), diff --git a/sdk/python/pulumi_datadog/get_users.py b/sdk/python/pulumi_datadog/get_users.py index 36abc42f2..7d30f6601 100644 --- a/sdk/python/pulumi_datadog/get_users.py +++ b/sdk/python/pulumi_datadog/get_users.py @@ -119,7 +119,7 @@ def get_users(filter: Optional[str] = None, users=pulumi.get(__ret__, 'users')) def get_users_output(filter: Optional[pulumi.Input[Optional[str]]] = None, filter_status: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsersResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUsersResult]: """ Use this data source to retrieve information about existing users for use in other resources. @@ -140,7 +140,7 @@ def get_users_output(filter: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['filter'] = filter __args__['filterStatus'] = filter_status - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('datadog:index/getUsers:getUsers', __args__, opts=opts, typ=GetUsersResult) return __ret__.apply(lambda __response__: GetUsersResult( filter=pulumi.get(__response__, 'filter'),