diff --git a/examples/go.mod b/examples/go.mod index 89e025e43..d4bc9089c 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.108.1 +require github.com/pulumi/pulumi/pkg/v3 v3.111.1 require ( cloud.google.com/go v0.110.10 // indirect @@ -135,7 +135,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.6.2 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.108.1 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.111.1 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.11.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index fdc5ed57a..3370e5fcf 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -1467,10 +1467,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.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/pkg/v3 v3.108.1 h1:K1UK40v5IpEPIaJ2un3WNOTBbLQaKR26HbLLh5EmMHY= -github.com/pulumi/pulumi/pkg/v3 v3.108.1/go.mod h1:48uCfxkPXUq/XTBqei9VuR0CRWObnSVlqcLkD6DhII8= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi/pkg/v3 v3.111.1 h1:SrVgQE96T7YlZx/AZoFSlXYwur7ZmQUHyjbPI8sH96Q= +github.com/pulumi/pulumi/pkg/v3 v3.111.1/go.mod h1:ZWsq8Y0EMHZ5E2ju92jC+POz97TEXs3BbQ6r2o0U4SA= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= diff --git a/provider/cmd/pulumi-resource-datadog/schema.json b/provider/cmd/pulumi-resource-datadog/schema.json index aaa927f25..f79d8ed3c 100644 --- a/provider/cmd/pulumi-resource-datadog/schema.json +++ b/provider/cmd/pulumi-resource-datadog/schema.json @@ -73690,7 +73690,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\nconst roRole = datadog.getRole({\n filter: \"Datadog Read Only Role\",\n});\n// Create a new AuthN mapping\nconst devRoRoleMapping = new datadog.AuthnMapping(\"devRoRoleMapping\", {\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\nro_role = datadog.get_role(filter=\"Datadog Read Only Role\")\n# Create a new AuthN mapping\ndev_ro_role_mapping = datadog.AuthnMapping(\"devRoRoleMapping\",\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 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(\"devRoRoleMapping\", 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\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, \"devRoRoleMapping\", \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 final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\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 properties:\n key: Member-of\n value: Development\n role: ${roRole.id}\nvariables:\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\nconst roRole = datadog.getRole({\n filter: \"Datadog Read Only Role\",\n});\n// Create a new AuthN mapping\nconst devRoRoleMapping = new datadog.AuthnMapping(\"devRoRoleMapping\", {\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\nro_role = datadog.get_role(filter=\"Datadog Read Only Role\")\n# Create a new AuthN mapping\ndev_ro_role_mapping = datadog.AuthnMapping(\"devRoRoleMapping\",\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 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(\"devRoRoleMapping\", 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\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, \"devRoRoleMapping\", \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 final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\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 properties:\n key: Member-of\n value: Development\n role: ${roRole.id}\nvariables:\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", @@ -76583,7 +76583,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\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\nbar = datadog.get_permissions()\n# Create a new Datadog role\nfoo = datadog.Role(\"foo\",\n name=\"foo\",\n permissions=[\n datadog.RolePermissionArgs(\n id=bar.permissions[\"monitorsDowntime\"],\n ),\n datadog.RolePermissionArgs(\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 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\tbar, err := datadog.GetPermissions(ctx, nil, 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 final var bar = DatadogFunctions.getPermissions();\n\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 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\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\nbar = datadog.get_permissions()\n# Create a new Datadog role\nfoo = datadog.Role(\"foo\",\n name=\"foo\",\n permissions=[\n datadog.RolePermissionArgs(\n id=bar.permissions[\"monitorsDowntime\"],\n ),\n datadog.RolePermissionArgs(\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 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\tbar, err := datadog.GetPermissions(ctx, nil, 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 final var bar = DatadogFunctions.getPermissions();\n\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 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", @@ -77350,7 +77350,7 @@ } }, "datadog:index/sensitiveDataScannerRule:SensitiveDataScannerRule": { - "description": "Provides a Datadog SensitiveDataScannerRule resource. This can be used to create and manage Datadog sensitive_data_scanner_rule. Setting the `create_before_destroy` lifecycle Meta-argument to `true` is highly recommended if modifying the `included_keyword_configuration` field to avoid unexpectedly disabling 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\n// Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\nconst mygroup = new datadog.SensitiveDataScannerGroup(\"mygroup\", {\n name: \"My new scanning group\",\n description: \"A relevant description\",\n filter: {\n query: \"service:my-service\",\n },\n isEnabled: true,\n productLists: [\"apm\"],\n});\nconst myrule = new datadog.SensitiveDataScannerRule(\"myrule\", {\n name: \"My new rule\",\n description: \"Another description\",\n groupId: mygroup.id,\n excludedNamespaces: [\"username\"],\n isEnabled: true,\n pattern: \"myregex\",\n tags: [\"sensitive_data:true\"],\n textReplacement: {\n numberOfChars: 0,\n replacementString: \"\",\n type: \"hash\",\n },\n includedKeywordConfiguration: {\n keywords: [\n \"cc\",\n \"credit card\",\n ],\n characterCount: 30,\n },\n});\nconst awsSp = datadog.getSensitiveDataScannerStandardPattern({\n filter: \"AWS Access Key ID Scanner\",\n});\nconst mylibraryrule = new datadog.SensitiveDataScannerRule(\"mylibraryrule\", {\n name: \"My library rule\",\n description: \"A description\",\n groupId: mygroup.id,\n standardPatternId: awsSp.then(awsSp =\u003e awsSp.id),\n excludedNamespaces: [\"username\"],\n isEnabled: true,\n tags: [\"sensitive_data:true\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\nmygroup = datadog.SensitiveDataScannerGroup(\"mygroup\",\n name=\"My new scanning group\",\n description=\"A relevant description\",\n filter=datadog.SensitiveDataScannerGroupFilterArgs(\n query=\"service:my-service\",\n ),\n is_enabled=True,\n product_lists=[\"apm\"])\nmyrule = datadog.SensitiveDataScannerRule(\"myrule\",\n name=\"My new rule\",\n description=\"Another description\",\n group_id=mygroup.id,\n excluded_namespaces=[\"username\"],\n is_enabled=True,\n pattern=\"myregex\",\n tags=[\"sensitive_data:true\"],\n text_replacement=datadog.SensitiveDataScannerRuleTextReplacementArgs(\n number_of_chars=0,\n replacement_string=\"\",\n type=\"hash\",\n ),\n included_keyword_configuration=datadog.SensitiveDataScannerRuleIncludedKeywordConfigurationArgs(\n keywords=[\n \"cc\",\n \"credit card\",\n ],\n character_count=30,\n ))\naws_sp = datadog.get_sensitive_data_scanner_standard_pattern(filter=\"AWS Access Key ID Scanner\")\nmylibraryrule = datadog.SensitiveDataScannerRule(\"mylibraryrule\",\n name=\"My library rule\",\n description=\"A description\",\n group_id=mygroup.id,\n standard_pattern_id=aws_sp.id,\n excluded_namespaces=[\"username\"],\n is_enabled=True,\n tags=[\"sensitive_data: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 // Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\n var mygroup = new Datadog.SensitiveDataScannerGroup(\"mygroup\", new()\n {\n Name = \"My new scanning group\",\n Description = \"A relevant description\",\n Filter = new Datadog.Inputs.SensitiveDataScannerGroupFilterArgs\n {\n Query = \"service:my-service\",\n },\n IsEnabled = true,\n ProductLists = new[]\n {\n \"apm\",\n },\n });\n\n var myrule = new Datadog.SensitiveDataScannerRule(\"myrule\", new()\n {\n Name = \"My new rule\",\n Description = \"Another description\",\n GroupId = mygroup.Id,\n ExcludedNamespaces = new[]\n {\n \"username\",\n },\n IsEnabled = true,\n Pattern = \"myregex\",\n Tags = new[]\n {\n \"sensitive_data:true\",\n },\n TextReplacement = new Datadog.Inputs.SensitiveDataScannerRuleTextReplacementArgs\n {\n NumberOfChars = 0,\n ReplacementString = \"\",\n Type = \"hash\",\n },\n IncludedKeywordConfiguration = new Datadog.Inputs.SensitiveDataScannerRuleIncludedKeywordConfigurationArgs\n {\n Keywords = new[]\n {\n \"cc\",\n \"credit card\",\n },\n CharacterCount = 30,\n },\n });\n\n var awsSp = Datadog.GetSensitiveDataScannerStandardPattern.Invoke(new()\n {\n Filter = \"AWS Access Key ID Scanner\",\n });\n\n var mylibraryrule = new Datadog.SensitiveDataScannerRule(\"mylibraryrule\", new()\n {\n Name = \"My library rule\",\n Description = \"A description\",\n GroupId = mygroup.Id,\n StandardPatternId = awsSp.Apply(getSensitiveDataScannerStandardPatternResult =\u003e getSensitiveDataScannerStandardPatternResult.Id),\n ExcludedNamespaces = new[]\n {\n \"username\",\n },\n IsEnabled = true,\n Tags = new[]\n {\n \"sensitive_data:true\",\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// Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\n\t\tmygroup, err := datadog.NewSensitiveDataScannerGroup(ctx, \"mygroup\", \u0026datadog.SensitiveDataScannerGroupArgs{\n\t\t\tName: pulumi.String(\"My new scanning group\"),\n\t\t\tDescription: pulumi.String(\"A relevant description\"),\n\t\t\tFilter: \u0026datadog.SensitiveDataScannerGroupFilterArgs{\n\t\t\t\tQuery: pulumi.String(\"service:my-service\"),\n\t\t\t},\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tProductLists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"apm\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSensitiveDataScannerRule(ctx, \"myrule\", \u0026datadog.SensitiveDataScannerRuleArgs{\n\t\t\tName: pulumi.String(\"My new rule\"),\n\t\t\tDescription: pulumi.String(\"Another description\"),\n\t\t\tGroupId: mygroup.ID(),\n\t\t\tExcludedNamespaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"username\"),\n\t\t\t},\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tPattern: pulumi.String(\"myregex\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"sensitive_data:true\"),\n\t\t\t},\n\t\t\tTextReplacement: \u0026datadog.SensitiveDataScannerRuleTextReplacementArgs{\n\t\t\t\tNumberOfChars: pulumi.Int(0),\n\t\t\t\tReplacementString: pulumi.String(\"\"),\n\t\t\t\tType: pulumi.String(\"hash\"),\n\t\t\t},\n\t\t\tIncludedKeywordConfiguration: \u0026datadog.SensitiveDataScannerRuleIncludedKeywordConfigurationArgs{\n\t\t\t\tKeywords: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"cc\"),\n\t\t\t\t\tpulumi.String(\"credit card\"),\n\t\t\t\t},\n\t\t\t\tCharacterCount: pulumi.Int(30),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tawsSp, err := datadog.GetSensitiveDataScannerStandardPattern(ctx, \u0026datadog.GetSensitiveDataScannerStandardPatternArgs{\n\t\t\tFilter: \"AWS Access Key ID Scanner\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSensitiveDataScannerRule(ctx, \"mylibraryrule\", \u0026datadog.SensitiveDataScannerRuleArgs{\n\t\t\tName: pulumi.String(\"My library rule\"),\n\t\t\tDescription: pulumi.String(\"A description\"),\n\t\t\tGroupId: mygroup.ID(),\n\t\t\tStandardPatternId: *pulumi.String(awsSp.Id),\n\t\t\tExcludedNamespaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"username\"),\n\t\t\t},\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"sensitive_data:true\"),\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.SensitiveDataScannerGroup;\nimport com.pulumi.datadog.SensitiveDataScannerGroupArgs;\nimport com.pulumi.datadog.inputs.SensitiveDataScannerGroupFilterArgs;\nimport com.pulumi.datadog.SensitiveDataScannerRule;\nimport com.pulumi.datadog.SensitiveDataScannerRuleArgs;\nimport com.pulumi.datadog.inputs.SensitiveDataScannerRuleTextReplacementArgs;\nimport com.pulumi.datadog.inputs.SensitiveDataScannerRuleIncludedKeywordConfigurationArgs;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetSensitiveDataScannerStandardPatternArgs;\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 mygroup = new SensitiveDataScannerGroup(\"mygroup\", SensitiveDataScannerGroupArgs.builder() \n .name(\"My new scanning group\")\n .description(\"A relevant description\")\n .filter(SensitiveDataScannerGroupFilterArgs.builder()\n .query(\"service:my-service\")\n .build())\n .isEnabled(true)\n .productLists(\"apm\")\n .build());\n\n var myrule = new SensitiveDataScannerRule(\"myrule\", SensitiveDataScannerRuleArgs.builder() \n .name(\"My new rule\")\n .description(\"Another description\")\n .groupId(mygroup.id())\n .excludedNamespaces(\"username\")\n .isEnabled(true)\n .pattern(\"myregex\")\n .tags(\"sensitive_data:true\")\n .textReplacement(SensitiveDataScannerRuleTextReplacementArgs.builder()\n .numberOfChars(0)\n .replacementString(\"\")\n .type(\"hash\")\n .build())\n .includedKeywordConfiguration(SensitiveDataScannerRuleIncludedKeywordConfigurationArgs.builder()\n .keywords( \n \"cc\",\n \"credit card\")\n .characterCount(30)\n .build())\n .build());\n\n final var awsSp = DatadogFunctions.getSensitiveDataScannerStandardPattern(GetSensitiveDataScannerStandardPatternArgs.builder()\n .filter(\"AWS Access Key ID Scanner\")\n .build());\n\n var mylibraryrule = new SensitiveDataScannerRule(\"mylibraryrule\", SensitiveDataScannerRuleArgs.builder() \n .name(\"My library rule\")\n .description(\"A description\")\n .groupId(mygroup.id())\n .standardPatternId(awsSp.applyValue(getSensitiveDataScannerStandardPatternResult -\u003e getSensitiveDataScannerStandardPatternResult.id()))\n .excludedNamespaces(\"username\")\n .isEnabled(true)\n .tags(\"sensitive_data:true\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\n mygroup:\n type: datadog:SensitiveDataScannerGroup\n properties:\n name: My new scanning group\n description: A relevant description\n filter:\n query: service:my-service\n isEnabled: true\n productLists:\n - apm\n myrule:\n type: datadog:SensitiveDataScannerRule\n properties:\n name: My new rule\n description: Another description\n groupId: ${mygroup.id}\n excludedNamespaces:\n - username\n isEnabled: true\n pattern: myregex\n tags:\n - sensitive_data:true\n textReplacement:\n numberOfChars: 0\n replacementString:\n type: hash\n includedKeywordConfiguration:\n keywords:\n - cc\n - credit card\n characterCount: 30\n mylibraryrule:\n type: datadog:SensitiveDataScannerRule\n properties:\n name: My library rule\n description: A description\n groupId: ${mygroup.id}\n # As standard_pattern_id is provided, the resource MUST NOT contain the \"pattern\" attribute\n standardPatternId: ${awsSp.id}\n excludedNamespaces:\n - username\n isEnabled: true\n tags:\n - sensitive_data:true\nvariables:\n awsSp:\n fn::invoke:\n Function: datadog:getSensitiveDataScannerStandardPattern\n Arguments:\n filter: AWS Access Key ID Scanner\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/sensitiveDataScannerRule:SensitiveDataScannerRule new_list \"\"\n```\n\n", + "description": "Provides a Datadog SensitiveDataScannerRule resource. This can be used to create and manage Datadog sensitive_data_scanner_rule. Setting the `create_before_destroy` lifecycle Meta-argument to `true` is highly recommended if modifying the `included_keyword_configuration` field to avoid unexpectedly disabling 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\n// Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\nconst mygroup = new datadog.SensitiveDataScannerGroup(\"mygroup\", {\n name: \"My new scanning group\",\n description: \"A relevant description\",\n filter: {\n query: \"service:my-service\",\n },\n isEnabled: true,\n productLists: [\"apm\"],\n});\nconst myrule = new datadog.SensitiveDataScannerRule(\"myrule\", {\n name: \"My new rule\",\n description: \"Another description\",\n groupId: mygroup.id,\n excludedNamespaces: [\"username\"],\n isEnabled: true,\n pattern: \"myregex\",\n tags: [\"sensitive_data:true\"],\n textReplacement: {\n numberOfChars: 0,\n replacementString: \"\",\n type: \"hash\",\n },\n includedKeywordConfiguration: {\n keywords: [\n \"cc\",\n \"credit card\",\n ],\n characterCount: 30,\n },\n});\nconst awsSp = datadog.getSensitiveDataScannerStandardPattern({\n filter: \"AWS Access Key ID Scanner\",\n});\nconst mylibraryrule = new datadog.SensitiveDataScannerRule(\"mylibraryrule\", {\n name: \"My library rule\",\n description: \"A description\",\n groupId: mygroup.id,\n standardPatternId: awsSp.then(awsSp =\u003e awsSp.id),\n excludedNamespaces: [\"username\"],\n isEnabled: true,\n tags: [\"sensitive_data:true\"],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\nmygroup = datadog.SensitiveDataScannerGroup(\"mygroup\",\n name=\"My new scanning group\",\n description=\"A relevant description\",\n filter=datadog.SensitiveDataScannerGroupFilterArgs(\n query=\"service:my-service\",\n ),\n is_enabled=True,\n product_lists=[\"apm\"])\nmyrule = datadog.SensitiveDataScannerRule(\"myrule\",\n name=\"My new rule\",\n description=\"Another description\",\n group_id=mygroup.id,\n excluded_namespaces=[\"username\"],\n is_enabled=True,\n pattern=\"myregex\",\n tags=[\"sensitive_data:true\"],\n text_replacement=datadog.SensitiveDataScannerRuleTextReplacementArgs(\n number_of_chars=0,\n replacement_string=\"\",\n type=\"hash\",\n ),\n included_keyword_configuration=datadog.SensitiveDataScannerRuleIncludedKeywordConfigurationArgs(\n keywords=[\n \"cc\",\n \"credit card\",\n ],\n character_count=30,\n ))\naws_sp = datadog.get_sensitive_data_scanner_standard_pattern(filter=\"AWS Access Key ID Scanner\")\nmylibraryrule = datadog.SensitiveDataScannerRule(\"mylibraryrule\",\n name=\"My library rule\",\n description=\"A description\",\n group_id=mygroup.id,\n standard_pattern_id=aws_sp.id,\n excluded_namespaces=[\"username\"],\n is_enabled=True,\n tags=[\"sensitive_data: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 // Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\n var mygroup = new Datadog.SensitiveDataScannerGroup(\"mygroup\", new()\n {\n Name = \"My new scanning group\",\n Description = \"A relevant description\",\n Filter = new Datadog.Inputs.SensitiveDataScannerGroupFilterArgs\n {\n Query = \"service:my-service\",\n },\n IsEnabled = true,\n ProductLists = new[]\n {\n \"apm\",\n },\n });\n\n var myrule = new Datadog.SensitiveDataScannerRule(\"myrule\", new()\n {\n Name = \"My new rule\",\n Description = \"Another description\",\n GroupId = mygroup.Id,\n ExcludedNamespaces = new[]\n {\n \"username\",\n },\n IsEnabled = true,\n Pattern = \"myregex\",\n Tags = new[]\n {\n \"sensitive_data:true\",\n },\n TextReplacement = new Datadog.Inputs.SensitiveDataScannerRuleTextReplacementArgs\n {\n NumberOfChars = 0,\n ReplacementString = \"\",\n Type = \"hash\",\n },\n IncludedKeywordConfiguration = new Datadog.Inputs.SensitiveDataScannerRuleIncludedKeywordConfigurationArgs\n {\n Keywords = new[]\n {\n \"cc\",\n \"credit card\",\n },\n CharacterCount = 30,\n },\n });\n\n var awsSp = Datadog.GetSensitiveDataScannerStandardPattern.Invoke(new()\n {\n Filter = \"AWS Access Key ID Scanner\",\n });\n\n var mylibraryrule = new Datadog.SensitiveDataScannerRule(\"mylibraryrule\", new()\n {\n Name = \"My library rule\",\n Description = \"A description\",\n GroupId = mygroup.Id,\n StandardPatternId = awsSp.Apply(getSensitiveDataScannerStandardPatternResult =\u003e getSensitiveDataScannerStandardPatternResult.Id),\n ExcludedNamespaces = new[]\n {\n \"username\",\n },\n IsEnabled = true,\n Tags = new[]\n {\n \"sensitive_data:true\",\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// Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\n\t\tmygroup, err := datadog.NewSensitiveDataScannerGroup(ctx, \"mygroup\", \u0026datadog.SensitiveDataScannerGroupArgs{\n\t\t\tName: pulumi.String(\"My new scanning group\"),\n\t\t\tDescription: pulumi.String(\"A relevant description\"),\n\t\t\tFilter: \u0026datadog.SensitiveDataScannerGroupFilterArgs{\n\t\t\t\tQuery: pulumi.String(\"service:my-service\"),\n\t\t\t},\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tProductLists: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"apm\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSensitiveDataScannerRule(ctx, \"myrule\", \u0026datadog.SensitiveDataScannerRuleArgs{\n\t\t\tName: pulumi.String(\"My new rule\"),\n\t\t\tDescription: pulumi.String(\"Another description\"),\n\t\t\tGroupId: mygroup.ID(),\n\t\t\tExcludedNamespaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"username\"),\n\t\t\t},\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tPattern: pulumi.String(\"myregex\"),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"sensitive_data:true\"),\n\t\t\t},\n\t\t\tTextReplacement: \u0026datadog.SensitiveDataScannerRuleTextReplacementArgs{\n\t\t\t\tNumberOfChars: pulumi.Int(0),\n\t\t\t\tReplacementString: pulumi.String(\"\"),\n\t\t\t\tType: pulumi.String(\"hash\"),\n\t\t\t},\n\t\t\tIncludedKeywordConfiguration: \u0026datadog.SensitiveDataScannerRuleIncludedKeywordConfigurationArgs{\n\t\t\t\tKeywords: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"cc\"),\n\t\t\t\t\tpulumi.String(\"credit card\"),\n\t\t\t\t},\n\t\t\t\tCharacterCount: pulumi.Int(30),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tawsSp, err := datadog.GetSensitiveDataScannerStandardPattern(ctx, \u0026datadog.GetSensitiveDataScannerStandardPatternArgs{\n\t\t\tFilter: \"AWS Access Key ID Scanner\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = datadog.NewSensitiveDataScannerRule(ctx, \"mylibraryrule\", \u0026datadog.SensitiveDataScannerRuleArgs{\n\t\t\tName: pulumi.String(\"My library rule\"),\n\t\t\tDescription: pulumi.String(\"A description\"),\n\t\t\tGroupId: mygroup.ID(),\n\t\t\tStandardPatternId: pulumi.String(awsSp.Id),\n\t\t\tExcludedNamespaces: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"username\"),\n\t\t\t},\n\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\tTags: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"sensitive_data:true\"),\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.SensitiveDataScannerGroup;\nimport com.pulumi.datadog.SensitiveDataScannerGroupArgs;\nimport com.pulumi.datadog.inputs.SensitiveDataScannerGroupFilterArgs;\nimport com.pulumi.datadog.SensitiveDataScannerRule;\nimport com.pulumi.datadog.SensitiveDataScannerRuleArgs;\nimport com.pulumi.datadog.inputs.SensitiveDataScannerRuleTextReplacementArgs;\nimport com.pulumi.datadog.inputs.SensitiveDataScannerRuleIncludedKeywordConfigurationArgs;\nimport com.pulumi.datadog.DatadogFunctions;\nimport com.pulumi.datadog.inputs.GetSensitiveDataScannerStandardPatternArgs;\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 mygroup = new SensitiveDataScannerGroup(\"mygroup\", SensitiveDataScannerGroupArgs.builder() \n .name(\"My new scanning group\")\n .description(\"A relevant description\")\n .filter(SensitiveDataScannerGroupFilterArgs.builder()\n .query(\"service:my-service\")\n .build())\n .isEnabled(true)\n .productLists(\"apm\")\n .build());\n\n var myrule = new SensitiveDataScannerRule(\"myrule\", SensitiveDataScannerRuleArgs.builder() \n .name(\"My new rule\")\n .description(\"Another description\")\n .groupId(mygroup.id())\n .excludedNamespaces(\"username\")\n .isEnabled(true)\n .pattern(\"myregex\")\n .tags(\"sensitive_data:true\")\n .textReplacement(SensitiveDataScannerRuleTextReplacementArgs.builder()\n .numberOfChars(0)\n .replacementString(\"\")\n .type(\"hash\")\n .build())\n .includedKeywordConfiguration(SensitiveDataScannerRuleIncludedKeywordConfigurationArgs.builder()\n .keywords( \n \"cc\",\n \"credit card\")\n .characterCount(30)\n .build())\n .build());\n\n final var awsSp = DatadogFunctions.getSensitiveDataScannerStandardPattern(GetSensitiveDataScannerStandardPatternArgs.builder()\n .filter(\"AWS Access Key ID Scanner\")\n .build());\n\n var mylibraryrule = new SensitiveDataScannerRule(\"mylibraryrule\", SensitiveDataScannerRuleArgs.builder() \n .name(\"My library rule\")\n .description(\"A description\")\n .groupId(mygroup.id())\n .standardPatternId(awsSp.applyValue(getSensitiveDataScannerStandardPatternResult -\u003e getSensitiveDataScannerStandardPatternResult.id()))\n .excludedNamespaces(\"username\")\n .isEnabled(true)\n .tags(\"sensitive_data:true\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # Create new sensitive_data_scanner_rule resource in a sensitive_data_scanner_group\n mygroup:\n type: datadog:SensitiveDataScannerGroup\n properties:\n name: My new scanning group\n description: A relevant description\n filter:\n query: service:my-service\n isEnabled: true\n productLists:\n - apm\n myrule:\n type: datadog:SensitiveDataScannerRule\n properties:\n name: My new rule\n description: Another description\n groupId: ${mygroup.id}\n excludedNamespaces:\n - username\n isEnabled: true\n pattern: myregex\n tags:\n - sensitive_data:true\n textReplacement:\n numberOfChars: 0\n replacementString:\n type: hash\n includedKeywordConfiguration:\n keywords:\n - cc\n - credit card\n characterCount: 30\n mylibraryrule:\n type: datadog:SensitiveDataScannerRule\n properties:\n name: My library rule\n description: A description\n groupId: ${mygroup.id}\n # As standard_pattern_id is provided, the resource MUST NOT contain the \"pattern\" attribute\n standardPatternId: ${awsSp.id}\n excludedNamespaces:\n - username\n isEnabled: true\n tags:\n - sensitive_data:true\nvariables:\n awsSp:\n fn::invoke:\n Function: datadog:getSensitiveDataScannerStandardPattern\n Arguments:\n filter: AWS Access Key ID Scanner\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/sensitiveDataScannerRule:SensitiveDataScannerRule new_list \"\"\n```\n\n", "properties": { "description": { "type": "string", @@ -77534,7 +77534,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\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\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 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\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\t*pulumi.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 final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\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 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\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\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 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\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 final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\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 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", @@ -79070,7 +79070,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\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\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 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\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\t*pulumi.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 final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\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 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\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\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 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\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 final var roRole = DatadogFunctions.getRole(GetRoleArgs.builder()\n .filter(\"Datadog Read Only Role\")\n .build());\n\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 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", @@ -79809,7 +79809,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 dashboardLists: [test.then(test =\u003e test.id)],\n description: \"Created using the Datadog provider in Pulumi\",\n isReadOnly: true,\n layoutType: \"ordered\",\n title: \"TF Test Layout Dashboard\",\n widgets: [{\n alertGraphDefinition: {\n alertId: \"1234\",\n liveSpan: \"1h\",\n title: \"Widget Title\",\n vizType: \"timeseries\",\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 dashboard_lists=[test.id],\n description=\"Created using the Datadog provider in Pulumi\",\n is_read_only=True,\n layout_type=\"ordered\",\n title=\"TF Test Layout Dashboard\",\n widgets=[datadog.DashboardWidgetArgs(\n alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs(\n alert_id=\"1234\",\n live_span=\"1h\",\n title=\"Widget Title\",\n viz_type=\"timeseries\",\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 DashboardLists = new[]\n {\n test.Apply(getDashboardListResult =\u003e getDashboardListResult.Id),\n },\n Description = \"Created using the Datadog provider in Pulumi\",\n IsReadOnly = true,\n LayoutType = \"ordered\",\n Title = \"TF Test Layout Dashboard\",\n Widgets = new[]\n {\n new Datadog.Inputs.DashboardWidgetArgs\n {\n AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs\n {\n AlertId = \"1234\",\n LiveSpan = \"1h\",\n Title = \"Widget Title\",\n VizType = \"timeseries\",\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\tDashboardLists: pulumi.IntArray{\n\t\t\t\t*pulumi.String(test.Id),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Created using the Datadog provider in Pulumi\"),\n\t\t\tIsReadOnly: pulumi.Bool(true),\n\t\t\tLayoutType: pulumi.String(\"ordered\"),\n\t\t\tTitle: pulumi.String(\"TF Test Layout Dashboard\"),\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\tLiveSpan: pulumi.String(\"1h\"),\n\t\t\t\t\t\tTitle: pulumi.String(\"Widget Title\"),\n\t\t\t\t\t\tVizType: pulumi.String(\"timeseries\"),\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 var time = new Dashboard(\"time\", DashboardArgs.builder() \n .dashboardLists(test.applyValue(getDashboardListResult -\u003e getDashboardListResult.id()))\n .description(\"Created using the Datadog provider in Pulumi\")\n .isReadOnly(true)\n .layoutType(\"ordered\")\n .title(\"TF Test Layout Dashboard\")\n .widgets(DashboardWidgetArgs.builder()\n .alertGraphDefinition(DashboardWidgetAlertGraphDefinitionArgs.builder()\n .alertId(\"1234\")\n .liveSpan(\"1h\")\n .title(\"Widget Title\")\n .vizType(\"timeseries\")\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 dashboardLists:\n - ${test.id}\n description: Created using the Datadog provider in Pulumi\n isReadOnly: true\n layoutType: ordered\n title: TF Test Layout Dashboard\n widgets:\n - alertGraphDefinition:\n alertId: '1234'\n liveSpan: 1h\n title: Widget Title\n vizType: timeseries\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 dashboardLists: [test.then(test =\u003e test.id)],\n description: \"Created using the Datadog provider in Pulumi\",\n isReadOnly: true,\n layoutType: \"ordered\",\n title: \"TF Test Layout Dashboard\",\n widgets: [{\n alertGraphDefinition: {\n alertId: \"1234\",\n liveSpan: \"1h\",\n title: \"Widget Title\",\n vizType: \"timeseries\",\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 dashboard_lists=[test.id],\n description=\"Created using the Datadog provider in Pulumi\",\n is_read_only=True,\n layout_type=\"ordered\",\n title=\"TF Test Layout Dashboard\",\n widgets=[datadog.DashboardWidgetArgs(\n alert_graph_definition=datadog.DashboardWidgetAlertGraphDefinitionArgs(\n alert_id=\"1234\",\n live_span=\"1h\",\n title=\"Widget Title\",\n viz_type=\"timeseries\",\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 DashboardLists = new[]\n {\n test.Apply(getDashboardListResult =\u003e getDashboardListResult.Id),\n },\n Description = \"Created using the Datadog provider in Pulumi\",\n IsReadOnly = true,\n LayoutType = \"ordered\",\n Title = \"TF Test Layout Dashboard\",\n Widgets = new[]\n {\n new Datadog.Inputs.DashboardWidgetArgs\n {\n AlertGraphDefinition = new Datadog.Inputs.DashboardWidgetAlertGraphDefinitionArgs\n {\n AlertId = \"1234\",\n LiveSpan = \"1h\",\n Title = \"Widget Title\",\n VizType = \"timeseries\",\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\tDashboardLists: pulumi.IntArray{\n\t\t\t\tpulumi.String(test.Id),\n\t\t\t},\n\t\t\tDescription: pulumi.String(\"Created using the Datadog provider in Pulumi\"),\n\t\t\tIsReadOnly: pulumi.Bool(true),\n\t\t\tLayoutType: pulumi.String(\"ordered\"),\n\t\t\tTitle: pulumi.String(\"TF Test Layout Dashboard\"),\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\tLiveSpan: pulumi.String(\"1h\"),\n\t\t\t\t\t\tTitle: pulumi.String(\"Widget Title\"),\n\t\t\t\t\t\tVizType: pulumi.String(\"timeseries\"),\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 var time = new Dashboard(\"time\", DashboardArgs.builder() \n .dashboardLists(test.applyValue(getDashboardListResult -\u003e getDashboardListResult.id()))\n .description(\"Created using the Datadog provider in Pulumi\")\n .isReadOnly(true)\n .layoutType(\"ordered\")\n .title(\"TF Test Layout Dashboard\")\n .widgets(DashboardWidgetArgs.builder()\n .alertGraphDefinition(DashboardWidgetAlertGraphDefinitionArgs.builder()\n .alertId(\"1234\")\n .liveSpan(\"1h\")\n .title(\"Widget Title\")\n .vizType(\"timeseries\")\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 dashboardLists:\n - ${test.id}\n description: Created using the Datadog provider in Pulumi\n isReadOnly: true\n layoutType: ordered\n title: TF Test Layout Dashboard\n widgets:\n - alertGraphDefinition:\n alertId: '1234'\n liveSpan: 1h\n title: Widget Title\n vizType: timeseries\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": { diff --git a/provider/go.mod b/provider/go.mod index 0083e90bd..df3bb0be9 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -3,9 +3,9 @@ module github.com/pulumi/pulumi-datadog/provider/v4 go 1.21 require ( - github.com/pulumi/pulumi-terraform-bridge/pf v0.30.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0 - github.com/pulumi/pulumi/sdk/v3 v3.108.1 + github.com/pulumi/pulumi-terraform-bridge/pf v0.31.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0 + github.com/pulumi/pulumi/sdk/v3 v3.111.1 github.com/terraform-providers/terraform-provider-datadog v0.0.0 ) @@ -188,8 +188,8 @@ require ( github.com/pulumi/esc v0.6.2 // indirect github.com/pulumi/pulumi-java/pkg v0.9.9 // indirect github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 // indirect - github.com/pulumi/pulumi-yaml v1.5.0 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.108.1 // indirect + github.com/pulumi/pulumi-yaml v1.6.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.111.1 // 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 01db818e5..9485a7d25 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -2807,18 +2807,18 @@ github.com/pulumi/providertest v0.0.11 h1:mg8MQ7Cq7+9XlHIkBD+aCqQO4mwAJEISngZgVd github.com/pulumi/providertest v0.0.11/go.mod h1:HsxjVsytcMIuNj19w1lT2W0QXY0oReXl1+h6eD2JXP8= github.com/pulumi/pulumi-java/pkg v0.9.9 h1:F3xJUtMFDVrTGCxb7Rh2Q8s6tj7gMfM5pcoUthz7vFY= github.com/pulumi/pulumi-java/pkg v0.9.9/go.mod h1:LVF1zeg3UkToHWxb67V+zEIxQc3EdMnlot5NWSt+FpA= -github.com/pulumi/pulumi-terraform-bridge/pf v0.30.0 h1:2Jn0lXcfid0E2gbbpPwtRBWkJxGmOiUenTYP07A8b+U= -github.com/pulumi/pulumi-terraform-bridge/pf v0.30.0/go.mod h1:6MjVHzJy4MVmb/19nbRv7p9VkcKcpjl8a8uEp1CDKwo= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0 h1:BZhD7yNZz7O5MWeM4WofY6XBLjtiA3qH2UJJTg8+Nts= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.77.0/go.mod h1:OCfjEGPU2fbBlda8UZhN/N3FljW6R08SK6lXPXzahwA= +github.com/pulumi/pulumi-terraform-bridge/pf v0.31.0 h1:KnVMjyTmkqjUDBVoQNODPMH0VpPmRmu7JHMruBF+Fvs= +github.com/pulumi/pulumi-terraform-bridge/pf v0.31.0/go.mod h1:kdaazbdv0Hn6/innKvWcPfRRn/0YeNYI/oWA4j8lV3k= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0 h1:zl1nXrx02X7u/w5kNjIVGVUzccEILcMWsIpg4QQanCI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.78.0/go.mod h1:WpkN/lgtBrDYGrMyG9cmncy5pN95lnowbmjILHWcm0M= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8 h1:mav2tSitA9BPJPLLahKgepHyYsMzwaTm4cvp0dcTMYw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.8/go.mod h1:qUYk2c9i/yqMGNj9/bQyXpS39BxNDSXYjVN1njnq0zY= -github.com/pulumi/pulumi-yaml v1.5.0 h1:HfXu+WSFNpycref9CK935cViYJzXwSgHGWM/RepyrW0= -github.com/pulumi/pulumi-yaml v1.5.0/go.mod h1:AvKSmEQv2EkPbpvAQroR1eP1LkJGC8z5NDM34rVWOtg= -github.com/pulumi/pulumi/pkg/v3 v3.108.1 h1:K1UK40v5IpEPIaJ2un3WNOTBbLQaKR26HbLLh5EmMHY= -github.com/pulumi/pulumi/pkg/v3 v3.108.1/go.mod h1:48uCfxkPXUq/XTBqei9VuR0CRWObnSVlqcLkD6DhII8= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi-yaml v1.6.0 h1:mb/QkebWXTa1fR+P3ZkCCHGXOYC6iTN8X8By9eNz8xM= +github.com/pulumi/pulumi-yaml v1.6.0/go.mod h1:RyEPo4MhL363sbAiFMVKRsQmXpQPDCY1S8pGv3E6Ij0= +github.com/pulumi/pulumi/pkg/v3 v3.111.1 h1:SrVgQE96T7YlZx/AZoFSlXYwur7ZmQUHyjbPI8sH96Q= +github.com/pulumi/pulumi/pkg/v3 v3.111.1/go.mod h1:ZWsq8Y0EMHZ5E2ju92jC+POz97TEXs3BbQ6r2o0U4SA= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= 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 5820c048d..d1bec6993 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.108.1 + github.com/pulumi/pulumi/sdk/v3 v3.111.1 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 69dbe19d1..2160100e8 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.6.2 h1:+z+l8cuwIauLSwXQS0uoI3rqB+YG4SzsZYtHfNoXBvw= github.com/pulumi/esc v0.6.2/go.mod h1:jNnYNjzsOgVTjCp0LL24NsCk8ZJxq4IoLQdCT0X7l8k= -github.com/pulumi/pulumi/sdk/v3 v3.108.1 h1:5idjc3JmzToYVizRPbFyjJ5UU4AbExd04pcSP9AhPEc= -github.com/pulumi/pulumi/sdk/v3 v3.108.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= +github.com/pulumi/pulumi/sdk/v3 v3.111.1 h1:uOeG/b6YxBuL59xHtmFPspMa8BB6ovjHelL7sVCGJZw= +github.com/pulumi/pulumi/sdk/v3 v3.111.1/go.mod h1:5A6GHUwAJlRY1SSLZh84aDIbsBShcrfcmHzI50ecSBg= 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/go/datadog/authnMapping.go b/sdk/go/datadog/authnMapping.go index 955c3bd2f..ce3a08d3b 100644 --- a/sdk/go/datadog/authnMapping.go +++ b/sdk/go/datadog/authnMapping.go @@ -39,7 +39,7 @@ import ( // _, err = datadog.NewAuthnMapping(ctx, "devRoRoleMapping", &datadog.AuthnMappingArgs{ // Key: pulumi.String("Member-of"), // Value: pulumi.String("Development"), -// Role: *pulumi.String(roRole.Id), +// Role: pulumi.String(roRole.Id), // }) // if err != nil { // return err diff --git a/sdk/go/datadog/dashboard.go b/sdk/go/datadog/dashboard.go index b8a7ce255..f1f15eb4d 100644 --- a/sdk/go/datadog/dashboard.go +++ b/sdk/go/datadog/dashboard.go @@ -31,7 +31,7 @@ type Dashboard struct { Description pulumi.StringPtrOutput `pulumi:"description"` // Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. // - // Deprecated: Prefer using `restricted_roles` to define which roles are required to edit the dashboard. + // Deprecated: Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. IsReadOnly pulumi.BoolPtrOutput `pulumi:"isReadOnly"` // The layout type of the group. Valid values are `ordered`. LayoutType pulumi.StringOutput `pulumi:"layoutType"` @@ -100,7 +100,7 @@ type dashboardState struct { Description *string `pulumi:"description"` // Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. // - // Deprecated: Prefer using `restricted_roles` to define which roles are required to edit the dashboard. + // Deprecated: Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. IsReadOnly *bool `pulumi:"isReadOnly"` // The layout type of the group. Valid values are `ordered`. LayoutType *string `pulumi:"layoutType"` @@ -134,7 +134,7 @@ type DashboardState struct { Description pulumi.StringPtrInput // Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. // - // Deprecated: Prefer using `restricted_roles` to define which roles are required to edit the dashboard. + // Deprecated: Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. IsReadOnly pulumi.BoolPtrInput // The layout type of the group. Valid values are `ordered`. LayoutType pulumi.StringPtrInput @@ -170,7 +170,7 @@ type dashboardArgs struct { Description *string `pulumi:"description"` // Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. // - // Deprecated: Prefer using `restricted_roles` to define which roles are required to edit the dashboard. + // Deprecated: Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. IsReadOnly *bool `pulumi:"isReadOnly"` // The layout type of the group. Valid values are `ordered`. LayoutType string `pulumi:"layoutType"` @@ -203,7 +203,7 @@ type DashboardArgs struct { Description pulumi.StringPtrInput // Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. // - // Deprecated: Prefer using `restricted_roles` to define which roles are required to edit the dashboard. + // Deprecated: Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. IsReadOnly pulumi.BoolPtrInput // The layout type of the group. Valid values are `ordered`. LayoutType pulumi.StringInput @@ -332,7 +332,7 @@ func (o DashboardOutput) Description() pulumi.StringPtrOutput { // Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. // -// Deprecated: Prefer using `restricted_roles` to define which roles are required to edit the dashboard. +// Deprecated: Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. func (o DashboardOutput) IsReadOnly() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Dashboard) pulumi.BoolPtrOutput { return v.IsReadOnly }).(pulumi.BoolPtrOutput) } diff --git a/sdk/go/datadog/getDashboardList.go b/sdk/go/datadog/getDashboardList.go index 847063ab1..cdfcfc36b 100644 --- a/sdk/go/datadog/getDashboardList.go +++ b/sdk/go/datadog/getDashboardList.go @@ -37,7 +37,7 @@ import ( // // Create a dashboard and register it in the list above. // _, err = datadog.NewDashboard(ctx, "time", &datadog.DashboardArgs{ // DashboardLists: pulumi.IntArray{ -// *pulumi.String(test.Id), +// pulumi.String(test.Id), // }, // Description: pulumi.String("Created using the Datadog provider in Pulumi"), // IsReadOnly: pulumi.Bool(true), diff --git a/sdk/go/datadog/monitor.go b/sdk/go/datadog/monitor.go index 1a2d73581..ee8b2012f 100644 --- a/sdk/go/datadog/monitor.go +++ b/sdk/go/datadog/monitor.go @@ -90,7 +90,7 @@ type Monitor struct { IncludeTags pulumi.BoolPtrOutput `pulumi:"includeTags"` // A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. // - // Deprecated: Use `restricted_roles`. + // Deprecated: Use `restrictedRoles`. Locked pulumi.BoolPtrOutput `pulumi:"locked"` // A message to include with notifications for this monitor. Message pulumi.StringOutput `pulumi:"message"` @@ -109,7 +109,7 @@ type Monitor struct { // and monitors not grouped by host. The only case when this should be used is to override the default and set // `new_host_delay` to zero for monitors grouped by host. // - // Deprecated: Use `new_group_delay` except when setting `new_host_delay` to zero. + // Deprecated: Use `newGroupDelay` except when setting `newHostDelay` to zero. NewHostDelay pulumi.IntPtrOutput `pulumi:"newHostDelay"` // The number of minutes before a monitor will notify when data stops reporting. We recommend at least 2x the monitor // timeframe for metric alerts or 2 minutes for service checks. @@ -239,7 +239,7 @@ type monitorState struct { IncludeTags *bool `pulumi:"includeTags"` // A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. // - // Deprecated: Use `restricted_roles`. + // Deprecated: Use `restrictedRoles`. Locked *bool `pulumi:"locked"` // A message to include with notifications for this monitor. Message *string `pulumi:"message"` @@ -258,7 +258,7 @@ type monitorState struct { // and monitors not grouped by host. The only case when this should be used is to override the default and set // `new_host_delay` to zero for monitors grouped by host. // - // Deprecated: Use `new_group_delay` except when setting `new_host_delay` to zero. + // Deprecated: Use `newGroupDelay` except when setting `newHostDelay` to zero. NewHostDelay *int `pulumi:"newHostDelay"` // The number of minutes before a monitor will notify when data stops reporting. We recommend at least 2x the monitor // timeframe for metric alerts or 2 minutes for service checks. @@ -347,7 +347,7 @@ type MonitorState struct { IncludeTags pulumi.BoolPtrInput // A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. // - // Deprecated: Use `restricted_roles`. + // Deprecated: Use `restrictedRoles`. Locked pulumi.BoolPtrInput // A message to include with notifications for this monitor. Message pulumi.StringPtrInput @@ -366,7 +366,7 @@ type MonitorState struct { // and monitors not grouped by host. The only case when this should be used is to override the default and set // `new_host_delay` to zero for monitors grouped by host. // - // Deprecated: Use `new_group_delay` except when setting `new_host_delay` to zero. + // Deprecated: Use `newGroupDelay` except when setting `newHostDelay` to zero. NewHostDelay pulumi.IntPtrInput // The number of minutes before a monitor will notify when data stops reporting. We recommend at least 2x the monitor // timeframe for metric alerts or 2 minutes for service checks. @@ -456,7 +456,7 @@ type monitorArgs struct { IncludeTags *bool `pulumi:"includeTags"` // A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. // - // Deprecated: Use `restricted_roles`. + // Deprecated: Use `restrictedRoles`. Locked *bool `pulumi:"locked"` // A message to include with notifications for this monitor. Message string `pulumi:"message"` @@ -475,7 +475,7 @@ type monitorArgs struct { // and monitors not grouped by host. The only case when this should be used is to override the default and set // `new_host_delay` to zero for monitors grouped by host. // - // Deprecated: Use `new_group_delay` except when setting `new_host_delay` to zero. + // Deprecated: Use `newGroupDelay` except when setting `newHostDelay` to zero. NewHostDelay *int `pulumi:"newHostDelay"` // The number of minutes before a monitor will notify when data stops reporting. We recommend at least 2x the monitor // timeframe for metric alerts or 2 minutes for service checks. @@ -562,7 +562,7 @@ type MonitorArgs struct { IncludeTags pulumi.BoolPtrInput // A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. // - // Deprecated: Use `restricted_roles`. + // Deprecated: Use `restrictedRoles`. Locked pulumi.BoolPtrInput // A message to include with notifications for this monitor. Message pulumi.StringInput @@ -581,7 +581,7 @@ type MonitorArgs struct { // and monitors not grouped by host. The only case when this should be used is to override the default and set // `new_host_delay` to zero for monitors grouped by host. // - // Deprecated: Use `new_group_delay` except when setting `new_host_delay` to zero. + // Deprecated: Use `newGroupDelay` except when setting `newHostDelay` to zero. NewHostDelay pulumi.IntPtrInput // The number of minutes before a monitor will notify when data stops reporting. We recommend at least 2x the monitor // timeframe for metric alerts or 2 minutes for service checks. @@ -780,7 +780,7 @@ func (o MonitorOutput) IncludeTags() pulumi.BoolPtrOutput { // A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. // -// Deprecated: Use `restricted_roles`. +// Deprecated: Use `restrictedRoles`. func (o MonitorOutput) Locked() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Monitor) pulumi.BoolPtrOutput { return v.Locked }).(pulumi.BoolPtrOutput) } @@ -817,7 +817,7 @@ func (o MonitorOutput) NewGroupDelay() pulumi.IntPtrOutput { // and monitors not grouped by host. The only case when this should be used is to override the default and set // `new_host_delay` to zero for monitors grouped by host. // -// Deprecated: Use `new_group_delay` except when setting `new_host_delay` to zero. +// Deprecated: Use `newGroupDelay` except when setting `newHostDelay` to zero. func (o MonitorOutput) NewHostDelay() pulumi.IntPtrOutput { return o.ApplyT(func(v *Monitor) pulumi.IntPtrOutput { return v.NewHostDelay }).(pulumi.IntPtrOutput) } diff --git a/sdk/go/datadog/pulumiTypes5.go b/sdk/go/datadog/pulumiTypes5.go index d24766088..866e04ea1 100644 --- a/sdk/go/datadog/pulumiTypes5.go +++ b/sdk/go/datadog/pulumiTypes5.go @@ -13580,7 +13580,7 @@ func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) type SecurityMonitoringRuleQuery struct { // **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. // - // Deprecated: `agent_rule` has been deprecated in favor of new Agent Rule resource. + // Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. AgentRules []SecurityMonitoringRuleQueryAgentRule `pulumi:"agentRules"` // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"count"`. Aggregation *string `pulumi:"aggregation"` @@ -13614,7 +13614,7 @@ type SecurityMonitoringRuleQueryInput interface { type SecurityMonitoringRuleQueryArgs struct { // **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. // - // Deprecated: `agent_rule` has been deprecated in favor of new Agent Rule resource. + // Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. AgentRules SecurityMonitoringRuleQueryAgentRuleArrayInput `pulumi:"agentRules"` // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"count"`. Aggregation pulumi.StringPtrInput `pulumi:"aggregation"` @@ -13687,7 +13687,7 @@ func (o SecurityMonitoringRuleQueryOutput) ToSecurityMonitoringRuleQueryOutputWi // **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. // -// Deprecated: `agent_rule` has been deprecated in favor of new Agent Rule resource. +// Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. func (o SecurityMonitoringRuleQueryOutput) AgentRules() SecurityMonitoringRuleQueryAgentRuleArrayOutput { return o.ApplyT(func(v SecurityMonitoringRuleQuery) []SecurityMonitoringRuleQueryAgentRule { return v.AgentRules }).(SecurityMonitoringRuleQueryAgentRuleArrayOutput) } @@ -18802,7 +18802,7 @@ type SyntheticsTestApiStepRequestDefinition struct { Port *int `pulumi:"port"` // A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. // - // Deprecated: Use `plain_proto_file` instead. + // Deprecated: Use `plainProtoFile` instead. ProtoJsonDescriptor *string `pulumi:"protoJsonDescriptor"` // For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number. Servername *string `pulumi:"servername"` @@ -18862,7 +18862,7 @@ type SyntheticsTestApiStepRequestDefinitionArgs struct { Port pulumi.IntPtrInput `pulumi:"port"` // A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. // - // Deprecated: Use `plain_proto_file` instead. + // Deprecated: Use `plainProtoFile` instead. ProtoJsonDescriptor pulumi.StringPtrInput `pulumi:"protoJsonDescriptor"` // For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number. Servername pulumi.StringPtrInput `pulumi:"servername"` @@ -19035,7 +19035,7 @@ func (o SyntheticsTestApiStepRequestDefinitionOutput) Port() pulumi.IntPtrOutput // A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. // -// Deprecated: Use `plain_proto_file` instead. +// Deprecated: Use `plainProtoFile` instead. func (o SyntheticsTestApiStepRequestDefinitionOutput) ProtoJsonDescriptor() pulumi.StringPtrOutput { return o.ApplyT(func(v SyntheticsTestApiStepRequestDefinition) *string { return v.ProtoJsonDescriptor }).(pulumi.StringPtrOutput) } @@ -19251,7 +19251,7 @@ func (o SyntheticsTestApiStepRequestDefinitionPtrOutput) Port() pulumi.IntPtrOut // A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. // -// Deprecated: Use `plain_proto_file` instead. +// Deprecated: Use `plainProtoFile` instead. func (o SyntheticsTestApiStepRequestDefinitionPtrOutput) ProtoJsonDescriptor() pulumi.StringPtrOutput { return o.ApplyT(func(v *SyntheticsTestApiStepRequestDefinition) *string { if v == nil { @@ -23565,7 +23565,7 @@ type SyntheticsTestRequestDefinition struct { Port *int `pulumi:"port"` // A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. // - // Deprecated: Use `plain_proto_file` instead. + // Deprecated: Use `plainProtoFile` instead. ProtoJsonDescriptor *string `pulumi:"protoJsonDescriptor"` // For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number. Servername *string `pulumi:"servername"` @@ -23621,7 +23621,7 @@ type SyntheticsTestRequestDefinitionArgs struct { Port pulumi.IntPtrInput `pulumi:"port"` // A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. // - // Deprecated: Use `plain_proto_file` instead. + // Deprecated: Use `plainProtoFile` instead. ProtoJsonDescriptor pulumi.StringPtrInput `pulumi:"protoJsonDescriptor"` // For SSL tests, it specifies on which server you want to initiate the TLS handshake, allowing the server to present one of multiple possible certificates on the same IP address and TCP port number. Servername pulumi.StringPtrInput `pulumi:"servername"` @@ -23784,7 +23784,7 @@ func (o SyntheticsTestRequestDefinitionOutput) Port() pulumi.IntPtrOutput { // A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. // -// Deprecated: Use `plain_proto_file` instead. +// Deprecated: Use `plainProtoFile` instead. func (o SyntheticsTestRequestDefinitionOutput) ProtoJsonDescriptor() pulumi.StringPtrOutput { return o.ApplyT(func(v SyntheticsTestRequestDefinition) *string { return v.ProtoJsonDescriptor }).(pulumi.StringPtrOutput) } @@ -23980,7 +23980,7 @@ func (o SyntheticsTestRequestDefinitionPtrOutput) Port() pulumi.IntPtrOutput { // A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. // -// Deprecated: Use `plain_proto_file` instead. +// Deprecated: Use `plainProtoFile` instead. func (o SyntheticsTestRequestDefinitionPtrOutput) ProtoJsonDescriptor() pulumi.StringPtrOutput { return o.ApplyT(func(v *SyntheticsTestRequestDefinition) *string { if v == nil { @@ -28146,7 +28146,7 @@ func (o GetSecurityMonitoringRulesRuleOptionsThirdPartyRuleOptionsRootQueryArray type GetSecurityMonitoringRulesRuleQuery struct { // **Deprecated**. It won't be applied anymore. // - // Deprecated: `agent_rule` has been deprecated in favor of new Agent Rule resource. + // Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. AgentRules []GetSecurityMonitoringRulesRuleQueryAgentRule `pulumi:"agentRules"` // The aggregation type. For Signal Correlation rules, it must be event_count. Aggregation *string `pulumi:"aggregation"` @@ -28180,7 +28180,7 @@ type GetSecurityMonitoringRulesRuleQueryInput interface { type GetSecurityMonitoringRulesRuleQueryArgs struct { // **Deprecated**. It won't be applied anymore. // - // Deprecated: `agent_rule` has been deprecated in favor of new Agent Rule resource. + // Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. AgentRules GetSecurityMonitoringRulesRuleQueryAgentRuleArrayInput `pulumi:"agentRules"` // The aggregation type. For Signal Correlation rules, it must be event_count. Aggregation pulumi.StringPtrInput `pulumi:"aggregation"` @@ -28253,7 +28253,7 @@ func (o GetSecurityMonitoringRulesRuleQueryOutput) ToGetSecurityMonitoringRulesR // **Deprecated**. It won't be applied anymore. // -// Deprecated: `agent_rule` has been deprecated in favor of new Agent Rule resource. +// Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. func (o GetSecurityMonitoringRulesRuleQueryOutput) AgentRules() GetSecurityMonitoringRulesRuleQueryAgentRuleArrayOutput { return o.ApplyT(func(v GetSecurityMonitoringRulesRuleQuery) []GetSecurityMonitoringRulesRuleQueryAgentRule { return v.AgentRules diff --git a/sdk/go/datadog/role.go b/sdk/go/datadog/role.go index eeef6f08f..8b84f8b3d 100644 --- a/sdk/go/datadog/role.go +++ b/sdk/go/datadog/role.go @@ -38,10 +38,10 @@ import ( // Name: pulumi.String("foo"), // Permissions: datadog.RolePermissionArray{ // &datadog.RolePermissionArgs{ -// Id: *pulumi.String(bar.Permissions.MonitorsDowntime), +// Id: pulumi.String(bar.Permissions.MonitorsDowntime), // }, // &datadog.RolePermissionArgs{ -// Id: *pulumi.String(bar.Permissions.MonitorsWrite), +// Id: pulumi.String(bar.Permissions.MonitorsWrite), // }, // }, // }) diff --git a/sdk/go/datadog/sensitiveDataScannerRule.go b/sdk/go/datadog/sensitiveDataScannerRule.go index ccb420e44..3c15db9b9 100644 --- a/sdk/go/datadog/sensitiveDataScannerRule.go +++ b/sdk/go/datadog/sensitiveDataScannerRule.go @@ -82,7 +82,7 @@ import ( // Name: pulumi.String("My library rule"), // Description: pulumi.String("A description"), // GroupId: mygroup.ID(), -// StandardPatternId: *pulumi.String(awsSp.Id), +// StandardPatternId: pulumi.String(awsSp.Id), // ExcludedNamespaces: pulumi.StringArray{ // pulumi.String("username"), // }, diff --git a/sdk/go/datadog/serviceAccount.go b/sdk/go/datadog/serviceAccount.go index cbb779400..0b9499060 100644 --- a/sdk/go/datadog/serviceAccount.go +++ b/sdk/go/datadog/serviceAccount.go @@ -40,7 +40,7 @@ import ( // Email: pulumi.String("new@example.com"), // Name: pulumi.String("Service Account Bar"), // Roles: pulumi.StringArray{ -// *pulumi.String(roRole.Id), +// pulumi.String(roRole.Id), // }, // }) // if err != nil { diff --git a/sdk/go/datadog/user.go b/sdk/go/datadog/user.go index 02cd4a34a..fb32710a1 100644 --- a/sdk/go/datadog/user.go +++ b/sdk/go/datadog/user.go @@ -39,7 +39,7 @@ import ( // _, err = datadog.NewUser(ctx, "foo", &datadog.UserArgs{ // Email: pulumi.String("new@example.com"), // Roles: pulumi.StringArray{ -// *pulumi.String(roRole.Id), +// pulumi.String(roRole.Id), // }, // }) // if err != nil { diff --git a/sdk/nodejs/dashboard.ts b/sdk/nodejs/dashboard.ts index e1942699f..000c12cbb 100644 --- a/sdk/nodejs/dashboard.ts +++ b/sdk/nodejs/dashboard.ts @@ -59,7 +59,7 @@ export class Dashboard extends pulumi.CustomResource { /** * Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. * - * @deprecated Prefer using `restricted_roles` to define which roles are required to edit the dashboard. + * @deprecated Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. */ public readonly isReadOnly!: pulumi.Output; /** @@ -178,7 +178,7 @@ export interface DashboardState { /** * Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. * - * @deprecated Prefer using `restricted_roles` to define which roles are required to edit the dashboard. + * @deprecated Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. */ isReadOnly?: pulumi.Input; /** @@ -239,7 +239,7 @@ export interface DashboardArgs { /** * Whether this dashboard is read-only. **Deprecated.** Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. Defaults to `false`. * - * @deprecated Prefer using `restricted_roles` to define which roles are required to edit the dashboard. + * @deprecated Prefer using `restrictedRoles` to define which roles are required to edit the dashboard. */ isReadOnly?: pulumi.Input; /** diff --git a/sdk/nodejs/monitor.ts b/sdk/nodejs/monitor.ts index 44f05e3f5..6ba1d1fb3 100644 --- a/sdk/nodejs/monitor.ts +++ b/sdk/nodejs/monitor.ts @@ -113,7 +113,7 @@ export class Monitor extends pulumi.CustomResource { /** * A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. * - * @deprecated Use `restricted_roles`. + * @deprecated Use `restrictedRoles`. */ public readonly locked!: pulumi.Output; /** @@ -144,7 +144,7 @@ export class Monitor extends pulumi.CustomResource { * and monitors not grouped by host. The only case when this should be used is to override the default and set * `new_host_delay` to zero for monitors grouped by host. * - * @deprecated Use `new_group_delay` except when setting `new_host_delay` to zero. + * @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero. */ public readonly newHostDelay!: pulumi.Output; /** @@ -390,7 +390,7 @@ export interface MonitorState { /** * A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. * - * @deprecated Use `restricted_roles`. + * @deprecated Use `restrictedRoles`. */ locked?: pulumi.Input; /** @@ -421,7 +421,7 @@ export interface MonitorState { * and monitors not grouped by host. The only case when this should be used is to override the default and set * `new_host_delay` to zero for monitors grouped by host. * - * @deprecated Use `new_group_delay` except when setting `new_host_delay` to zero. + * @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero. */ newHostDelay?: pulumi.Input; /** @@ -562,7 +562,7 @@ export interface MonitorArgs { /** * A boolean indicating whether changes to this monitor should be restricted to the creator or admins. Defaults to `false`. * - * @deprecated Use `restricted_roles`. + * @deprecated Use `restrictedRoles`. */ locked?: pulumi.Input; /** @@ -593,7 +593,7 @@ export interface MonitorArgs { * and monitors not grouped by host. The only case when this should be used is to override the default and set * `new_host_delay` to zero for monitors grouped by host. * - * @deprecated Use `new_group_delay` except when setting `new_host_delay` to zero. + * @deprecated Use `newGroupDelay` except when setting `newHostDelay` to zero. */ newHostDelay?: pulumi.Input; /** diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index e20920a39..d7446bfae 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -52680,7 +52680,7 @@ export interface SecurityMonitoringRuleQuery { /** * **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. * - * @deprecated `agent_rule` has been deprecated in favor of new Agent Rule resource. + * @deprecated `agentRule` has been deprecated in favor of new Agent Rule resource. */ agentRules?: pulumi.Input[]>; /** @@ -53293,7 +53293,7 @@ export interface SyntheticsTestApiStepRequestDefinition { /** * A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. * - * @deprecated Use `plain_proto_file` instead. + * @deprecated Use `plainProtoFile` instead. */ protoJsonDescriptor?: pulumi.Input; /** @@ -53898,7 +53898,7 @@ export interface SyntheticsTestRequestDefinition { /** * A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. * - * @deprecated Use `plain_proto_file` instead. + * @deprecated Use `plainProtoFile` instead. */ protoJsonDescriptor?: pulumi.Input; /** diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 207ec1c88..5294cbc4b 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -40353,7 +40353,7 @@ export interface GetSecurityMonitoringRulesRuleQuery { /** * **Deprecated**. It won't be applied anymore. * - * @deprecated `agent_rule` has been deprecated in favor of new Agent Rule resource. + * @deprecated `agentRule` has been deprecated in favor of new Agent Rule resource. */ agentRules?: outputs.GetSecurityMonitoringRulesRuleQueryAgentRule[]; /** @@ -53320,7 +53320,7 @@ export interface SecurityMonitoringRuleQuery { /** * **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. * - * @deprecated `agent_rule` has been deprecated in favor of new Agent Rule resource. + * @deprecated `agentRule` has been deprecated in favor of new Agent Rule resource. */ agentRules?: outputs.SecurityMonitoringRuleQueryAgentRule[]; /** @@ -53933,7 +53933,7 @@ export interface SyntheticsTestApiStepRequestDefinition { /** * A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. * - * @deprecated Use `plain_proto_file` instead. + * @deprecated Use `plainProtoFile` instead. */ protoJsonDescriptor?: string; /** @@ -54538,7 +54538,7 @@ export interface SyntheticsTestRequestDefinition { /** * A protobuf JSON descriptor. **Deprecated.** Use `plainProtoFile` instead. * - * @deprecated Use `plain_proto_file` instead. + * @deprecated Use `plainProtoFile` instead. */ protoJsonDescriptor?: string; /**