diff --git a/provider/cmd/pulumi-resource-dynatrace/schema.json b/provider/cmd/pulumi-resource-dynatrace/schema.json index 171f0385..d2c83468 100644 --- a/provider/cmd/pulumi-resource-dynatrace/schema.json +++ b/provider/cmd/pulumi-resource-dynatrace/schema.json @@ -637,7 +637,11 @@ }, "customLogLevel": { "type": "string", - "description": "Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn`\n" + "description": "Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn`\n" + }, + "customTraceLevel": { + "type": "string", + "description": "Possible Values: `off`, `on`, `useDefault`\n" } }, "type": "object", @@ -1714,10 +1718,7 @@ "description": "key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled)\n" } }, - "type": "object", - "required": [ - "states" - ] + "type": "object" }, "dynatrace:index/AutomationWorkflowTasksTaskPosition:AutomationWorkflowTasksTaskPosition": { "properties": { @@ -5666,6 +5667,18 @@ "type": "string", "description": "Additional Javascript Agent Properties\n" }, + "fetchRequests": { + "type": "boolean", + "description": "Capture fetch() requests\n" + }, + "javascriptErrors": { + "type": "boolean", + "description": "JavaScript error report\n" + }, + "timedActions": { + "type": "boolean", + "description": "Timed action support\n" + }, "timeoutSettings": { "$ref": "#/types/dynatrace:index/BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings:BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings", "description": "Custom JavaScript Agent settings\n" @@ -5673,6 +5686,10 @@ "visuallyCompleteOptions": { "$ref": "#/types/dynatrace:index/BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions:BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions", "description": "Parameters for Visually complete and Speed index calculation\n" + }, + "xmlHttpRequests": { + "type": "boolean", + "description": "Capture XMLHttpRequests (XHR)\n" } }, "type": "object" @@ -12017,6 +12034,10 @@ }, "dynatrace:index/DavisAnomalyDetectorsExecutionSettings:DavisAnomalyDetectorsExecutionSettings": { "properties": { + "actor": { + "type": "string", + "description": "UUID of a service user. Queries will be executed on behalf of the service user.\n" + }, "queryOffset": { "type": "integer", "description": "Minute offset of sliding evaluation window for metrics with latency\n" @@ -12357,6 +12378,10 @@ }, "dynatrace:index/DiscoveryDefaultRulesRuleActionsAction:DiscoveryDefaultRulesRuleActionsAction": { "properties": { + "instantAction": { + "type": "boolean", + "description": "Instant action\n" + }, "name": { "type": "string", "description": "no documentation available\n" @@ -19368,6 +19393,10 @@ "type": "boolean", "description": "Accept binary content\n" }, + "encoding": { + "type": "string", + "description": "no documentation available\n" + }, "type": { "type": "string", "description": "Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG`\n" @@ -19607,7 +19636,7 @@ "properties": { "attribute": { "type": "string", - "description": "Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag`\n" + "description": "Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology`\n" }, "operator": { "type": "string", @@ -19646,7 +19675,7 @@ "properties": { "attribute": { "type": "string", - "description": "Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`\n" + "description": "Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username`\n" }, "operator": { "type": "string", @@ -19694,7 +19723,7 @@ "properties": { "attribute": { "type": "string", - "description": "Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology`\n" + "description": "Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology`\n" }, "operator": { "type": "string", @@ -39611,6 +39640,10 @@ "type": "string", "description": "no documentation available\n" }, + "displayUnit": { + "$ref": "#/types/dynatrace:index/SiteReliabilityGuardianObjectivesObjectiveDisplayUnit:SiteReliabilityGuardianObjectivesObjectiveDisplayUnit", + "description": "Display Unit\n" + }, "dqlQuery": { "type": "string", "description": "DQL query\n" @@ -39643,6 +39676,28 @@ "objectiveType" ] }, + "dynatrace:index/SiteReliabilityGuardianObjectivesObjectiveDisplayUnit:SiteReliabilityGuardianObjectivesObjectiveDisplayUnit": { + "properties": { + "base": { + "type": "string", + "description": "Base Unit\n" + }, + "decimals": { + "type": "integer", + "description": "Decimals\n" + }, + "display": { + "type": "string", + "description": "display as unit\n" + } + }, + "type": "object", + "required": [ + "base", + "decimals", + "display" + ] + }, "dynatrace:index/SiteReliabilityGuardianVariables:SiteReliabilityGuardianVariables": { "properties": { "variables": { @@ -41007,6 +41062,50 @@ "trafficSpikePercentage" ] }, + "dynatrace:index/WebAppAutoInjectionCacheControlHeaders:WebAppAutoInjectionCacheControlHeaders": { + "properties": { + "cacheControlHeaders": { + "type": "boolean", + "description": "[How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea)\n" + } + }, + "type": "object", + "required": [ + "cacheControlHeaders" + ] + }, + "dynatrace:index/WebAppAutoInjectionMonitoringCodeSourceSection:WebAppAutoInjectionMonitoringCodeSourceSection": { + "properties": { + "codeSource": { + "type": "string", + "description": "Real User Monitoring code source\n" + }, + "monitoringCodePath": { + "type": "string", + "description": "Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall.\n" + } + }, + "type": "object", + "required": [ + "codeSource" + ] + }, + "dynatrace:index/WebAppAutoInjectionSnippetFormat:WebAppAutoInjectionSnippetFormat": { + "properties": { + "codeSnippetType": { + "type": "string", + "description": "Possible Values: `DEFERRED`, `SYNCHRONOUSLY`\n" + }, + "snippetFormat": { + "type": "string", + "description": "Snippet format\n" + } + }, + "type": "object", + "required": [ + "snippetFormat" + ] + }, "dynatrace:index/WebAppCustomErrorsErrorRules:WebAppCustomErrorsErrorRules": { "properties": { "errorRules": { @@ -44468,7 +44567,11 @@ }, "defaultLogLevel": { "type": "string", - "description": "Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn`\n" + "description": "Possible Values: `debug`, `error`, `info`, `off`, `warn`\n" + }, + "defaultTraceLevel": { + "type": "string", + "description": "Possible Values: `off`, `on`\n" } }, "required": [ @@ -44486,7 +44589,11 @@ }, "defaultLogLevel": { "type": "string", - "description": "Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn`\n" + "description": "Possible Values: `debug`, `error`, `info`, `off`, `warn`\n" + }, + "defaultTraceLevel": { + "type": "string", + "description": "Possible Values: `off`, `on`\n" } }, "requiredInputs": [ @@ -44506,7 +44613,11 @@ }, "defaultLogLevel": { "type": "string", - "description": "Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn`\n" + "description": "Possible Values: `debug`, `error`, `info`, `off`, `warn`\n" + }, + "defaultTraceLevel": { + "type": "string", + "description": "Possible Values: `off`, `on`\n" } }, "type": "object" @@ -47728,6 +47839,10 @@ "type": "boolean", "description": "Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe'\n" }, + "exeYq": { + "type": "boolean", + "description": "Rule id: 72 - Do not monitor processes if EXE name equals 'yq'\n" + }, "goStatic": { "type": "boolean", "description": "Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static'\n" @@ -48002,6 +48117,10 @@ "type": "boolean", "description": "Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe'\n" }, + "exeYq": { + "type": "boolean", + "description": "Rule id: 72 - Do not monitor processes if EXE name equals 'yq'\n" + }, "goStatic": { "type": "boolean", "description": "Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static'\n" @@ -48279,6 +48398,10 @@ "type": "boolean", "description": "Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe'\n" }, + "exeYq": { + "type": "boolean", + "description": "Rule id: 72 - Do not monitor processes if EXE name equals 'yq'\n" + }, "goStatic": { "type": "boolean", "description": "Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static'\n" @@ -48441,6 +48564,89 @@ "type": "object" } }, + "dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants": { + "properties": { + "contentTypeMatcher": { + "type": "string", + "description": "Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH`\n" + }, + "contentTypeValue": { + "type": "string", + "description": "Content-type match value\n" + }, + "insertAfter": { + "type": "string", + "description": "Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched\n" + }, + "parser": { + "type": "string", + "description": "Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML`\n" + }, + "scope": { + "type": "string", + "description": "The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.\n" + } + }, + "required": [ + "contentTypeMatcher", + "contentTypeValue", + "insertAfter", + "parser" + ], + "inputProperties": { + "contentTypeMatcher": { + "type": "string", + "description": "Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH`\n" + }, + "contentTypeValue": { + "type": "string", + "description": "Content-type match value\n" + }, + "insertAfter": { + "type": "string", + "description": "Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched\n" + }, + "parser": { + "type": "string", + "description": "Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML`\n" + }, + "scope": { + "type": "string", + "description": "The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.\n" + } + }, + "requiredInputs": [ + "contentTypeMatcher", + "contentTypeValue", + "parser" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering BusinessEventsCapturingVariants resources.\n", + "properties": { + "contentTypeMatcher": { + "type": "string", + "description": "Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH`\n" + }, + "contentTypeValue": { + "type": "string", + "description": "Content-type match value\n" + }, + "insertAfter": { + "type": "string", + "description": "Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched\n" + }, + "parser": { + "type": "string", + "description": "Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML`\n" + }, + "scope": { + "type": "string", + "description": "The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.\n" + } + }, + "type": "object" + } + }, "dynatrace:index/businessEventsMetrics:BusinessEventsMetrics": { "properties": { "dimensions": { @@ -59543,13 +59749,13 @@ "properties": { "contents": { "type": "string", - "description": "Contains the JSON Code of the Dashboard\n" + "description": "This attribute exists for backwards compatibility. You do not have to define it.\n" } }, "inputProperties": { "contents": { "type": "string", - "description": "Contains the JSON Code of the Dashboard\n" + "description": "This attribute exists for backwards compatibility. You do not have to define it.\n" } }, "stateInputs": { @@ -59557,7 +59763,7 @@ "properties": { "contents": { "type": "string", - "description": "Contains the JSON Code of the Dashboard\n" + "description": "This attribute exists for backwards compatibility. You do not have to define it.\n" } }, "type": "object" @@ -60484,6 +60690,13 @@ }, "dynatrace:index/keyRequests:KeyRequests": { "properties": { + "keyRequestIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The ids of the key requests\n" + }, "names": { "type": "array", "items": { @@ -60497,9 +60710,17 @@ } }, "required": [ + "keyRequestIds", "service" ], "inputProperties": { + "keyRequestIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The ids of the key requests\n" + }, "names": { "type": "array", "items": { @@ -60519,6 +60740,13 @@ "stateInputs": { "description": "Input properties used for looking up and filtering KeyRequests resources.\n", "properties": { + "keyRequestIds": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The ids of the key requests\n" + }, "names": { "type": "array", "items": { @@ -61029,26 +61257,34 @@ }, "dynatrace:index/logAgentFeatureFlags:LogAgentFeatureFlags": { "properties": { + "journaldLogDetector": { + "type": "boolean", + "description": "Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs\ningested matching ingest rule is required.\n" + }, "newContainerLogDetector": { "type": "boolean", - "description": "Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0).\n" + "description": "Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and\ncollection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any\nprocesses in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module.\n* Log events decoration according to semantic dictionary. **Note:** The matcher \"Deployment name\" in the log sources\nconfiguration will be ignored and needs to be replaced with \"Workload name\", requires **Dynatrace Operator 1.4.1+**. For\nmore details, check our [documentation](https://dt-url.net/jn02ey0).\n" }, "scope": { "type": "string", - "description": "The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment.\n" + "description": "The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole\nenvironment.\n" } }, "required": [ "newContainerLogDetector" ], "inputProperties": { + "journaldLogDetector": { + "type": "boolean", + "description": "Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs\ningested matching ingest rule is required.\n" + }, "newContainerLogDetector": { "type": "boolean", - "description": "Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0).\n" + "description": "Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and\ncollection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any\nprocesses in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module.\n* Log events decoration according to semantic dictionary. **Note:** The matcher \"Deployment name\" in the log sources\nconfiguration will be ignored and needs to be replaced with \"Workload name\", requires **Dynatrace Operator 1.4.1+**. For\nmore details, check our [documentation](https://dt-url.net/jn02ey0).\n" }, "scope": { "type": "string", - "description": "The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment.\n" + "description": "The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole\nenvironment.\n" } }, "requiredInputs": [ @@ -61057,13 +61293,17 @@ "stateInputs": { "description": "Input properties used for looking up and filtering LogAgentFeatureFlags resources.\n", "properties": { + "journaldLogDetector": { + "type": "boolean", + "description": "Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs\ningested matching ingest rule is required.\n" + }, "newContainerLogDetector": { "type": "boolean", - "description": "Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0).\n" + "description": "Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and\ncollection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any\nprocesses in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module.\n* Log events decoration according to semantic dictionary. **Note:** The matcher \"Deployment name\" in the log sources\nconfiguration will be ignored and needs to be replaced with \"Workload name\", requires **Dynatrace Operator 1.4.1+**. For\nmore details, check our [documentation](https://dt-url.net/jn02ey0).\n" }, "scope": { "type": "string", - "description": "The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment.\n" + "description": "The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole\nenvironment.\n" } }, "type": "object" @@ -74203,6 +74443,78 @@ "type": "object" } }, + "dynatrace:index/webAppAutoInjection:WebAppAutoInjection": { + "properties": { + "applicationId": { + "type": "string", + "description": "The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.\n" + }, + "cacheControlHeaders": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionCacheControlHeaders:WebAppAutoInjectionCacheControlHeaders", + "description": "Cache control headers\n" + }, + "monitoringCodeSourceSection": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionMonitoringCodeSourceSection:WebAppAutoInjectionMonitoringCodeSourceSection", + "description": "Real User Monitoring code source\n" + }, + "snippetFormat": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionSnippetFormat:WebAppAutoInjectionSnippetFormat", + "description": "*Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode.\n" + } + }, + "required": [ + "applicationId", + "cacheControlHeaders", + "monitoringCodeSourceSection", + "snippetFormat" + ], + "inputProperties": { + "applicationId": { + "type": "string", + "description": "The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.\n" + }, + "cacheControlHeaders": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionCacheControlHeaders:WebAppAutoInjectionCacheControlHeaders", + "description": "Cache control headers\n" + }, + "monitoringCodeSourceSection": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionMonitoringCodeSourceSection:WebAppAutoInjectionMonitoringCodeSourceSection", + "description": "Real User Monitoring code source\n" + }, + "snippetFormat": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionSnippetFormat:WebAppAutoInjectionSnippetFormat", + "description": "*Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode.\n" + } + }, + "requiredInputs": [ + "applicationId", + "cacheControlHeaders", + "monitoringCodeSourceSection", + "snippetFormat" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering WebAppAutoInjection resources.\n", + "properties": { + "applicationId": { + "type": "string", + "description": "The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.\n" + }, + "cacheControlHeaders": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionCacheControlHeaders:WebAppAutoInjectionCacheControlHeaders", + "description": "Cache control headers\n" + }, + "monitoringCodeSourceSection": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionMonitoringCodeSourceSection:WebAppAutoInjectionMonitoringCodeSourceSection", + "description": "Real User Monitoring code source\n" + }, + "snippetFormat": { + "$ref": "#/types/dynatrace:index/WebAppAutoInjectionSnippetFormat:WebAppAutoInjectionSnippetFormat", + "description": "*Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode.\n" + } + }, + "type": "object" + } + }, "dynatrace:index/webAppBeaconEndpoint:WebAppBeaconEndpoint": { "properties": { "applicationId": { @@ -75707,7 +76019,7 @@ }, "functions": { "dynatrace:index/getAlertingProfile:getAlertingProfile": { - "description": "The Alerting Profile queries for an Alerting Profile that has a specified name. In case multiple Alerting Profiles share the same name the first one found will be used.\nThe ID of this Data Resource aligns with the IDs used by the Dynatrace Settings 2.0 API.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dynatrace from \"@pulumi/dynatrace\";\nimport * as dynatrace from \"@pulumiverse/dynatrace\";\n\nconst default = dynatrace.getAlertingProfile({\n name: \"Default\",\n});\nconst myWebhookNotification = new dynatrace.WebhookNotification(\"myWebhookNotification\", {\n active: false,\n profile: _default.then(_default =\u003e _default.id),\n url: \"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\",\n insecure: true,\n notifyEventMerges: true,\n notifyClosedProblems: true,\n payload: \"web-hook-payload\",\n});\n```\n```python\nimport pulumi\nimport pulumi_dynatrace as dynatrace\nimport pulumiverse_dynatrace as dynatrace\n\ndefault = dynatrace.get_alerting_profile(name=\"Default\")\nmy_webhook_notification = dynatrace.WebhookNotification(\"myWebhookNotification\",\n active=False,\n profile=default.id,\n url=\"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\",\n insecure=True,\n notify_event_merges=True,\n notify_closed_problems=True,\n payload=\"web-hook-payload\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Dynatrace = Pulumi.Dynatrace;\nusing Dynatrace = Pulumiverse.Dynatrace;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Dynatrace.GetAlertingProfile.Invoke(new()\n {\n Name = \"Default\",\n });\n\n var myWebhookNotification = new Dynatrace.WebhookNotification(\"myWebhookNotification\", new()\n {\n Active = false,\n Profile = @default.Apply(@default =\u003e @default.Apply(getAlertingProfileResult =\u003e getAlertingProfileResult.Id)),\n Url = \"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\",\n Insecure = true,\n NotifyEventMerges = true,\n NotifyClosedProblems = true,\n Payload = \"web-hook-payload\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := dynatrace.LookupAlertingProfile(ctx, \u0026dynatrace.LookupAlertingProfileArgs{\n\t\t\tName: \"Default\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = dynatrace.NewWebhookNotification(ctx, \"myWebhookNotification\", \u0026dynatrace.WebhookNotificationArgs{\n\t\t\tActive: pulumi.Bool(false),\n\t\t\tProfile: pulumi.String(_default.Id),\n\t\t\tUrl: pulumi.String(\"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\"),\n\t\t\tInsecure: pulumi.Bool(true),\n\t\t\tNotifyEventMerges: pulumi.Bool(true),\n\t\t\tNotifyClosedProblems: pulumi.Bool(true),\n\t\t\tPayload: pulumi.String(\"web-hook-payload\"),\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.dynatrace.DynatraceFunctions;\nimport com.pulumi.dynatrace.inputs.GetAlertingProfileArgs;\nimport com.pulumi.dynatrace.WebhookNotification;\nimport com.pulumi.dynatrace.WebhookNotificationArgs;\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 default = DynatraceFunctions.getAlertingProfile(GetAlertingProfileArgs.builder()\n .name(\"Default\")\n .build());\n\n var myWebhookNotification = new WebhookNotification(\"myWebhookNotification\", WebhookNotificationArgs.builder()\n .active(false)\n .profile(default_.id())\n .url(\"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\")\n .insecure(true)\n .notifyEventMerges(true)\n .notifyClosedProblems(true)\n .payload(\"web-hook-payload\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myWebhookNotification:\n type: dynatrace:WebhookNotification\n properties:\n active: false\n profile: ${default.id}\n url: https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\n insecure: true\n notifyEventMerges: true\n notifyClosedProblems: true\n payload: web-hook-payload\nvariables:\n default:\n fn::invoke:\n function: dynatrace:getAlertingProfile\n arguments:\n name: Default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "The Alerting Profile queries for an Alerting Profile that has a specified name. In case multiple Alerting Profiles share the same name the first one found will be used.\nThe ID of this Data Resource aligns with the IDs used by the Dynatrace Settings 2.0 API.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dynatrace from \"@pulumi/dynatrace\";\nimport * as dynatrace from \"@pulumiverse/dynatrace\";\n\nconst _default = dynatrace.getAlertingProfile({\n name: \"Default\",\n});\nconst myWebhookNotification = new dynatrace.WebhookNotification(\"myWebhookNotification\", {\n active: false,\n profile: _default.then(_default =\u003e _default.id),\n url: \"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\",\n insecure: true,\n notifyEventMerges: true,\n notifyClosedProblems: true,\n payload: \"web-hook-payload\",\n});\n```\n```python\nimport pulumi\nimport pulumi_dynatrace as dynatrace\nimport pulumiverse_dynatrace as dynatrace\n\ndefault = dynatrace.get_alerting_profile(name=\"Default\")\nmy_webhook_notification = dynatrace.WebhookNotification(\"myWebhookNotification\",\n active=False,\n profile=default.id,\n url=\"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\",\n insecure=True,\n notify_event_merges=True,\n notify_closed_problems=True,\n payload=\"web-hook-payload\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Dynatrace = Pulumi.Dynatrace;\nusing Dynatrace = Pulumiverse.Dynatrace;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @default = Dynatrace.GetAlertingProfile.Invoke(new()\n {\n Name = \"Default\",\n });\n\n var myWebhookNotification = new Dynatrace.WebhookNotification(\"myWebhookNotification\", new()\n {\n Active = false,\n Profile = @default.Apply(@default =\u003e @default.Apply(getAlertingProfileResult =\u003e getAlertingProfileResult.Id)),\n Url = \"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\",\n Insecure = true,\n NotifyEventMerges = true,\n NotifyClosedProblems = true,\n Payload = \"web-hook-payload\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_default, err := dynatrace.LookupAlertingProfile(ctx, \u0026dynatrace.LookupAlertingProfileArgs{\n\t\t\tName: \"Default\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = dynatrace.NewWebhookNotification(ctx, \"myWebhookNotification\", \u0026dynatrace.WebhookNotificationArgs{\n\t\t\tActive: pulumi.Bool(false),\n\t\t\tProfile: pulumi.String(_default.Id),\n\t\t\tUrl: pulumi.String(\"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\"),\n\t\t\tInsecure: pulumi.Bool(true),\n\t\t\tNotifyEventMerges: pulumi.Bool(true),\n\t\t\tNotifyClosedProblems: pulumi.Bool(true),\n\t\t\tPayload: pulumi.String(\"web-hook-payload\"),\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.dynatrace.DynatraceFunctions;\nimport com.pulumi.dynatrace.inputs.GetAlertingProfileArgs;\nimport com.pulumi.dynatrace.WebhookNotification;\nimport com.pulumi.dynatrace.WebhookNotificationArgs;\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 default = DynatraceFunctions.getAlertingProfile(GetAlertingProfileArgs.builder()\n .name(\"Default\")\n .build());\n\n var myWebhookNotification = new WebhookNotification(\"myWebhookNotification\", WebhookNotificationArgs.builder()\n .active(false)\n .profile(default_.id())\n .url(\"https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\")\n .insecure(true)\n .notifyEventMerges(true)\n .notifyClosedProblems(true)\n .payload(\"web-hook-payload\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myWebhookNotification:\n type: dynatrace:WebhookNotification\n properties:\n active: false\n profile: ${default.id}\n url: https://webhook.site/40bf4d43-1a50-4ebd-913d-bf50ce7c3a1e\n insecure: true\n notifyEventMerges: true\n notifyClosedProblems: true\n payload: web-hook-payload\nvariables:\n default:\n fn::invoke:\n function: dynatrace:getAlertingProfile\n arguments:\n name: Default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAlertingProfile.\n", "properties": { @@ -76277,7 +76589,7 @@ } }, "dynatrace:index/getDocuments:getDocuments": { - "description": "\u003e **Dynatrace SaaS only**\n\n\u003e To utilize this resource, please define the environment variables `DT_CLIENT_ID`, `DT_CLIENT_SECRET`, `DT_ACCOUNT_ID` with an OAuth client including the following permission: **View documents** (`document:documents:read`).\n\n- `type` (String) The type of documents to query for. Leave empty if you want to query for all kinds of documents.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dynatrace from \"@pulumi/dynatrace\";\n\nconst all-dashboard-and-notebooks = dynatrace.getDocuments({});\nconst all-dashboards = dynatrace.getDocuments({\n type: \"dashboard\",\n});\nconst all-notebooks = dynatrace.getDocuments({\n type: \"notebook\",\n});\n```\n```python\nimport pulumi\nimport pulumi_dynatrace as dynatrace\n\nall_dashboard_and_notebooks = dynatrace.get_documents()\nall_dashboards = dynatrace.get_documents(type=\"dashboard\")\nall_notebooks = dynatrace.get_documents(type=\"notebook\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Dynatrace = Pulumi.Dynatrace;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var all_dashboard_and_notebooks = Dynatrace.GetDocuments.Invoke();\n\n var all_dashboards = Dynatrace.GetDocuments.Invoke(new()\n {\n Type = \"dashboard\",\n });\n\n var all_notebooks = Dynatrace.GetDocuments.Invoke(new()\n {\n Type = \"notebook\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := dynatrace.GetDocuments(ctx, \u0026dynatrace.GetDocumentsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = dynatrace.GetDocuments(ctx, \u0026dynatrace.GetDocumentsArgs{\n\t\t\tType: pulumi.StringRef(\"dashboard\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = dynatrace.GetDocuments(ctx, \u0026dynatrace.GetDocumentsArgs{\n\t\t\tType: pulumi.StringRef(\"notebook\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.dynatrace.DynatraceFunctions;\nimport com.pulumi.dynatrace.inputs.GetDocumentsArgs;\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 all-dashboard-and-notebooks = DynatraceFunctions.getDocuments();\n\n final var all-dashboards = DynatraceFunctions.getDocuments(GetDocumentsArgs.builder()\n .type(\"dashboard\")\n .build());\n\n final var all-notebooks = DynatraceFunctions.getDocuments(GetDocumentsArgs.builder()\n .type(\"notebook\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n all-dashboard-and-notebooks:\n fn::invoke:\n function: dynatrace:getDocuments\n arguments: {}\n all-dashboards:\n fn::invoke:\n function: dynatrace:getDocuments\n arguments:\n type: dashboard\n all-notebooks:\n fn::invoke:\n function: dynatrace:getDocuments\n arguments:\n type: notebook\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "\u003e **Dynatrace SaaS only**\n\n\u003e To utilize this resource, please define the environment variables `DT_CLIENT_ID`, `DT_CLIENT_SECRET`, `DT_ACCOUNT_ID` with an OAuth client including the following permission: **View documents** (`document:documents:read`).\n\n- `type` (String) The type of documents to query for. Leave empty if you want to query for all kinds of documents.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dynatrace from \"@pulumi/dynatrace\";\n\nconst all_dashboard_and_notebooks = dynatrace.getDocuments({});\nconst all_dashboards = dynatrace.getDocuments({\n type: \"dashboard\",\n});\nconst all_notebooks = dynatrace.getDocuments({\n type: \"notebook\",\n});\n```\n```python\nimport pulumi\nimport pulumi_dynatrace as dynatrace\n\nall_dashboard_and_notebooks = dynatrace.get_documents()\nall_dashboards = dynatrace.get_documents(type=\"dashboard\")\nall_notebooks = dynatrace.get_documents(type=\"notebook\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Dynatrace = Pulumi.Dynatrace;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var all_dashboard_and_notebooks = Dynatrace.GetDocuments.Invoke();\n\n var all_dashboards = Dynatrace.GetDocuments.Invoke(new()\n {\n Type = \"dashboard\",\n });\n\n var all_notebooks = Dynatrace.GetDocuments.Invoke(new()\n {\n Type = \"notebook\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := dynatrace.GetDocuments(ctx, \u0026dynatrace.GetDocumentsArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = dynatrace.GetDocuments(ctx, \u0026dynatrace.GetDocumentsArgs{\n\t\t\tType: pulumi.StringRef(\"dashboard\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = dynatrace.GetDocuments(ctx, \u0026dynatrace.GetDocumentsArgs{\n\t\t\tType: pulumi.StringRef(\"notebook\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.dynatrace.DynatraceFunctions;\nimport com.pulumi.dynatrace.inputs.GetDocumentsArgs;\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 all-dashboard-and-notebooks = DynatraceFunctions.getDocuments();\n\n final var all-dashboards = DynatraceFunctions.getDocuments(GetDocumentsArgs.builder()\n .type(\"dashboard\")\n .build());\n\n final var all-notebooks = DynatraceFunctions.getDocuments(GetDocumentsArgs.builder()\n .type(\"notebook\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n all-dashboard-and-notebooks:\n fn::invoke:\n function: dynatrace:getDocuments\n arguments: {}\n all-dashboards:\n fn::invoke:\n function: dynatrace:getDocuments\n arguments:\n type: dashboard\n all-notebooks:\n fn::invoke:\n function: dynatrace:getDocuments\n arguments:\n type: notebook\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDocuments.\n", "properties": { @@ -76726,7 +77038,7 @@ } }, "dynatrace:index/getHubItems:getHubItems": { - "description": "\u003e This data source requires the API token scope `hub.read`)\n\n- `type` (String) The type of hub item you are interested in. Possible values are `TECHNOLOGY`, `EXTENSION1` or `EXTENSION2`. If not specified, no restriction regarding type happens\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dynatrace from \"@pulumi/dynatrace\";\n\nexport = async () =\u003e {\n const extension-20-items = await dynatrace.getHubItems({\n type: \"EXTENSION2\",\n });\n return {\n \"artifact-ids\": extension_20_items.artifacts,\n \"hub-items\": extension_20_items.items,\n };\n}\n```\n```python\nimport pulumi\nimport pulumi_dynatrace as dynatrace\n\nextension_20_items = dynatrace.get_hub_items(type=\"EXTENSION2\")\npulumi.export(\"artifact-ids\", extension_20_items.artifacts)\npulumi.export(\"hub-items\", extension_20_items.items)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Dynatrace = Pulumi.Dynatrace;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var extension_20_items = Dynatrace.GetHubItems.Invoke(new()\n {\n Type = \"EXTENSION2\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"artifact-ids\"] = extension_20_items.Apply(extension_20_items =\u003e extension_20_items.Apply(getHubItemsResult =\u003e getHubItemsResult.Artifacts)),\n [\"hub-items\"] = extension_20_items.Apply(extension_20_items =\u003e extension_20_items.Apply(getHubItemsResult =\u003e getHubItemsResult.Items)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\textension_20_items, err := dynatrace.GetHubItems(ctx, \u0026dynatrace.GetHubItemsArgs{\n\t\t\tType: pulumi.StringRef(\"EXTENSION2\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"artifact-ids\", extension_20_items.Artifacts)\n\t\tctx.Export(\"hub-items\", extension_20_items.Items)\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.dynatrace.DynatraceFunctions;\nimport com.pulumi.dynatrace.inputs.GetHubItemsArgs;\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 extension-20-items = DynatraceFunctions.getHubItems(GetHubItemsArgs.builder()\n .type(\"EXTENSION2\")\n .build());\n\n ctx.export(\"artifact-ids\", extension_20_items.artifacts());\n ctx.export(\"hub-items\", extension_20_items.items());\n }\n}\n```\n```yaml\nvariables:\n extension-20-items:\n fn::invoke:\n function: dynatrace:getHubItems\n arguments:\n type: EXTENSION2\noutputs:\n artifact-ids: ${[\"extension-20-items\"].artifacts}\n hub-items: ${[\"extension-20-items\"].items}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "\u003e This data source requires the API token scope `hub.read`)\n\n- `type` (String) The type of hub item you are interested in. Possible values are `TECHNOLOGY`, `EXTENSION1` or `EXTENSION2`. If not specified, no restriction regarding type happens\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dynatrace from \"@pulumi/dynatrace\";\n\nexport = async () =\u003e {\n const extension_20_items = await dynatrace.getHubItems({\n type: \"EXTENSION2\",\n });\n return {\n \"artifact-ids\": extension_20_items.artifacts,\n \"hub-items\": extension_20_items.items,\n };\n}\n```\n```python\nimport pulumi\nimport pulumi_dynatrace as dynatrace\n\nextension_20_items = dynatrace.get_hub_items(type=\"EXTENSION2\")\npulumi.export(\"artifact-ids\", extension_20_items.artifacts)\npulumi.export(\"hub-items\", extension_20_items.items)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Dynatrace = Pulumi.Dynatrace;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var extension_20_items = Dynatrace.GetHubItems.Invoke(new()\n {\n Type = \"EXTENSION2\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"artifact-ids\"] = extension_20_items.Apply(extension_20_items =\u003e extension_20_items.Apply(getHubItemsResult =\u003e getHubItemsResult.Artifacts)),\n [\"hub-items\"] = extension_20_items.Apply(extension_20_items =\u003e extension_20_items.Apply(getHubItemsResult =\u003e getHubItemsResult.Items)),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\textension_20_items, err := dynatrace.GetHubItems(ctx, \u0026dynatrace.GetHubItemsArgs{\n\t\t\tType: pulumi.StringRef(\"EXTENSION2\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"artifact-ids\", extension_20_items.Artifacts)\n\t\tctx.Export(\"hub-items\", extension_20_items.Items)\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.dynatrace.DynatraceFunctions;\nimport com.pulumi.dynatrace.inputs.GetHubItemsArgs;\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 extension-20-items = DynatraceFunctions.getHubItems(GetHubItemsArgs.builder()\n .type(\"EXTENSION2\")\n .build());\n\n ctx.export(\"artifact-ids\", extension_20_items.artifacts());\n ctx.export(\"hub-items\", extension_20_items.items());\n }\n}\n```\n```yaml\nvariables:\n extension-20-items:\n fn::invoke:\n function: dynatrace:getHubItems\n arguments:\n type: EXTENSION2\noutputs:\n artifact-ids: ${[\"extension-20-items\"].artifacts}\n hub-items: ${[\"extension-20-items\"].items}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getHubItems.\n", "properties": { @@ -76804,7 +77116,7 @@ } }, "dynatrace:index/getIamGroups:getIamGroups": { - "description": "\u003e **Dynatrace SaaS only**\n\n\u003e To utilize this resource, please define the environment variables `DT_CLIENT_ID`, `DT_CLIENT_SECRET`, `DT_ACCOUNT_ID` with an OAuth client including the following permission: **Allow read access for identity resources (users and groups)** (`account-idm-read`).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dynatrace from \"@pulumi/dynatrace\";\n\nconst all-groups = dynatrace.getIamGroups({});\nexport const groups = all_groups;\n```\n```python\nimport pulumi\nimport pulumi_dynatrace as dynatrace\n\nall_groups = dynatrace.get_iam_groups()\npulumi.export(\"groups\", all_groups)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Dynatrace = Pulumi.Dynatrace;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var all_groups = Dynatrace.GetIamGroups.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"groups\"] = all_groups,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tall_groups, err := dynatrace.GetIamGroups(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"groups\", all_groups)\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.dynatrace.DynatraceFunctions;\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 all-groups = DynatraceFunctions.getIamGroups();\n\n ctx.export(\"groups\", all_groups);\n }\n}\n```\n```yaml\nvariables:\n all-groups:\n fn::invoke:\n function: dynatrace:getIamGroups\n arguments: {}\noutputs:\n groups: ${[\"all-groups\"]}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Example output\n```\nChanges to Outputs:\n + groups = {\n + groups = {\n + \"########-3036-3ac2-5fa4-############\" = \"Group A\"\n + \"########-4049-4241-ac2b-############\" = \"Group B\"\n + \"########-5365-4450-89ab-############\" = \"Group C\"\n }\n + id = \"iam-groups\"\n }\n```\n", + "description": "\u003e **Dynatrace SaaS only**\n\n\u003e To utilize this resource, please define the environment variables `DT_CLIENT_ID`, `DT_CLIENT_SECRET`, `DT_ACCOUNT_ID` with an OAuth client including the following permission: **Allow read access for identity resources (users and groups)** (`account-idm-read`).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as dynatrace from \"@pulumi/dynatrace\";\n\nconst all_groups = dynatrace.getIamGroups({});\nexport const groups = all_groups;\n```\n```python\nimport pulumi\nimport pulumi_dynatrace as dynatrace\n\nall_groups = dynatrace.get_iam_groups()\npulumi.export(\"groups\", all_groups)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Dynatrace = Pulumi.Dynatrace;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var all_groups = Dynatrace.GetIamGroups.Invoke();\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"groups\"] = all_groups,\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n\t\"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tall_groups, err := dynatrace.GetIamGroups(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"groups\", all_groups)\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.dynatrace.DynatraceFunctions;\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 all-groups = DynatraceFunctions.getIamGroups();\n\n ctx.export(\"groups\", all_groups);\n }\n}\n```\n```yaml\nvariables:\n all-groups:\n fn::invoke:\n function: dynatrace:getIamGroups\n arguments: {}\noutputs:\n groups: ${[\"all-groups\"]}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Example output\n```\nChanges to Outputs:\n + groups = {\n + groups = {\n + \"########-3036-3ac2-5fa4-############\" = \"Group A\"\n + \"########-4049-4241-ac2b-############\" = \"Group B\"\n + \"########-5365-4450-89ab-############\" = \"Group C\"\n }\n + id = \"iam-groups\"\n }\n```\n", "outputs": { "description": "A collection of values returned by getIamGroups.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 00250c43..680a11a3 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -7,9 +7,9 @@ toolchain go1.23.2 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240520223432-0c0bf0d65f10 require ( - github.com/dynatrace-oss/terraform-provider-dynatrace v1.72.6 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.101.0 - github.com/pulumi/pulumi/sdk/v3 v3.145.0 + github.com/dynatrace-oss/terraform-provider-dynatrace v1.74.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.103.0 + github.com/pulumi/pulumi/sdk/v3 v3.148.0 ) require ( @@ -87,14 +87,14 @@ require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 // indirect github.com/hashicorp/terraform-svchost v0.1.1 // indirect github.com/huandu/xstrings v1.4.0 // indirect - github.com/iancoleman/strcase v0.2.0 // indirect + github.com/iancoleman/strcase v0.3.0 // indirect github.com/imdario/mergo v0.3.15 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/kevinburke/ssh_config v1.2.0 // indirect - github.com/klauspost/compress v1.15.11 // indirect + github.com/klauspost/compress v1.16.7 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect @@ -130,7 +130,7 @@ require ( github.com/pulumi/inflector v0.1.1 // indirect github.com/pulumi/pulumi-java/pkg v0.19.0 // indirect github.com/pulumi/pulumi-yaml v1.12.0 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.145.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.148.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/provider/go.sum b/provider/go.sum index b89ef25a..6e325baa 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1337,8 +1337,8 @@ github.com/dlclark/regexp2 v1.11.4/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cn github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/dynatrace-oss/terraform-provider-dynatrace v1.72.6 h1:LKdLRr8NBfPytAgPKOyK/TJIbKVQOSqrs1kj4hqz2XE= -github.com/dynatrace-oss/terraform-provider-dynatrace v1.72.6/go.mod h1:QCafDZ6KR6X6fS2bjPX3vK43M7SU/WLy5RD0Z7nHbmk= +github.com/dynatrace-oss/terraform-provider-dynatrace v1.74.0 h1:Pgy5HOWtQpf65xKVYgIgsxgrr0bdx0B5mBcCsvqVaQE= +github.com/dynatrace-oss/terraform-provider-dynatrace v1.74.0/go.mod h1:QCafDZ6KR6X6fS2bjPX3vK43M7SU/WLy5RD0Z7nHbmk= github.com/dynatrace/dynatrace-configuration-as-code-core v0.7.1-0.20241203095532-6211d1be0eb7 h1:OYTSC/vJETxZHWZEaZsmxH26xIThpDQ9es8rHA6cI9o= github.com/dynatrace/dynatrace-configuration-as-code-core v0.7.1-0.20241203095532-6211d1be0eb7/go.mod h1:uexblPw82NA/x+hnBOMhHdc3xlM9tuUPW4+sVcd80Ow= github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= @@ -1706,8 +1706,9 @@ github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq github.com/huandu/xstrings v1.3.3/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= +github.com/iancoleman/strcase v0.3.0 h1:nTXanmYxhfFAMjZL34Ov6gkzEsSJZ5DbhxWjvSASxEI= +github.com/iancoleman/strcase v0.3.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= @@ -1748,8 +1749,9 @@ github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+o github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= github.com/klauspost/compress v1.11.2/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU= -github.com/klauspost/compress v1.15.11 h1:Lcadnb3RKGin4FYM/orgq0qde+nc15E5Cbqg4B9Sx9c= github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM= +github.com/klauspost/compress v1.16.7 h1:2mk3MPGNzKyxErAw8YaohYh69+pa4sIQSC0fPGCFR9I= +github.com/klauspost/compress v1.16.7/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE= github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= @@ -1941,14 +1943,14 @@ github.com/pulumi/providertest v0.1.3 h1:GpNKRy/haNjRHiUA9bi4diU4Op2zf3axYXbga5A github.com/pulumi/providertest v0.1.3/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= github.com/pulumi/pulumi-java/pkg v0.19.0 h1:T9kkGUQJV7UTxenw08m3txsgQkNVnZZxvn1zCcNjaE8= github.com/pulumi/pulumi-java/pkg v0.19.0/go.mod h1:YKYYFEb3Jvzf/dDJo0xOeEkIfBAMkkkdhXulauvEjmc= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.101.0 h1:LucjkMkSU2iMuMdLYhRaVDiCYbJ1Fqve/sMw+iffjEY= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.101.0/go.mod h1:r+cxSrRxwCRbHMdKMKWU3NKDcUTm9xa9PcBDuHQnRkI= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.103.0 h1:kHY3wnVOutj1G3XcjA4ZNSlHbrUKHfMTZsJRykTYc48= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.103.0/go.mod h1:2+e4IIfbop+OBZYcMvlgx9KPZ9J6VrweKHadjnYyI6M= github.com/pulumi/pulumi-yaml v1.12.0 h1:ThJP+EBqeJyCnS6w6/PwcEFOT5o112qv0lObhefmFCk= github.com/pulumi/pulumi-yaml v1.12.0/go.mod h1:EhZd1XDfuLa15O51qVVE16U6r8ldK9mLIBclqWCX27Y= -github.com/pulumi/pulumi/pkg/v3 v3.145.0 h1:hAhFLieunnCKuMd3GbLqE5uWQ1hpNLdl6+bCDFSF4YQ= -github.com/pulumi/pulumi/pkg/v3 v3.145.0/go.mod h1:N19IsMJ3GyYO5N2JfpsCAVk0eH1NKkF05fZGn5dnhBE= -github.com/pulumi/pulumi/sdk/v3 v3.145.0 h1:r5iOgz67RElFXJt4GVVY2SBGh5sR24mL9NOcKBiBi/k= -github.com/pulumi/pulumi/sdk/v3 v3.145.0/go.mod h1:5pZySnw3RiQKddx8orThjEFmWsXkGAY3ktKOxZj2Ym4= +github.com/pulumi/pulumi/pkg/v3 v3.148.0 h1:7FuRpw1ysvt5400x+5Ukbj14ue5W8b9fI+FZ8YMD7o4= +github.com/pulumi/pulumi/pkg/v3 v3.148.0/go.mod h1:xxL0LnlNmjotV8Kz3sKITKCQf+U72prabgt4NAlJfRk= +github.com/pulumi/pulumi/sdk/v3 v3.148.0 h1:tEw1FQOKoQVP7HfZWI9DJQl4ZvGaL1z2ixZdN2wGV/o= +github.com/pulumi/pulumi/sdk/v3 v3.148.0/go.mod h1:+WC9aIDo8fMgd2g0jCHuZU2S/VYNLRAZ3QXt6YVgwaA= 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= @@ -3007,8 +3009,8 @@ gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo= -gotest.tools/v3 v3.0.3 h1:4AuOwCGf4lLR9u3YOe2awrHygurzhO/HeQ6laiA6Sx0= -gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8= +gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU= +gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/sdk/dotnet/AppMonitoring.cs b/sdk/dotnet/AppMonitoring.cs index 7c3227ce..8c9c6c4c 100644 --- a/sdk/dotnet/AppMonitoring.cs +++ b/sdk/dotnet/AppMonitoring.cs @@ -20,11 +20,17 @@ public partial class AppMonitoring : global::Pulumi.CustomResource public Output AppMonitoringOverrides { get; private set; } = null!; /// - /// Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + /// Possible Values: `debug`, `error`, `info`, `off`, `warn` /// [Output("defaultLogLevel")] public Output DefaultLogLevel { get; private set; } = null!; + /// + /// Possible Values: `off`, `on` + /// + [Output("defaultTraceLevel")] + public Output DefaultTraceLevel { get; private set; } = null!; + /// /// Create a AppMonitoring resource with the given unique name, arguments, and options. @@ -79,11 +85,17 @@ public sealed class AppMonitoringArgs : global::Pulumi.ResourceArgs public Input? AppMonitoringOverrides { get; set; } /// - /// Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + /// Possible Values: `debug`, `error`, `info`, `off`, `warn` /// [Input("defaultLogLevel", required: true)] public Input DefaultLogLevel { get; set; } = null!; + /// + /// Possible Values: `off`, `on` + /// + [Input("defaultTraceLevel")] + public Input? DefaultTraceLevel { get; set; } + public AppMonitoringArgs() { } @@ -99,11 +111,17 @@ public sealed class AppMonitoringState : global::Pulumi.ResourceArgs public Input? AppMonitoringOverrides { get; set; } /// - /// Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + /// Possible Values: `debug`, `error`, `info`, `off`, `warn` /// [Input("defaultLogLevel")] public Input? DefaultLogLevel { get; set; } + /// + /// Possible Values: `off`, `on` + /// + [Input("defaultTraceLevel")] + public Input? DefaultTraceLevel { get; set; } + public AppMonitoringState() { } diff --git a/sdk/dotnet/BuiltinProcessMonitoring.cs b/sdk/dotnet/BuiltinProcessMonitoring.cs index 396aff69..b21ec5bc 100644 --- a/sdk/dotnet/BuiltinProcessMonitoring.cs +++ b/sdk/dotnet/BuiltinProcessMonitoring.cs @@ -313,6 +313,12 @@ public partial class BuiltinProcessMonitoring : global::Pulumi.CustomResource [Output("exeW3wp")] public Output ExeW3wp { get; private set; } = null!; + /// + /// Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + /// + [Output("exeYq")] + public Output ExeYq { get; private set; } = null!; + /// /// Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' /// @@ -768,6 +774,12 @@ public sealed class BuiltinProcessMonitoringArgs : global::Pulumi.ResourceArgs [Input("exeW3wp")] public Input? ExeW3wp { get; set; } + /// + /// Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + /// + [Input("exeYq")] + public Input? ExeYq { get; set; } + /// /// Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' /// @@ -1184,6 +1196,12 @@ public sealed class BuiltinProcessMonitoringState : global::Pulumi.ResourceArgs [Input("exeW3wp")] public Input? ExeW3wp { get; set; } + /// + /// Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + /// + [Input("exeYq")] + public Input? ExeYq { get; set; } + /// /// Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' /// diff --git a/sdk/dotnet/BusinessEventsCapturingVariants.cs b/sdk/dotnet/BusinessEventsCapturingVariants.cs new file mode 100644 index 00000000..e9b8b9f4 --- /dev/null +++ b/sdk/dotnet/BusinessEventsCapturingVariants.cs @@ -0,0 +1,166 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace +{ + [DynatraceResourceType("dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants")] + public partial class BusinessEventsCapturingVariants : global::Pulumi.CustomResource + { + /// + /// Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + /// + [Output("contentTypeMatcher")] + public Output ContentTypeMatcher { get; private set; } = null!; + + /// + /// Content-type match value + /// + [Output("contentTypeValue")] + public Output ContentTypeValue { get; private set; } = null!; + + /// + /// Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + /// + [Output("insertAfter")] + public Output InsertAfter { get; private set; } = null!; + + /// + /// Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + /// + [Output("parser")] + public Output Parser { get; private set; } = null!; + + /// + /// The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + /// + [Output("scope")] + public Output Scope { get; private set; } = null!; + + + /// + /// Create a BusinessEventsCapturingVariants resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public BusinessEventsCapturingVariants(string name, BusinessEventsCapturingVariantsArgs args, CustomResourceOptions? options = null) + : base("dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants", name, args ?? new BusinessEventsCapturingVariantsArgs(), MakeResourceOptions(options, "")) + { + } + + private BusinessEventsCapturingVariants(string name, Input id, BusinessEventsCapturingVariantsState? state = null, CustomResourceOptions? options = null) + : base("dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/pulumiverse", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing BusinessEventsCapturingVariants resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static BusinessEventsCapturingVariants Get(string name, Input id, BusinessEventsCapturingVariantsState? state = null, CustomResourceOptions? options = null) + { + return new BusinessEventsCapturingVariants(name, id, state, options); + } + } + + public sealed class BusinessEventsCapturingVariantsArgs : global::Pulumi.ResourceArgs + { + /// + /// Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + /// + [Input("contentTypeMatcher", required: true)] + public Input ContentTypeMatcher { get; set; } = null!; + + /// + /// Content-type match value + /// + [Input("contentTypeValue", required: true)] + public Input ContentTypeValue { get; set; } = null!; + + /// + /// Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + /// + [Input("insertAfter")] + public Input? InsertAfter { get; set; } + + /// + /// Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + /// + [Input("parser", required: true)] + public Input Parser { get; set; } = null!; + + /// + /// The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + /// + [Input("scope")] + public Input? Scope { get; set; } + + public BusinessEventsCapturingVariantsArgs() + { + } + public static new BusinessEventsCapturingVariantsArgs Empty => new BusinessEventsCapturingVariantsArgs(); + } + + public sealed class BusinessEventsCapturingVariantsState : global::Pulumi.ResourceArgs + { + /// + /// Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + /// + [Input("contentTypeMatcher")] + public Input? ContentTypeMatcher { get; set; } + + /// + /// Content-type match value + /// + [Input("contentTypeValue")] + public Input? ContentTypeValue { get; set; } + + /// + /// Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + /// + [Input("insertAfter")] + public Input? InsertAfter { get; set; } + + /// + /// Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + /// + [Input("parser")] + public Input? Parser { get; set; } + + /// + /// The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + /// + [Input("scope")] + public Input? Scope { get; set; } + + public BusinessEventsCapturingVariantsState() + { + } + public static new BusinessEventsCapturingVariantsState Empty => new BusinessEventsCapturingVariantsState(); + } +} diff --git a/sdk/dotnet/Inputs/AppMonitoringAppMonitoringAppMonitoringArgs.cs b/sdk/dotnet/Inputs/AppMonitoringAppMonitoringAppMonitoringArgs.cs index cddb5239..77fcf2b1 100644 --- a/sdk/dotnet/Inputs/AppMonitoringAppMonitoringAppMonitoringArgs.cs +++ b/sdk/dotnet/Inputs/AppMonitoringAppMonitoringAppMonitoringArgs.cs @@ -20,11 +20,17 @@ public sealed class AppMonitoringAppMonitoringAppMonitoringArgs : global::Pulumi public Input AppId { get; set; } = null!; /// - /// Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + /// Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` /// [Input("customLogLevel", required: true)] public Input CustomLogLevel { get; set; } = null!; + /// + /// Possible Values: `off`, `on`, `useDefault` + /// + [Input("customTraceLevel")] + public Input? CustomTraceLevel { get; set; } + public AppMonitoringAppMonitoringAppMonitoringArgs() { } diff --git a/sdk/dotnet/Inputs/AppMonitoringAppMonitoringAppMonitoringGetArgs.cs b/sdk/dotnet/Inputs/AppMonitoringAppMonitoringAppMonitoringGetArgs.cs index 899214e0..b4035802 100644 --- a/sdk/dotnet/Inputs/AppMonitoringAppMonitoringAppMonitoringGetArgs.cs +++ b/sdk/dotnet/Inputs/AppMonitoringAppMonitoringAppMonitoringGetArgs.cs @@ -20,11 +20,17 @@ public sealed class AppMonitoringAppMonitoringAppMonitoringGetArgs : global::Pul public Input AppId { get; set; } = null!; /// - /// Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + /// Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` /// [Input("customLogLevel", required: true)] public Input CustomLogLevel { get; set; } = null!; + /// + /// Possible Values: `off`, `on`, `useDefault` + /// + [Input("customTraceLevel")] + public Input? CustomTraceLevel { get; set; } + public AppMonitoringAppMonitoringAppMonitoringGetArgs() { } diff --git a/sdk/dotnet/Inputs/AutomationWorkflowTasksTaskConditionsArgs.cs b/sdk/dotnet/Inputs/AutomationWorkflowTasksTaskConditionsArgs.cs index 965c759d..50796566 100644 --- a/sdk/dotnet/Inputs/AutomationWorkflowTasksTaskConditionsArgs.cs +++ b/sdk/dotnet/Inputs/AutomationWorkflowTasksTaskConditionsArgs.cs @@ -25,7 +25,7 @@ public sealed class AutomationWorkflowTasksTaskConditionsArgs : global::Pulumi.R [Input("else")] public Input? Else { get; set; } - [Input("states", required: true)] + [Input("states")] private InputMap? _states; /// diff --git a/sdk/dotnet/Inputs/AutomationWorkflowTasksTaskConditionsGetArgs.cs b/sdk/dotnet/Inputs/AutomationWorkflowTasksTaskConditionsGetArgs.cs index b39f47fa..06d1ab86 100644 --- a/sdk/dotnet/Inputs/AutomationWorkflowTasksTaskConditionsGetArgs.cs +++ b/sdk/dotnet/Inputs/AutomationWorkflowTasksTaskConditionsGetArgs.cs @@ -25,7 +25,7 @@ public sealed class AutomationWorkflowTasksTaskConditionsGetArgs : global::Pulum [Input("else")] public Input? Else { get; set; } - [Input("states", required: true)] + [Input("states")] private InputMap? _states; /// diff --git a/sdk/dotnet/Inputs/BrowserMonitorScriptConfigurationJavascriptSetttingsArgs.cs b/sdk/dotnet/Inputs/BrowserMonitorScriptConfigurationJavascriptSetttingsArgs.cs index 6e6eb714..86f1327a 100644 --- a/sdk/dotnet/Inputs/BrowserMonitorScriptConfigurationJavascriptSetttingsArgs.cs +++ b/sdk/dotnet/Inputs/BrowserMonitorScriptConfigurationJavascriptSetttingsArgs.cs @@ -19,6 +19,24 @@ public sealed class BrowserMonitorScriptConfigurationJavascriptSetttingsArgs : g [Input("customProperties")] public Input? CustomProperties { get; set; } + /// + /// Capture fetch() requests + /// + [Input("fetchRequests")] + public Input? FetchRequests { get; set; } + + /// + /// JavaScript error report + /// + [Input("javascriptErrors")] + public Input? JavascriptErrors { get; set; } + + /// + /// Timed action support + /// + [Input("timedActions")] + public Input? TimedActions { get; set; } + /// /// Custom JavaScript Agent settings /// @@ -31,6 +49,12 @@ public sealed class BrowserMonitorScriptConfigurationJavascriptSetttingsArgs : g [Input("visuallyCompleteOptions")] public Input? VisuallyCompleteOptions { get; set; } + /// + /// Capture XMLHttpRequests (XHR) + /// + [Input("xmlHttpRequests")] + public Input? XmlHttpRequests { get; set; } + public BrowserMonitorScriptConfigurationJavascriptSetttingsArgs() { } diff --git a/sdk/dotnet/Inputs/BrowserMonitorScriptConfigurationJavascriptSetttingsGetArgs.cs b/sdk/dotnet/Inputs/BrowserMonitorScriptConfigurationJavascriptSetttingsGetArgs.cs index c1812bc0..551ace18 100644 --- a/sdk/dotnet/Inputs/BrowserMonitorScriptConfigurationJavascriptSetttingsGetArgs.cs +++ b/sdk/dotnet/Inputs/BrowserMonitorScriptConfigurationJavascriptSetttingsGetArgs.cs @@ -19,6 +19,24 @@ public sealed class BrowserMonitorScriptConfigurationJavascriptSetttingsGetArgs [Input("customProperties")] public Input? CustomProperties { get; set; } + /// + /// Capture fetch() requests + /// + [Input("fetchRequests")] + public Input? FetchRequests { get; set; } + + /// + /// JavaScript error report + /// + [Input("javascriptErrors")] + public Input? JavascriptErrors { get; set; } + + /// + /// Timed action support + /// + [Input("timedActions")] + public Input? TimedActions { get; set; } + /// /// Custom JavaScript Agent settings /// @@ -31,6 +49,12 @@ public sealed class BrowserMonitorScriptConfigurationJavascriptSetttingsGetArgs [Input("visuallyCompleteOptions")] public Input? VisuallyCompleteOptions { get; set; } + /// + /// Capture XMLHttpRequests (XHR) + /// + [Input("xmlHttpRequests")] + public Input? XmlHttpRequests { get; set; } + public BrowserMonitorScriptConfigurationJavascriptSetttingsGetArgs() { } diff --git a/sdk/dotnet/Inputs/DavisAnomalyDetectorsExecutionSettingsArgs.cs b/sdk/dotnet/Inputs/DavisAnomalyDetectorsExecutionSettingsArgs.cs index 2916bddc..2419c797 100644 --- a/sdk/dotnet/Inputs/DavisAnomalyDetectorsExecutionSettingsArgs.cs +++ b/sdk/dotnet/Inputs/DavisAnomalyDetectorsExecutionSettingsArgs.cs @@ -13,6 +13,12 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class DavisAnomalyDetectorsExecutionSettingsArgs : global::Pulumi.ResourceArgs { + /// + /// UUID of a service user. Queries will be executed on behalf of the service user. + /// + [Input("actor")] + public Input? Actor { get; set; } + /// /// Minute offset of sliding evaluation window for metrics with latency /// diff --git a/sdk/dotnet/Inputs/DavisAnomalyDetectorsExecutionSettingsGetArgs.cs b/sdk/dotnet/Inputs/DavisAnomalyDetectorsExecutionSettingsGetArgs.cs index 7f6b9f2a..75357b2a 100644 --- a/sdk/dotnet/Inputs/DavisAnomalyDetectorsExecutionSettingsGetArgs.cs +++ b/sdk/dotnet/Inputs/DavisAnomalyDetectorsExecutionSettingsGetArgs.cs @@ -13,6 +13,12 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class DavisAnomalyDetectorsExecutionSettingsGetArgs : global::Pulumi.ResourceArgs { + /// + /// UUID of a service user. Queries will be executed on behalf of the service user. + /// + [Input("actor")] + public Input? Actor { get; set; } + /// /// Minute offset of sliding evaluation window for metrics with latency /// diff --git a/sdk/dotnet/Inputs/DiscoveryDefaultRulesRuleActionsActionArgs.cs b/sdk/dotnet/Inputs/DiscoveryDefaultRulesRuleActionsActionArgs.cs index 6fc86761..37452150 100644 --- a/sdk/dotnet/Inputs/DiscoveryDefaultRulesRuleActionsActionArgs.cs +++ b/sdk/dotnet/Inputs/DiscoveryDefaultRulesRuleActionsActionArgs.cs @@ -13,6 +13,12 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class DiscoveryDefaultRulesRuleActionsActionArgs : global::Pulumi.ResourceArgs { + /// + /// Instant action + /// + [Input("instantAction")] + public Input? InstantAction { get; set; } + /// /// no documentation available /// diff --git a/sdk/dotnet/Inputs/DiscoveryDefaultRulesRuleActionsActionGetArgs.cs b/sdk/dotnet/Inputs/DiscoveryDefaultRulesRuleActionsActionGetArgs.cs index 307f0630..807f9f2d 100644 --- a/sdk/dotnet/Inputs/DiscoveryDefaultRulesRuleActionsActionGetArgs.cs +++ b/sdk/dotnet/Inputs/DiscoveryDefaultRulesRuleActionsActionGetArgs.cs @@ -13,6 +13,12 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class DiscoveryDefaultRulesRuleActionsActionGetArgs : global::Pulumi.ResourceArgs { + /// + /// Instant action + /// + [Input("instantAction")] + public Input? InstantAction { get; set; } + /// /// no documentation available /// diff --git a/sdk/dotnet/Inputs/LogCustomSourceCustomLogSourceArgs.cs b/sdk/dotnet/Inputs/LogCustomSourceCustomLogSourceArgs.cs index bd81a4ae..a9cadf0f 100644 --- a/sdk/dotnet/Inputs/LogCustomSourceCustomLogSourceArgs.cs +++ b/sdk/dotnet/Inputs/LogCustomSourceCustomLogSourceArgs.cs @@ -19,6 +19,12 @@ public sealed class LogCustomSourceCustomLogSourceArgs : global::Pulumi.Resource [Input("acceptBinary")] public Input? AcceptBinary { get; set; } + /// + /// no documentation available + /// + [Input("encoding")] + public Input? Encoding { get; set; } + /// /// Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` /// diff --git a/sdk/dotnet/Inputs/LogCustomSourceCustomLogSourceGetArgs.cs b/sdk/dotnet/Inputs/LogCustomSourceCustomLogSourceGetArgs.cs index e6bbcd3b..4053b6be 100644 --- a/sdk/dotnet/Inputs/LogCustomSourceCustomLogSourceGetArgs.cs +++ b/sdk/dotnet/Inputs/LogCustomSourceCustomLogSourceGetArgs.cs @@ -19,6 +19,12 @@ public sealed class LogCustomSourceCustomLogSourceGetArgs : global::Pulumi.Resou [Input("acceptBinary")] public Input? AcceptBinary { get; set; } + /// + /// no documentation available + /// + [Input("encoding")] + public Input? Encoding { get; set; } + /// /// Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` /// diff --git a/sdk/dotnet/Inputs/LogSensitiveDataMaskingMatchersMatcherArgs.cs b/sdk/dotnet/Inputs/LogSensitiveDataMaskingMatchersMatcherArgs.cs index 5d9d4323..0a05a362 100644 --- a/sdk/dotnet/Inputs/LogSensitiveDataMaskingMatchersMatcherArgs.cs +++ b/sdk/dotnet/Inputs/LogSensitiveDataMaskingMatchersMatcherArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class LogSensitiveDataMaskingMatchersMatcherArgs : global::Pulumi.ResourceArgs { /// - /// Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` /// [Input("attribute", required: true)] public Input Attribute { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/LogSensitiveDataMaskingMatchersMatcherGetArgs.cs b/sdk/dotnet/Inputs/LogSensitiveDataMaskingMatchersMatcherGetArgs.cs index fb8b0967..786d8b97 100644 --- a/sdk/dotnet/Inputs/LogSensitiveDataMaskingMatchersMatcherGetArgs.cs +++ b/sdk/dotnet/Inputs/LogSensitiveDataMaskingMatchersMatcherGetArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class LogSensitiveDataMaskingMatchersMatcherGetArgs : global::Pulumi.ResourceArgs { /// - /// Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` /// [Input("attribute", required: true)] public Input Attribute { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/LogStorageMatchersMatcherArgs.cs b/sdk/dotnet/Inputs/LogStorageMatchersMatcherArgs.cs index c8757d65..358776cb 100644 --- a/sdk/dotnet/Inputs/LogStorageMatchersMatcherArgs.cs +++ b/sdk/dotnet/Inputs/LogStorageMatchersMatcherArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class LogStorageMatchersMatcherArgs : global::Pulumi.ResourceArgs { /// - /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` /// [Input("attribute", required: true)] public Input Attribute { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/LogStorageMatchersMatcherGetArgs.cs b/sdk/dotnet/Inputs/LogStorageMatchersMatcherGetArgs.cs index ad583fd0..82b245af 100644 --- a/sdk/dotnet/Inputs/LogStorageMatchersMatcherGetArgs.cs +++ b/sdk/dotnet/Inputs/LogStorageMatchersMatcherGetArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class LogStorageMatchersMatcherGetArgs : global::Pulumi.ResourceArgs { /// - /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` /// [Input("attribute", required: true)] public Input Attribute { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/LogTimestampMatchersMatcherArgs.cs b/sdk/dotnet/Inputs/LogTimestampMatchersMatcherArgs.cs index 458a596b..9c8ca77f 100644 --- a/sdk/dotnet/Inputs/LogTimestampMatchersMatcherArgs.cs +++ b/sdk/dotnet/Inputs/LogTimestampMatchersMatcherArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class LogTimestampMatchersMatcherArgs : global::Pulumi.ResourceArgs { /// - /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` /// [Input("attribute", required: true)] public Input Attribute { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/LogTimestampMatchersMatcherGetArgs.cs b/sdk/dotnet/Inputs/LogTimestampMatchersMatcherGetArgs.cs index 48447efc..dba1d9c6 100644 --- a/sdk/dotnet/Inputs/LogTimestampMatchersMatcherGetArgs.cs +++ b/sdk/dotnet/Inputs/LogTimestampMatchersMatcherGetArgs.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Dynatrace.Inputs public sealed class LogTimestampMatchersMatcherGetArgs : global::Pulumi.ResourceArgs { /// - /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` /// [Input("attribute", required: true)] public Input Attribute { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveArgs.cs b/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveArgs.cs index be4aa022..2ff4ad2e 100644 --- a/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveArgs.cs +++ b/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveArgs.cs @@ -31,6 +31,12 @@ public sealed class SiteReliabilityGuardianObjectivesObjectiveArgs : global::Pul [Input("description")] public Input? Description { get; set; } + /// + /// Display Unit + /// + [Input("displayUnit")] + public Input? DisplayUnit { get; set; } + /// /// DQL query /// diff --git a/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs.cs b/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs.cs new file mode 100644 index 00000000..0c2cb87e --- /dev/null +++ b/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Inputs +{ + + public sealed class SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs : global::Pulumi.ResourceArgs + { + /// + /// Base Unit + /// + [Input("base", required: true)] + public Input Base { get; set; } = null!; + + /// + /// Decimals + /// + [Input("decimals", required: true)] + public Input Decimals { get; set; } = null!; + + /// + /// display as unit + /// + [Input("display", required: true)] + public Input Display { get; set; } = null!; + + public SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs() + { + } + public static new SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs Empty => new SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnitGetArgs.cs b/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnitGetArgs.cs new file mode 100644 index 00000000..220ede61 --- /dev/null +++ b/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnitGetArgs.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Inputs +{ + + public sealed class SiteReliabilityGuardianObjectivesObjectiveDisplayUnitGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Base Unit + /// + [Input("base", required: true)] + public Input Base { get; set; } = null!; + + /// + /// Decimals + /// + [Input("decimals", required: true)] + public Input Decimals { get; set; } = null!; + + /// + /// display as unit + /// + [Input("display", required: true)] + public Input Display { get; set; } = null!; + + public SiteReliabilityGuardianObjectivesObjectiveDisplayUnitGetArgs() + { + } + public static new SiteReliabilityGuardianObjectivesObjectiveDisplayUnitGetArgs Empty => new SiteReliabilityGuardianObjectivesObjectiveDisplayUnitGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveGetArgs.cs b/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveGetArgs.cs index fe8876e8..e6f73667 100644 --- a/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveGetArgs.cs +++ b/sdk/dotnet/Inputs/SiteReliabilityGuardianObjectivesObjectiveGetArgs.cs @@ -31,6 +31,12 @@ public sealed class SiteReliabilityGuardianObjectivesObjectiveGetArgs : global:: [Input("description")] public Input? Description { get; set; } + /// + /// Display Unit + /// + [Input("displayUnit")] + public Input? DisplayUnit { get; set; } + /// /// DQL query /// diff --git a/sdk/dotnet/Inputs/WebAppAutoInjectionCacheControlHeadersArgs.cs b/sdk/dotnet/Inputs/WebAppAutoInjectionCacheControlHeadersArgs.cs new file mode 100644 index 00000000..974361ae --- /dev/null +++ b/sdk/dotnet/Inputs/WebAppAutoInjectionCacheControlHeadersArgs.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Inputs +{ + + public sealed class WebAppAutoInjectionCacheControlHeadersArgs : global::Pulumi.ResourceArgs + { + /// + /// [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + /// + [Input("cacheControlHeaders", required: true)] + public Input CacheControlHeaders { get; set; } = null!; + + public WebAppAutoInjectionCacheControlHeadersArgs() + { + } + public static new WebAppAutoInjectionCacheControlHeadersArgs Empty => new WebAppAutoInjectionCacheControlHeadersArgs(); + } +} diff --git a/sdk/dotnet/Inputs/WebAppAutoInjectionCacheControlHeadersGetArgs.cs b/sdk/dotnet/Inputs/WebAppAutoInjectionCacheControlHeadersGetArgs.cs new file mode 100644 index 00000000..65406252 --- /dev/null +++ b/sdk/dotnet/Inputs/WebAppAutoInjectionCacheControlHeadersGetArgs.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Inputs +{ + + public sealed class WebAppAutoInjectionCacheControlHeadersGetArgs : global::Pulumi.ResourceArgs + { + /// + /// [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + /// + [Input("cacheControlHeaders", required: true)] + public Input CacheControlHeaders { get; set; } = null!; + + public WebAppAutoInjectionCacheControlHeadersGetArgs() + { + } + public static new WebAppAutoInjectionCacheControlHeadersGetArgs Empty => new WebAppAutoInjectionCacheControlHeadersGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/WebAppAutoInjectionMonitoringCodeSourceSectionArgs.cs b/sdk/dotnet/Inputs/WebAppAutoInjectionMonitoringCodeSourceSectionArgs.cs new file mode 100644 index 00000000..480c12f4 --- /dev/null +++ b/sdk/dotnet/Inputs/WebAppAutoInjectionMonitoringCodeSourceSectionArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Inputs +{ + + public sealed class WebAppAutoInjectionMonitoringCodeSourceSectionArgs : global::Pulumi.ResourceArgs + { + /// + /// Real User Monitoring code source + /// + [Input("codeSource", required: true)] + public Input CodeSource { get; set; } = null!; + + /// + /// Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + /// + [Input("monitoringCodePath")] + public Input? MonitoringCodePath { get; set; } + + public WebAppAutoInjectionMonitoringCodeSourceSectionArgs() + { + } + public static new WebAppAutoInjectionMonitoringCodeSourceSectionArgs Empty => new WebAppAutoInjectionMonitoringCodeSourceSectionArgs(); + } +} diff --git a/sdk/dotnet/Inputs/WebAppAutoInjectionMonitoringCodeSourceSectionGetArgs.cs b/sdk/dotnet/Inputs/WebAppAutoInjectionMonitoringCodeSourceSectionGetArgs.cs new file mode 100644 index 00000000..9eda4369 --- /dev/null +++ b/sdk/dotnet/Inputs/WebAppAutoInjectionMonitoringCodeSourceSectionGetArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Inputs +{ + + public sealed class WebAppAutoInjectionMonitoringCodeSourceSectionGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Real User Monitoring code source + /// + [Input("codeSource", required: true)] + public Input CodeSource { get; set; } = null!; + + /// + /// Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + /// + [Input("monitoringCodePath")] + public Input? MonitoringCodePath { get; set; } + + public WebAppAutoInjectionMonitoringCodeSourceSectionGetArgs() + { + } + public static new WebAppAutoInjectionMonitoringCodeSourceSectionGetArgs Empty => new WebAppAutoInjectionMonitoringCodeSourceSectionGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/WebAppAutoInjectionSnippetFormatArgs.cs b/sdk/dotnet/Inputs/WebAppAutoInjectionSnippetFormatArgs.cs new file mode 100644 index 00000000..3266dba3 --- /dev/null +++ b/sdk/dotnet/Inputs/WebAppAutoInjectionSnippetFormatArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Inputs +{ + + public sealed class WebAppAutoInjectionSnippetFormatArgs : global::Pulumi.ResourceArgs + { + /// + /// Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + /// + [Input("codeSnippetType")] + public Input? CodeSnippetType { get; set; } + + /// + /// Snippet format + /// + [Input("snippetFormat", required: true)] + public Input SnippetFormat { get; set; } = null!; + + public WebAppAutoInjectionSnippetFormatArgs() + { + } + public static new WebAppAutoInjectionSnippetFormatArgs Empty => new WebAppAutoInjectionSnippetFormatArgs(); + } +} diff --git a/sdk/dotnet/Inputs/WebAppAutoInjectionSnippetFormatGetArgs.cs b/sdk/dotnet/Inputs/WebAppAutoInjectionSnippetFormatGetArgs.cs new file mode 100644 index 00000000..ca1e9304 --- /dev/null +++ b/sdk/dotnet/Inputs/WebAppAutoInjectionSnippetFormatGetArgs.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Inputs +{ + + public sealed class WebAppAutoInjectionSnippetFormatGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + /// + [Input("codeSnippetType")] + public Input? CodeSnippetType { get; set; } + + /// + /// Snippet format + /// + [Input("snippetFormat", required: true)] + public Input SnippetFormat { get; set; } = null!; + + public WebAppAutoInjectionSnippetFormatGetArgs() + { + } + public static new WebAppAutoInjectionSnippetFormatGetArgs Empty => new WebAppAutoInjectionSnippetFormatGetArgs(); + } +} diff --git a/sdk/dotnet/JsonDashboardBase.cs b/sdk/dotnet/JsonDashboardBase.cs index dde9f3b0..af4b76c2 100644 --- a/sdk/dotnet/JsonDashboardBase.cs +++ b/sdk/dotnet/JsonDashboardBase.cs @@ -14,7 +14,7 @@ namespace Pulumiverse.Dynatrace public partial class JsonDashboardBase : global::Pulumi.CustomResource { /// - /// Contains the JSON Code of the Dashboard + /// This attribute exists for backwards compatibility. You do not have to define it. /// [Output("contents")] public Output Contents { get; private set; } = null!; @@ -67,7 +67,7 @@ public static JsonDashboardBase Get(string name, Input id, JsonDashboard public sealed class JsonDashboardBaseArgs : global::Pulumi.ResourceArgs { /// - /// Contains the JSON Code of the Dashboard + /// This attribute exists for backwards compatibility. You do not have to define it. /// [Input("contents")] public Input? Contents { get; set; } @@ -81,7 +81,7 @@ public JsonDashboardBaseArgs() public sealed class JsonDashboardBaseState : global::Pulumi.ResourceArgs { /// - /// Contains the JSON Code of the Dashboard + /// This attribute exists for backwards compatibility. You do not have to define it. /// [Input("contents")] public Input? Contents { get; set; } diff --git a/sdk/dotnet/KeyRequests.cs b/sdk/dotnet/KeyRequests.cs index 5343edee..3b5e2e46 100644 --- a/sdk/dotnet/KeyRequests.cs +++ b/sdk/dotnet/KeyRequests.cs @@ -13,6 +13,12 @@ namespace Pulumiverse.Dynatrace [DynatraceResourceType("dynatrace:index/keyRequests:KeyRequests")] public partial class KeyRequests : global::Pulumi.CustomResource { + /// + /// The ids of the key requests + /// + [Output("keyRequestIds")] + public Output> KeyRequestIds { get; private set; } = null!; + /// /// The names of the key requests /// @@ -72,6 +78,18 @@ public static KeyRequests Get(string name, Input id, KeyRequestsState? s public sealed class KeyRequestsArgs : global::Pulumi.ResourceArgs { + [Input("keyRequestIds")] + private InputMap? _keyRequestIds; + + /// + /// The ids of the key requests + /// + public InputMap KeyRequestIds + { + get => _keyRequestIds ?? (_keyRequestIds = new InputMap()); + set => _keyRequestIds = value; + } + [Input("names")] private InputList? _names; @@ -98,6 +116,18 @@ public KeyRequestsArgs() public sealed class KeyRequestsState : global::Pulumi.ResourceArgs { + [Input("keyRequestIds")] + private InputMap? _keyRequestIds; + + /// + /// The ids of the key requests + /// + public InputMap KeyRequestIds + { + get => _keyRequestIds ?? (_keyRequestIds = new InputMap()); + set => _keyRequestIds = value; + } + [Input("names")] private InputList? _names; diff --git a/sdk/dotnet/LogAgentFeatureFlags.cs b/sdk/dotnet/LogAgentFeatureFlags.cs index 7e8fe429..7755ed52 100644 --- a/sdk/dotnet/LogAgentFeatureFlags.cs +++ b/sdk/dotnet/LogAgentFeatureFlags.cs @@ -14,13 +14,26 @@ namespace Pulumiverse.Dynatrace public partial class LogAgentFeatureFlags : global::Pulumi.CustomResource { /// - /// Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + /// Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + /// ingested matching ingest rule is required. + /// + [Output("journaldLogDetector")] + public Output JournaldLogDetector { get; private set; } = null!; + + /// + /// Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + /// collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + /// processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + /// * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + /// configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + /// more details, check our [documentation](https://dt-url.net/jn02ey0). /// [Output("newContainerLogDetector")] public Output NewContainerLogDetector { get; private set; } = null!; /// - /// The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + /// The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + /// environment. /// [Output("scope")] public Output Scope { get; private set; } = null!; @@ -73,13 +86,26 @@ public static LogAgentFeatureFlags Get(string name, Input id, LogAgentFe public sealed class LogAgentFeatureFlagsArgs : global::Pulumi.ResourceArgs { /// - /// Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + /// Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + /// ingested matching ingest rule is required. + /// + [Input("journaldLogDetector")] + public Input? JournaldLogDetector { get; set; } + + /// + /// Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + /// collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + /// processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + /// * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + /// configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + /// more details, check our [documentation](https://dt-url.net/jn02ey0). /// [Input("newContainerLogDetector", required: true)] public Input NewContainerLogDetector { get; set; } = null!; /// - /// The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + /// The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + /// environment. /// [Input("scope")] public Input? Scope { get; set; } @@ -93,13 +119,26 @@ public LogAgentFeatureFlagsArgs() public sealed class LogAgentFeatureFlagsState : global::Pulumi.ResourceArgs { /// - /// Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + /// Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + /// ingested matching ingest rule is required. + /// + [Input("journaldLogDetector")] + public Input? JournaldLogDetector { get; set; } + + /// + /// Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + /// collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + /// processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + /// * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + /// configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + /// more details, check our [documentation](https://dt-url.net/jn02ey0). /// [Input("newContainerLogDetector")] public Input? NewContainerLogDetector { get; set; } /// - /// The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + /// The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + /// environment. /// [Input("scope")] public Input? Scope { get; set; } diff --git a/sdk/dotnet/Outputs/AppMonitoringAppMonitoringAppMonitoring.cs b/sdk/dotnet/Outputs/AppMonitoringAppMonitoringAppMonitoring.cs index a8f8f074..1dd5ddc7 100644 --- a/sdk/dotnet/Outputs/AppMonitoringAppMonitoringAppMonitoring.cs +++ b/sdk/dotnet/Outputs/AppMonitoringAppMonitoringAppMonitoring.cs @@ -19,18 +19,25 @@ public sealed class AppMonitoringAppMonitoringAppMonitoring /// public readonly string AppId; /// - /// Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + /// Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` /// public readonly string CustomLogLevel; + /// + /// Possible Values: `off`, `on`, `useDefault` + /// + public readonly string? CustomTraceLevel; [OutputConstructor] private AppMonitoringAppMonitoringAppMonitoring( string appId, - string customLogLevel) + string customLogLevel, + + string? customTraceLevel) { AppId = appId; CustomLogLevel = customLogLevel; + CustomTraceLevel = customTraceLevel; } } } diff --git a/sdk/dotnet/Outputs/AutomationWorkflowTasksTaskConditions.cs b/sdk/dotnet/Outputs/AutomationWorkflowTasksTaskConditions.cs index d3618cc4..64e1e51e 100644 --- a/sdk/dotnet/Outputs/AutomationWorkflowTasksTaskConditions.cs +++ b/sdk/dotnet/Outputs/AutomationWorkflowTasksTaskConditions.cs @@ -25,7 +25,7 @@ public sealed class AutomationWorkflowTasksTaskConditions /// /// key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) /// - public readonly ImmutableDictionary States; + public readonly ImmutableDictionary? States; [OutputConstructor] private AutomationWorkflowTasksTaskConditions( @@ -33,7 +33,7 @@ private AutomationWorkflowTasksTaskConditions( string? @else, - ImmutableDictionary states) + ImmutableDictionary? states) { Custom = custom; Else = @else; diff --git a/sdk/dotnet/Outputs/BrowserMonitorScriptConfigurationJavascriptSetttings.cs b/sdk/dotnet/Outputs/BrowserMonitorScriptConfigurationJavascriptSetttings.cs index 735f995f..d7cddeb1 100644 --- a/sdk/dotnet/Outputs/BrowserMonitorScriptConfigurationJavascriptSetttings.cs +++ b/sdk/dotnet/Outputs/BrowserMonitorScriptConfigurationJavascriptSetttings.cs @@ -19,6 +19,18 @@ public sealed class BrowserMonitorScriptConfigurationJavascriptSetttings /// public readonly string? CustomProperties; /// + /// Capture fetch() requests + /// + public readonly bool? FetchRequests; + /// + /// JavaScript error report + /// + public readonly bool? JavascriptErrors; + /// + /// Timed action support + /// + public readonly bool? TimedActions; + /// /// Custom JavaScript Agent settings /// public readonly Outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings? TimeoutSettings; @@ -26,18 +38,34 @@ public sealed class BrowserMonitorScriptConfigurationJavascriptSetttings /// Parameters for Visually complete and Speed index calculation /// public readonly Outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions? VisuallyCompleteOptions; + /// + /// Capture XMLHttpRequests (XHR) + /// + public readonly bool? XmlHttpRequests; [OutputConstructor] private BrowserMonitorScriptConfigurationJavascriptSetttings( string? customProperties, + bool? fetchRequests, + + bool? javascriptErrors, + + bool? timedActions, + Outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings? timeoutSettings, - Outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions? visuallyCompleteOptions) + Outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions? visuallyCompleteOptions, + + bool? xmlHttpRequests) { CustomProperties = customProperties; + FetchRequests = fetchRequests; + JavascriptErrors = javascriptErrors; + TimedActions = timedActions; TimeoutSettings = timeoutSettings; VisuallyCompleteOptions = visuallyCompleteOptions; + XmlHttpRequests = xmlHttpRequests; } } } diff --git a/sdk/dotnet/Outputs/DavisAnomalyDetectorsExecutionSettings.cs b/sdk/dotnet/Outputs/DavisAnomalyDetectorsExecutionSettings.cs index cba4c0de..5f4f986e 100644 --- a/sdk/dotnet/Outputs/DavisAnomalyDetectorsExecutionSettings.cs +++ b/sdk/dotnet/Outputs/DavisAnomalyDetectorsExecutionSettings.cs @@ -14,14 +14,22 @@ namespace Pulumiverse.Dynatrace.Outputs [OutputType] public sealed class DavisAnomalyDetectorsExecutionSettings { + /// + /// UUID of a service user. Queries will be executed on behalf of the service user. + /// + public readonly string? Actor; /// /// Minute offset of sliding evaluation window for metrics with latency /// public readonly int? QueryOffset; [OutputConstructor] - private DavisAnomalyDetectorsExecutionSettings(int? queryOffset) + private DavisAnomalyDetectorsExecutionSettings( + string? actor, + + int? queryOffset) { + Actor = actor; QueryOffset = queryOffset; } } diff --git a/sdk/dotnet/Outputs/DiscoveryDefaultRulesRuleActionsAction.cs b/sdk/dotnet/Outputs/DiscoveryDefaultRulesRuleActionsAction.cs index d7003e31..b1aa7de2 100644 --- a/sdk/dotnet/Outputs/DiscoveryDefaultRulesRuleActionsAction.cs +++ b/sdk/dotnet/Outputs/DiscoveryDefaultRulesRuleActionsAction.cs @@ -14,6 +14,10 @@ namespace Pulumiverse.Dynatrace.Outputs [OutputType] public sealed class DiscoveryDefaultRulesRuleActionsAction { + /// + /// Instant action + /// + public readonly bool? InstantAction; /// /// no documentation available /// @@ -25,10 +29,13 @@ public sealed class DiscoveryDefaultRulesRuleActionsAction [OutputConstructor] private DiscoveryDefaultRulesRuleActionsAction( + bool? instantAction, + string name, Outputs.DiscoveryDefaultRulesRuleActionsActionParameters? parameters) { + InstantAction = instantAction; Name = name; Parameters = parameters; } diff --git a/sdk/dotnet/Outputs/LogCustomSourceCustomLogSource.cs b/sdk/dotnet/Outputs/LogCustomSourceCustomLogSource.cs index 10fafc31..adbdc744 100644 --- a/sdk/dotnet/Outputs/LogCustomSourceCustomLogSource.cs +++ b/sdk/dotnet/Outputs/LogCustomSourceCustomLogSource.cs @@ -19,6 +19,10 @@ public sealed class LogCustomSourceCustomLogSource /// public readonly bool? AcceptBinary; /// + /// no documentation available + /// + public readonly string? Encoding; + /// /// Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` /// public readonly string Type; @@ -35,6 +39,8 @@ public sealed class LogCustomSourceCustomLogSource private LogCustomSourceCustomLogSource( bool? acceptBinary, + string? encoding, + string type, ImmutableArray values, @@ -42,6 +48,7 @@ private LogCustomSourceCustomLogSource( Outputs.LogCustomSourceCustomLogSourceValuesAndEnrichment? valuesAndEnrichment) { AcceptBinary = acceptBinary; + Encoding = encoding; Type = type; Values = values; ValuesAndEnrichment = valuesAndEnrichment; diff --git a/sdk/dotnet/Outputs/LogSensitiveDataMaskingMatchersMatcher.cs b/sdk/dotnet/Outputs/LogSensitiveDataMaskingMatchersMatcher.cs index 4f46dfcf..ac748341 100644 --- a/sdk/dotnet/Outputs/LogSensitiveDataMaskingMatchersMatcher.cs +++ b/sdk/dotnet/Outputs/LogSensitiveDataMaskingMatchersMatcher.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Dynatrace.Outputs public sealed class LogSensitiveDataMaskingMatchersMatcher { /// - /// Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` /// public readonly string Attribute; /// diff --git a/sdk/dotnet/Outputs/LogStorageMatchersMatcher.cs b/sdk/dotnet/Outputs/LogStorageMatchersMatcher.cs index 0e3569b0..e48b4753 100644 --- a/sdk/dotnet/Outputs/LogStorageMatchersMatcher.cs +++ b/sdk/dotnet/Outputs/LogStorageMatchersMatcher.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Dynatrace.Outputs public sealed class LogStorageMatchersMatcher { /// - /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` /// public readonly string Attribute; /// diff --git a/sdk/dotnet/Outputs/LogTimestampMatchersMatcher.cs b/sdk/dotnet/Outputs/LogTimestampMatchersMatcher.cs index 5f285889..089b5e2b 100644 --- a/sdk/dotnet/Outputs/LogTimestampMatchersMatcher.cs +++ b/sdk/dotnet/Outputs/LogTimestampMatchersMatcher.cs @@ -15,7 +15,7 @@ namespace Pulumiverse.Dynatrace.Outputs public sealed class LogTimestampMatchersMatcher { /// - /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + /// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` /// public readonly string Attribute; /// diff --git a/sdk/dotnet/Outputs/SiteReliabilityGuardianObjectivesObjective.cs b/sdk/dotnet/Outputs/SiteReliabilityGuardianObjectivesObjective.cs index 14accf58..04cdfb9d 100644 --- a/sdk/dotnet/Outputs/SiteReliabilityGuardianObjectivesObjective.cs +++ b/sdk/dotnet/Outputs/SiteReliabilityGuardianObjectivesObjective.cs @@ -27,6 +27,10 @@ public sealed class SiteReliabilityGuardianObjectivesObjective /// public readonly string? Description; /// + /// Display Unit + /// + public readonly Outputs.SiteReliabilityGuardianObjectivesObjectiveDisplayUnit? DisplayUnit; + /// /// DQL query /// public readonly string? DqlQuery; @@ -59,6 +63,8 @@ private SiteReliabilityGuardianObjectivesObjective( string? description, + Outputs.SiteReliabilityGuardianObjectivesObjectiveDisplayUnit? displayUnit, + string? dqlQuery, string name, @@ -74,6 +80,7 @@ private SiteReliabilityGuardianObjectivesObjective( AutoAdaptiveThresholdEnabled = autoAdaptiveThresholdEnabled; ComparisonOperator = comparisonOperator; Description = description; + DisplayUnit = displayUnit; DqlQuery = dqlQuery; Name = name; ObjectiveType = objectiveType; diff --git a/sdk/dotnet/Outputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnit.cs b/sdk/dotnet/Outputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnit.cs new file mode 100644 index 00000000..94bbaca8 --- /dev/null +++ b/sdk/dotnet/Outputs/SiteReliabilityGuardianObjectivesObjectiveDisplayUnit.cs @@ -0,0 +1,43 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Outputs +{ + + [OutputType] + public sealed class SiteReliabilityGuardianObjectivesObjectiveDisplayUnit + { + /// + /// Base Unit + /// + public readonly string Base; + /// + /// Decimals + /// + public readonly int Decimals; + /// + /// display as unit + /// + public readonly string Display; + + [OutputConstructor] + private SiteReliabilityGuardianObjectivesObjectiveDisplayUnit( + string @base, + + int decimals, + + string display) + { + Base = @base; + Decimals = decimals; + Display = display; + } + } +} diff --git a/sdk/dotnet/Outputs/WebAppAutoInjectionCacheControlHeaders.cs b/sdk/dotnet/Outputs/WebAppAutoInjectionCacheControlHeaders.cs new file mode 100644 index 00000000..e4cb884b --- /dev/null +++ b/sdk/dotnet/Outputs/WebAppAutoInjectionCacheControlHeaders.cs @@ -0,0 +1,28 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Outputs +{ + + [OutputType] + public sealed class WebAppAutoInjectionCacheControlHeaders + { + /// + /// [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + /// + public readonly bool CacheControlHeaders; + + [OutputConstructor] + private WebAppAutoInjectionCacheControlHeaders(bool cacheControlHeaders) + { + CacheControlHeaders = cacheControlHeaders; + } + } +} diff --git a/sdk/dotnet/Outputs/WebAppAutoInjectionMonitoringCodeSourceSection.cs b/sdk/dotnet/Outputs/WebAppAutoInjectionMonitoringCodeSourceSection.cs new file mode 100644 index 00000000..013ea1e4 --- /dev/null +++ b/sdk/dotnet/Outputs/WebAppAutoInjectionMonitoringCodeSourceSection.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Outputs +{ + + [OutputType] + public sealed class WebAppAutoInjectionMonitoringCodeSourceSection + { + /// + /// Real User Monitoring code source + /// + public readonly string CodeSource; + /// + /// Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + /// + public readonly string? MonitoringCodePath; + + [OutputConstructor] + private WebAppAutoInjectionMonitoringCodeSourceSection( + string codeSource, + + string? monitoringCodePath) + { + CodeSource = codeSource; + MonitoringCodePath = monitoringCodePath; + } + } +} diff --git a/sdk/dotnet/Outputs/WebAppAutoInjectionSnippetFormat.cs b/sdk/dotnet/Outputs/WebAppAutoInjectionSnippetFormat.cs new file mode 100644 index 00000000..fb0c6578 --- /dev/null +++ b/sdk/dotnet/Outputs/WebAppAutoInjectionSnippetFormat.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace.Outputs +{ + + [OutputType] + public sealed class WebAppAutoInjectionSnippetFormat + { + /// + /// Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + /// + public readonly string? CodeSnippetType; + /// + /// Snippet format + /// + public readonly string SnippetFormat; + + [OutputConstructor] + private WebAppAutoInjectionSnippetFormat( + string? codeSnippetType, + + string snippetFormat) + { + CodeSnippetType = codeSnippetType; + SnippetFormat = snippetFormat; + } + } +} diff --git a/sdk/dotnet/WebAppAutoInjection.cs b/sdk/dotnet/WebAppAutoInjection.cs new file mode 100644 index 00000000..eb9fdfa7 --- /dev/null +++ b/sdk/dotnet/WebAppAutoInjection.cs @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; +using Pulumi; + +namespace Pulumiverse.Dynatrace +{ + [DynatraceResourceType("dynatrace:index/webAppAutoInjection:WebAppAutoInjection")] + public partial class WebAppAutoInjection : global::Pulumi.CustomResource + { + /// + /// The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + /// + [Output("applicationId")] + public Output ApplicationId { get; private set; } = null!; + + /// + /// Cache control headers + /// + [Output("cacheControlHeaders")] + public Output CacheControlHeaders { get; private set; } = null!; + + /// + /// Real User Monitoring code source + /// + [Output("monitoringCodeSourceSection")] + public Output MonitoringCodeSourceSection { get; private set; } = null!; + + /// + /// *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + /// + [Output("snippetFormat")] + public Output SnippetFormat { get; private set; } = null!; + + + /// + /// Create a WebAppAutoInjection resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public WebAppAutoInjection(string name, WebAppAutoInjectionArgs args, CustomResourceOptions? options = null) + : base("dynatrace:index/webAppAutoInjection:WebAppAutoInjection", name, args ?? new WebAppAutoInjectionArgs(), MakeResourceOptions(options, "")) + { + } + + private WebAppAutoInjection(string name, Input id, WebAppAutoInjectionState? state = null, CustomResourceOptions? options = null) + : base("dynatrace:index/webAppAutoInjection:WebAppAutoInjection", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + PluginDownloadURL = "github://api.github.com/pulumiverse", + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing WebAppAutoInjection resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static WebAppAutoInjection Get(string name, Input id, WebAppAutoInjectionState? state = null, CustomResourceOptions? options = null) + { + return new WebAppAutoInjection(name, id, state, options); + } + } + + public sealed class WebAppAutoInjectionArgs : global::Pulumi.ResourceArgs + { + /// + /// The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + /// + [Input("applicationId", required: true)] + public Input ApplicationId { get; set; } = null!; + + /// + /// Cache control headers + /// + [Input("cacheControlHeaders", required: true)] + public Input CacheControlHeaders { get; set; } = null!; + + /// + /// Real User Monitoring code source + /// + [Input("monitoringCodeSourceSection", required: true)] + public Input MonitoringCodeSourceSection { get; set; } = null!; + + /// + /// *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + /// + [Input("snippetFormat", required: true)] + public Input SnippetFormat { get; set; } = null!; + + public WebAppAutoInjectionArgs() + { + } + public static new WebAppAutoInjectionArgs Empty => new WebAppAutoInjectionArgs(); + } + + public sealed class WebAppAutoInjectionState : global::Pulumi.ResourceArgs + { + /// + /// The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + /// + [Input("applicationId")] + public Input? ApplicationId { get; set; } + + /// + /// Cache control headers + /// + [Input("cacheControlHeaders")] + public Input? CacheControlHeaders { get; set; } + + /// + /// Real User Monitoring code source + /// + [Input("monitoringCodeSourceSection")] + public Input? MonitoringCodeSourceSection { get; set; } + + /// + /// *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + /// + [Input("snippetFormat")] + public Input? SnippetFormat { get; set; } + + public WebAppAutoInjectionState() + { + } + public static new WebAppAutoInjectionState Empty => new WebAppAutoInjectionState(); + } +} diff --git a/sdk/go/dynatrace/appMonitoring.go b/sdk/go/dynatrace/appMonitoring.go index 3f5579ed..b6583cf7 100644 --- a/sdk/go/dynatrace/appMonitoring.go +++ b/sdk/go/dynatrace/appMonitoring.go @@ -17,8 +17,10 @@ type AppMonitoring struct { // You can override the default monitoring setting for each app separately AppMonitoring AppMonitoringAppMonitoringPtrOutput `pulumi:"appMonitoring"` - // Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + // Possible Values: `debug`, `error`, `info`, `off`, `warn` DefaultLogLevel pulumi.StringOutput `pulumi:"defaultLogLevel"` + // Possible Values: `off`, `on` + DefaultTraceLevel pulumi.StringPtrOutput `pulumi:"defaultTraceLevel"` } // NewAppMonitoring registers a new resource with the given unique name, arguments, and options. @@ -56,15 +58,19 @@ func GetAppMonitoring(ctx *pulumi.Context, type appMonitoringState struct { // You can override the default monitoring setting for each app separately AppMonitoring *AppMonitoringAppMonitoring `pulumi:"appMonitoring"` - // Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + // Possible Values: `debug`, `error`, `info`, `off`, `warn` DefaultLogLevel *string `pulumi:"defaultLogLevel"` + // Possible Values: `off`, `on` + DefaultTraceLevel *string `pulumi:"defaultTraceLevel"` } type AppMonitoringState struct { // You can override the default monitoring setting for each app separately AppMonitoring AppMonitoringAppMonitoringPtrInput - // Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + // Possible Values: `debug`, `error`, `info`, `off`, `warn` DefaultLogLevel pulumi.StringPtrInput + // Possible Values: `off`, `on` + DefaultTraceLevel pulumi.StringPtrInput } func (AppMonitoringState) ElementType() reflect.Type { @@ -74,16 +80,20 @@ func (AppMonitoringState) ElementType() reflect.Type { type appMonitoringArgs struct { // You can override the default monitoring setting for each app separately AppMonitoring *AppMonitoringAppMonitoring `pulumi:"appMonitoring"` - // Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + // Possible Values: `debug`, `error`, `info`, `off`, `warn` DefaultLogLevel string `pulumi:"defaultLogLevel"` + // Possible Values: `off`, `on` + DefaultTraceLevel *string `pulumi:"defaultTraceLevel"` } // The set of arguments for constructing a AppMonitoring resource. type AppMonitoringArgs struct { // You can override the default monitoring setting for each app separately AppMonitoring AppMonitoringAppMonitoringPtrInput - // Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + // Possible Values: `debug`, `error`, `info`, `off`, `warn` DefaultLogLevel pulumi.StringInput + // Possible Values: `off`, `on` + DefaultTraceLevel pulumi.StringPtrInput } func (AppMonitoringArgs) ElementType() reflect.Type { @@ -178,11 +188,16 @@ func (o AppMonitoringOutput) AppMonitoring() AppMonitoringAppMonitoringPtrOutput return o.ApplyT(func(v *AppMonitoring) AppMonitoringAppMonitoringPtrOutput { return v.AppMonitoring }).(AppMonitoringAppMonitoringPtrOutput) } -// Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` +// Possible Values: `debug`, `error`, `info`, `off`, `warn` func (o AppMonitoringOutput) DefaultLogLevel() pulumi.StringOutput { return o.ApplyT(func(v *AppMonitoring) pulumi.StringOutput { return v.DefaultLogLevel }).(pulumi.StringOutput) } +// Possible Values: `off`, `on` +func (o AppMonitoringOutput) DefaultTraceLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppMonitoring) pulumi.StringPtrOutput { return v.DefaultTraceLevel }).(pulumi.StringPtrOutput) +} + type AppMonitoringArrayOutput struct{ *pulumi.OutputState } func (AppMonitoringArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/dynatrace/builtinProcessMonitoring.go b/sdk/go/dynatrace/builtinProcessMonitoring.go index ffaddd43..0bbb943f 100644 --- a/sdk/go/dynatrace/builtinProcessMonitoring.go +++ b/sdk/go/dynatrace/builtinProcessMonitoring.go @@ -114,6 +114,8 @@ type BuiltinProcessMonitoring struct { ExeUserbinpiper pulumi.BoolPtrOutput `pulumi:"exeUserbinpiper"` // Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' ExeW3wp pulumi.BoolPtrOutput `pulumi:"exeW3wp"` + // Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + ExeYq pulumi.BoolPtrOutput `pulumi:"exeYq"` // Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' GoStatic pulumi.BoolPtrOutput `pulumi:"goStatic"` // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. @@ -282,6 +284,8 @@ type builtinProcessMonitoringState struct { ExeUserbinpiper *bool `pulumi:"exeUserbinpiper"` // Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' ExeW3wp *bool `pulumi:"exeW3wp"` + // Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + ExeYq *bool `pulumi:"exeYq"` // Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' GoStatic *bool `pulumi:"goStatic"` // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. @@ -421,6 +425,8 @@ type BuiltinProcessMonitoringState struct { ExeUserbinpiper pulumi.BoolPtrInput // Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' ExeW3wp pulumi.BoolPtrInput + // Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + ExeYq pulumi.BoolPtrInput // Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' GoStatic pulumi.BoolPtrInput // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. @@ -564,6 +570,8 @@ type builtinProcessMonitoringArgs struct { ExeUserbinpiper *bool `pulumi:"exeUserbinpiper"` // Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' ExeW3wp *bool `pulumi:"exeW3wp"` + // Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + ExeYq *bool `pulumi:"exeYq"` // Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' GoStatic *bool `pulumi:"goStatic"` // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. @@ -704,6 +712,8 @@ type BuiltinProcessMonitoringArgs struct { ExeUserbinpiper pulumi.BoolPtrInput // Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' ExeW3wp pulumi.BoolPtrInput + // Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + ExeYq pulumi.BoolPtrInput // Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' GoStatic pulumi.BoolPtrInput // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. @@ -1079,6 +1089,11 @@ func (o BuiltinProcessMonitoringOutput) ExeW3wp() pulumi.BoolPtrOutput { return o.ApplyT(func(v *BuiltinProcessMonitoring) pulumi.BoolPtrOutput { return v.ExeW3wp }).(pulumi.BoolPtrOutput) } +// Rule id: 72 - Do not monitor processes if EXE name equals 'yq' +func (o BuiltinProcessMonitoringOutput) ExeYq() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *BuiltinProcessMonitoring) pulumi.BoolPtrOutput { return v.ExeYq }).(pulumi.BoolPtrOutput) +} + // Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' func (o BuiltinProcessMonitoringOutput) GoStatic() pulumi.BoolPtrOutput { return o.ApplyT(func(v *BuiltinProcessMonitoring) pulumi.BoolPtrOutput { return v.GoStatic }).(pulumi.BoolPtrOutput) diff --git a/sdk/go/dynatrace/businessEventsCapturingVariants.go b/sdk/go/dynatrace/businessEventsCapturingVariants.go new file mode 100644 index 00000000..f5450db5 --- /dev/null +++ b/sdk/go/dynatrace/businessEventsCapturingVariants.go @@ -0,0 +1,284 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package dynatrace + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace/internal" +) + +type BusinessEventsCapturingVariants struct { + pulumi.CustomResourceState + + // Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + ContentTypeMatcher pulumi.StringOutput `pulumi:"contentTypeMatcher"` + // Content-type match value + ContentTypeValue pulumi.StringOutput `pulumi:"contentTypeValue"` + // Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + InsertAfter pulumi.StringOutput `pulumi:"insertAfter"` + // Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + Parser pulumi.StringOutput `pulumi:"parser"` + // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + Scope pulumi.StringPtrOutput `pulumi:"scope"` +} + +// NewBusinessEventsCapturingVariants registers a new resource with the given unique name, arguments, and options. +func NewBusinessEventsCapturingVariants(ctx *pulumi.Context, + name string, args *BusinessEventsCapturingVariantsArgs, opts ...pulumi.ResourceOption) (*BusinessEventsCapturingVariants, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ContentTypeMatcher == nil { + return nil, errors.New("invalid value for required argument 'ContentTypeMatcher'") + } + if args.ContentTypeValue == nil { + return nil, errors.New("invalid value for required argument 'ContentTypeValue'") + } + if args.Parser == nil { + return nil, errors.New("invalid value for required argument 'Parser'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource BusinessEventsCapturingVariants + err := ctx.RegisterResource("dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetBusinessEventsCapturingVariants gets an existing BusinessEventsCapturingVariants resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetBusinessEventsCapturingVariants(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *BusinessEventsCapturingVariantsState, opts ...pulumi.ResourceOption) (*BusinessEventsCapturingVariants, error) { + var resource BusinessEventsCapturingVariants + err := ctx.ReadResource("dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering BusinessEventsCapturingVariants resources. +type businessEventsCapturingVariantsState struct { + // Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + ContentTypeMatcher *string `pulumi:"contentTypeMatcher"` + // Content-type match value + ContentTypeValue *string `pulumi:"contentTypeValue"` + // Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + InsertAfter *string `pulumi:"insertAfter"` + // Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + Parser *string `pulumi:"parser"` + // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + Scope *string `pulumi:"scope"` +} + +type BusinessEventsCapturingVariantsState struct { + // Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + ContentTypeMatcher pulumi.StringPtrInput + // Content-type match value + ContentTypeValue pulumi.StringPtrInput + // Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + InsertAfter pulumi.StringPtrInput + // Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + Parser pulumi.StringPtrInput + // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + Scope pulumi.StringPtrInput +} + +func (BusinessEventsCapturingVariantsState) ElementType() reflect.Type { + return reflect.TypeOf((*businessEventsCapturingVariantsState)(nil)).Elem() +} + +type businessEventsCapturingVariantsArgs struct { + // Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + ContentTypeMatcher string `pulumi:"contentTypeMatcher"` + // Content-type match value + ContentTypeValue string `pulumi:"contentTypeValue"` + // Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + InsertAfter *string `pulumi:"insertAfter"` + // Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + Parser string `pulumi:"parser"` + // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + Scope *string `pulumi:"scope"` +} + +// The set of arguments for constructing a BusinessEventsCapturingVariants resource. +type BusinessEventsCapturingVariantsArgs struct { + // Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + ContentTypeMatcher pulumi.StringInput + // Content-type match value + ContentTypeValue pulumi.StringInput + // Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + InsertAfter pulumi.StringPtrInput + // Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + Parser pulumi.StringInput + // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + Scope pulumi.StringPtrInput +} + +func (BusinessEventsCapturingVariantsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*businessEventsCapturingVariantsArgs)(nil)).Elem() +} + +type BusinessEventsCapturingVariantsInput interface { + pulumi.Input + + ToBusinessEventsCapturingVariantsOutput() BusinessEventsCapturingVariantsOutput + ToBusinessEventsCapturingVariantsOutputWithContext(ctx context.Context) BusinessEventsCapturingVariantsOutput +} + +func (*BusinessEventsCapturingVariants) ElementType() reflect.Type { + return reflect.TypeOf((**BusinessEventsCapturingVariants)(nil)).Elem() +} + +func (i *BusinessEventsCapturingVariants) ToBusinessEventsCapturingVariantsOutput() BusinessEventsCapturingVariantsOutput { + return i.ToBusinessEventsCapturingVariantsOutputWithContext(context.Background()) +} + +func (i *BusinessEventsCapturingVariants) ToBusinessEventsCapturingVariantsOutputWithContext(ctx context.Context) BusinessEventsCapturingVariantsOutput { + return pulumi.ToOutputWithContext(ctx, i).(BusinessEventsCapturingVariantsOutput) +} + +// BusinessEventsCapturingVariantsArrayInput is an input type that accepts BusinessEventsCapturingVariantsArray and BusinessEventsCapturingVariantsArrayOutput values. +// You can construct a concrete instance of `BusinessEventsCapturingVariantsArrayInput` via: +// +// BusinessEventsCapturingVariantsArray{ BusinessEventsCapturingVariantsArgs{...} } +type BusinessEventsCapturingVariantsArrayInput interface { + pulumi.Input + + ToBusinessEventsCapturingVariantsArrayOutput() BusinessEventsCapturingVariantsArrayOutput + ToBusinessEventsCapturingVariantsArrayOutputWithContext(context.Context) BusinessEventsCapturingVariantsArrayOutput +} + +type BusinessEventsCapturingVariantsArray []BusinessEventsCapturingVariantsInput + +func (BusinessEventsCapturingVariantsArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*BusinessEventsCapturingVariants)(nil)).Elem() +} + +func (i BusinessEventsCapturingVariantsArray) ToBusinessEventsCapturingVariantsArrayOutput() BusinessEventsCapturingVariantsArrayOutput { + return i.ToBusinessEventsCapturingVariantsArrayOutputWithContext(context.Background()) +} + +func (i BusinessEventsCapturingVariantsArray) ToBusinessEventsCapturingVariantsArrayOutputWithContext(ctx context.Context) BusinessEventsCapturingVariantsArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(BusinessEventsCapturingVariantsArrayOutput) +} + +// BusinessEventsCapturingVariantsMapInput is an input type that accepts BusinessEventsCapturingVariantsMap and BusinessEventsCapturingVariantsMapOutput values. +// You can construct a concrete instance of `BusinessEventsCapturingVariantsMapInput` via: +// +// BusinessEventsCapturingVariantsMap{ "key": BusinessEventsCapturingVariantsArgs{...} } +type BusinessEventsCapturingVariantsMapInput interface { + pulumi.Input + + ToBusinessEventsCapturingVariantsMapOutput() BusinessEventsCapturingVariantsMapOutput + ToBusinessEventsCapturingVariantsMapOutputWithContext(context.Context) BusinessEventsCapturingVariantsMapOutput +} + +type BusinessEventsCapturingVariantsMap map[string]BusinessEventsCapturingVariantsInput + +func (BusinessEventsCapturingVariantsMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*BusinessEventsCapturingVariants)(nil)).Elem() +} + +func (i BusinessEventsCapturingVariantsMap) ToBusinessEventsCapturingVariantsMapOutput() BusinessEventsCapturingVariantsMapOutput { + return i.ToBusinessEventsCapturingVariantsMapOutputWithContext(context.Background()) +} + +func (i BusinessEventsCapturingVariantsMap) ToBusinessEventsCapturingVariantsMapOutputWithContext(ctx context.Context) BusinessEventsCapturingVariantsMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(BusinessEventsCapturingVariantsMapOutput) +} + +type BusinessEventsCapturingVariantsOutput struct{ *pulumi.OutputState } + +func (BusinessEventsCapturingVariantsOutput) ElementType() reflect.Type { + return reflect.TypeOf((**BusinessEventsCapturingVariants)(nil)).Elem() +} + +func (o BusinessEventsCapturingVariantsOutput) ToBusinessEventsCapturingVariantsOutput() BusinessEventsCapturingVariantsOutput { + return o +} + +func (o BusinessEventsCapturingVariantsOutput) ToBusinessEventsCapturingVariantsOutputWithContext(ctx context.Context) BusinessEventsCapturingVariantsOutput { + return o +} + +// Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` +func (o BusinessEventsCapturingVariantsOutput) ContentTypeMatcher() pulumi.StringOutput { + return o.ApplyT(func(v *BusinessEventsCapturingVariants) pulumi.StringOutput { return v.ContentTypeMatcher }).(pulumi.StringOutput) +} + +// Content-type match value +func (o BusinessEventsCapturingVariantsOutput) ContentTypeValue() pulumi.StringOutput { + return o.ApplyT(func(v *BusinessEventsCapturingVariants) pulumi.StringOutput { return v.ContentTypeValue }).(pulumi.StringOutput) +} + +// Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched +func (o BusinessEventsCapturingVariantsOutput) InsertAfter() pulumi.StringOutput { + return o.ApplyT(func(v *BusinessEventsCapturingVariants) pulumi.StringOutput { return v.InsertAfter }).(pulumi.StringOutput) +} + +// Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` +func (o BusinessEventsCapturingVariantsOutput) Parser() pulumi.StringOutput { + return o.ApplyT(func(v *BusinessEventsCapturingVariants) pulumi.StringOutput { return v.Parser }).(pulumi.StringOutput) +} + +// The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. +func (o BusinessEventsCapturingVariantsOutput) Scope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *BusinessEventsCapturingVariants) pulumi.StringPtrOutput { return v.Scope }).(pulumi.StringPtrOutput) +} + +type BusinessEventsCapturingVariantsArrayOutput struct{ *pulumi.OutputState } + +func (BusinessEventsCapturingVariantsArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*BusinessEventsCapturingVariants)(nil)).Elem() +} + +func (o BusinessEventsCapturingVariantsArrayOutput) ToBusinessEventsCapturingVariantsArrayOutput() BusinessEventsCapturingVariantsArrayOutput { + return o +} + +func (o BusinessEventsCapturingVariantsArrayOutput) ToBusinessEventsCapturingVariantsArrayOutputWithContext(ctx context.Context) BusinessEventsCapturingVariantsArrayOutput { + return o +} + +func (o BusinessEventsCapturingVariantsArrayOutput) Index(i pulumi.IntInput) BusinessEventsCapturingVariantsOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *BusinessEventsCapturingVariants { + return vs[0].([]*BusinessEventsCapturingVariants)[vs[1].(int)] + }).(BusinessEventsCapturingVariantsOutput) +} + +type BusinessEventsCapturingVariantsMapOutput struct{ *pulumi.OutputState } + +func (BusinessEventsCapturingVariantsMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*BusinessEventsCapturingVariants)(nil)).Elem() +} + +func (o BusinessEventsCapturingVariantsMapOutput) ToBusinessEventsCapturingVariantsMapOutput() BusinessEventsCapturingVariantsMapOutput { + return o +} + +func (o BusinessEventsCapturingVariantsMapOutput) ToBusinessEventsCapturingVariantsMapOutputWithContext(ctx context.Context) BusinessEventsCapturingVariantsMapOutput { + return o +} + +func (o BusinessEventsCapturingVariantsMapOutput) MapIndex(k pulumi.StringInput) BusinessEventsCapturingVariantsOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *BusinessEventsCapturingVariants { + return vs[0].(map[string]*BusinessEventsCapturingVariants)[vs[1].(string)] + }).(BusinessEventsCapturingVariantsOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*BusinessEventsCapturingVariantsInput)(nil)).Elem(), &BusinessEventsCapturingVariants{}) + pulumi.RegisterInputType(reflect.TypeOf((*BusinessEventsCapturingVariantsArrayInput)(nil)).Elem(), BusinessEventsCapturingVariantsArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*BusinessEventsCapturingVariantsMapInput)(nil)).Elem(), BusinessEventsCapturingVariantsMap{}) + pulumi.RegisterOutputType(BusinessEventsCapturingVariantsOutput{}) + pulumi.RegisterOutputType(BusinessEventsCapturingVariantsArrayOutput{}) + pulumi.RegisterOutputType(BusinessEventsCapturingVariantsMapOutput{}) +} diff --git a/sdk/go/dynatrace/init.go b/sdk/go/dynatrace/init.go index c0bccf4e..b41dcf40 100644 --- a/sdk/go/dynatrace/init.go +++ b/sdk/go/dynatrace/init.go @@ -113,6 +113,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &BuiltinProcessMonitoring{} case "dynatrace:index/businessEventsBuckets:BusinessEventsBuckets": r = &BusinessEventsBuckets{} + case "dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants": + r = &BusinessEventsCapturingVariants{} case "dynatrace:index/businessEventsMetrics:BusinessEventsMetrics": r = &BusinessEventsMetrics{} case "dynatrace:index/businessEventsOneagent:BusinessEventsOneagent": @@ -667,6 +669,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &VulnerabilityThirdParty{} case "dynatrace:index/webAppAnomalies:WebAppAnomalies": r = &WebAppAnomalies{} + case "dynatrace:index/webAppAutoInjection:WebAppAutoInjection": + r = &WebAppAutoInjection{} case "dynatrace:index/webAppBeaconEndpoint:WebAppBeaconEndpoint": r = &WebAppBeaconEndpoint{} case "dynatrace:index/webAppBeaconOrigins:WebAppBeaconOrigins": @@ -964,6 +968,11 @@ func init() { "index/businessEventsBuckets", &module{version}, ) + pulumi.RegisterResourceModule( + "dynatrace", + "index/businessEventsCapturingVariants", + &module{version}, + ) pulumi.RegisterResourceModule( "dynatrace", "index/businessEventsMetrics", @@ -2349,6 +2358,11 @@ func init() { "index/webAppAnomalies", &module{version}, ) + pulumi.RegisterResourceModule( + "dynatrace", + "index/webAppAutoInjection", + &module{version}, + ) pulumi.RegisterResourceModule( "dynatrace", "index/webAppBeaconEndpoint", diff --git a/sdk/go/dynatrace/jsonDashboardBase.go b/sdk/go/dynatrace/jsonDashboardBase.go index c6fcba85..dfb534b6 100644 --- a/sdk/go/dynatrace/jsonDashboardBase.go +++ b/sdk/go/dynatrace/jsonDashboardBase.go @@ -14,7 +14,7 @@ import ( type JsonDashboardBase struct { pulumi.CustomResourceState - // Contains the JSON Code of the Dashboard + // This attribute exists for backwards compatibility. You do not have to define it. Contents pulumi.StringPtrOutput `pulumi:"contents"` } @@ -48,12 +48,12 @@ func GetJsonDashboardBase(ctx *pulumi.Context, // Input properties used for looking up and filtering JsonDashboardBase resources. type jsonDashboardBaseState struct { - // Contains the JSON Code of the Dashboard + // This attribute exists for backwards compatibility. You do not have to define it. Contents *string `pulumi:"contents"` } type JsonDashboardBaseState struct { - // Contains the JSON Code of the Dashboard + // This attribute exists for backwards compatibility. You do not have to define it. Contents pulumi.StringPtrInput } @@ -62,13 +62,13 @@ func (JsonDashboardBaseState) ElementType() reflect.Type { } type jsonDashboardBaseArgs struct { - // Contains the JSON Code of the Dashboard + // This attribute exists for backwards compatibility. You do not have to define it. Contents *string `pulumi:"contents"` } // The set of arguments for constructing a JsonDashboardBase resource. type JsonDashboardBaseArgs struct { - // Contains the JSON Code of the Dashboard + // This attribute exists for backwards compatibility. You do not have to define it. Contents pulumi.StringPtrInput } @@ -159,7 +159,7 @@ func (o JsonDashboardBaseOutput) ToJsonDashboardBaseOutputWithContext(ctx contex return o } -// Contains the JSON Code of the Dashboard +// This attribute exists for backwards compatibility. You do not have to define it. func (o JsonDashboardBaseOutput) Contents() pulumi.StringPtrOutput { return o.ApplyT(func(v *JsonDashboardBase) pulumi.StringPtrOutput { return v.Contents }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/dynatrace/keyRequests.go b/sdk/go/dynatrace/keyRequests.go index a3f9de27..406f6be9 100644 --- a/sdk/go/dynatrace/keyRequests.go +++ b/sdk/go/dynatrace/keyRequests.go @@ -15,6 +15,8 @@ import ( type KeyRequests struct { pulumi.CustomResourceState + // The ids of the key requests + KeyRequestIds pulumi.StringMapOutput `pulumi:"keyRequestIds"` // The names of the key requests Names pulumi.StringArrayOutput `pulumi:"names"` // ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH @@ -54,6 +56,8 @@ func GetKeyRequests(ctx *pulumi.Context, // Input properties used for looking up and filtering KeyRequests resources. type keyRequestsState struct { + // The ids of the key requests + KeyRequestIds map[string]string `pulumi:"keyRequestIds"` // The names of the key requests Names []string `pulumi:"names"` // ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH @@ -61,6 +65,8 @@ type keyRequestsState struct { } type KeyRequestsState struct { + // The ids of the key requests + KeyRequestIds pulumi.StringMapInput // The names of the key requests Names pulumi.StringArrayInput // ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH @@ -72,6 +78,8 @@ func (KeyRequestsState) ElementType() reflect.Type { } type keyRequestsArgs struct { + // The ids of the key requests + KeyRequestIds map[string]string `pulumi:"keyRequestIds"` // The names of the key requests Names []string `pulumi:"names"` // ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH @@ -80,6 +88,8 @@ type keyRequestsArgs struct { // The set of arguments for constructing a KeyRequests resource. type KeyRequestsArgs struct { + // The ids of the key requests + KeyRequestIds pulumi.StringMapInput // The names of the key requests Names pulumi.StringArrayInput // ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH @@ -173,6 +183,11 @@ func (o KeyRequestsOutput) ToKeyRequestsOutputWithContext(ctx context.Context) K return o } +// The ids of the key requests +func (o KeyRequestsOutput) KeyRequestIds() pulumi.StringMapOutput { + return o.ApplyT(func(v *KeyRequests) pulumi.StringMapOutput { return v.KeyRequestIds }).(pulumi.StringMapOutput) +} + // The names of the key requests func (o KeyRequestsOutput) Names() pulumi.StringArrayOutput { return o.ApplyT(func(v *KeyRequests) pulumi.StringArrayOutput { return v.Names }).(pulumi.StringArrayOutput) diff --git a/sdk/go/dynatrace/logAgentFeatureFlags.go b/sdk/go/dynatrace/logAgentFeatureFlags.go index e16c23fc..b1d84bda 100644 --- a/sdk/go/dynatrace/logAgentFeatureFlags.go +++ b/sdk/go/dynatrace/logAgentFeatureFlags.go @@ -15,9 +15,18 @@ import ( type LogAgentFeatureFlags struct { pulumi.CustomResourceState - // Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + // Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + // ingested matching ingest rule is required. + JournaldLogDetector pulumi.BoolPtrOutput `pulumi:"journaldLogDetector"` + // Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + // collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + // processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + // * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + // configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + // more details, check our [documentation](https://dt-url.net/jn02ey0). NewContainerLogDetector pulumi.BoolOutput `pulumi:"newContainerLogDetector"` - // The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + // The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + // environment. Scope pulumi.StringPtrOutput `pulumi:"scope"` } @@ -54,16 +63,34 @@ func GetLogAgentFeatureFlags(ctx *pulumi.Context, // Input properties used for looking up and filtering LogAgentFeatureFlags resources. type logAgentFeatureFlagsState struct { - // Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + // Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + // ingested matching ingest rule is required. + JournaldLogDetector *bool `pulumi:"journaldLogDetector"` + // Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + // collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + // processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + // * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + // configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + // more details, check our [documentation](https://dt-url.net/jn02ey0). NewContainerLogDetector *bool `pulumi:"newContainerLogDetector"` - // The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + // The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + // environment. Scope *string `pulumi:"scope"` } type LogAgentFeatureFlagsState struct { - // Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + // Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + // ingested matching ingest rule is required. + JournaldLogDetector pulumi.BoolPtrInput + // Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + // collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + // processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + // * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + // configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + // more details, check our [documentation](https://dt-url.net/jn02ey0). NewContainerLogDetector pulumi.BoolPtrInput - // The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + // The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + // environment. Scope pulumi.StringPtrInput } @@ -72,17 +99,35 @@ func (LogAgentFeatureFlagsState) ElementType() reflect.Type { } type logAgentFeatureFlagsArgs struct { - // Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + // Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + // ingested matching ingest rule is required. + JournaldLogDetector *bool `pulumi:"journaldLogDetector"` + // Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + // collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + // processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + // * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + // configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + // more details, check our [documentation](https://dt-url.net/jn02ey0). NewContainerLogDetector bool `pulumi:"newContainerLogDetector"` - // The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + // The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + // environment. Scope *string `pulumi:"scope"` } // The set of arguments for constructing a LogAgentFeatureFlags resource. type LogAgentFeatureFlagsArgs struct { - // Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + // Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + // ingested matching ingest rule is required. + JournaldLogDetector pulumi.BoolPtrInput + // Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + // collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + // processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + // * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + // configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + // more details, check our [documentation](https://dt-url.net/jn02ey0). NewContainerLogDetector pulumi.BoolInput - // The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + // The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + // environment. Scope pulumi.StringPtrInput } @@ -173,12 +218,24 @@ func (o LogAgentFeatureFlagsOutput) ToLogAgentFeatureFlagsOutputWithContext(ctx return o } -// Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). +// Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs +// ingested matching ingest rule is required. +func (o LogAgentFeatureFlagsOutput) JournaldLogDetector() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *LogAgentFeatureFlags) pulumi.BoolPtrOutput { return v.JournaldLogDetector }).(pulumi.BoolPtrOutput) +} + +// Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and +// collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any +// processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. +// - Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources +// configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For +// more details, check our [documentation](https://dt-url.net/jn02ey0). func (o LogAgentFeatureFlagsOutput) NewContainerLogDetector() pulumi.BoolOutput { return o.ApplyT(func(v *LogAgentFeatureFlags) pulumi.BoolOutput { return v.NewContainerLogDetector }).(pulumi.BoolOutput) } -// The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. +// The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole +// environment. func (o LogAgentFeatureFlagsOutput) Scope() pulumi.StringPtrOutput { return o.ApplyT(func(v *LogAgentFeatureFlags) pulumi.StringPtrOutput { return v.Scope }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/dynatrace/pulumiTypes.go b/sdk/go/dynatrace/pulumiTypes.go index cdb48b91..6b68e4c4 100644 --- a/sdk/go/dynatrace/pulumiTypes.go +++ b/sdk/go/dynatrace/pulumiTypes.go @@ -3219,8 +3219,10 @@ func (o AppMonitoringAppMonitoringPtrOutput) AppMonitorings() AppMonitoringAppMo type AppMonitoringAppMonitoringAppMonitoring struct { // App ID AppId string `pulumi:"appId"` - // Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + // Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` CustomLogLevel string `pulumi:"customLogLevel"` + // Possible Values: `off`, `on`, `useDefault` + CustomTraceLevel *string `pulumi:"customTraceLevel"` } // AppMonitoringAppMonitoringAppMonitoringInput is an input type that accepts AppMonitoringAppMonitoringAppMonitoringArgs and AppMonitoringAppMonitoringAppMonitoringOutput values. @@ -3237,8 +3239,10 @@ type AppMonitoringAppMonitoringAppMonitoringInput interface { type AppMonitoringAppMonitoringAppMonitoringArgs struct { // App ID AppId pulumi.StringInput `pulumi:"appId"` - // Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + // Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` CustomLogLevel pulumi.StringInput `pulumi:"customLogLevel"` + // Possible Values: `off`, `on`, `useDefault` + CustomTraceLevel pulumi.StringPtrInput `pulumi:"customTraceLevel"` } func (AppMonitoringAppMonitoringAppMonitoringArgs) ElementType() reflect.Type { @@ -3297,11 +3301,16 @@ func (o AppMonitoringAppMonitoringAppMonitoringOutput) AppId() pulumi.StringOutp return o.ApplyT(func(v AppMonitoringAppMonitoringAppMonitoring) string { return v.AppId }).(pulumi.StringOutput) } -// Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` +// Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` func (o AppMonitoringAppMonitoringAppMonitoringOutput) CustomLogLevel() pulumi.StringOutput { return o.ApplyT(func(v AppMonitoringAppMonitoringAppMonitoring) string { return v.CustomLogLevel }).(pulumi.StringOutput) } +// Possible Values: `off`, `on`, `useDefault` +func (o AppMonitoringAppMonitoringAppMonitoringOutput) CustomTraceLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppMonitoringAppMonitoringAppMonitoring) *string { return v.CustomTraceLevel }).(pulumi.StringPtrOutput) +} + type AppMonitoringAppMonitoringAppMonitoringArrayOutput struct{ *pulumi.OutputState } func (AppMonitoringAppMonitoringAppMonitoringArrayOutput) ElementType() reflect.Type { @@ -34586,10 +34595,18 @@ func (o BrowserMonitorScriptConfigurationIgnoredErrorCodesPtrOutput) StatusCodes type BrowserMonitorScriptConfigurationJavascriptSetttings struct { // Additional Javascript Agent Properties CustomProperties *string `pulumi:"customProperties"` + // Capture fetch() requests + FetchRequests *bool `pulumi:"fetchRequests"` + // JavaScript error report + JavascriptErrors *bool `pulumi:"javascriptErrors"` + // Timed action support + TimedActions *bool `pulumi:"timedActions"` // Custom JavaScript Agent settings TimeoutSettings *BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings `pulumi:"timeoutSettings"` // Parameters for Visually complete and Speed index calculation VisuallyCompleteOptions *BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions `pulumi:"visuallyCompleteOptions"` + // Capture XMLHttpRequests (XHR) + XmlHttpRequests *bool `pulumi:"xmlHttpRequests"` } // BrowserMonitorScriptConfigurationJavascriptSetttingsInput is an input type that accepts BrowserMonitorScriptConfigurationJavascriptSetttingsArgs and BrowserMonitorScriptConfigurationJavascriptSetttingsOutput values. @@ -34606,10 +34623,18 @@ type BrowserMonitorScriptConfigurationJavascriptSetttingsInput interface { type BrowserMonitorScriptConfigurationJavascriptSetttingsArgs struct { // Additional Javascript Agent Properties CustomProperties pulumi.StringPtrInput `pulumi:"customProperties"` + // Capture fetch() requests + FetchRequests pulumi.BoolPtrInput `pulumi:"fetchRequests"` + // JavaScript error report + JavascriptErrors pulumi.BoolPtrInput `pulumi:"javascriptErrors"` + // Timed action support + TimedActions pulumi.BoolPtrInput `pulumi:"timedActions"` // Custom JavaScript Agent settings TimeoutSettings BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsPtrInput `pulumi:"timeoutSettings"` // Parameters for Visually complete and Speed index calculation VisuallyCompleteOptions BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptionsPtrInput `pulumi:"visuallyCompleteOptions"` + // Capture XMLHttpRequests (XHR) + XmlHttpRequests pulumi.BoolPtrInput `pulumi:"xmlHttpRequests"` } func (BrowserMonitorScriptConfigurationJavascriptSetttingsArgs) ElementType() reflect.Type { @@ -34694,6 +34719,21 @@ func (o BrowserMonitorScriptConfigurationJavascriptSetttingsOutput) CustomProper return o.ApplyT(func(v BrowserMonitorScriptConfigurationJavascriptSetttings) *string { return v.CustomProperties }).(pulumi.StringPtrOutput) } +// Capture fetch() requests +func (o BrowserMonitorScriptConfigurationJavascriptSetttingsOutput) FetchRequests() pulumi.BoolPtrOutput { + return o.ApplyT(func(v BrowserMonitorScriptConfigurationJavascriptSetttings) *bool { return v.FetchRequests }).(pulumi.BoolPtrOutput) +} + +// JavaScript error report +func (o BrowserMonitorScriptConfigurationJavascriptSetttingsOutput) JavascriptErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v BrowserMonitorScriptConfigurationJavascriptSetttings) *bool { return v.JavascriptErrors }).(pulumi.BoolPtrOutput) +} + +// Timed action support +func (o BrowserMonitorScriptConfigurationJavascriptSetttingsOutput) TimedActions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v BrowserMonitorScriptConfigurationJavascriptSetttings) *bool { return v.TimedActions }).(pulumi.BoolPtrOutput) +} + // Custom JavaScript Agent settings func (o BrowserMonitorScriptConfigurationJavascriptSetttingsOutput) TimeoutSettings() BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsPtrOutput { return o.ApplyT(func(v BrowserMonitorScriptConfigurationJavascriptSetttings) *BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings { @@ -34708,6 +34748,11 @@ func (o BrowserMonitorScriptConfigurationJavascriptSetttingsOutput) VisuallyComp }).(BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptionsPtrOutput) } +// Capture XMLHttpRequests (XHR) +func (o BrowserMonitorScriptConfigurationJavascriptSetttingsOutput) XmlHttpRequests() pulumi.BoolPtrOutput { + return o.ApplyT(func(v BrowserMonitorScriptConfigurationJavascriptSetttings) *bool { return v.XmlHttpRequests }).(pulumi.BoolPtrOutput) +} + type BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput struct{ *pulumi.OutputState } func (BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput) ElementType() reflect.Type { @@ -34742,6 +34787,36 @@ func (o BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput) CustomPro }).(pulumi.StringPtrOutput) } +// Capture fetch() requests +func (o BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput) FetchRequests() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *BrowserMonitorScriptConfigurationJavascriptSetttings) *bool { + if v == nil { + return nil + } + return v.FetchRequests + }).(pulumi.BoolPtrOutput) +} + +// JavaScript error report +func (o BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput) JavascriptErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *BrowserMonitorScriptConfigurationJavascriptSetttings) *bool { + if v == nil { + return nil + } + return v.JavascriptErrors + }).(pulumi.BoolPtrOutput) +} + +// Timed action support +func (o BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput) TimedActions() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *BrowserMonitorScriptConfigurationJavascriptSetttings) *bool { + if v == nil { + return nil + } + return v.TimedActions + }).(pulumi.BoolPtrOutput) +} + // Custom JavaScript Agent settings func (o BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput) TimeoutSettings() BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsPtrOutput { return o.ApplyT(func(v *BrowserMonitorScriptConfigurationJavascriptSetttings) *BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings { @@ -34762,6 +34837,16 @@ func (o BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput) VisuallyC }).(BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptionsPtrOutput) } +// Capture XMLHttpRequests (XHR) +func (o BrowserMonitorScriptConfigurationJavascriptSetttingsPtrOutput) XmlHttpRequests() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *BrowserMonitorScriptConfigurationJavascriptSetttings) *bool { + if v == nil { + return nil + } + return v.XmlHttpRequests + }).(pulumi.BoolPtrOutput) +} + type BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings struct { // Track up to n cascading setTimeout calls ActionLimit int `pulumi:"actionLimit"` diff --git a/sdk/go/dynatrace/pulumiTypes1.go b/sdk/go/dynatrace/pulumiTypes1.go index 75881fe5..4412b2f8 100644 --- a/sdk/go/dynatrace/pulumiTypes1.go +++ b/sdk/go/dynatrace/pulumiTypes1.go @@ -2798,6 +2798,8 @@ func (o DavisAnomalyDetectorsEventTemplatePropertiesPropertyArrayOutput) Index(i } type DavisAnomalyDetectorsExecutionSettings struct { + // UUID of a service user. Queries will be executed on behalf of the service user. + Actor *string `pulumi:"actor"` // Minute offset of sliding evaluation window for metrics with latency QueryOffset *int `pulumi:"queryOffset"` } @@ -2814,6 +2816,8 @@ type DavisAnomalyDetectorsExecutionSettingsInput interface { } type DavisAnomalyDetectorsExecutionSettingsArgs struct { + // UUID of a service user. Queries will be executed on behalf of the service user. + Actor pulumi.StringPtrInput `pulumi:"actor"` // Minute offset of sliding evaluation window for metrics with latency QueryOffset pulumi.IntPtrInput `pulumi:"queryOffset"` } @@ -2895,6 +2899,11 @@ func (o DavisAnomalyDetectorsExecutionSettingsOutput) ToDavisAnomalyDetectorsExe }).(DavisAnomalyDetectorsExecutionSettingsPtrOutput) } +// UUID of a service user. Queries will be executed on behalf of the service user. +func (o DavisAnomalyDetectorsExecutionSettingsOutput) Actor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DavisAnomalyDetectorsExecutionSettings) *string { return v.Actor }).(pulumi.StringPtrOutput) +} + // Minute offset of sliding evaluation window for metrics with latency func (o DavisAnomalyDetectorsExecutionSettingsOutput) QueryOffset() pulumi.IntPtrOutput { return o.ApplyT(func(v DavisAnomalyDetectorsExecutionSettings) *int { return v.QueryOffset }).(pulumi.IntPtrOutput) @@ -2924,6 +2933,16 @@ func (o DavisAnomalyDetectorsExecutionSettingsPtrOutput) Elem() DavisAnomalyDete }).(DavisAnomalyDetectorsExecutionSettingsOutput) } +// UUID of a service user. Queries will be executed on behalf of the service user. +func (o DavisAnomalyDetectorsExecutionSettingsPtrOutput) Actor() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DavisAnomalyDetectorsExecutionSettings) *string { + if v == nil { + return nil + } + return v.Actor + }).(pulumi.StringPtrOutput) +} + // Minute offset of sliding evaluation window for metrics with latency func (o DavisAnomalyDetectorsExecutionSettingsPtrOutput) QueryOffset() pulumi.IntPtrOutput { return o.ApplyT(func(v *DavisAnomalyDetectorsExecutionSettings) *int { @@ -5405,6 +5424,8 @@ func (o DiscoveryDefaultRulesRuleActionsPtrOutput) Actions() DiscoveryDefaultRul } type DiscoveryDefaultRulesRuleActionsAction struct { + // Instant action + InstantAction *bool `pulumi:"instantAction"` // no documentation available Name string `pulumi:"name"` // no documentation available @@ -5423,6 +5444,8 @@ type DiscoveryDefaultRulesRuleActionsActionInput interface { } type DiscoveryDefaultRulesRuleActionsActionArgs struct { + // Instant action + InstantAction pulumi.BoolPtrInput `pulumi:"instantAction"` // no documentation available Name pulumi.StringInput `pulumi:"name"` // no documentation available @@ -5480,6 +5503,11 @@ func (o DiscoveryDefaultRulesRuleActionsActionOutput) ToDiscoveryDefaultRulesRul return o } +// Instant action +func (o DiscoveryDefaultRulesRuleActionsActionOutput) InstantAction() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DiscoveryDefaultRulesRuleActionsAction) *bool { return v.InstantAction }).(pulumi.BoolPtrOutput) +} + // no documentation available func (o DiscoveryDefaultRulesRuleActionsActionOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v DiscoveryDefaultRulesRuleActionsAction) string { return v.Name }).(pulumi.StringOutput) @@ -54394,6 +54422,8 @@ func (o LogCustomSourceContextContextArrayOutput) Index(i pulumi.IntInput) LogCu type LogCustomSourceCustomLogSource struct { // Accept binary content AcceptBinary *bool `pulumi:"acceptBinary"` + // no documentation available + Encoding *string `pulumi:"encoding"` // Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` Type string `pulumi:"type"` // (Required attribute for cluster v1.291 and under) It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name. @@ -54416,6 +54446,8 @@ type LogCustomSourceCustomLogSourceInput interface { type LogCustomSourceCustomLogSourceArgs struct { // Accept binary content AcceptBinary pulumi.BoolPtrInput `pulumi:"acceptBinary"` + // no documentation available + Encoding pulumi.StringPtrInput `pulumi:"encoding"` // Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` Type pulumi.StringInput `pulumi:"type"` // (Required attribute for cluster v1.291 and under) It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name. @@ -54506,6 +54538,11 @@ func (o LogCustomSourceCustomLogSourceOutput) AcceptBinary() pulumi.BoolPtrOutpu return o.ApplyT(func(v LogCustomSourceCustomLogSource) *bool { return v.AcceptBinary }).(pulumi.BoolPtrOutput) } +// no documentation available +func (o LogCustomSourceCustomLogSourceOutput) Encoding() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogCustomSourceCustomLogSource) *string { return v.Encoding }).(pulumi.StringPtrOutput) +} + // Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` func (o LogCustomSourceCustomLogSourceOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v LogCustomSourceCustomLogSource) string { return v.Type }).(pulumi.StringOutput) @@ -54557,6 +54594,16 @@ func (o LogCustomSourceCustomLogSourcePtrOutput) AcceptBinary() pulumi.BoolPtrOu }).(pulumi.BoolPtrOutput) } +// no documentation available +func (o LogCustomSourceCustomLogSourcePtrOutput) Encoding() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogCustomSourceCustomLogSource) *string { + if v == nil { + return nil + } + return v.Encoding + }).(pulumi.StringPtrOutput) +} + // Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` func (o LogCustomSourceCustomLogSourcePtrOutput) Type() pulumi.StringPtrOutput { return o.ApplyT(func(v *LogCustomSourceCustomLogSource) *string { @@ -56336,7 +56383,7 @@ func (o LogSensitiveDataMaskingMatchersPtrOutput) Matchers() LogSensitiveDataMas } type LogSensitiveDataMaskingMatchersMatcher struct { - // Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` Attribute string `pulumi:"attribute"` // Possible Values: `MATCHES` Operator string `pulumi:"operator"` @@ -56356,7 +56403,7 @@ type LogSensitiveDataMaskingMatchersMatcherInput interface { } type LogSensitiveDataMaskingMatchersMatcherArgs struct { - // Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` Attribute pulumi.StringInput `pulumi:"attribute"` // Possible Values: `MATCHES` Operator pulumi.StringInput `pulumi:"operator"` @@ -56415,7 +56462,7 @@ func (o LogSensitiveDataMaskingMatchersMatcherOutput) ToLogSensitiveDataMaskingM return o } -// Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` +// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` func (o LogSensitiveDataMaskingMatchersMatcherOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v LogSensitiveDataMaskingMatchersMatcher) string { return v.Attribute }).(pulumi.StringOutput) } @@ -56584,7 +56631,7 @@ func (o LogStorageMatchersPtrOutput) Matchers() LogStorageMatchersMatcherArrayOu } type LogStorageMatchersMatcher struct { - // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` Attribute string `pulumi:"attribute"` // Possible Values: `MATCHES` Operator string `pulumi:"operator"` @@ -56604,7 +56651,7 @@ type LogStorageMatchersMatcherInput interface { } type LogStorageMatchersMatcherArgs struct { - // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` Attribute pulumi.StringInput `pulumi:"attribute"` // Possible Values: `MATCHES` Operator pulumi.StringInput `pulumi:"operator"` @@ -56663,7 +56710,7 @@ func (o LogStorageMatchersMatcherOutput) ToLogStorageMatchersMatcherOutputWithCo return o } -// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` +// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` func (o LogStorageMatchersMatcherOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v LogStorageMatchersMatcher) string { return v.Attribute }).(pulumi.StringOutput) } @@ -56969,7 +57016,7 @@ func (o LogTimestampMatchersPtrOutput) Matchers() LogTimestampMatchersMatcherArr } type LogTimestampMatchersMatcher struct { - // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` Attribute string `pulumi:"attribute"` // Possible Values: `MATCHES` Operator string `pulumi:"operator"` @@ -56989,7 +57036,7 @@ type LogTimestampMatchersMatcherInput interface { } type LogTimestampMatchersMatcherArgs struct { - // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + // Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` Attribute pulumi.StringInput `pulumi:"attribute"` // Possible Values: `MATCHES` Operator pulumi.StringInput `pulumi:"operator"` @@ -57048,7 +57095,7 @@ func (o LogTimestampMatchersMatcherOutput) ToLogTimestampMatchersMatcherOutputWi return o } -// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` +// Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` func (o LogTimestampMatchersMatcherOutput) Attribute() pulumi.StringOutput { return o.ApplyT(func(v LogTimestampMatchersMatcher) string { return v.Attribute }).(pulumi.StringOutput) } diff --git a/sdk/go/dynatrace/pulumiTypes3.go b/sdk/go/dynatrace/pulumiTypes3.go index 90e75d21..68ed5240 100644 --- a/sdk/go/dynatrace/pulumiTypes3.go +++ b/sdk/go/dynatrace/pulumiTypes3.go @@ -21722,6 +21722,8 @@ type SiteReliabilityGuardianObjectivesObjective struct { ComparisonOperator string `pulumi:"comparisonOperator"` // no documentation available Description *string `pulumi:"description"` + // Display Unit + DisplayUnit *SiteReliabilityGuardianObjectivesObjectiveDisplayUnit `pulumi:"displayUnit"` // DQL query DqlQuery *string `pulumi:"dqlQuery"` // Objective name @@ -21754,6 +21756,8 @@ type SiteReliabilityGuardianObjectivesObjectiveArgs struct { ComparisonOperator pulumi.StringInput `pulumi:"comparisonOperator"` // no documentation available Description pulumi.StringPtrInput `pulumi:"description"` + // Display Unit + DisplayUnit SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrInput `pulumi:"displayUnit"` // DQL query DqlQuery pulumi.StringPtrInput `pulumi:"dqlQuery"` // Objective name @@ -21834,6 +21838,13 @@ func (o SiteReliabilityGuardianObjectivesObjectiveOutput) Description() pulumi.S return o.ApplyT(func(v SiteReliabilityGuardianObjectivesObjective) *string { return v.Description }).(pulumi.StringPtrOutput) } +// Display Unit +func (o SiteReliabilityGuardianObjectivesObjectiveOutput) DisplayUnit() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return o.ApplyT(func(v SiteReliabilityGuardianObjectivesObjective) *SiteReliabilityGuardianObjectivesObjectiveDisplayUnit { + return v.DisplayUnit + }).(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) +} + // DQL query func (o SiteReliabilityGuardianObjectivesObjectiveOutput) DqlQuery() pulumi.StringPtrOutput { return o.ApplyT(func(v SiteReliabilityGuardianObjectivesObjective) *string { return v.DqlQuery }).(pulumi.StringPtrOutput) @@ -21884,6 +21895,181 @@ func (o SiteReliabilityGuardianObjectivesObjectiveArrayOutput) Index(i pulumi.In }).(SiteReliabilityGuardianObjectivesObjectiveOutput) } +type SiteReliabilityGuardianObjectivesObjectiveDisplayUnit struct { + // Base Unit + Base string `pulumi:"base"` + // Decimals + Decimals int `pulumi:"decimals"` + // display as unit + Display string `pulumi:"display"` +} + +// SiteReliabilityGuardianObjectivesObjectiveDisplayUnitInput is an input type that accepts SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs and SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput values. +// You can construct a concrete instance of `SiteReliabilityGuardianObjectivesObjectiveDisplayUnitInput` via: +// +// SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs{...} +type SiteReliabilityGuardianObjectivesObjectiveDisplayUnitInput interface { + pulumi.Input + + ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput + ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutputWithContext(context.Context) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput +} + +type SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs struct { + // Base Unit + Base pulumi.StringInput `pulumi:"base"` + // Decimals + Decimals pulumi.IntInput `pulumi:"decimals"` + // display as unit + Display pulumi.StringInput `pulumi:"display"` +} + +func (SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SiteReliabilityGuardianObjectivesObjectiveDisplayUnit)(nil)).Elem() +} + +func (i SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput { + return i.ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutputWithContext(context.Background()) +} + +func (i SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutputWithContext(ctx context.Context) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput { + return pulumi.ToOutputWithContext(ctx, i).(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) +} + +func (i SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return i.ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(context.Background()) +} + +func (i SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(ctx context.Context) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput).ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(ctx) +} + +// SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrInput is an input type that accepts SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs, SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtr and SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput values. +// You can construct a concrete instance of `SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrInput` via: +// +// SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs{...} +// +// or: +// +// nil +type SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrInput interface { + pulumi.Input + + ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput + ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(context.Context) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput +} + +type siteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrType SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs + +func SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtr(v *SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrInput { + return (*siteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrType)(v) +} + +func (*siteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SiteReliabilityGuardianObjectivesObjectiveDisplayUnit)(nil)).Elem() +} + +func (i *siteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrType) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return i.ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(context.Background()) +} + +func (i *siteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrType) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(ctx context.Context) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) +} + +type SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput struct{ *pulumi.OutputState } + +func (SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SiteReliabilityGuardianObjectivesObjectiveDisplayUnit)(nil)).Elem() +} + +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput { + return o +} + +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutputWithContext(ctx context.Context) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput { + return o +} + +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return o.ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(context.Background()) +} + +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(ctx context.Context) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SiteReliabilityGuardianObjectivesObjectiveDisplayUnit) *SiteReliabilityGuardianObjectivesObjectiveDisplayUnit { + return &v + }).(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) +} + +// Base Unit +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) Base() pulumi.StringOutput { + return o.ApplyT(func(v SiteReliabilityGuardianObjectivesObjectiveDisplayUnit) string { return v.Base }).(pulumi.StringOutput) +} + +// Decimals +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) Decimals() pulumi.IntOutput { + return o.ApplyT(func(v SiteReliabilityGuardianObjectivesObjectiveDisplayUnit) int { return v.Decimals }).(pulumi.IntOutput) +} + +// display as unit +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) Display() pulumi.StringOutput { + return o.ApplyT(func(v SiteReliabilityGuardianObjectivesObjectiveDisplayUnit) string { return v.Display }).(pulumi.StringOutput) +} + +type SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput struct{ *pulumi.OutputState } + +func (SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SiteReliabilityGuardianObjectivesObjectiveDisplayUnit)(nil)).Elem() +} + +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return o +} + +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) ToSiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutputWithContext(ctx context.Context) SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput { + return o +} + +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) Elem() SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput { + return o.ApplyT(func(v *SiteReliabilityGuardianObjectivesObjectiveDisplayUnit) SiteReliabilityGuardianObjectivesObjectiveDisplayUnit { + if v != nil { + return *v + } + var ret SiteReliabilityGuardianObjectivesObjectiveDisplayUnit + return ret + }).(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput) +} + +// Base Unit +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) Base() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SiteReliabilityGuardianObjectivesObjectiveDisplayUnit) *string { + if v == nil { + return nil + } + return &v.Base + }).(pulumi.StringPtrOutput) +} + +// Decimals +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) Decimals() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SiteReliabilityGuardianObjectivesObjectiveDisplayUnit) *int { + if v == nil { + return nil + } + return &v.Decimals + }).(pulumi.IntPtrOutput) +} + +// display as unit +func (o SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput) Display() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SiteReliabilityGuardianObjectivesObjectiveDisplayUnit) *string { + if v == nil { + return nil + } + return &v.Display + }).(pulumi.StringPtrOutput) +} + type SiteReliabilityGuardianVariables struct { Variables []SiteReliabilityGuardianVariablesVariable `pulumi:"variables"` } @@ -33158,6 +33344,455 @@ func (o WebAppAnomaliesTrafficSpikesTrafficSpikesPtrOutput) TrafficSpikePercenta }).(pulumi.Float64PtrOutput) } +type WebAppAutoInjectionCacheControlHeaders struct { + // [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + CacheControlHeaders bool `pulumi:"cacheControlHeaders"` +} + +// WebAppAutoInjectionCacheControlHeadersInput is an input type that accepts WebAppAutoInjectionCacheControlHeadersArgs and WebAppAutoInjectionCacheControlHeadersOutput values. +// You can construct a concrete instance of `WebAppAutoInjectionCacheControlHeadersInput` via: +// +// WebAppAutoInjectionCacheControlHeadersArgs{...} +type WebAppAutoInjectionCacheControlHeadersInput interface { + pulumi.Input + + ToWebAppAutoInjectionCacheControlHeadersOutput() WebAppAutoInjectionCacheControlHeadersOutput + ToWebAppAutoInjectionCacheControlHeadersOutputWithContext(context.Context) WebAppAutoInjectionCacheControlHeadersOutput +} + +type WebAppAutoInjectionCacheControlHeadersArgs struct { + // [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + CacheControlHeaders pulumi.BoolInput `pulumi:"cacheControlHeaders"` +} + +func (WebAppAutoInjectionCacheControlHeadersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*WebAppAutoInjectionCacheControlHeaders)(nil)).Elem() +} + +func (i WebAppAutoInjectionCacheControlHeadersArgs) ToWebAppAutoInjectionCacheControlHeadersOutput() WebAppAutoInjectionCacheControlHeadersOutput { + return i.ToWebAppAutoInjectionCacheControlHeadersOutputWithContext(context.Background()) +} + +func (i WebAppAutoInjectionCacheControlHeadersArgs) ToWebAppAutoInjectionCacheControlHeadersOutputWithContext(ctx context.Context) WebAppAutoInjectionCacheControlHeadersOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionCacheControlHeadersOutput) +} + +func (i WebAppAutoInjectionCacheControlHeadersArgs) ToWebAppAutoInjectionCacheControlHeadersPtrOutput() WebAppAutoInjectionCacheControlHeadersPtrOutput { + return i.ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(context.Background()) +} + +func (i WebAppAutoInjectionCacheControlHeadersArgs) ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionCacheControlHeadersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionCacheControlHeadersOutput).ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(ctx) +} + +// WebAppAutoInjectionCacheControlHeadersPtrInput is an input type that accepts WebAppAutoInjectionCacheControlHeadersArgs, WebAppAutoInjectionCacheControlHeadersPtr and WebAppAutoInjectionCacheControlHeadersPtrOutput values. +// You can construct a concrete instance of `WebAppAutoInjectionCacheControlHeadersPtrInput` via: +// +// WebAppAutoInjectionCacheControlHeadersArgs{...} +// +// or: +// +// nil +type WebAppAutoInjectionCacheControlHeadersPtrInput interface { + pulumi.Input + + ToWebAppAutoInjectionCacheControlHeadersPtrOutput() WebAppAutoInjectionCacheControlHeadersPtrOutput + ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(context.Context) WebAppAutoInjectionCacheControlHeadersPtrOutput +} + +type webAppAutoInjectionCacheControlHeadersPtrType WebAppAutoInjectionCacheControlHeadersArgs + +func WebAppAutoInjectionCacheControlHeadersPtr(v *WebAppAutoInjectionCacheControlHeadersArgs) WebAppAutoInjectionCacheControlHeadersPtrInput { + return (*webAppAutoInjectionCacheControlHeadersPtrType)(v) +} + +func (*webAppAutoInjectionCacheControlHeadersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**WebAppAutoInjectionCacheControlHeaders)(nil)).Elem() +} + +func (i *webAppAutoInjectionCacheControlHeadersPtrType) ToWebAppAutoInjectionCacheControlHeadersPtrOutput() WebAppAutoInjectionCacheControlHeadersPtrOutput { + return i.ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(context.Background()) +} + +func (i *webAppAutoInjectionCacheControlHeadersPtrType) ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionCacheControlHeadersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionCacheControlHeadersPtrOutput) +} + +type WebAppAutoInjectionCacheControlHeadersOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionCacheControlHeadersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*WebAppAutoInjectionCacheControlHeaders)(nil)).Elem() +} + +func (o WebAppAutoInjectionCacheControlHeadersOutput) ToWebAppAutoInjectionCacheControlHeadersOutput() WebAppAutoInjectionCacheControlHeadersOutput { + return o +} + +func (o WebAppAutoInjectionCacheControlHeadersOutput) ToWebAppAutoInjectionCacheControlHeadersOutputWithContext(ctx context.Context) WebAppAutoInjectionCacheControlHeadersOutput { + return o +} + +func (o WebAppAutoInjectionCacheControlHeadersOutput) ToWebAppAutoInjectionCacheControlHeadersPtrOutput() WebAppAutoInjectionCacheControlHeadersPtrOutput { + return o.ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(context.Background()) +} + +func (o WebAppAutoInjectionCacheControlHeadersOutput) ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionCacheControlHeadersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v WebAppAutoInjectionCacheControlHeaders) *WebAppAutoInjectionCacheControlHeaders { + return &v + }).(WebAppAutoInjectionCacheControlHeadersPtrOutput) +} + +// [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) +func (o WebAppAutoInjectionCacheControlHeadersOutput) CacheControlHeaders() pulumi.BoolOutput { + return o.ApplyT(func(v WebAppAutoInjectionCacheControlHeaders) bool { return v.CacheControlHeaders }).(pulumi.BoolOutput) +} + +type WebAppAutoInjectionCacheControlHeadersPtrOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionCacheControlHeadersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**WebAppAutoInjectionCacheControlHeaders)(nil)).Elem() +} + +func (o WebAppAutoInjectionCacheControlHeadersPtrOutput) ToWebAppAutoInjectionCacheControlHeadersPtrOutput() WebAppAutoInjectionCacheControlHeadersPtrOutput { + return o +} + +func (o WebAppAutoInjectionCacheControlHeadersPtrOutput) ToWebAppAutoInjectionCacheControlHeadersPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionCacheControlHeadersPtrOutput { + return o +} + +func (o WebAppAutoInjectionCacheControlHeadersPtrOutput) Elem() WebAppAutoInjectionCacheControlHeadersOutput { + return o.ApplyT(func(v *WebAppAutoInjectionCacheControlHeaders) WebAppAutoInjectionCacheControlHeaders { + if v != nil { + return *v + } + var ret WebAppAutoInjectionCacheControlHeaders + return ret + }).(WebAppAutoInjectionCacheControlHeadersOutput) +} + +// [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) +func (o WebAppAutoInjectionCacheControlHeadersPtrOutput) CacheControlHeaders() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *WebAppAutoInjectionCacheControlHeaders) *bool { + if v == nil { + return nil + } + return &v.CacheControlHeaders + }).(pulumi.BoolPtrOutput) +} + +type WebAppAutoInjectionMonitoringCodeSourceSection struct { + // Real User Monitoring code source + CodeSource string `pulumi:"codeSource"` + // Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + MonitoringCodePath *string `pulumi:"monitoringCodePath"` +} + +// WebAppAutoInjectionMonitoringCodeSourceSectionInput is an input type that accepts WebAppAutoInjectionMonitoringCodeSourceSectionArgs and WebAppAutoInjectionMonitoringCodeSourceSectionOutput values. +// You can construct a concrete instance of `WebAppAutoInjectionMonitoringCodeSourceSectionInput` via: +// +// WebAppAutoInjectionMonitoringCodeSourceSectionArgs{...} +type WebAppAutoInjectionMonitoringCodeSourceSectionInput interface { + pulumi.Input + + ToWebAppAutoInjectionMonitoringCodeSourceSectionOutput() WebAppAutoInjectionMonitoringCodeSourceSectionOutput + ToWebAppAutoInjectionMonitoringCodeSourceSectionOutputWithContext(context.Context) WebAppAutoInjectionMonitoringCodeSourceSectionOutput +} + +type WebAppAutoInjectionMonitoringCodeSourceSectionArgs struct { + // Real User Monitoring code source + CodeSource pulumi.StringInput `pulumi:"codeSource"` + // Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + MonitoringCodePath pulumi.StringPtrInput `pulumi:"monitoringCodePath"` +} + +func (WebAppAutoInjectionMonitoringCodeSourceSectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*WebAppAutoInjectionMonitoringCodeSourceSection)(nil)).Elem() +} + +func (i WebAppAutoInjectionMonitoringCodeSourceSectionArgs) ToWebAppAutoInjectionMonitoringCodeSourceSectionOutput() WebAppAutoInjectionMonitoringCodeSourceSectionOutput { + return i.ToWebAppAutoInjectionMonitoringCodeSourceSectionOutputWithContext(context.Background()) +} + +func (i WebAppAutoInjectionMonitoringCodeSourceSectionArgs) ToWebAppAutoInjectionMonitoringCodeSourceSectionOutputWithContext(ctx context.Context) WebAppAutoInjectionMonitoringCodeSourceSectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionMonitoringCodeSourceSectionOutput) +} + +func (i WebAppAutoInjectionMonitoringCodeSourceSectionArgs) ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput() WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput { + return i.ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(context.Background()) +} + +func (i WebAppAutoInjectionMonitoringCodeSourceSectionArgs) ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionMonitoringCodeSourceSectionOutput).ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(ctx) +} + +// WebAppAutoInjectionMonitoringCodeSourceSectionPtrInput is an input type that accepts WebAppAutoInjectionMonitoringCodeSourceSectionArgs, WebAppAutoInjectionMonitoringCodeSourceSectionPtr and WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput values. +// You can construct a concrete instance of `WebAppAutoInjectionMonitoringCodeSourceSectionPtrInput` via: +// +// WebAppAutoInjectionMonitoringCodeSourceSectionArgs{...} +// +// or: +// +// nil +type WebAppAutoInjectionMonitoringCodeSourceSectionPtrInput interface { + pulumi.Input + + ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput() WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput + ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(context.Context) WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput +} + +type webAppAutoInjectionMonitoringCodeSourceSectionPtrType WebAppAutoInjectionMonitoringCodeSourceSectionArgs + +func WebAppAutoInjectionMonitoringCodeSourceSectionPtr(v *WebAppAutoInjectionMonitoringCodeSourceSectionArgs) WebAppAutoInjectionMonitoringCodeSourceSectionPtrInput { + return (*webAppAutoInjectionMonitoringCodeSourceSectionPtrType)(v) +} + +func (*webAppAutoInjectionMonitoringCodeSourceSectionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**WebAppAutoInjectionMonitoringCodeSourceSection)(nil)).Elem() +} + +func (i *webAppAutoInjectionMonitoringCodeSourceSectionPtrType) ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput() WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput { + return i.ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(context.Background()) +} + +func (i *webAppAutoInjectionMonitoringCodeSourceSectionPtrType) ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput) +} + +type WebAppAutoInjectionMonitoringCodeSourceSectionOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionMonitoringCodeSourceSectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*WebAppAutoInjectionMonitoringCodeSourceSection)(nil)).Elem() +} + +func (o WebAppAutoInjectionMonitoringCodeSourceSectionOutput) ToWebAppAutoInjectionMonitoringCodeSourceSectionOutput() WebAppAutoInjectionMonitoringCodeSourceSectionOutput { + return o +} + +func (o WebAppAutoInjectionMonitoringCodeSourceSectionOutput) ToWebAppAutoInjectionMonitoringCodeSourceSectionOutputWithContext(ctx context.Context) WebAppAutoInjectionMonitoringCodeSourceSectionOutput { + return o +} + +func (o WebAppAutoInjectionMonitoringCodeSourceSectionOutput) ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput() WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput { + return o.ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(context.Background()) +} + +func (o WebAppAutoInjectionMonitoringCodeSourceSectionOutput) ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v WebAppAutoInjectionMonitoringCodeSourceSection) *WebAppAutoInjectionMonitoringCodeSourceSection { + return &v + }).(WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput) +} + +// Real User Monitoring code source +func (o WebAppAutoInjectionMonitoringCodeSourceSectionOutput) CodeSource() pulumi.StringOutput { + return o.ApplyT(func(v WebAppAutoInjectionMonitoringCodeSourceSection) string { return v.CodeSource }).(pulumi.StringOutput) +} + +// Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. +func (o WebAppAutoInjectionMonitoringCodeSourceSectionOutput) MonitoringCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v WebAppAutoInjectionMonitoringCodeSourceSection) *string { return v.MonitoringCodePath }).(pulumi.StringPtrOutput) +} + +type WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**WebAppAutoInjectionMonitoringCodeSourceSection)(nil)).Elem() +} + +func (o WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput) ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput() WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput { + return o +} + +func (o WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput) ToWebAppAutoInjectionMonitoringCodeSourceSectionPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput { + return o +} + +func (o WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput) Elem() WebAppAutoInjectionMonitoringCodeSourceSectionOutput { + return o.ApplyT(func(v *WebAppAutoInjectionMonitoringCodeSourceSection) WebAppAutoInjectionMonitoringCodeSourceSection { + if v != nil { + return *v + } + var ret WebAppAutoInjectionMonitoringCodeSourceSection + return ret + }).(WebAppAutoInjectionMonitoringCodeSourceSectionOutput) +} + +// Real User Monitoring code source +func (o WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput) CodeSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WebAppAutoInjectionMonitoringCodeSourceSection) *string { + if v == nil { + return nil + } + return &v.CodeSource + }).(pulumi.StringPtrOutput) +} + +// Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. +func (o WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput) MonitoringCodePath() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WebAppAutoInjectionMonitoringCodeSourceSection) *string { + if v == nil { + return nil + } + return v.MonitoringCodePath + }).(pulumi.StringPtrOutput) +} + +type WebAppAutoInjectionSnippetFormat struct { + // Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + CodeSnippetType *string `pulumi:"codeSnippetType"` + // Snippet format + SnippetFormat string `pulumi:"snippetFormat"` +} + +// WebAppAutoInjectionSnippetFormatInput is an input type that accepts WebAppAutoInjectionSnippetFormatArgs and WebAppAutoInjectionSnippetFormatOutput values. +// You can construct a concrete instance of `WebAppAutoInjectionSnippetFormatInput` via: +// +// WebAppAutoInjectionSnippetFormatArgs{...} +type WebAppAutoInjectionSnippetFormatInput interface { + pulumi.Input + + ToWebAppAutoInjectionSnippetFormatOutput() WebAppAutoInjectionSnippetFormatOutput + ToWebAppAutoInjectionSnippetFormatOutputWithContext(context.Context) WebAppAutoInjectionSnippetFormatOutput +} + +type WebAppAutoInjectionSnippetFormatArgs struct { + // Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + CodeSnippetType pulumi.StringPtrInput `pulumi:"codeSnippetType"` + // Snippet format + SnippetFormat pulumi.StringInput `pulumi:"snippetFormat"` +} + +func (WebAppAutoInjectionSnippetFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*WebAppAutoInjectionSnippetFormat)(nil)).Elem() +} + +func (i WebAppAutoInjectionSnippetFormatArgs) ToWebAppAutoInjectionSnippetFormatOutput() WebAppAutoInjectionSnippetFormatOutput { + return i.ToWebAppAutoInjectionSnippetFormatOutputWithContext(context.Background()) +} + +func (i WebAppAutoInjectionSnippetFormatArgs) ToWebAppAutoInjectionSnippetFormatOutputWithContext(ctx context.Context) WebAppAutoInjectionSnippetFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionSnippetFormatOutput) +} + +func (i WebAppAutoInjectionSnippetFormatArgs) ToWebAppAutoInjectionSnippetFormatPtrOutput() WebAppAutoInjectionSnippetFormatPtrOutput { + return i.ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(context.Background()) +} + +func (i WebAppAutoInjectionSnippetFormatArgs) ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionSnippetFormatPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionSnippetFormatOutput).ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(ctx) +} + +// WebAppAutoInjectionSnippetFormatPtrInput is an input type that accepts WebAppAutoInjectionSnippetFormatArgs, WebAppAutoInjectionSnippetFormatPtr and WebAppAutoInjectionSnippetFormatPtrOutput values. +// You can construct a concrete instance of `WebAppAutoInjectionSnippetFormatPtrInput` via: +// +// WebAppAutoInjectionSnippetFormatArgs{...} +// +// or: +// +// nil +type WebAppAutoInjectionSnippetFormatPtrInput interface { + pulumi.Input + + ToWebAppAutoInjectionSnippetFormatPtrOutput() WebAppAutoInjectionSnippetFormatPtrOutput + ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(context.Context) WebAppAutoInjectionSnippetFormatPtrOutput +} + +type webAppAutoInjectionSnippetFormatPtrType WebAppAutoInjectionSnippetFormatArgs + +func WebAppAutoInjectionSnippetFormatPtr(v *WebAppAutoInjectionSnippetFormatArgs) WebAppAutoInjectionSnippetFormatPtrInput { + return (*webAppAutoInjectionSnippetFormatPtrType)(v) +} + +func (*webAppAutoInjectionSnippetFormatPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**WebAppAutoInjectionSnippetFormat)(nil)).Elem() +} + +func (i *webAppAutoInjectionSnippetFormatPtrType) ToWebAppAutoInjectionSnippetFormatPtrOutput() WebAppAutoInjectionSnippetFormatPtrOutput { + return i.ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(context.Background()) +} + +func (i *webAppAutoInjectionSnippetFormatPtrType) ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionSnippetFormatPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionSnippetFormatPtrOutput) +} + +type WebAppAutoInjectionSnippetFormatOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionSnippetFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*WebAppAutoInjectionSnippetFormat)(nil)).Elem() +} + +func (o WebAppAutoInjectionSnippetFormatOutput) ToWebAppAutoInjectionSnippetFormatOutput() WebAppAutoInjectionSnippetFormatOutput { + return o +} + +func (o WebAppAutoInjectionSnippetFormatOutput) ToWebAppAutoInjectionSnippetFormatOutputWithContext(ctx context.Context) WebAppAutoInjectionSnippetFormatOutput { + return o +} + +func (o WebAppAutoInjectionSnippetFormatOutput) ToWebAppAutoInjectionSnippetFormatPtrOutput() WebAppAutoInjectionSnippetFormatPtrOutput { + return o.ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(context.Background()) +} + +func (o WebAppAutoInjectionSnippetFormatOutput) ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionSnippetFormatPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v WebAppAutoInjectionSnippetFormat) *WebAppAutoInjectionSnippetFormat { + return &v + }).(WebAppAutoInjectionSnippetFormatPtrOutput) +} + +// Possible Values: `DEFERRED`, `SYNCHRONOUSLY` +func (o WebAppAutoInjectionSnippetFormatOutput) CodeSnippetType() pulumi.StringPtrOutput { + return o.ApplyT(func(v WebAppAutoInjectionSnippetFormat) *string { return v.CodeSnippetType }).(pulumi.StringPtrOutput) +} + +// Snippet format +func (o WebAppAutoInjectionSnippetFormatOutput) SnippetFormat() pulumi.StringOutput { + return o.ApplyT(func(v WebAppAutoInjectionSnippetFormat) string { return v.SnippetFormat }).(pulumi.StringOutput) +} + +type WebAppAutoInjectionSnippetFormatPtrOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionSnippetFormatPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**WebAppAutoInjectionSnippetFormat)(nil)).Elem() +} + +func (o WebAppAutoInjectionSnippetFormatPtrOutput) ToWebAppAutoInjectionSnippetFormatPtrOutput() WebAppAutoInjectionSnippetFormatPtrOutput { + return o +} + +func (o WebAppAutoInjectionSnippetFormatPtrOutput) ToWebAppAutoInjectionSnippetFormatPtrOutputWithContext(ctx context.Context) WebAppAutoInjectionSnippetFormatPtrOutput { + return o +} + +func (o WebAppAutoInjectionSnippetFormatPtrOutput) Elem() WebAppAutoInjectionSnippetFormatOutput { + return o.ApplyT(func(v *WebAppAutoInjectionSnippetFormat) WebAppAutoInjectionSnippetFormat { + if v != nil { + return *v + } + var ret WebAppAutoInjectionSnippetFormat + return ret + }).(WebAppAutoInjectionSnippetFormatOutput) +} + +// Possible Values: `DEFERRED`, `SYNCHRONOUSLY` +func (o WebAppAutoInjectionSnippetFormatPtrOutput) CodeSnippetType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WebAppAutoInjectionSnippetFormat) *string { + if v == nil { + return nil + } + return v.CodeSnippetType + }).(pulumi.StringPtrOutput) +} + +// Snippet format +func (o WebAppAutoInjectionSnippetFormatPtrOutput) SnippetFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *WebAppAutoInjectionSnippetFormat) *string { + if v == nil { + return nil + } + return &v.SnippetFormat + }).(pulumi.StringPtrOutput) +} + type WebAppCustomErrorsErrorRules struct { ErrorRules []WebAppCustomErrorsErrorRulesErrorRule `pulumi:"errorRules"` } @@ -48164,6 +48799,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SiteReliabilityGuardianObjectivesPtrInput)(nil)).Elem(), SiteReliabilityGuardianObjectivesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SiteReliabilityGuardianObjectivesObjectiveInput)(nil)).Elem(), SiteReliabilityGuardianObjectivesObjectiveArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SiteReliabilityGuardianObjectivesObjectiveArrayInput)(nil)).Elem(), SiteReliabilityGuardianObjectivesObjectiveArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SiteReliabilityGuardianObjectivesObjectiveDisplayUnitInput)(nil)).Elem(), SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrInput)(nil)).Elem(), SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SiteReliabilityGuardianVariablesInput)(nil)).Elem(), SiteReliabilityGuardianVariablesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SiteReliabilityGuardianVariablesPtrInput)(nil)).Elem(), SiteReliabilityGuardianVariablesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SiteReliabilityGuardianVariablesVariableInput)(nil)).Elem(), SiteReliabilityGuardianVariablesVariableArgs{}) @@ -48306,6 +48943,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*WebAppAnomaliesTrafficSpikesPtrInput)(nil)).Elem(), WebAppAnomaliesTrafficSpikesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WebAppAnomaliesTrafficSpikesTrafficSpikesInput)(nil)).Elem(), WebAppAnomaliesTrafficSpikesTrafficSpikesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WebAppAnomaliesTrafficSpikesTrafficSpikesPtrInput)(nil)).Elem(), WebAppAnomaliesTrafficSpikesTrafficSpikesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionCacheControlHeadersInput)(nil)).Elem(), WebAppAutoInjectionCacheControlHeadersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionCacheControlHeadersPtrInput)(nil)).Elem(), WebAppAutoInjectionCacheControlHeadersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionMonitoringCodeSourceSectionInput)(nil)).Elem(), WebAppAutoInjectionMonitoringCodeSourceSectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionMonitoringCodeSourceSectionPtrInput)(nil)).Elem(), WebAppAutoInjectionMonitoringCodeSourceSectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionSnippetFormatInput)(nil)).Elem(), WebAppAutoInjectionSnippetFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionSnippetFormatPtrInput)(nil)).Elem(), WebAppAutoInjectionSnippetFormatArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WebAppCustomErrorsErrorRulesInput)(nil)).Elem(), WebAppCustomErrorsErrorRulesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WebAppCustomErrorsErrorRulesPtrInput)(nil)).Elem(), WebAppCustomErrorsErrorRulesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*WebAppCustomErrorsErrorRulesErrorRuleInput)(nil)).Elem(), WebAppCustomErrorsErrorRulesErrorRuleArgs{}) @@ -48765,6 +49408,8 @@ func init() { pulumi.RegisterOutputType(SiteReliabilityGuardianObjectivesPtrOutput{}) pulumi.RegisterOutputType(SiteReliabilityGuardianObjectivesObjectiveOutput{}) pulumi.RegisterOutputType(SiteReliabilityGuardianObjectivesObjectiveArrayOutput{}) + pulumi.RegisterOutputType(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitOutput{}) + pulumi.RegisterOutputType(SiteReliabilityGuardianObjectivesObjectiveDisplayUnitPtrOutput{}) pulumi.RegisterOutputType(SiteReliabilityGuardianVariablesOutput{}) pulumi.RegisterOutputType(SiteReliabilityGuardianVariablesPtrOutput{}) pulumi.RegisterOutputType(SiteReliabilityGuardianVariablesVariableOutput{}) @@ -48907,6 +49552,12 @@ func init() { pulumi.RegisterOutputType(WebAppAnomaliesTrafficSpikesPtrOutput{}) pulumi.RegisterOutputType(WebAppAnomaliesTrafficSpikesTrafficSpikesOutput{}) pulumi.RegisterOutputType(WebAppAnomaliesTrafficSpikesTrafficSpikesPtrOutput{}) + pulumi.RegisterOutputType(WebAppAutoInjectionCacheControlHeadersOutput{}) + pulumi.RegisterOutputType(WebAppAutoInjectionCacheControlHeadersPtrOutput{}) + pulumi.RegisterOutputType(WebAppAutoInjectionMonitoringCodeSourceSectionOutput{}) + pulumi.RegisterOutputType(WebAppAutoInjectionMonitoringCodeSourceSectionPtrOutput{}) + pulumi.RegisterOutputType(WebAppAutoInjectionSnippetFormatOutput{}) + pulumi.RegisterOutputType(WebAppAutoInjectionSnippetFormatPtrOutput{}) pulumi.RegisterOutputType(WebAppCustomErrorsErrorRulesOutput{}) pulumi.RegisterOutputType(WebAppCustomErrorsErrorRulesPtrOutput{}) pulumi.RegisterOutputType(WebAppCustomErrorsErrorRulesErrorRuleOutput{}) diff --git a/sdk/go/dynatrace/webAppAutoInjection.go b/sdk/go/dynatrace/webAppAutoInjection.go new file mode 100644 index 00000000..308586b1 --- /dev/null +++ b/sdk/go/dynatrace/webAppAutoInjection.go @@ -0,0 +1,276 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package dynatrace + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace/internal" +) + +type WebAppAutoInjection struct { + pulumi.CustomResourceState + + // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + ApplicationId pulumi.StringOutput `pulumi:"applicationId"` + // Cache control headers + CacheControlHeaders WebAppAutoInjectionCacheControlHeadersOutput `pulumi:"cacheControlHeaders"` + // Real User Monitoring code source + MonitoringCodeSourceSection WebAppAutoInjectionMonitoringCodeSourceSectionOutput `pulumi:"monitoringCodeSourceSection"` + // *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + SnippetFormat WebAppAutoInjectionSnippetFormatOutput `pulumi:"snippetFormat"` +} + +// NewWebAppAutoInjection registers a new resource with the given unique name, arguments, and options. +func NewWebAppAutoInjection(ctx *pulumi.Context, + name string, args *WebAppAutoInjectionArgs, opts ...pulumi.ResourceOption) (*WebAppAutoInjection, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ApplicationId == nil { + return nil, errors.New("invalid value for required argument 'ApplicationId'") + } + if args.CacheControlHeaders == nil { + return nil, errors.New("invalid value for required argument 'CacheControlHeaders'") + } + if args.MonitoringCodeSourceSection == nil { + return nil, errors.New("invalid value for required argument 'MonitoringCodeSourceSection'") + } + if args.SnippetFormat == nil { + return nil, errors.New("invalid value for required argument 'SnippetFormat'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource WebAppAutoInjection + err := ctx.RegisterResource("dynatrace:index/webAppAutoInjection:WebAppAutoInjection", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetWebAppAutoInjection gets an existing WebAppAutoInjection resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetWebAppAutoInjection(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *WebAppAutoInjectionState, opts ...pulumi.ResourceOption) (*WebAppAutoInjection, error) { + var resource WebAppAutoInjection + err := ctx.ReadResource("dynatrace:index/webAppAutoInjection:WebAppAutoInjection", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering WebAppAutoInjection resources. +type webAppAutoInjectionState struct { + // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + ApplicationId *string `pulumi:"applicationId"` + // Cache control headers + CacheControlHeaders *WebAppAutoInjectionCacheControlHeaders `pulumi:"cacheControlHeaders"` + // Real User Monitoring code source + MonitoringCodeSourceSection *WebAppAutoInjectionMonitoringCodeSourceSection `pulumi:"monitoringCodeSourceSection"` + // *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + SnippetFormat *WebAppAutoInjectionSnippetFormat `pulumi:"snippetFormat"` +} + +type WebAppAutoInjectionState struct { + // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + ApplicationId pulumi.StringPtrInput + // Cache control headers + CacheControlHeaders WebAppAutoInjectionCacheControlHeadersPtrInput + // Real User Monitoring code source + MonitoringCodeSourceSection WebAppAutoInjectionMonitoringCodeSourceSectionPtrInput + // *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + SnippetFormat WebAppAutoInjectionSnippetFormatPtrInput +} + +func (WebAppAutoInjectionState) ElementType() reflect.Type { + return reflect.TypeOf((*webAppAutoInjectionState)(nil)).Elem() +} + +type webAppAutoInjectionArgs struct { + // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + ApplicationId string `pulumi:"applicationId"` + // Cache control headers + CacheControlHeaders WebAppAutoInjectionCacheControlHeaders `pulumi:"cacheControlHeaders"` + // Real User Monitoring code source + MonitoringCodeSourceSection WebAppAutoInjectionMonitoringCodeSourceSection `pulumi:"monitoringCodeSourceSection"` + // *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + SnippetFormat WebAppAutoInjectionSnippetFormat `pulumi:"snippetFormat"` +} + +// The set of arguments for constructing a WebAppAutoInjection resource. +type WebAppAutoInjectionArgs struct { + // The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + ApplicationId pulumi.StringInput + // Cache control headers + CacheControlHeaders WebAppAutoInjectionCacheControlHeadersInput + // Real User Monitoring code source + MonitoringCodeSourceSection WebAppAutoInjectionMonitoringCodeSourceSectionInput + // *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + SnippetFormat WebAppAutoInjectionSnippetFormatInput +} + +func (WebAppAutoInjectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*webAppAutoInjectionArgs)(nil)).Elem() +} + +type WebAppAutoInjectionInput interface { + pulumi.Input + + ToWebAppAutoInjectionOutput() WebAppAutoInjectionOutput + ToWebAppAutoInjectionOutputWithContext(ctx context.Context) WebAppAutoInjectionOutput +} + +func (*WebAppAutoInjection) ElementType() reflect.Type { + return reflect.TypeOf((**WebAppAutoInjection)(nil)).Elem() +} + +func (i *WebAppAutoInjection) ToWebAppAutoInjectionOutput() WebAppAutoInjectionOutput { + return i.ToWebAppAutoInjectionOutputWithContext(context.Background()) +} + +func (i *WebAppAutoInjection) ToWebAppAutoInjectionOutputWithContext(ctx context.Context) WebAppAutoInjectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionOutput) +} + +// WebAppAutoInjectionArrayInput is an input type that accepts WebAppAutoInjectionArray and WebAppAutoInjectionArrayOutput values. +// You can construct a concrete instance of `WebAppAutoInjectionArrayInput` via: +// +// WebAppAutoInjectionArray{ WebAppAutoInjectionArgs{...} } +type WebAppAutoInjectionArrayInput interface { + pulumi.Input + + ToWebAppAutoInjectionArrayOutput() WebAppAutoInjectionArrayOutput + ToWebAppAutoInjectionArrayOutputWithContext(context.Context) WebAppAutoInjectionArrayOutput +} + +type WebAppAutoInjectionArray []WebAppAutoInjectionInput + +func (WebAppAutoInjectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*WebAppAutoInjection)(nil)).Elem() +} + +func (i WebAppAutoInjectionArray) ToWebAppAutoInjectionArrayOutput() WebAppAutoInjectionArrayOutput { + return i.ToWebAppAutoInjectionArrayOutputWithContext(context.Background()) +} + +func (i WebAppAutoInjectionArray) ToWebAppAutoInjectionArrayOutputWithContext(ctx context.Context) WebAppAutoInjectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionArrayOutput) +} + +// WebAppAutoInjectionMapInput is an input type that accepts WebAppAutoInjectionMap and WebAppAutoInjectionMapOutput values. +// You can construct a concrete instance of `WebAppAutoInjectionMapInput` via: +// +// WebAppAutoInjectionMap{ "key": WebAppAutoInjectionArgs{...} } +type WebAppAutoInjectionMapInput interface { + pulumi.Input + + ToWebAppAutoInjectionMapOutput() WebAppAutoInjectionMapOutput + ToWebAppAutoInjectionMapOutputWithContext(context.Context) WebAppAutoInjectionMapOutput +} + +type WebAppAutoInjectionMap map[string]WebAppAutoInjectionInput + +func (WebAppAutoInjectionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*WebAppAutoInjection)(nil)).Elem() +} + +func (i WebAppAutoInjectionMap) ToWebAppAutoInjectionMapOutput() WebAppAutoInjectionMapOutput { + return i.ToWebAppAutoInjectionMapOutputWithContext(context.Background()) +} + +func (i WebAppAutoInjectionMap) ToWebAppAutoInjectionMapOutputWithContext(ctx context.Context) WebAppAutoInjectionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(WebAppAutoInjectionMapOutput) +} + +type WebAppAutoInjectionOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**WebAppAutoInjection)(nil)).Elem() +} + +func (o WebAppAutoInjectionOutput) ToWebAppAutoInjectionOutput() WebAppAutoInjectionOutput { + return o +} + +func (o WebAppAutoInjectionOutput) ToWebAppAutoInjectionOutputWithContext(ctx context.Context) WebAppAutoInjectionOutput { + return o +} + +// The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. +func (o WebAppAutoInjectionOutput) ApplicationId() pulumi.StringOutput { + return o.ApplyT(func(v *WebAppAutoInjection) pulumi.StringOutput { return v.ApplicationId }).(pulumi.StringOutput) +} + +// Cache control headers +func (o WebAppAutoInjectionOutput) CacheControlHeaders() WebAppAutoInjectionCacheControlHeadersOutput { + return o.ApplyT(func(v *WebAppAutoInjection) WebAppAutoInjectionCacheControlHeadersOutput { + return v.CacheControlHeaders + }).(WebAppAutoInjectionCacheControlHeadersOutput) +} + +// Real User Monitoring code source +func (o WebAppAutoInjectionOutput) MonitoringCodeSourceSection() WebAppAutoInjectionMonitoringCodeSourceSectionOutput { + return o.ApplyT(func(v *WebAppAutoInjection) WebAppAutoInjectionMonitoringCodeSourceSectionOutput { + return v.MonitoringCodeSourceSection + }).(WebAppAutoInjectionMonitoringCodeSourceSectionOutput) +} + +// *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. +func (o WebAppAutoInjectionOutput) SnippetFormat() WebAppAutoInjectionSnippetFormatOutput { + return o.ApplyT(func(v *WebAppAutoInjection) WebAppAutoInjectionSnippetFormatOutput { return v.SnippetFormat }).(WebAppAutoInjectionSnippetFormatOutput) +} + +type WebAppAutoInjectionArrayOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*WebAppAutoInjection)(nil)).Elem() +} + +func (o WebAppAutoInjectionArrayOutput) ToWebAppAutoInjectionArrayOutput() WebAppAutoInjectionArrayOutput { + return o +} + +func (o WebAppAutoInjectionArrayOutput) ToWebAppAutoInjectionArrayOutputWithContext(ctx context.Context) WebAppAutoInjectionArrayOutput { + return o +} + +func (o WebAppAutoInjectionArrayOutput) Index(i pulumi.IntInput) WebAppAutoInjectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *WebAppAutoInjection { + return vs[0].([]*WebAppAutoInjection)[vs[1].(int)] + }).(WebAppAutoInjectionOutput) +} + +type WebAppAutoInjectionMapOutput struct{ *pulumi.OutputState } + +func (WebAppAutoInjectionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*WebAppAutoInjection)(nil)).Elem() +} + +func (o WebAppAutoInjectionMapOutput) ToWebAppAutoInjectionMapOutput() WebAppAutoInjectionMapOutput { + return o +} + +func (o WebAppAutoInjectionMapOutput) ToWebAppAutoInjectionMapOutputWithContext(ctx context.Context) WebAppAutoInjectionMapOutput { + return o +} + +func (o WebAppAutoInjectionMapOutput) MapIndex(k pulumi.StringInput) WebAppAutoInjectionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *WebAppAutoInjection { + return vs[0].(map[string]*WebAppAutoInjection)[vs[1].(string)] + }).(WebAppAutoInjectionOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionInput)(nil)).Elem(), &WebAppAutoInjection{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionArrayInput)(nil)).Elem(), WebAppAutoInjectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*WebAppAutoInjectionMapInput)(nil)).Elem(), WebAppAutoInjectionMap{}) + pulumi.RegisterOutputType(WebAppAutoInjectionOutput{}) + pulumi.RegisterOutputType(WebAppAutoInjectionArrayOutput{}) + pulumi.RegisterOutputType(WebAppAutoInjectionMapOutput{}) +} diff --git a/sdk/nodejs/appMonitoring.ts b/sdk/nodejs/appMonitoring.ts index eaa806b8..848f81de 100644 --- a/sdk/nodejs/appMonitoring.ts +++ b/sdk/nodejs/appMonitoring.ts @@ -39,9 +39,13 @@ export class AppMonitoring extends pulumi.CustomResource { */ public readonly appMonitoring!: pulumi.Output; /** - * Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + * Possible Values: `debug`, `error`, `info`, `off`, `warn` */ public readonly defaultLogLevel!: pulumi.Output; + /** + * Possible Values: `off`, `on` + */ + public readonly defaultTraceLevel!: pulumi.Output; /** * Create a AppMonitoring resource with the given unique name, arguments, and options. @@ -58,6 +62,7 @@ export class AppMonitoring extends pulumi.CustomResource { const state = argsOrState as AppMonitoringState | undefined; resourceInputs["appMonitoring"] = state ? state.appMonitoring : undefined; resourceInputs["defaultLogLevel"] = state ? state.defaultLogLevel : undefined; + resourceInputs["defaultTraceLevel"] = state ? state.defaultTraceLevel : undefined; } else { const args = argsOrState as AppMonitoringArgs | undefined; if ((!args || args.defaultLogLevel === undefined) && !opts.urn) { @@ -65,6 +70,7 @@ export class AppMonitoring extends pulumi.CustomResource { } resourceInputs["appMonitoring"] = args ? args.appMonitoring : undefined; resourceInputs["defaultLogLevel"] = args ? args.defaultLogLevel : undefined; + resourceInputs["defaultTraceLevel"] = args ? args.defaultTraceLevel : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(AppMonitoring.__pulumiType, name, resourceInputs, opts); @@ -80,9 +86,13 @@ export interface AppMonitoringState { */ appMonitoring?: pulumi.Input; /** - * Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + * Possible Values: `debug`, `error`, `info`, `off`, `warn` */ defaultLogLevel?: pulumi.Input; + /** + * Possible Values: `off`, `on` + */ + defaultTraceLevel?: pulumi.Input; } /** @@ -94,7 +104,11 @@ export interface AppMonitoringArgs { */ appMonitoring?: pulumi.Input; /** - * Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + * Possible Values: `debug`, `error`, `info`, `off`, `warn` */ defaultLogLevel: pulumi.Input; + /** + * Possible Values: `off`, `on` + */ + defaultTraceLevel?: pulumi.Input; } diff --git a/sdk/nodejs/builtinProcessMonitoring.ts b/sdk/nodejs/builtinProcessMonitoring.ts index 0016509c..9fb91e22 100644 --- a/sdk/nodejs/builtinProcessMonitoring.ts +++ b/sdk/nodejs/builtinProcessMonitoring.ts @@ -232,6 +232,10 @@ export class BuiltinProcessMonitoring extends pulumi.CustomResource { * Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' */ public readonly exeW3wp!: pulumi.Output; + /** + * Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + */ + public readonly exeYq!: pulumi.Output; /** * Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' */ @@ -368,6 +372,7 @@ export class BuiltinProcessMonitoring extends pulumi.CustomResource { resourceInputs["exeUipath"] = state ? state.exeUipath : undefined; resourceInputs["exeUserbinpiper"] = state ? state.exeUserbinpiper : undefined; resourceInputs["exeW3wp"] = state ? state.exeW3wp : undefined; + resourceInputs["exeYq"] = state ? state.exeYq : undefined; resourceInputs["goStatic"] = state ? state.goStatic : undefined; resourceInputs["hostGroupId"] = state ? state.hostGroupId : undefined; resourceInputs["jarDtibmmqconnector"] = state ? state.jarDtibmmqconnector : undefined; @@ -438,6 +443,7 @@ export class BuiltinProcessMonitoring extends pulumi.CustomResource { resourceInputs["exeUipath"] = args ? args.exeUipath : undefined; resourceInputs["exeUserbinpiper"] = args ? args.exeUserbinpiper : undefined; resourceInputs["exeW3wp"] = args ? args.exeW3wp : undefined; + resourceInputs["exeYq"] = args ? args.exeYq : undefined; resourceInputs["goStatic"] = args ? args.goStatic : undefined; resourceInputs["hostGroupId"] = args ? args.hostGroupId : undefined; resourceInputs["jarDtibmmqconnector"] = args ? args.jarDtibmmqconnector : undefined; @@ -666,6 +672,10 @@ export interface BuiltinProcessMonitoringState { * Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' */ exeW3wp?: pulumi.Input; + /** + * Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + */ + exeYq?: pulumi.Input; /** * Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' */ @@ -944,6 +954,10 @@ export interface BuiltinProcessMonitoringArgs { * Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' */ exeW3wp?: pulumi.Input; + /** + * Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + */ + exeYq?: pulumi.Input; /** * Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' */ diff --git a/sdk/nodejs/businessEventsCapturingVariants.ts b/sdk/nodejs/businessEventsCapturingVariants.ts new file mode 100644 index 00000000..a385e277 --- /dev/null +++ b/sdk/nodejs/businessEventsCapturingVariants.ts @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +export class BusinessEventsCapturingVariants extends pulumi.CustomResource { + /** + * Get an existing BusinessEventsCapturingVariants resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: BusinessEventsCapturingVariantsState, opts?: pulumi.CustomResourceOptions): BusinessEventsCapturingVariants { + return new BusinessEventsCapturingVariants(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants'; + + /** + * Returns true if the given object is an instance of BusinessEventsCapturingVariants. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is BusinessEventsCapturingVariants { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === BusinessEventsCapturingVariants.__pulumiType; + } + + /** + * Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + */ + public readonly contentTypeMatcher!: pulumi.Output; + /** + * Content-type match value + */ + public readonly contentTypeValue!: pulumi.Output; + /** + * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + */ + public readonly insertAfter!: pulumi.Output; + /** + * Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + */ + public readonly parser!: pulumi.Output; + /** + * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + */ + public readonly scope!: pulumi.Output; + + /** + * Create a BusinessEventsCapturingVariants resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: BusinessEventsCapturingVariantsArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: BusinessEventsCapturingVariantsArgs | BusinessEventsCapturingVariantsState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as BusinessEventsCapturingVariantsState | undefined; + resourceInputs["contentTypeMatcher"] = state ? state.contentTypeMatcher : undefined; + resourceInputs["contentTypeValue"] = state ? state.contentTypeValue : undefined; + resourceInputs["insertAfter"] = state ? state.insertAfter : undefined; + resourceInputs["parser"] = state ? state.parser : undefined; + resourceInputs["scope"] = state ? state.scope : undefined; + } else { + const args = argsOrState as BusinessEventsCapturingVariantsArgs | undefined; + if ((!args || args.contentTypeMatcher === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentTypeMatcher'"); + } + if ((!args || args.contentTypeValue === undefined) && !opts.urn) { + throw new Error("Missing required property 'contentTypeValue'"); + } + if ((!args || args.parser === undefined) && !opts.urn) { + throw new Error("Missing required property 'parser'"); + } + resourceInputs["contentTypeMatcher"] = args ? args.contentTypeMatcher : undefined; + resourceInputs["contentTypeValue"] = args ? args.contentTypeValue : undefined; + resourceInputs["insertAfter"] = args ? args.insertAfter : undefined; + resourceInputs["parser"] = args ? args.parser : undefined; + resourceInputs["scope"] = args ? args.scope : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(BusinessEventsCapturingVariants.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering BusinessEventsCapturingVariants resources. + */ +export interface BusinessEventsCapturingVariantsState { + /** + * Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + */ + contentTypeMatcher?: pulumi.Input; + /** + * Content-type match value + */ + contentTypeValue?: pulumi.Input; + /** + * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + */ + insertAfter?: pulumi.Input; + /** + * Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + */ + parser?: pulumi.Input; + /** + * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + */ + scope?: pulumi.Input; +} + +/** + * The set of arguments for constructing a BusinessEventsCapturingVariants resource. + */ +export interface BusinessEventsCapturingVariantsArgs { + /** + * Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + */ + contentTypeMatcher: pulumi.Input; + /** + * Content-type match value + */ + contentTypeValue: pulumi.Input; + /** + * Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + */ + insertAfter?: pulumi.Input; + /** + * Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + */ + parser: pulumi.Input; + /** + * The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + */ + scope?: pulumi.Input; +} diff --git a/sdk/nodejs/getAlertingProfile.ts b/sdk/nodejs/getAlertingProfile.ts index 9ce20a1c..f5139676 100644 --- a/sdk/nodejs/getAlertingProfile.ts +++ b/sdk/nodejs/getAlertingProfile.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * import * as dynatrace from "@pulumi/dynatrace"; * import * as dynatrace from "@pulumiverse/dynatrace"; * - * const default = dynatrace.getAlertingProfile({ + * const _default = dynatrace.getAlertingProfile({ * name: "Default", * }); * const myWebhookNotification = new dynatrace.WebhookNotification("myWebhookNotification", { @@ -65,7 +65,7 @@ export interface GetAlertingProfileResult { * import * as dynatrace from "@pulumi/dynatrace"; * import * as dynatrace from "@pulumiverse/dynatrace"; * - * const default = dynatrace.getAlertingProfile({ + * const _default = dynatrace.getAlertingProfile({ * name: "Default", * }); * const myWebhookNotification = new dynatrace.WebhookNotification("myWebhookNotification", { diff --git a/sdk/nodejs/getDocuments.ts b/sdk/nodejs/getDocuments.ts index a00f244c..127a9c79 100644 --- a/sdk/nodejs/getDocuments.ts +++ b/sdk/nodejs/getDocuments.ts @@ -19,11 +19,11 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumi/dynatrace"; * - * const all-dashboard-and-notebooks = dynatrace.getDocuments({}); - * const all-dashboards = dynatrace.getDocuments({ + * const all_dashboard_and_notebooks = dynatrace.getDocuments({}); + * const all_dashboards = dynatrace.getDocuments({ * type: "dashboard", * }); - * const all-notebooks = dynatrace.getDocuments({ + * const all_notebooks = dynatrace.getDocuments({ * type: "notebook", * }); * ``` @@ -73,11 +73,11 @@ export interface GetDocumentsResult { * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumi/dynatrace"; * - * const all-dashboard-and-notebooks = dynatrace.getDocuments({}); - * const all-dashboards = dynatrace.getDocuments({ + * const all_dashboard_and_notebooks = dynatrace.getDocuments({}); + * const all_dashboards = dynatrace.getDocuments({ * type: "dashboard", * }); - * const all-notebooks = dynatrace.getDocuments({ + * const all_notebooks = dynatrace.getDocuments({ * type: "notebook", * }); * ``` diff --git a/sdk/nodejs/getHubItems.ts b/sdk/nodejs/getHubItems.ts index 05ddb71d..270d9771 100644 --- a/sdk/nodejs/getHubItems.ts +++ b/sdk/nodejs/getHubItems.ts @@ -18,7 +18,7 @@ import * as utilities from "./utilities"; * import * as dynatrace from "@pulumi/dynatrace"; * * export = async () => { - * const extension-20-items = await dynatrace.getHubItems({ + * const extension_20_items = await dynatrace.getHubItems({ * type: "EXTENSION2", * }); * return { @@ -79,7 +79,7 @@ export interface GetHubItemsResult { * import * as dynatrace from "@pulumi/dynatrace"; * * export = async () => { - * const extension-20-items = await dynatrace.getHubItems({ + * const extension_20_items = await dynatrace.getHubItems({ * type: "EXTENSION2", * }); * return { diff --git a/sdk/nodejs/getIamGroups.ts b/sdk/nodejs/getIamGroups.ts index 30b62a78..e01eef61 100644 --- a/sdk/nodejs/getIamGroups.ts +++ b/sdk/nodejs/getIamGroups.ts @@ -15,7 +15,7 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumi/dynatrace"; * - * const all-groups = dynatrace.getIamGroups({}); + * const all_groups = dynatrace.getIamGroups({}); * export const groups = all_groups; * ``` * @@ -48,7 +48,7 @@ export interface GetIamGroupsResult { * import * as pulumi from "@pulumi/pulumi"; * import * as dynatrace from "@pulumi/dynatrace"; * - * const all-groups = dynatrace.getIamGroups({}); + * const all_groups = dynatrace.getIamGroups({}); * export const groups = all_groups; * ``` * diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 0fe585fc..ae3a48c0 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -235,6 +235,11 @@ export type BusinessEventsBuckets = import("./businessEventsBuckets").BusinessEv export const BusinessEventsBuckets: typeof import("./businessEventsBuckets").BusinessEventsBuckets = null as any; utilities.lazyLoad(exports, ["BusinessEventsBuckets"], () => require("./businessEventsBuckets")); +export { BusinessEventsCapturingVariantsArgs, BusinessEventsCapturingVariantsState } from "./businessEventsCapturingVariants"; +export type BusinessEventsCapturingVariants = import("./businessEventsCapturingVariants").BusinessEventsCapturingVariants; +export const BusinessEventsCapturingVariants: typeof import("./businessEventsCapturingVariants").BusinessEventsCapturingVariants = null as any; +utilities.lazyLoad(exports, ["BusinessEventsCapturingVariants"], () => require("./businessEventsCapturingVariants")); + export { BusinessEventsMetricsArgs, BusinessEventsMetricsState } from "./businessEventsMetrics"; export type BusinessEventsMetrics = import("./businessEventsMetrics").BusinessEventsMetrics; export const BusinessEventsMetrics: typeof import("./businessEventsMetrics").BusinessEventsMetrics = null as any; @@ -1875,6 +1880,11 @@ export type WebAppAnomalies = import("./webAppAnomalies").WebAppAnomalies; export const WebAppAnomalies: typeof import("./webAppAnomalies").WebAppAnomalies = null as any; utilities.lazyLoad(exports, ["WebAppAnomalies"], () => require("./webAppAnomalies")); +export { WebAppAutoInjectionArgs, WebAppAutoInjectionState } from "./webAppAutoInjection"; +export type WebAppAutoInjection = import("./webAppAutoInjection").WebAppAutoInjection; +export const WebAppAutoInjection: typeof import("./webAppAutoInjection").WebAppAutoInjection = null as any; +utilities.lazyLoad(exports, ["WebAppAutoInjection"], () => require("./webAppAutoInjection")); + export { WebAppBeaconEndpointArgs, WebAppBeaconEndpointState } from "./webAppBeaconEndpoint"; export type WebAppBeaconEndpoint = import("./webAppBeaconEndpoint").WebAppBeaconEndpoint; export const WebAppBeaconEndpoint: typeof import("./webAppBeaconEndpoint").WebAppBeaconEndpoint = null as any; @@ -2071,6 +2081,8 @@ const _module = { return new BuiltinProcessMonitoring(name, undefined, { urn }) case "dynatrace:index/businessEventsBuckets:BusinessEventsBuckets": return new BusinessEventsBuckets(name, undefined, { urn }) + case "dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants": + return new BusinessEventsCapturingVariants(name, undefined, { urn }) case "dynatrace:index/businessEventsMetrics:BusinessEventsMetrics": return new BusinessEventsMetrics(name, undefined, { urn }) case "dynatrace:index/businessEventsOneagent:BusinessEventsOneagent": @@ -2625,6 +2637,8 @@ const _module = { return new VulnerabilityThirdParty(name, undefined, { urn }) case "dynatrace:index/webAppAnomalies:WebAppAnomalies": return new WebAppAnomalies(name, undefined, { urn }) + case "dynatrace:index/webAppAutoInjection:WebAppAutoInjection": + return new WebAppAutoInjection(name, undefined, { urn }) case "dynatrace:index/webAppBeaconEndpoint:WebAppBeaconEndpoint": return new WebAppBeaconEndpoint(name, undefined, { urn }) case "dynatrace:index/webAppBeaconOrigins:WebAppBeaconOrigins": @@ -2712,6 +2726,7 @@ pulumi.runtime.registerResourceModule("dynatrace", "index/browserMonitorOutage", pulumi.runtime.registerResourceModule("dynatrace", "index/browserMonitorPerformance", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/builtinProcessMonitoring", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/businessEventsBuckets", _module) +pulumi.runtime.registerResourceModule("dynatrace", "index/businessEventsCapturingVariants", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/businessEventsMetrics", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/businessEventsOneagent", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/businessEventsOneagentOutgoing", _module) @@ -2989,6 +3004,7 @@ pulumi.runtime.registerResourceModule("dynatrace", "index/vulnerabilityCode", _m pulumi.runtime.registerResourceModule("dynatrace", "index/vulnerabilitySettings", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/vulnerabilityThirdParty", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/webAppAnomalies", _module) +pulumi.runtime.registerResourceModule("dynatrace", "index/webAppAutoInjection", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/webAppBeaconEndpoint", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/webAppBeaconOrigins", _module) pulumi.runtime.registerResourceModule("dynatrace", "index/webAppCustomConfigProperties", _module) diff --git a/sdk/nodejs/jsonDashboardBase.ts b/sdk/nodejs/jsonDashboardBase.ts index 83110681..0e38e89d 100644 --- a/sdk/nodejs/jsonDashboardBase.ts +++ b/sdk/nodejs/jsonDashboardBase.ts @@ -33,7 +33,7 @@ export class JsonDashboardBase extends pulumi.CustomResource { } /** - * Contains the JSON Code of the Dashboard + * This attribute exists for backwards compatibility. You do not have to define it. */ public readonly contents!: pulumi.Output; @@ -65,7 +65,7 @@ export class JsonDashboardBase extends pulumi.CustomResource { */ export interface JsonDashboardBaseState { /** - * Contains the JSON Code of the Dashboard + * This attribute exists for backwards compatibility. You do not have to define it. */ contents?: pulumi.Input; } @@ -75,7 +75,7 @@ export interface JsonDashboardBaseState { */ export interface JsonDashboardBaseArgs { /** - * Contains the JSON Code of the Dashboard + * This attribute exists for backwards compatibility. You do not have to define it. */ contents?: pulumi.Input; } diff --git a/sdk/nodejs/keyRequests.ts b/sdk/nodejs/keyRequests.ts index 2b15455b..94c1e23b 100644 --- a/sdk/nodejs/keyRequests.ts +++ b/sdk/nodejs/keyRequests.ts @@ -32,6 +32,10 @@ export class KeyRequests extends pulumi.CustomResource { return obj['__pulumiType'] === KeyRequests.__pulumiType; } + /** + * The ids of the key requests + */ + public readonly keyRequestIds!: pulumi.Output<{[key: string]: string}>; /** * The names of the key requests */ @@ -54,6 +58,7 @@ export class KeyRequests extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as KeyRequestsState | undefined; + resourceInputs["keyRequestIds"] = state ? state.keyRequestIds : undefined; resourceInputs["names"] = state ? state.names : undefined; resourceInputs["service"] = state ? state.service : undefined; } else { @@ -61,6 +66,7 @@ export class KeyRequests extends pulumi.CustomResource { if ((!args || args.service === undefined) && !opts.urn) { throw new Error("Missing required property 'service'"); } + resourceInputs["keyRequestIds"] = args ? args.keyRequestIds : undefined; resourceInputs["names"] = args ? args.names : undefined; resourceInputs["service"] = args ? args.service : undefined; } @@ -73,6 +79,10 @@ export class KeyRequests extends pulumi.CustomResource { * Input properties used for looking up and filtering KeyRequests resources. */ export interface KeyRequestsState { + /** + * The ids of the key requests + */ + keyRequestIds?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The names of the key requests */ @@ -87,6 +97,10 @@ export interface KeyRequestsState { * The set of arguments for constructing a KeyRequests resource. */ export interface KeyRequestsArgs { + /** + * The ids of the key requests + */ + keyRequestIds?: pulumi.Input<{[key: string]: pulumi.Input}>; /** * The names of the key requests */ diff --git a/sdk/nodejs/logAgentFeatureFlags.ts b/sdk/nodejs/logAgentFeatureFlags.ts index badddf14..a763b1c4 100644 --- a/sdk/nodejs/logAgentFeatureFlags.ts +++ b/sdk/nodejs/logAgentFeatureFlags.ts @@ -33,11 +33,22 @@ export class LogAgentFeatureFlags extends pulumi.CustomResource { } /** - * Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + * Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + * ingested matching ingest rule is required. + */ + public readonly journaldLogDetector!: pulumi.Output; + /** + * Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + * collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + * processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + * configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + * more details, check our [documentation](https://dt-url.net/jn02ey0). */ public readonly newContainerLogDetector!: pulumi.Output; /** - * The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + * The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + * environment. */ public readonly scope!: pulumi.Output; @@ -54,6 +65,7 @@ export class LogAgentFeatureFlags extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as LogAgentFeatureFlagsState | undefined; + resourceInputs["journaldLogDetector"] = state ? state.journaldLogDetector : undefined; resourceInputs["newContainerLogDetector"] = state ? state.newContainerLogDetector : undefined; resourceInputs["scope"] = state ? state.scope : undefined; } else { @@ -61,6 +73,7 @@ export class LogAgentFeatureFlags extends pulumi.CustomResource { if ((!args || args.newContainerLogDetector === undefined) && !opts.urn) { throw new Error("Missing required property 'newContainerLogDetector'"); } + resourceInputs["journaldLogDetector"] = args ? args.journaldLogDetector : undefined; resourceInputs["newContainerLogDetector"] = args ? args.newContainerLogDetector : undefined; resourceInputs["scope"] = args ? args.scope : undefined; } @@ -74,11 +87,22 @@ export class LogAgentFeatureFlags extends pulumi.CustomResource { */ export interface LogAgentFeatureFlagsState { /** - * Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + * Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + * ingested matching ingest rule is required. + */ + journaldLogDetector?: pulumi.Input; + /** + * Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + * collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + * processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + * configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + * more details, check our [documentation](https://dt-url.net/jn02ey0). */ newContainerLogDetector?: pulumi.Input; /** - * The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + * The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + * environment. */ scope?: pulumi.Input; } @@ -88,11 +112,22 @@ export interface LogAgentFeatureFlagsState { */ export interface LogAgentFeatureFlagsArgs { /** - * Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + * Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + * ingested matching ingest rule is required. + */ + journaldLogDetector?: pulumi.Input; + /** + * Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + * collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + * processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + * configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + * more details, check our [documentation](https://dt-url.net/jn02ey0). */ newContainerLogDetector: pulumi.Input; /** - * The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + * The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + * environment. */ scope?: pulumi.Input; } diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 68b1c961..96a12ac3 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -59,6 +59,7 @@ "browserMonitorPerformance.ts", "builtinProcessMonitoring.ts", "businessEventsBuckets.ts", + "businessEventsCapturingVariants.ts", "businessEventsMetrics.ts", "businessEventsOneagent.ts", "businessEventsOneagentOutgoing.ts", @@ -394,6 +395,7 @@ "vulnerabilitySettings.ts", "vulnerabilityThirdParty.ts", "webAppAnomalies.ts", + "webAppAutoInjection.ts", "webAppBeaconEndpoint.ts", "webAppBeaconOrigins.ts", "webAppCustomConfigProperties.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 44413522..f4d5c44a 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -339,9 +339,13 @@ export interface AppMonitoringAppMonitoringAppMonitoring { */ appId: pulumi.Input; /** - * Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + * Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` */ customLogLevel: pulumi.Input; + /** + * Possible Values: `off`, `on`, `useDefault` + */ + customTraceLevel?: pulumi.Input; } export interface ApplicationAnomaliesFailureRate { @@ -1188,7 +1192,7 @@ export interface AutomationWorkflowTasksTaskConditions { /** * key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) */ - states: pulumi.Input<{[key: string]: pulumi.Input}>; + states?: pulumi.Input<{[key: string]: pulumi.Input}>; } export interface AutomationWorkflowTasksTaskPosition { @@ -4398,6 +4402,18 @@ export interface BrowserMonitorScriptConfigurationJavascriptSetttings { * Additional Javascript Agent Properties */ customProperties?: pulumi.Input; + /** + * Capture fetch() requests + */ + fetchRequests?: pulumi.Input; + /** + * JavaScript error report + */ + javascriptErrors?: pulumi.Input; + /** + * Timed action support + */ + timedActions?: pulumi.Input; /** * Custom JavaScript Agent settings */ @@ -4406,6 +4422,10 @@ export interface BrowserMonitorScriptConfigurationJavascriptSetttings { * Parameters for Visually complete and Speed index calculation */ visuallyCompleteOptions?: pulumi.Input; + /** + * Capture XMLHttpRequests (XHR) + */ + xmlHttpRequests?: pulumi.Input; } export interface BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings { @@ -8994,6 +9014,10 @@ export interface DavisAnomalyDetectorsEventTemplatePropertiesProperty { } export interface DavisAnomalyDetectorsExecutionSettings { + /** + * UUID of a service user. Queries will be executed on behalf of the service user. + */ + actor?: pulumi.Input; /** * Minute offset of sliding evaluation window for metrics with latency */ @@ -9216,6 +9240,10 @@ export interface DiscoveryDefaultRulesRuleActions { } export interface DiscoveryDefaultRulesRuleActionsAction { + /** + * Instant action + */ + instantAction?: pulumi.Input; /** * no documentation available */ @@ -14464,6 +14492,10 @@ export interface LogCustomSourceCustomLogSource { * Accept binary content */ acceptBinary?: pulumi.Input; + /** + * no documentation available + */ + encoding?: pulumi.Input; /** * Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` */ @@ -14608,7 +14640,7 @@ export interface LogSensitiveDataMaskingMatchers { export interface LogSensitiveDataMaskingMatchersMatcher { /** - * Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` */ attribute: pulumi.Input; /** @@ -14627,7 +14659,7 @@ export interface LogStorageMatchers { export interface LogStorageMatchersMatcher { /** - * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` */ attribute: pulumi.Input; /** @@ -14653,7 +14685,7 @@ export interface LogTimestampMatchers { export interface LogTimestampMatchersMatcher { /** - * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` */ attribute: pulumi.Input; /** @@ -29998,6 +30030,10 @@ export interface SiteReliabilityGuardianObjectivesObjective { * no documentation available */ description?: pulumi.Input; + /** + * Display Unit + */ + displayUnit?: pulumi.Input; /** * DQL query */ @@ -30024,6 +30060,21 @@ export interface SiteReliabilityGuardianObjectivesObjective { warning?: pulumi.Input; } +export interface SiteReliabilityGuardianObjectivesObjectiveDisplayUnit { + /** + * Base Unit + */ + base: pulumi.Input; + /** + * Decimals + */ + decimals: pulumi.Input; + /** + * display as unit + */ + display: pulumi.Input; +} + export interface SiteReliabilityGuardianVariables { variables: pulumi.Input[]>; } @@ -30946,6 +30997,35 @@ export interface WebAppAnomaliesTrafficSpikesTrafficSpikes { trafficSpikePercentage: pulumi.Input; } +export interface WebAppAutoInjectionCacheControlHeaders { + /** + * [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + */ + cacheControlHeaders: pulumi.Input; +} + +export interface WebAppAutoInjectionMonitoringCodeSourceSection { + /** + * Real User Monitoring code source + */ + codeSource: pulumi.Input; + /** + * Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + */ + monitoringCodePath?: pulumi.Input; +} + +export interface WebAppAutoInjectionSnippetFormat { + /** + * Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + */ + codeSnippetType?: pulumi.Input; + /** + * Snippet format + */ + snippetFormat: pulumi.Input; +} + export interface WebAppCustomErrorsErrorRules { errorRules: pulumi.Input[]>; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 17c5393a..51b02688 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -339,9 +339,13 @@ export interface AppMonitoringAppMonitoringAppMonitoring { */ appId: string; /** - * Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + * Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` */ customLogLevel: string; + /** + * Possible Values: `off`, `on`, `useDefault` + */ + customTraceLevel?: string; } export interface ApplicationAnomaliesFailureRate { @@ -1188,7 +1192,7 @@ export interface AutomationWorkflowTasksTaskConditions { /** * key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) */ - states: {[key: string]: string}; + states?: {[key: string]: string}; } export interface AutomationWorkflowTasksTaskPosition { @@ -4398,6 +4402,18 @@ export interface BrowserMonitorScriptConfigurationJavascriptSetttings { * Additional Javascript Agent Properties */ customProperties?: string; + /** + * Capture fetch() requests + */ + fetchRequests?: boolean; + /** + * JavaScript error report + */ + javascriptErrors?: boolean; + /** + * Timed action support + */ + timedActions?: boolean; /** * Custom JavaScript Agent settings */ @@ -4406,6 +4422,10 @@ export interface BrowserMonitorScriptConfigurationJavascriptSetttings { * Parameters for Visually complete and Speed index calculation */ visuallyCompleteOptions?: outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions; + /** + * Capture XMLHttpRequests (XHR) + */ + xmlHttpRequests?: boolean; } export interface BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings { @@ -8994,6 +9014,10 @@ export interface DavisAnomalyDetectorsEventTemplatePropertiesProperty { } export interface DavisAnomalyDetectorsExecutionSettings { + /** + * UUID of a service user. Queries will be executed on behalf of the service user. + */ + actor?: string; /** * Minute offset of sliding evaluation window for metrics with latency */ @@ -9216,6 +9240,10 @@ export interface DiscoveryDefaultRulesRuleActions { } export interface DiscoveryDefaultRulesRuleActionsAction { + /** + * Instant action + */ + instantAction?: boolean; /** * no documentation available */ @@ -14791,6 +14819,10 @@ export interface LogCustomSourceCustomLogSource { * Accept binary content */ acceptBinary?: boolean; + /** + * no documentation available + */ + encoding?: string; /** * Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` */ @@ -14935,7 +14967,7 @@ export interface LogSensitiveDataMaskingMatchers { export interface LogSensitiveDataMaskingMatchersMatcher { /** - * Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` */ attribute: string; /** @@ -14954,7 +14986,7 @@ export interface LogStorageMatchers { export interface LogStorageMatchersMatcher { /** - * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` */ attribute: string; /** @@ -14980,7 +15012,7 @@ export interface LogTimestampMatchers { export interface LogTimestampMatchersMatcher { /** - * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + * Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` */ attribute: string; /** @@ -30325,6 +30357,10 @@ export interface SiteReliabilityGuardianObjectivesObjective { * no documentation available */ description?: string; + /** + * Display Unit + */ + displayUnit?: outputs.SiteReliabilityGuardianObjectivesObjectiveDisplayUnit; /** * DQL query */ @@ -30351,6 +30387,21 @@ export interface SiteReliabilityGuardianObjectivesObjective { warning?: number; } +export interface SiteReliabilityGuardianObjectivesObjectiveDisplayUnit { + /** + * Base Unit + */ + base: string; + /** + * Decimals + */ + decimals: number; + /** + * display as unit + */ + display: string; +} + export interface SiteReliabilityGuardianVariables { variables: outputs.SiteReliabilityGuardianVariablesVariable[]; } @@ -31273,6 +31324,35 @@ export interface WebAppAnomaliesTrafficSpikesTrafficSpikes { trafficSpikePercentage: number; } +export interface WebAppAutoInjectionCacheControlHeaders { + /** + * [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + */ + cacheControlHeaders: boolean; +} + +export interface WebAppAutoInjectionMonitoringCodeSourceSection { + /** + * Real User Monitoring code source + */ + codeSource: string; + /** + * Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + */ + monitoringCodePath?: string; +} + +export interface WebAppAutoInjectionSnippetFormat { + /** + * Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + */ + codeSnippetType?: string; + /** + * Snippet format + */ + snippetFormat: string; +} + export interface WebAppCustomErrorsErrorRules { errorRules: outputs.WebAppCustomErrorsErrorRulesErrorRule[]; } diff --git a/sdk/nodejs/webAppAutoInjection.ts b/sdk/nodejs/webAppAutoInjection.ts new file mode 100644 index 00000000..b9e2cbea --- /dev/null +++ b/sdk/nodejs/webAppAutoInjection.ts @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +export class WebAppAutoInjection extends pulumi.CustomResource { + /** + * Get an existing WebAppAutoInjection resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: WebAppAutoInjectionState, opts?: pulumi.CustomResourceOptions): WebAppAutoInjection { + return new WebAppAutoInjection(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'dynatrace:index/webAppAutoInjection:WebAppAutoInjection'; + + /** + * Returns true if the given object is an instance of WebAppAutoInjection. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is WebAppAutoInjection { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === WebAppAutoInjection.__pulumiType; + } + + /** + * The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + */ + public readonly applicationId!: pulumi.Output; + /** + * Cache control headers + */ + public readonly cacheControlHeaders!: pulumi.Output; + /** + * Real User Monitoring code source + */ + public readonly monitoringCodeSourceSection!: pulumi.Output; + /** + * *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + */ + public readonly snippetFormat!: pulumi.Output; + + /** + * Create a WebAppAutoInjection resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: WebAppAutoInjectionArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: WebAppAutoInjectionArgs | WebAppAutoInjectionState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as WebAppAutoInjectionState | undefined; + resourceInputs["applicationId"] = state ? state.applicationId : undefined; + resourceInputs["cacheControlHeaders"] = state ? state.cacheControlHeaders : undefined; + resourceInputs["monitoringCodeSourceSection"] = state ? state.monitoringCodeSourceSection : undefined; + resourceInputs["snippetFormat"] = state ? state.snippetFormat : undefined; + } else { + const args = argsOrState as WebAppAutoInjectionArgs | undefined; + if ((!args || args.applicationId === undefined) && !opts.urn) { + throw new Error("Missing required property 'applicationId'"); + } + if ((!args || args.cacheControlHeaders === undefined) && !opts.urn) { + throw new Error("Missing required property 'cacheControlHeaders'"); + } + if ((!args || args.monitoringCodeSourceSection === undefined) && !opts.urn) { + throw new Error("Missing required property 'monitoringCodeSourceSection'"); + } + if ((!args || args.snippetFormat === undefined) && !opts.urn) { + throw new Error("Missing required property 'snippetFormat'"); + } + resourceInputs["applicationId"] = args ? args.applicationId : undefined; + resourceInputs["cacheControlHeaders"] = args ? args.cacheControlHeaders : undefined; + resourceInputs["monitoringCodeSourceSection"] = args ? args.monitoringCodeSourceSection : undefined; + resourceInputs["snippetFormat"] = args ? args.snippetFormat : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(WebAppAutoInjection.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering WebAppAutoInjection resources. + */ +export interface WebAppAutoInjectionState { + /** + * The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + */ + applicationId?: pulumi.Input; + /** + * Cache control headers + */ + cacheControlHeaders?: pulumi.Input; + /** + * Real User Monitoring code source + */ + monitoringCodeSourceSection?: pulumi.Input; + /** + * *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + */ + snippetFormat?: pulumi.Input; +} + +/** + * The set of arguments for constructing a WebAppAutoInjection resource. + */ +export interface WebAppAutoInjectionArgs { + /** + * The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + */ + applicationId: pulumi.Input; + /** + * Cache control headers + */ + cacheControlHeaders: pulumi.Input; + /** + * Real User Monitoring code source + */ + monitoringCodeSourceSection: pulumi.Input; + /** + * *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + */ + snippetFormat: pulumi.Input; +} diff --git a/sdk/python/pulumiverse_dynatrace/__init__.py b/sdk/python/pulumiverse_dynatrace/__init__.py index a4b7538e..f5ffbc0a 100644 --- a/sdk/python/pulumiverse_dynatrace/__init__.py +++ b/sdk/python/pulumiverse_dynatrace/__init__.py @@ -51,6 +51,7 @@ from .browser_monitor_performance import * from .builtin_process_monitoring import * from .business_events_buckets import * +from .business_events_capturing_variants import * from .business_events_metrics import * from .business_events_oneagent import * from .business_events_oneagent_outgoing import * @@ -379,6 +380,7 @@ from .vulnerability_settings import * from .vulnerability_third_party import * from .web_app_anomalies import * +from .web_app_auto_injection import * from .web_app_beacon_endpoint import * from .web_app_beacon_origins import * from .web_app_custom_config_properties import * @@ -778,6 +780,14 @@ "dynatrace:index/businessEventsBuckets:BusinessEventsBuckets": "BusinessEventsBuckets" } }, + { + "pkg": "dynatrace", + "mod": "index/businessEventsCapturingVariants", + "fqn": "pulumiverse_dynatrace", + "classes": { + "dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants": "BusinessEventsCapturingVariants" + } + }, { "pkg": "dynatrace", "mod": "index/businessEventsMetrics", @@ -2994,6 +3004,14 @@ "dynatrace:index/webAppAnomalies:WebAppAnomalies": "WebAppAnomalies" } }, + { + "pkg": "dynatrace", + "mod": "index/webAppAutoInjection", + "fqn": "pulumiverse_dynatrace", + "classes": { + "dynatrace:index/webAppAutoInjection:WebAppAutoInjection": "WebAppAutoInjection" + } + }, { "pkg": "dynatrace", "mod": "index/webAppBeaconEndpoint", diff --git a/sdk/python/pulumiverse_dynatrace/_inputs.py b/sdk/python/pulumiverse_dynatrace/_inputs.py index 85ac0844..d016f8ca 100644 --- a/sdk/python/pulumiverse_dynatrace/_inputs.py +++ b/sdk/python/pulumiverse_dynatrace/_inputs.py @@ -3301,6 +3301,8 @@ 'SiteReliabilityGuardianObjectivesArgsDict', 'SiteReliabilityGuardianObjectivesObjectiveArgs', 'SiteReliabilityGuardianObjectivesObjectiveArgsDict', + 'SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs', + 'SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgsDict', 'SiteReliabilityGuardianVariablesArgs', 'SiteReliabilityGuardianVariablesArgsDict', 'SiteReliabilityGuardianVariablesVariableArgs', @@ -3443,6 +3445,12 @@ 'WebAppAnomaliesTrafficSpikesArgsDict', 'WebAppAnomaliesTrafficSpikesTrafficSpikesArgs', 'WebAppAnomaliesTrafficSpikesTrafficSpikesArgsDict', + 'WebAppAutoInjectionCacheControlHeadersArgs', + 'WebAppAutoInjectionCacheControlHeadersArgsDict', + 'WebAppAutoInjectionMonitoringCodeSourceSectionArgs', + 'WebAppAutoInjectionMonitoringCodeSourceSectionArgsDict', + 'WebAppAutoInjectionSnippetFormatArgs', + 'WebAppAutoInjectionSnippetFormatArgsDict', 'WebAppCustomErrorsErrorRulesArgs', 'WebAppCustomErrorsErrorRulesArgsDict', 'WebAppCustomErrorsErrorRulesErrorRuleArgs', @@ -5164,7 +5172,11 @@ class AppMonitoringAppMonitoringAppMonitoringArgsDict(TypedDict): """ custom_log_level: pulumi.Input[str] """ - Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` + """ + custom_trace_level: NotRequired[pulumi.Input[str]] + """ + Possible Values: `off`, `on`, `useDefault` """ elif False: AppMonitoringAppMonitoringAppMonitoringArgsDict: TypeAlias = Mapping[str, Any] @@ -5173,13 +5185,17 @@ class AppMonitoringAppMonitoringAppMonitoringArgsDict(TypedDict): class AppMonitoringAppMonitoringAppMonitoringArgs: def __init__(__self__, *, app_id: pulumi.Input[str], - custom_log_level: pulumi.Input[str]): + custom_log_level: pulumi.Input[str], + custom_trace_level: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] app_id: App ID - :param pulumi.Input[str] custom_log_level: Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + :param pulumi.Input[str] custom_log_level: Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` + :param pulumi.Input[str] custom_trace_level: Possible Values: `off`, `on`, `useDefault` """ pulumi.set(__self__, "app_id", app_id) pulumi.set(__self__, "custom_log_level", custom_log_level) + if custom_trace_level is not None: + pulumi.set(__self__, "custom_trace_level", custom_trace_level) @property @pulumi.getter(name="appId") @@ -5197,7 +5213,7 @@ def app_id(self, value: pulumi.Input[str]): @pulumi.getter(name="customLogLevel") def custom_log_level(self) -> pulumi.Input[str]: """ - Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` """ return pulumi.get(self, "custom_log_level") @@ -5205,6 +5221,18 @@ def custom_log_level(self) -> pulumi.Input[str]: def custom_log_level(self, value: pulumi.Input[str]): pulumi.set(self, "custom_log_level", value) + @property + @pulumi.getter(name="customTraceLevel") + def custom_trace_level(self) -> Optional[pulumi.Input[str]]: + """ + Possible Values: `off`, `on`, `useDefault` + """ + return pulumi.get(self, "custom_trace_level") + + @custom_trace_level.setter + def custom_trace_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_trace_level", value) + if not MYPY: class ApplicationAnomaliesFailureRateArgsDict(TypedDict): @@ -8911,10 +8939,6 @@ def with_items(self, value: Optional[pulumi.Input[str]]): if not MYPY: class AutomationWorkflowTasksTaskConditionsArgsDict(TypedDict): - states: pulumi.Input[Mapping[str, pulumi.Input[str]]] - """ - key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) - """ custom: NotRequired[pulumi.Input[str]] """ A custom condition that needs to be met for the current task to get executed @@ -8923,37 +8947,30 @@ class AutomationWorkflowTasksTaskConditionsArgsDict(TypedDict): """ Possible values are `SKIP` and `STOP` """ + states: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]] + """ + key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) + """ elif False: AutomationWorkflowTasksTaskConditionsArgsDict: TypeAlias = Mapping[str, Any] @pulumi.input_type class AutomationWorkflowTasksTaskConditionsArgs: def __init__(__self__, *, - states: pulumi.Input[Mapping[str, pulumi.Input[str]]], custom: Optional[pulumi.Input[str]] = None, - else_: Optional[pulumi.Input[str]] = None): + else_: Optional[pulumi.Input[str]] = None, + states: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] states: key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) :param pulumi.Input[str] custom: A custom condition that needs to be met for the current task to get executed :param pulumi.Input[str] else_: Possible values are `SKIP` and `STOP` + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] states: key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) """ - pulumi.set(__self__, "states", states) if custom is not None: pulumi.set(__self__, "custom", custom) if else_ is not None: pulumi.set(__self__, "else_", else_) - - @property - @pulumi.getter - def states(self) -> pulumi.Input[Mapping[str, pulumi.Input[str]]]: - """ - key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) - """ - return pulumi.get(self, "states") - - @states.setter - def states(self, value: pulumi.Input[Mapping[str, pulumi.Input[str]]]): - pulumi.set(self, "states", value) + if states is not None: + pulumi.set(__self__, "states", states) @property @pulumi.getter @@ -8979,6 +8996,18 @@ def else_(self) -> Optional[pulumi.Input[str]]: def else_(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "else_", value) + @property + @pulumi.getter + def states(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) + """ + return pulumi.get(self, "states") + + @states.setter + def states(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "states", value) + if not MYPY: class AutomationWorkflowTasksTaskPositionArgsDict(TypedDict): @@ -23733,6 +23762,18 @@ class BrowserMonitorScriptConfigurationJavascriptSetttingsArgsDict(TypedDict): """ Additional Javascript Agent Properties """ + fetch_requests: NotRequired[pulumi.Input[bool]] + """ + Capture fetch() requests + """ + javascript_errors: NotRequired[pulumi.Input[bool]] + """ + JavaScript error report + """ + timed_actions: NotRequired[pulumi.Input[bool]] + """ + Timed action support + """ timeout_settings: NotRequired[pulumi.Input['BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsArgsDict']] """ Custom JavaScript Agent settings @@ -23741,6 +23782,10 @@ class BrowserMonitorScriptConfigurationJavascriptSetttingsArgsDict(TypedDict): """ Parameters for Visually complete and Speed index calculation """ + xml_http_requests: NotRequired[pulumi.Input[bool]] + """ + Capture XMLHttpRequests (XHR) + """ elif False: BrowserMonitorScriptConfigurationJavascriptSetttingsArgsDict: TypeAlias = Mapping[str, Any] @@ -23748,19 +23793,35 @@ class BrowserMonitorScriptConfigurationJavascriptSetttingsArgsDict(TypedDict): class BrowserMonitorScriptConfigurationJavascriptSetttingsArgs: def __init__(__self__, *, custom_properties: Optional[pulumi.Input[str]] = None, + fetch_requests: Optional[pulumi.Input[bool]] = None, + javascript_errors: Optional[pulumi.Input[bool]] = None, + timed_actions: Optional[pulumi.Input[bool]] = None, timeout_settings: Optional[pulumi.Input['BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsArgs']] = None, - visually_complete_options: Optional[pulumi.Input['BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptionsArgs']] = None): + visually_complete_options: Optional[pulumi.Input['BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptionsArgs']] = None, + xml_http_requests: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[str] custom_properties: Additional Javascript Agent Properties + :param pulumi.Input[bool] fetch_requests: Capture fetch() requests + :param pulumi.Input[bool] javascript_errors: JavaScript error report + :param pulumi.Input[bool] timed_actions: Timed action support :param pulumi.Input['BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsArgs'] timeout_settings: Custom JavaScript Agent settings :param pulumi.Input['BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptionsArgs'] visually_complete_options: Parameters for Visually complete and Speed index calculation + :param pulumi.Input[bool] xml_http_requests: Capture XMLHttpRequests (XHR) """ if custom_properties is not None: pulumi.set(__self__, "custom_properties", custom_properties) + if fetch_requests is not None: + pulumi.set(__self__, "fetch_requests", fetch_requests) + if javascript_errors is not None: + pulumi.set(__self__, "javascript_errors", javascript_errors) + if timed_actions is not None: + pulumi.set(__self__, "timed_actions", timed_actions) if timeout_settings is not None: pulumi.set(__self__, "timeout_settings", timeout_settings) if visually_complete_options is not None: pulumi.set(__self__, "visually_complete_options", visually_complete_options) + if xml_http_requests is not None: + pulumi.set(__self__, "xml_http_requests", xml_http_requests) @property @pulumi.getter(name="customProperties") @@ -23774,6 +23835,42 @@ def custom_properties(self) -> Optional[pulumi.Input[str]]: def custom_properties(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "custom_properties", value) + @property + @pulumi.getter(name="fetchRequests") + def fetch_requests(self) -> Optional[pulumi.Input[bool]]: + """ + Capture fetch() requests + """ + return pulumi.get(self, "fetch_requests") + + @fetch_requests.setter + def fetch_requests(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "fetch_requests", value) + + @property + @pulumi.getter(name="javascriptErrors") + def javascript_errors(self) -> Optional[pulumi.Input[bool]]: + """ + JavaScript error report + """ + return pulumi.get(self, "javascript_errors") + + @javascript_errors.setter + def javascript_errors(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "javascript_errors", value) + + @property + @pulumi.getter(name="timedActions") + def timed_actions(self) -> Optional[pulumi.Input[bool]]: + """ + Timed action support + """ + return pulumi.get(self, "timed_actions") + + @timed_actions.setter + def timed_actions(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "timed_actions", value) + @property @pulumi.getter(name="timeoutSettings") def timeout_settings(self) -> Optional[pulumi.Input['BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsArgs']]: @@ -23798,6 +23895,18 @@ def visually_complete_options(self) -> Optional[pulumi.Input['BrowserMonitorScri def visually_complete_options(self, value: Optional[pulumi.Input['BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptionsArgs']]): pulumi.set(self, "visually_complete_options", value) + @property + @pulumi.getter(name="xmlHttpRequests") + def xml_http_requests(self) -> Optional[pulumi.Input[bool]]: + """ + Capture XMLHttpRequests (XHR) + """ + return pulumi.get(self, "xml_http_requests") + + @xml_http_requests.setter + def xml_http_requests(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "xml_http_requests", value) + if not MYPY: class BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsArgsDict(TypedDict): @@ -45497,6 +45606,10 @@ def value(self, value: pulumi.Input[str]): if not MYPY: class DavisAnomalyDetectorsExecutionSettingsArgsDict(TypedDict): + actor: NotRequired[pulumi.Input[str]] + """ + UUID of a service user. Queries will be executed on behalf of the service user. + """ query_offset: NotRequired[pulumi.Input[int]] """ Minute offset of sliding evaluation window for metrics with latency @@ -45507,13 +45620,29 @@ class DavisAnomalyDetectorsExecutionSettingsArgsDict(TypedDict): @pulumi.input_type class DavisAnomalyDetectorsExecutionSettingsArgs: def __init__(__self__, *, + actor: Optional[pulumi.Input[str]] = None, query_offset: Optional[pulumi.Input[int]] = None): """ + :param pulumi.Input[str] actor: UUID of a service user. Queries will be executed on behalf of the service user. :param pulumi.Input[int] query_offset: Minute offset of sliding evaluation window for metrics with latency """ + if actor is not None: + pulumi.set(__self__, "actor", actor) if query_offset is not None: pulumi.set(__self__, "query_offset", query_offset) + @property + @pulumi.getter + def actor(self) -> Optional[pulumi.Input[str]]: + """ + UUID of a service user. Queries will be executed on behalf of the service user. + """ + return pulumi.get(self, "actor") + + @actor.setter + def actor(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "actor", value) + @property @pulumi.getter(name="queryOffset") def query_offset(self) -> Optional[pulumi.Input[int]]: @@ -46544,6 +46673,10 @@ class DiscoveryDefaultRulesRuleActionsActionArgsDict(TypedDict): """ no documentation available """ + instant_action: NotRequired[pulumi.Input[bool]] + """ + Instant action + """ parameters: NotRequired[pulumi.Input['DiscoveryDefaultRulesRuleActionsActionParametersArgsDict']] """ no documentation available @@ -46555,12 +46688,16 @@ class DiscoveryDefaultRulesRuleActionsActionArgsDict(TypedDict): class DiscoveryDefaultRulesRuleActionsActionArgs: def __init__(__self__, *, name: pulumi.Input[str], + instant_action: Optional[pulumi.Input[bool]] = None, parameters: Optional[pulumi.Input['DiscoveryDefaultRulesRuleActionsActionParametersArgs']] = None): """ :param pulumi.Input[str] name: no documentation available + :param pulumi.Input[bool] instant_action: Instant action :param pulumi.Input['DiscoveryDefaultRulesRuleActionsActionParametersArgs'] parameters: no documentation available """ pulumi.set(__self__, "name", name) + if instant_action is not None: + pulumi.set(__self__, "instant_action", instant_action) if parameters is not None: pulumi.set(__self__, "parameters", parameters) @@ -46576,6 +46713,18 @@ def name(self) -> pulumi.Input[str]: def name(self, value: pulumi.Input[str]): pulumi.set(self, "name", value) + @property + @pulumi.getter(name="instantAction") + def instant_action(self) -> Optional[pulumi.Input[bool]]: + """ + Instant action + """ + return pulumi.get(self, "instant_action") + + @instant_action.setter + def instant_action(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "instant_action", value) + @property @pulumi.getter def parameters(self) -> Optional[pulumi.Input['DiscoveryDefaultRulesRuleActionsActionParametersArgs']]: @@ -70319,6 +70468,10 @@ class LogCustomSourceCustomLogSourceArgsDict(TypedDict): """ Accept binary content """ + encoding: NotRequired[pulumi.Input[str]] + """ + no documentation available + """ values: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]] """ (Required attribute for cluster v1.291 and under) It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name. @@ -70335,17 +70488,21 @@ class LogCustomSourceCustomLogSourceArgs: def __init__(__self__, *, type: pulumi.Input[str], accept_binary: Optional[pulumi.Input[bool]] = None, + encoding: Optional[pulumi.Input[str]] = None, values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, values_and_enrichment: Optional[pulumi.Input['LogCustomSourceCustomLogSourceValuesAndEnrichmentArgs']] = None): """ :param pulumi.Input[str] type: Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` :param pulumi.Input[bool] accept_binary: Accept binary content + :param pulumi.Input[str] encoding: no documentation available :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Required attribute for cluster v1.291 and under) It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name. :param pulumi.Input['LogCustomSourceCustomLogSourceValuesAndEnrichmentArgs'] values_and_enrichment: (Required attribute for cluster v1.292+) It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name. """ pulumi.set(__self__, "type", type) if accept_binary is not None: pulumi.set(__self__, "accept_binary", accept_binary) + if encoding is not None: + pulumi.set(__self__, "encoding", encoding) if values is not None: pulumi.set(__self__, "values", values) if values_and_enrichment is not None: @@ -70375,6 +70532,18 @@ def accept_binary(self) -> Optional[pulumi.Input[bool]]: def accept_binary(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "accept_binary", value) + @property + @pulumi.getter + def encoding(self) -> Optional[pulumi.Input[str]]: + """ + no documentation available + """ + return pulumi.get(self, "encoding") + + @encoding.setter + def encoding(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "encoding", value) + @property @pulumi.getter def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -71014,7 +71183,7 @@ def matchers(self, value: pulumi.Input[Sequence[pulumi.Input['LogSensitiveDataMa class LogSensitiveDataMaskingMatchersMatcherArgsDict(TypedDict): attribute: pulumi.Input[str] """ - Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` """ operator: pulumi.Input[str] """ @@ -71034,7 +71203,7 @@ def __init__(__self__, *, operator: pulumi.Input[str], values: pulumi.Input[Sequence[pulumi.Input[str]]]): """ - :param pulumi.Input[str] attribute: Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + :param pulumi.Input[str] attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` :param pulumi.Input[str] operator: Possible Values: `MATCHES` :param pulumi.Input[Sequence[pulumi.Input[str]]] values: no documentation available """ @@ -71046,7 +71215,7 @@ def __init__(__self__, *, @pulumi.getter def attribute(self) -> pulumi.Input[str]: """ - Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` """ return pulumi.get(self, "attribute") @@ -71105,7 +71274,7 @@ def matchers(self, value: pulumi.Input[Sequence[pulumi.Input['LogStorageMatchers class LogStorageMatchersMatcherArgsDict(TypedDict): attribute: pulumi.Input[str] """ - Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` """ operator: pulumi.Input[str] """ @@ -71125,7 +71294,7 @@ def __init__(__self__, *, operator: pulumi.Input[str], values: pulumi.Input[Sequence[pulumi.Input[str]]]): """ - :param pulumi.Input[str] attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + :param pulumi.Input[str] attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` :param pulumi.Input[str] operator: Possible Values: `MATCHES` :param pulumi.Input[Sequence[pulumi.Input[str]]] values: no documentation available """ @@ -71137,7 +71306,7 @@ def __init__(__self__, *, @pulumi.getter def attribute(self) -> pulumi.Input[str]: """ - Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` """ return pulumi.get(self, "attribute") @@ -71228,7 +71397,7 @@ def matchers(self, value: pulumi.Input[Sequence[pulumi.Input['LogTimestampMatche class LogTimestampMatchersMatcherArgsDict(TypedDict): attribute: pulumi.Input[str] """ - Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` """ operator: pulumi.Input[str] """ @@ -71248,7 +71417,7 @@ def __init__(__self__, *, operator: pulumi.Input[str], values: pulumi.Input[Sequence[pulumi.Input[str]]]): """ - :param pulumi.Input[str] attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + :param pulumi.Input[str] attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` :param pulumi.Input[str] operator: Possible Values: `MATCHES` :param pulumi.Input[Sequence[pulumi.Input[str]]] values: no documentation available """ @@ -71260,7 +71429,7 @@ def __init__(__self__, *, @pulumi.getter def attribute(self) -> pulumi.Input[str]: """ - Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` """ return pulumi.get(self, "attribute") @@ -142334,6 +142503,10 @@ class SiteReliabilityGuardianObjectivesObjectiveArgsDict(TypedDict): """ no documentation available """ + display_unit: NotRequired[pulumi.Input['SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgsDict']] + """ + Display Unit + """ dql_query: NotRequired[pulumi.Input[str]] """ DQL query @@ -142361,6 +142534,7 @@ def __init__(__self__, *, objective_type: pulumi.Input[str], auto_adaptive_threshold_enabled: Optional[pulumi.Input[bool]] = None, description: Optional[pulumi.Input[str]] = None, + display_unit: Optional[pulumi.Input['SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs']] = None, dql_query: Optional[pulumi.Input[str]] = None, reference_slo: Optional[pulumi.Input[str]] = None, target: Optional[pulumi.Input[float]] = None, @@ -142371,6 +142545,7 @@ def __init__(__self__, *, :param pulumi.Input[str] objective_type: Possible Values: `DQL`, `REFERENCE_SLO` :param pulumi.Input[bool] auto_adaptive_threshold_enabled: Enable auto adaptive threshold :param pulumi.Input[str] description: no documentation available + :param pulumi.Input['SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs'] display_unit: Display Unit :param pulumi.Input[str] dql_query: DQL query :param pulumi.Input[str] reference_slo: Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.' :param pulumi.Input[float] target: no documentation available @@ -142383,6 +142558,8 @@ def __init__(__self__, *, pulumi.set(__self__, "auto_adaptive_threshold_enabled", auto_adaptive_threshold_enabled) if description is not None: pulumi.set(__self__, "description", description) + if display_unit is not None: + pulumi.set(__self__, "display_unit", display_unit) if dql_query is not None: pulumi.set(__self__, "dql_query", dql_query) if reference_slo is not None: @@ -142452,6 +142629,18 @@ def description(self) -> Optional[pulumi.Input[str]]: def description(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "description", value) + @property + @pulumi.getter(name="displayUnit") + def display_unit(self) -> Optional[pulumi.Input['SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs']]: + """ + Display Unit + """ + return pulumi.get(self, "display_unit") + + @display_unit.setter + def display_unit(self, value: Optional[pulumi.Input['SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs']]): + pulumi.set(self, "display_unit", value) + @property @pulumi.getter(name="dqlQuery") def dql_query(self) -> Optional[pulumi.Input[str]]: @@ -142501,6 +142690,75 @@ def warning(self, value: Optional[pulumi.Input[float]]): pulumi.set(self, "warning", value) +if not MYPY: + class SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgsDict(TypedDict): + base: pulumi.Input[str] + """ + Base Unit + """ + decimals: pulumi.Input[int] + """ + Decimals + """ + display: pulumi.Input[str] + """ + display as unit + """ +elif False: + SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs: + def __init__(__self__, *, + base: pulumi.Input[str], + decimals: pulumi.Input[int], + display: pulumi.Input[str]): + """ + :param pulumi.Input[str] base: Base Unit + :param pulumi.Input[int] decimals: Decimals + :param pulumi.Input[str] display: display as unit + """ + pulumi.set(__self__, "base", base) + pulumi.set(__self__, "decimals", decimals) + pulumi.set(__self__, "display", display) + + @property + @pulumi.getter + def base(self) -> pulumi.Input[str]: + """ + Base Unit + """ + return pulumi.get(self, "base") + + @base.setter + def base(self, value: pulumi.Input[str]): + pulumi.set(self, "base", value) + + @property + @pulumi.getter + def decimals(self) -> pulumi.Input[int]: + """ + Decimals + """ + return pulumi.get(self, "decimals") + + @decimals.setter + def decimals(self, value: pulumi.Input[int]): + pulumi.set(self, "decimals", value) + + @property + @pulumi.getter + def display(self) -> pulumi.Input[str]: + """ + display as unit + """ + return pulumi.get(self, "display") + + @display.setter + def display(self, value: pulumi.Input[str]): + pulumi.set(self, "display", value) + + if not MYPY: class SiteReliabilityGuardianVariablesArgsDict(TypedDict): variables: pulumi.Input[Sequence[pulumi.Input['SiteReliabilityGuardianVariablesVariableArgsDict']]] @@ -146776,6 +147034,139 @@ def traffic_spike_percentage(self, value: pulumi.Input[float]): pulumi.set(self, "traffic_spike_percentage", value) +if not MYPY: + class WebAppAutoInjectionCacheControlHeadersArgsDict(TypedDict): + cache_control_headers: pulumi.Input[bool] + """ + [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + """ +elif False: + WebAppAutoInjectionCacheControlHeadersArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class WebAppAutoInjectionCacheControlHeadersArgs: + def __init__(__self__, *, + cache_control_headers: pulumi.Input[bool]): + """ + :param pulumi.Input[bool] cache_control_headers: [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + """ + pulumi.set(__self__, "cache_control_headers", cache_control_headers) + + @property + @pulumi.getter(name="cacheControlHeaders") + def cache_control_headers(self) -> pulumi.Input[bool]: + """ + [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + """ + return pulumi.get(self, "cache_control_headers") + + @cache_control_headers.setter + def cache_control_headers(self, value: pulumi.Input[bool]): + pulumi.set(self, "cache_control_headers", value) + + +if not MYPY: + class WebAppAutoInjectionMonitoringCodeSourceSectionArgsDict(TypedDict): + code_source: pulumi.Input[str] + """ + Real User Monitoring code source + """ + monitoring_code_path: NotRequired[pulumi.Input[str]] + """ + Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + """ +elif False: + WebAppAutoInjectionMonitoringCodeSourceSectionArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class WebAppAutoInjectionMonitoringCodeSourceSectionArgs: + def __init__(__self__, *, + code_source: pulumi.Input[str], + monitoring_code_path: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] code_source: Real User Monitoring code source + :param pulumi.Input[str] monitoring_code_path: Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + """ + pulumi.set(__self__, "code_source", code_source) + if monitoring_code_path is not None: + pulumi.set(__self__, "monitoring_code_path", monitoring_code_path) + + @property + @pulumi.getter(name="codeSource") + def code_source(self) -> pulumi.Input[str]: + """ + Real User Monitoring code source + """ + return pulumi.get(self, "code_source") + + @code_source.setter + def code_source(self, value: pulumi.Input[str]): + pulumi.set(self, "code_source", value) + + @property + @pulumi.getter(name="monitoringCodePath") + def monitoring_code_path(self) -> Optional[pulumi.Input[str]]: + """ + Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + """ + return pulumi.get(self, "monitoring_code_path") + + @monitoring_code_path.setter + def monitoring_code_path(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "monitoring_code_path", value) + + +if not MYPY: + class WebAppAutoInjectionSnippetFormatArgsDict(TypedDict): + snippet_format: pulumi.Input[str] + """ + Snippet format + """ + code_snippet_type: NotRequired[pulumi.Input[str]] + """ + Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + """ +elif False: + WebAppAutoInjectionSnippetFormatArgsDict: TypeAlias = Mapping[str, Any] + +@pulumi.input_type +class WebAppAutoInjectionSnippetFormatArgs: + def __init__(__self__, *, + snippet_format: pulumi.Input[str], + code_snippet_type: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] snippet_format: Snippet format + :param pulumi.Input[str] code_snippet_type: Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + """ + pulumi.set(__self__, "snippet_format", snippet_format) + if code_snippet_type is not None: + pulumi.set(__self__, "code_snippet_type", code_snippet_type) + + @property + @pulumi.getter(name="snippetFormat") + def snippet_format(self) -> pulumi.Input[str]: + """ + Snippet format + """ + return pulumi.get(self, "snippet_format") + + @snippet_format.setter + def snippet_format(self, value: pulumi.Input[str]): + pulumi.set(self, "snippet_format", value) + + @property + @pulumi.getter(name="codeSnippetType") + def code_snippet_type(self) -> Optional[pulumi.Input[str]]: + """ + Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + """ + return pulumi.get(self, "code_snippet_type") + + @code_snippet_type.setter + def code_snippet_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code_snippet_type", value) + + if not MYPY: class WebAppCustomErrorsErrorRulesArgsDict(TypedDict): error_rules: pulumi.Input[Sequence[pulumi.Input['WebAppCustomErrorsErrorRulesErrorRuleArgsDict']]] diff --git a/sdk/python/pulumiverse_dynatrace/_utilities.py b/sdk/python/pulumiverse_dynatrace/_utilities.py index 955dfdc3..3b640b72 100644 --- a/sdk/python/pulumiverse_dynatrace/_utilities.py +++ b/sdk/python/pulumiverse_dynatrace/_utilities.py @@ -89,12 +89,16 @@ def _get_semver_version(): elif pep440_version.pre_tag == 'rc': prerelease = f"rc.{pep440_version.pre}" elif pep440_version.dev is not None: + # PEP440 has explicit support for dev builds, while semver encodes them as "prerelease" versions. To bridge + # between the two, we convert our dev build version into a prerelease tag. This matches what all of our other + # packages do when constructing their own semver string. prerelease = f"dev.{pep440_version.dev}" + elif pep440_version.local is not None: + # PEP440 only allows a small set of prerelease tags, so when converting an arbitrary prerelease, + # PypiVersion in /pkg/codegen/python/utilities.go converts it to a local version. Therefore, we need to + # do the reverse conversion here and set the local version as the prerelease tag. + prerelease = pep440_version.local - # The only significant difference between PEP440 and semver as it pertains to us is that PEP440 has explicit support - # for dev builds, while semver encodes them as "prerelease" versions. In order to bridge between the two, we convert - # our dev build version into a prerelease tag. This matches what all of our other packages do when constructing - # their own semver string. return SemverVersion(major=major, minor=minor, patch=patch, prerelease=prerelease) diff --git a/sdk/python/pulumiverse_dynatrace/app_monitoring.py b/sdk/python/pulumiverse_dynatrace/app_monitoring.py index 3f199988..b471324d 100644 --- a/sdk/python/pulumiverse_dynatrace/app_monitoring.py +++ b/sdk/python/pulumiverse_dynatrace/app_monitoring.py @@ -22,21 +22,25 @@ class AppMonitoringArgs: def __init__(__self__, *, default_log_level: pulumi.Input[str], - app_monitoring: Optional[pulumi.Input['AppMonitoringAppMonitoringArgs']] = None): + app_monitoring: Optional[pulumi.Input['AppMonitoringAppMonitoringArgs']] = None, + default_trace_level: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a AppMonitoring resource. - :param pulumi.Input[str] default_log_level: Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + :param pulumi.Input[str] default_log_level: Possible Values: `debug`, `error`, `info`, `off`, `warn` :param pulumi.Input['AppMonitoringAppMonitoringArgs'] app_monitoring: You can override the default monitoring setting for each app separately + :param pulumi.Input[str] default_trace_level: Possible Values: `off`, `on` """ pulumi.set(__self__, "default_log_level", default_log_level) if app_monitoring is not None: pulumi.set(__self__, "app_monitoring", app_monitoring) + if default_trace_level is not None: + pulumi.set(__self__, "default_trace_level", default_trace_level) @property @pulumi.getter(name="defaultLogLevel") def default_log_level(self) -> pulumi.Input[str]: """ - Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + Possible Values: `debug`, `error`, `info`, `off`, `warn` """ return pulumi.get(self, "default_log_level") @@ -56,21 +60,37 @@ def app_monitoring(self) -> Optional[pulumi.Input['AppMonitoringAppMonitoringArg def app_monitoring(self, value: Optional[pulumi.Input['AppMonitoringAppMonitoringArgs']]): pulumi.set(self, "app_monitoring", value) + @property + @pulumi.getter(name="defaultTraceLevel") + def default_trace_level(self) -> Optional[pulumi.Input[str]]: + """ + Possible Values: `off`, `on` + """ + return pulumi.get(self, "default_trace_level") + + @default_trace_level.setter + def default_trace_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_trace_level", value) + @pulumi.input_type class _AppMonitoringState: def __init__(__self__, *, app_monitoring: Optional[pulumi.Input['AppMonitoringAppMonitoringArgs']] = None, - default_log_level: Optional[pulumi.Input[str]] = None): + default_log_level: Optional[pulumi.Input[str]] = None, + default_trace_level: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering AppMonitoring resources. :param pulumi.Input['AppMonitoringAppMonitoringArgs'] app_monitoring: You can override the default monitoring setting for each app separately - :param pulumi.Input[str] default_log_level: Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + :param pulumi.Input[str] default_log_level: Possible Values: `debug`, `error`, `info`, `off`, `warn` + :param pulumi.Input[str] default_trace_level: Possible Values: `off`, `on` """ if app_monitoring is not None: pulumi.set(__self__, "app_monitoring", app_monitoring) if default_log_level is not None: pulumi.set(__self__, "default_log_level", default_log_level) + if default_trace_level is not None: + pulumi.set(__self__, "default_trace_level", default_trace_level) @property @pulumi.getter(name="appMonitoring") @@ -88,7 +108,7 @@ def app_monitoring(self, value: Optional[pulumi.Input['AppMonitoringAppMonitorin @pulumi.getter(name="defaultLogLevel") def default_log_level(self) -> Optional[pulumi.Input[str]]: """ - Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + Possible Values: `debug`, `error`, `info`, `off`, `warn` """ return pulumi.get(self, "default_log_level") @@ -96,6 +116,18 @@ def default_log_level(self) -> Optional[pulumi.Input[str]]: def default_log_level(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "default_log_level", value) + @property + @pulumi.getter(name="defaultTraceLevel") + def default_trace_level(self) -> Optional[pulumi.Input[str]]: + """ + Possible Values: `off`, `on` + """ + return pulumi.get(self, "default_trace_level") + + @default_trace_level.setter + def default_trace_level(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "default_trace_level", value) + class AppMonitoring(pulumi.CustomResource): @overload @@ -104,13 +136,15 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, app_monitoring: Optional[pulumi.Input[Union['AppMonitoringAppMonitoringArgs', 'AppMonitoringAppMonitoringArgsDict']]] = None, default_log_level: Optional[pulumi.Input[str]] = None, + default_trace_level: Optional[pulumi.Input[str]] = None, __props__=None): """ Create a AppMonitoring resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['AppMonitoringAppMonitoringArgs', 'AppMonitoringAppMonitoringArgsDict']] app_monitoring: You can override the default monitoring setting for each app separately - :param pulumi.Input[str] default_log_level: Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + :param pulumi.Input[str] default_log_level: Possible Values: `debug`, `error`, `info`, `off`, `warn` + :param pulumi.Input[str] default_trace_level: Possible Values: `off`, `on` """ ... @overload @@ -137,6 +171,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, app_monitoring: Optional[pulumi.Input[Union['AppMonitoringAppMonitoringArgs', 'AppMonitoringAppMonitoringArgsDict']]] = None, default_log_level: Optional[pulumi.Input[str]] = None, + default_trace_level: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -150,6 +185,7 @@ def _internal_init(__self__, if default_log_level is None and not opts.urn: raise TypeError("Missing required property 'default_log_level'") __props__.__dict__["default_log_level"] = default_log_level + __props__.__dict__["default_trace_level"] = default_trace_level super(AppMonitoring, __self__).__init__( 'dynatrace:index/appMonitoring:AppMonitoring', resource_name, @@ -161,7 +197,8 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, app_monitoring: Optional[pulumi.Input[Union['AppMonitoringAppMonitoringArgs', 'AppMonitoringAppMonitoringArgsDict']]] = None, - default_log_level: Optional[pulumi.Input[str]] = None) -> 'AppMonitoring': + default_log_level: Optional[pulumi.Input[str]] = None, + default_trace_level: Optional[pulumi.Input[str]] = None) -> 'AppMonitoring': """ Get an existing AppMonitoring resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -170,7 +207,8 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Union['AppMonitoringAppMonitoringArgs', 'AppMonitoringAppMonitoringArgsDict']] app_monitoring: You can override the default monitoring setting for each app separately - :param pulumi.Input[str] default_log_level: Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + :param pulumi.Input[str] default_log_level: Possible Values: `debug`, `error`, `info`, `off`, `warn` + :param pulumi.Input[str] default_trace_level: Possible Values: `off`, `on` """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -178,6 +216,7 @@ def get(resource_name: str, __props__.__dict__["app_monitoring"] = app_monitoring __props__.__dict__["default_log_level"] = default_log_level + __props__.__dict__["default_trace_level"] = default_trace_level return AppMonitoring(resource_name, opts=opts, __props__=__props__) @property @@ -192,7 +231,15 @@ def app_monitoring(self) -> pulumi.Output[Optional['outputs.AppMonitoringAppMoni @pulumi.getter(name="defaultLogLevel") def default_log_level(self) -> pulumi.Output[str]: """ - Possible Values: `Debug`, `Error`, `Info`, `Off`, `Warn` + Possible Values: `debug`, `error`, `info`, `off`, `warn` """ return pulumi.get(self, "default_log_level") + @property + @pulumi.getter(name="defaultTraceLevel") + def default_trace_level(self) -> pulumi.Output[Optional[str]]: + """ + Possible Values: `off`, `on` + """ + return pulumi.get(self, "default_trace_level") + diff --git a/sdk/python/pulumiverse_dynatrace/builtin_process_monitoring.py b/sdk/python/pulumiverse_dynatrace/builtin_process_monitoring.py index f25fdbb9..050e3f7e 100644 --- a/sdk/python/pulumiverse_dynatrace/builtin_process_monitoring.py +++ b/sdk/python/pulumiverse_dynatrace/builtin_process_monitoring.py @@ -69,6 +69,7 @@ def __init__(__self__, *, exe_uipath: Optional[pulumi.Input[bool]] = None, exe_userbinpiper: Optional[pulumi.Input[bool]] = None, exe_w3wp: Optional[pulumi.Input[bool]] = None, + exe_yq: Optional[pulumi.Input[bool]] = None, go_static: Optional[pulumi.Input[bool]] = None, host_group_id: Optional[pulumi.Input[str]] = None, jar_dtibmmqconnector: Optional[pulumi.Input[bool]] = None, @@ -139,6 +140,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] exe_uipath: Rule id: 70 - Do not monitor processes if EXE name contains 'UiPath' :param pulumi.Input[bool] exe_userbinpiper: Rule id: 67 - Do not monitor processes if EXE path equals '/usr/bin/piper' :param pulumi.Input[bool] exe_w3wp: Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' + :param pulumi.Input[bool] exe_yq: Rule id: 72 - Do not monitor processes if EXE name equals 'yq' :param pulumi.Input[bool] go_static: Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' :param pulumi.Input[str] host_group_id: The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. :param pulumi.Input[bool] jar_dtibmmqconnector: Rule id: 60 - Do not monitor processes if JAR file name equals 'dynatrace*ibm*mq_connector.jar' @@ -258,6 +260,8 @@ def __init__(__self__, *, pulumi.set(__self__, "exe_userbinpiper", exe_userbinpiper) if exe_w3wp is not None: pulumi.set(__self__, "exe_w3wp", exe_w3wp) + if exe_yq is not None: + pulumi.set(__self__, "exe_yq", exe_yq) if go_static is not None: pulumi.set(__self__, "go_static", go_static) if host_group_id is not None: @@ -895,6 +899,18 @@ def exe_w3wp(self) -> Optional[pulumi.Input[bool]]: def exe_w3wp(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "exe_w3wp", value) + @property + @pulumi.getter(name="exeYq") + def exe_yq(self) -> Optional[pulumi.Input[bool]]: + """ + Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + """ + return pulumi.get(self, "exe_yq") + + @exe_yq.setter + def exe_yq(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "exe_yq", value) + @property @pulumi.getter(name="goStatic") def go_static(self) -> Optional[pulumi.Input[bool]]: @@ -1165,6 +1181,7 @@ def __init__(__self__, *, exe_uipath: Optional[pulumi.Input[bool]] = None, exe_userbinpiper: Optional[pulumi.Input[bool]] = None, exe_w3wp: Optional[pulumi.Input[bool]] = None, + exe_yq: Optional[pulumi.Input[bool]] = None, go_static: Optional[pulumi.Input[bool]] = None, host_group_id: Optional[pulumi.Input[str]] = None, jar_dtibmmqconnector: Optional[pulumi.Input[bool]] = None, @@ -1235,6 +1252,7 @@ def __init__(__self__, *, :param pulumi.Input[bool] exe_uipath: Rule id: 70 - Do not monitor processes if EXE name contains 'UiPath' :param pulumi.Input[bool] exe_userbinpiper: Rule id: 67 - Do not monitor processes if EXE path equals '/usr/bin/piper' :param pulumi.Input[bool] exe_w3wp: Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' + :param pulumi.Input[bool] exe_yq: Rule id: 72 - Do not monitor processes if EXE name equals 'yq' :param pulumi.Input[bool] go_static: Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' :param pulumi.Input[str] host_group_id: The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. :param pulumi.Input[bool] jar_dtibmmqconnector: Rule id: 60 - Do not monitor processes if JAR file name equals 'dynatrace*ibm*mq_connector.jar' @@ -1354,6 +1372,8 @@ def __init__(__self__, *, pulumi.set(__self__, "exe_userbinpiper", exe_userbinpiper) if exe_w3wp is not None: pulumi.set(__self__, "exe_w3wp", exe_w3wp) + if exe_yq is not None: + pulumi.set(__self__, "exe_yq", exe_yq) if go_static is not None: pulumi.set(__self__, "go_static", go_static) if host_group_id is not None: @@ -1991,6 +2011,18 @@ def exe_w3wp(self) -> Optional[pulumi.Input[bool]]: def exe_w3wp(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "exe_w3wp", value) + @property + @pulumi.getter(name="exeYq") + def exe_yq(self) -> Optional[pulumi.Input[bool]]: + """ + Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + """ + return pulumi.get(self, "exe_yq") + + @exe_yq.setter + def exe_yq(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "exe_yq", value) + @property @pulumi.getter(name="goStatic") def go_static(self) -> Optional[pulumi.Input[bool]]: @@ -2263,6 +2295,7 @@ def __init__(__self__, exe_uipath: Optional[pulumi.Input[bool]] = None, exe_userbinpiper: Optional[pulumi.Input[bool]] = None, exe_w3wp: Optional[pulumi.Input[bool]] = None, + exe_yq: Optional[pulumi.Input[bool]] = None, go_static: Optional[pulumi.Input[bool]] = None, host_group_id: Optional[pulumi.Input[str]] = None, jar_dtibmmqconnector: Optional[pulumi.Input[bool]] = None, @@ -2336,6 +2369,7 @@ def __init__(__self__, :param pulumi.Input[bool] exe_uipath: Rule id: 70 - Do not monitor processes if EXE name contains 'UiPath' :param pulumi.Input[bool] exe_userbinpiper: Rule id: 67 - Do not monitor processes if EXE path equals '/usr/bin/piper' :param pulumi.Input[bool] exe_w3wp: Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' + :param pulumi.Input[bool] exe_yq: Rule id: 72 - Do not monitor processes if EXE name equals 'yq' :param pulumi.Input[bool] go_static: Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' :param pulumi.Input[str] host_group_id: The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. :param pulumi.Input[bool] jar_dtibmmqconnector: Rule id: 60 - Do not monitor processes if JAR file name equals 'dynatrace*ibm*mq_connector.jar' @@ -2428,6 +2462,7 @@ def _internal_init(__self__, exe_uipath: Optional[pulumi.Input[bool]] = None, exe_userbinpiper: Optional[pulumi.Input[bool]] = None, exe_w3wp: Optional[pulumi.Input[bool]] = None, + exe_yq: Optional[pulumi.Input[bool]] = None, go_static: Optional[pulumi.Input[bool]] = None, host_group_id: Optional[pulumi.Input[str]] = None, jar_dtibmmqconnector: Optional[pulumi.Input[bool]] = None, @@ -2505,6 +2540,7 @@ def _internal_init(__self__, __props__.__dict__["exe_uipath"] = exe_uipath __props__.__dict__["exe_userbinpiper"] = exe_userbinpiper __props__.__dict__["exe_w3wp"] = exe_w3wp + __props__.__dict__["exe_yq"] = exe_yq __props__.__dict__["go_static"] = go_static __props__.__dict__["host_group_id"] = host_group_id __props__.__dict__["jar_dtibmmqconnector"] = jar_dtibmmqconnector @@ -2583,6 +2619,7 @@ def get(resource_name: str, exe_uipath: Optional[pulumi.Input[bool]] = None, exe_userbinpiper: Optional[pulumi.Input[bool]] = None, exe_w3wp: Optional[pulumi.Input[bool]] = None, + exe_yq: Optional[pulumi.Input[bool]] = None, go_static: Optional[pulumi.Input[bool]] = None, host_group_id: Optional[pulumi.Input[str]] = None, jar_dtibmmqconnector: Optional[pulumi.Input[bool]] = None, @@ -2658,6 +2695,7 @@ def get(resource_name: str, :param pulumi.Input[bool] exe_uipath: Rule id: 70 - Do not monitor processes if EXE name contains 'UiPath' :param pulumi.Input[bool] exe_userbinpiper: Rule id: 67 - Do not monitor processes if EXE path equals '/usr/bin/piper' :param pulumi.Input[bool] exe_w3wp: Rule id: 4 - Do monitor processes if EXE name equals 'w3wp.exe' + :param pulumi.Input[bool] exe_yq: Rule id: 72 - Do not monitor processes if EXE name equals 'yq' :param pulumi.Input[bool] go_static: Rule id: 47 - Do not monitor processes if Go Binary Linkage equals 'static' :param pulumi.Input[str] host_group_id: The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. :param pulumi.Input[bool] jar_dtibmmqconnector: Rule id: 60 - Do not monitor processes if JAR file name equals 'dynatrace*ibm*mq_connector.jar' @@ -2731,6 +2769,7 @@ def get(resource_name: str, __props__.__dict__["exe_uipath"] = exe_uipath __props__.__dict__["exe_userbinpiper"] = exe_userbinpiper __props__.__dict__["exe_w3wp"] = exe_w3wp + __props__.__dict__["exe_yq"] = exe_yq __props__.__dict__["go_static"] = go_static __props__.__dict__["host_group_id"] = host_group_id __props__.__dict__["jar_dtibmmqconnector"] = jar_dtibmmqconnector @@ -3151,6 +3190,14 @@ def exe_w3wp(self) -> pulumi.Output[Optional[bool]]: """ return pulumi.get(self, "exe_w3wp") + @property + @pulumi.getter(name="exeYq") + def exe_yq(self) -> pulumi.Output[Optional[bool]]: + """ + Rule id: 72 - Do not monitor processes if EXE name equals 'yq' + """ + return pulumi.get(self, "exe_yq") + @property @pulumi.getter(name="goStatic") def go_static(self) -> pulumi.Output[Optional[bool]]: diff --git a/sdk/python/pulumiverse_dynatrace/business_events_capturing_variants.py b/sdk/python/pulumiverse_dynatrace/business_events_capturing_variants.py new file mode 100644 index 00000000..4292e4e8 --- /dev/null +++ b/sdk/python/pulumiverse_dynatrace/business_events_capturing_variants.py @@ -0,0 +1,339 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['BusinessEventsCapturingVariantsArgs', 'BusinessEventsCapturingVariants'] + +@pulumi.input_type +class BusinessEventsCapturingVariantsArgs: + def __init__(__self__, *, + content_type_matcher: pulumi.Input[str], + content_type_value: pulumi.Input[str], + parser: pulumi.Input[str], + insert_after: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a BusinessEventsCapturingVariants resource. + :param pulumi.Input[str] content_type_matcher: Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + :param pulumi.Input[str] content_type_value: Content-type match value + :param pulumi.Input[str] parser: Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + :param pulumi.Input[str] insert_after: Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + :param pulumi.Input[str] scope: The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + """ + pulumi.set(__self__, "content_type_matcher", content_type_matcher) + pulumi.set(__self__, "content_type_value", content_type_value) + pulumi.set(__self__, "parser", parser) + if insert_after is not None: + pulumi.set(__self__, "insert_after", insert_after) + if scope is not None: + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="contentTypeMatcher") + def content_type_matcher(self) -> pulumi.Input[str]: + """ + Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + """ + return pulumi.get(self, "content_type_matcher") + + @content_type_matcher.setter + def content_type_matcher(self, value: pulumi.Input[str]): + pulumi.set(self, "content_type_matcher", value) + + @property + @pulumi.getter(name="contentTypeValue") + def content_type_value(self) -> pulumi.Input[str]: + """ + Content-type match value + """ + return pulumi.get(self, "content_type_value") + + @content_type_value.setter + def content_type_value(self, value: pulumi.Input[str]): + pulumi.set(self, "content_type_value", value) + + @property + @pulumi.getter + def parser(self) -> pulumi.Input[str]: + """ + Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + """ + return pulumi.get(self, "parser") + + @parser.setter + def parser(self, value: pulumi.Input[str]): + pulumi.set(self, "parser", value) + + @property + @pulumi.getter(name="insertAfter") + def insert_after(self) -> Optional[pulumi.Input[str]]: + """ + Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + """ + return pulumi.get(self, "insert_after") + + @insert_after.setter + def insert_after(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "insert_after", value) + + @property + @pulumi.getter + def scope(self) -> Optional[pulumi.Input[str]]: + """ + The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scope", value) + + +@pulumi.input_type +class _BusinessEventsCapturingVariantsState: + def __init__(__self__, *, + content_type_matcher: Optional[pulumi.Input[str]] = None, + content_type_value: Optional[pulumi.Input[str]] = None, + insert_after: Optional[pulumi.Input[str]] = None, + parser: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering BusinessEventsCapturingVariants resources. + :param pulumi.Input[str] content_type_matcher: Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + :param pulumi.Input[str] content_type_value: Content-type match value + :param pulumi.Input[str] insert_after: Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + :param pulumi.Input[str] parser: Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + :param pulumi.Input[str] scope: The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + """ + if content_type_matcher is not None: + pulumi.set(__self__, "content_type_matcher", content_type_matcher) + if content_type_value is not None: + pulumi.set(__self__, "content_type_value", content_type_value) + if insert_after is not None: + pulumi.set(__self__, "insert_after", insert_after) + if parser is not None: + pulumi.set(__self__, "parser", parser) + if scope is not None: + pulumi.set(__self__, "scope", scope) + + @property + @pulumi.getter(name="contentTypeMatcher") + def content_type_matcher(self) -> Optional[pulumi.Input[str]]: + """ + Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + """ + return pulumi.get(self, "content_type_matcher") + + @content_type_matcher.setter + def content_type_matcher(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_type_matcher", value) + + @property + @pulumi.getter(name="contentTypeValue") + def content_type_value(self) -> Optional[pulumi.Input[str]]: + """ + Content-type match value + """ + return pulumi.get(self, "content_type_value") + + @content_type_value.setter + def content_type_value(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "content_type_value", value) + + @property + @pulumi.getter(name="insertAfter") + def insert_after(self) -> Optional[pulumi.Input[str]]: + """ + Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + """ + return pulumi.get(self, "insert_after") + + @insert_after.setter + def insert_after(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "insert_after", value) + + @property + @pulumi.getter + def parser(self) -> Optional[pulumi.Input[str]]: + """ + Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + """ + return pulumi.get(self, "parser") + + @parser.setter + def parser(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "parser", value) + + @property + @pulumi.getter + def scope(self) -> Optional[pulumi.Input[str]]: + """ + The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scope", value) + + +class BusinessEventsCapturingVariants(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + content_type_matcher: Optional[pulumi.Input[str]] = None, + content_type_value: Optional[pulumi.Input[str]] = None, + insert_after: Optional[pulumi.Input[str]] = None, + parser: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + Create a BusinessEventsCapturingVariants resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] content_type_matcher: Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + :param pulumi.Input[str] content_type_value: Content-type match value + :param pulumi.Input[str] insert_after: Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + :param pulumi.Input[str] parser: Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + :param pulumi.Input[str] scope: The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: BusinessEventsCapturingVariantsArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a BusinessEventsCapturingVariants resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param BusinessEventsCapturingVariantsArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(BusinessEventsCapturingVariantsArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + content_type_matcher: Optional[pulumi.Input[str]] = None, + content_type_value: Optional[pulumi.Input[str]] = None, + insert_after: Optional[pulumi.Input[str]] = None, + parser: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = BusinessEventsCapturingVariantsArgs.__new__(BusinessEventsCapturingVariantsArgs) + + if content_type_matcher is None and not opts.urn: + raise TypeError("Missing required property 'content_type_matcher'") + __props__.__dict__["content_type_matcher"] = content_type_matcher + if content_type_value is None and not opts.urn: + raise TypeError("Missing required property 'content_type_value'") + __props__.__dict__["content_type_value"] = content_type_value + __props__.__dict__["insert_after"] = insert_after + if parser is None and not opts.urn: + raise TypeError("Missing required property 'parser'") + __props__.__dict__["parser"] = parser + __props__.__dict__["scope"] = scope + super(BusinessEventsCapturingVariants, __self__).__init__( + 'dynatrace:index/businessEventsCapturingVariants:BusinessEventsCapturingVariants', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + content_type_matcher: Optional[pulumi.Input[str]] = None, + content_type_value: Optional[pulumi.Input[str]] = None, + insert_after: Optional[pulumi.Input[str]] = None, + parser: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None) -> 'BusinessEventsCapturingVariants': + """ + Get an existing BusinessEventsCapturingVariants resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] content_type_matcher: Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + :param pulumi.Input[str] content_type_value: Content-type match value + :param pulumi.Input[str] insert_after: Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + :param pulumi.Input[str] parser: Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + :param pulumi.Input[str] scope: The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _BusinessEventsCapturingVariantsState.__new__(_BusinessEventsCapturingVariantsState) + + __props__.__dict__["content_type_matcher"] = content_type_matcher + __props__.__dict__["content_type_value"] = content_type_value + __props__.__dict__["insert_after"] = insert_after + __props__.__dict__["parser"] = parser + __props__.__dict__["scope"] = scope + return BusinessEventsCapturingVariants(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="contentTypeMatcher") + def content_type_matcher(self) -> pulumi.Output[str]: + """ + Possible Values: `CONTAINS`, `ENDS_WITH`, `EQUALS`, `STARTS_WITH` + """ + return pulumi.get(self, "content_type_matcher") + + @property + @pulumi.getter(name="contentTypeValue") + def content_type_value(self) -> pulumi.Output[str]: + """ + Content-type match value + """ + return pulumi.get(self, "content_type_value") + + @property + @pulumi.getter(name="insertAfter") + def insert_after(self) -> pulumi.Output[str]: + """ + Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched + """ + return pulumi.get(self, "insert_after") + + @property + @pulumi.getter + def parser(self) -> pulumi.Output[str]: + """ + Possible Values: `JSON`, `Raw`, `Text`, `URLencoded`, `XML` + """ + return pulumi.get(self, "parser") + + @property + @pulumi.getter + def scope(self) -> pulumi.Output[Optional[str]]: + """ + The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment. + """ + return pulumi.get(self, "scope") + diff --git a/sdk/python/pulumiverse_dynatrace/json_dashboard_base.py b/sdk/python/pulumiverse_dynatrace/json_dashboard_base.py index 953434ec..3df17845 100644 --- a/sdk/python/pulumiverse_dynatrace/json_dashboard_base.py +++ b/sdk/python/pulumiverse_dynatrace/json_dashboard_base.py @@ -22,7 +22,7 @@ def __init__(__self__, *, contents: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a JsonDashboardBase resource. - :param pulumi.Input[str] contents: Contains the JSON Code of the Dashboard + :param pulumi.Input[str] contents: This attribute exists for backwards compatibility. You do not have to define it. """ if contents is not None: pulumi.set(__self__, "contents", contents) @@ -31,7 +31,7 @@ def __init__(__self__, *, @pulumi.getter def contents(self) -> Optional[pulumi.Input[str]]: """ - Contains the JSON Code of the Dashboard + This attribute exists for backwards compatibility. You do not have to define it. """ return pulumi.get(self, "contents") @@ -46,7 +46,7 @@ def __init__(__self__, *, contents: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering JsonDashboardBase resources. - :param pulumi.Input[str] contents: Contains the JSON Code of the Dashboard + :param pulumi.Input[str] contents: This attribute exists for backwards compatibility. You do not have to define it. """ if contents is not None: pulumi.set(__self__, "contents", contents) @@ -55,7 +55,7 @@ def __init__(__self__, *, @pulumi.getter def contents(self) -> Optional[pulumi.Input[str]]: """ - Contains the JSON Code of the Dashboard + This attribute exists for backwards compatibility. You do not have to define it. """ return pulumi.get(self, "contents") @@ -75,7 +75,7 @@ def __init__(__self__, Create a JsonDashboardBase resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] contents: Contains the JSON Code of the Dashboard + :param pulumi.Input[str] contents: This attribute exists for backwards compatibility. You do not have to define it. """ ... @overload @@ -129,7 +129,7 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] contents: Contains the JSON Code of the Dashboard + :param pulumi.Input[str] contents: This attribute exists for backwards compatibility. You do not have to define it. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -142,7 +142,7 @@ def get(resource_name: str, @pulumi.getter def contents(self) -> pulumi.Output[Optional[str]]: """ - Contains the JSON Code of the Dashboard + This attribute exists for backwards compatibility. You do not have to define it. """ return pulumi.get(self, "contents") diff --git a/sdk/python/pulumiverse_dynatrace/key_requests.py b/sdk/python/pulumiverse_dynatrace/key_requests.py index 15d3bbcf..08604b00 100644 --- a/sdk/python/pulumiverse_dynatrace/key_requests.py +++ b/sdk/python/pulumiverse_dynatrace/key_requests.py @@ -20,13 +20,17 @@ class KeyRequestsArgs: def __init__(__self__, *, service: pulumi.Input[str], + key_request_ids: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ The set of arguments for constructing a KeyRequests resource. :param pulumi.Input[str] service: ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] key_request_ids: The ids of the key requests :param pulumi.Input[Sequence[pulumi.Input[str]]] names: The names of the key requests """ pulumi.set(__self__, "service", service) + if key_request_ids is not None: + pulumi.set(__self__, "key_request_ids", key_request_ids) if names is not None: pulumi.set(__self__, "names", names) @@ -42,6 +46,18 @@ def service(self) -> pulumi.Input[str]: def service(self, value: pulumi.Input[str]): pulumi.set(self, "service", value) + @property + @pulumi.getter(name="keyRequestIds") + def key_request_ids(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + The ids of the key requests + """ + return pulumi.get(self, "key_request_ids") + + @key_request_ids.setter + def key_request_ids(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "key_request_ids", value) + @property @pulumi.getter def names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -58,18 +74,34 @@ def names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): @pulumi.input_type class _KeyRequestsState: def __init__(__self__, *, + key_request_ids: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering KeyRequests resources. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] key_request_ids: The ids of the key requests :param pulumi.Input[Sequence[pulumi.Input[str]]] names: The names of the key requests :param pulumi.Input[str] service: ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH """ + if key_request_ids is not None: + pulumi.set(__self__, "key_request_ids", key_request_ids) if names is not None: pulumi.set(__self__, "names", names) if service is not None: pulumi.set(__self__, "service", service) + @property + @pulumi.getter(name="keyRequestIds") + def key_request_ids(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + The ids of the key requests + """ + return pulumi.get(self, "key_request_ids") + + @key_request_ids.setter + def key_request_ids(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "key_request_ids", value) + @property @pulumi.getter def names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -100,6 +132,7 @@ class KeyRequests(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + key_request_ids: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service: Optional[pulumi.Input[str]] = None, __props__=None): @@ -107,6 +140,7 @@ def __init__(__self__, Create a KeyRequests resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] key_request_ids: The ids of the key requests :param pulumi.Input[Sequence[pulumi.Input[str]]] names: The names of the key requests :param pulumi.Input[str] service: ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH """ @@ -133,6 +167,7 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + key_request_ids: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service: Optional[pulumi.Input[str]] = None, __props__=None): @@ -144,6 +179,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = KeyRequestsArgs.__new__(KeyRequestsArgs) + __props__.__dict__["key_request_ids"] = key_request_ids __props__.__dict__["names"] = names if service is None and not opts.urn: raise TypeError("Missing required property 'service'") @@ -158,6 +194,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + key_request_ids: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, service: Optional[pulumi.Input[str]] = None) -> 'KeyRequests': """ @@ -167,6 +204,7 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] key_request_ids: The ids of the key requests :param pulumi.Input[Sequence[pulumi.Input[str]]] names: The names of the key requests :param pulumi.Input[str] service: ID of Dynatrace Service, eg. SERVICE-123ABC45678EFGH """ @@ -174,10 +212,19 @@ def get(resource_name: str, __props__ = _KeyRequestsState.__new__(_KeyRequestsState) + __props__.__dict__["key_request_ids"] = key_request_ids __props__.__dict__["names"] = names __props__.__dict__["service"] = service return KeyRequests(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter(name="keyRequestIds") + def key_request_ids(self) -> pulumi.Output[Mapping[str, str]]: + """ + The ids of the key requests + """ + return pulumi.get(self, "key_request_ids") + @property @pulumi.getter def names(self) -> pulumi.Output[Optional[Sequence[str]]]: diff --git a/sdk/python/pulumiverse_dynatrace/log_agent_feature_flags.py b/sdk/python/pulumiverse_dynatrace/log_agent_feature_flags.py index 430ffb73..45a896f0 100644 --- a/sdk/python/pulumiverse_dynatrace/log_agent_feature_flags.py +++ b/sdk/python/pulumiverse_dynatrace/log_agent_feature_flags.py @@ -20,13 +20,24 @@ class LogAgentFeatureFlagsArgs: def __init__(__self__, *, new_container_log_detector: pulumi.Input[bool], + journald_log_detector: Optional[pulumi.Input[bool]] = None, scope: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a LogAgentFeatureFlags resource. - :param pulumi.Input[bool] new_container_log_detector: Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). - :param pulumi.Input[str] scope: The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + :param pulumi.Input[bool] new_container_log_detector: Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + more details, check our [documentation](https://dt-url.net/jn02ey0). + :param pulumi.Input[bool] journald_log_detector: Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + ingested matching ingest rule is required. + :param pulumi.Input[str] scope: The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + environment. """ pulumi.set(__self__, "new_container_log_detector", new_container_log_detector) + if journald_log_detector is not None: + pulumi.set(__self__, "journald_log_detector", journald_log_detector) if scope is not None: pulumi.set(__self__, "scope", scope) @@ -34,7 +45,12 @@ def __init__(__self__, *, @pulumi.getter(name="newContainerLogDetector") def new_container_log_detector(self) -> pulumi.Input[bool]: """ - Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + more details, check our [documentation](https://dt-url.net/jn02ey0). """ return pulumi.get(self, "new_container_log_detector") @@ -42,11 +58,25 @@ def new_container_log_detector(self) -> pulumi.Input[bool]: def new_container_log_detector(self, value: pulumi.Input[bool]): pulumi.set(self, "new_container_log_detector", value) + @property + @pulumi.getter(name="journaldLogDetector") + def journald_log_detector(self) -> Optional[pulumi.Input[bool]]: + """ + Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + ingested matching ingest rule is required. + """ + return pulumi.get(self, "journald_log_detector") + + @journald_log_detector.setter + def journald_log_detector(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "journald_log_detector", value) + @property @pulumi.getter def scope(self) -> Optional[pulumi.Input[str]]: """ - The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + environment. """ return pulumi.get(self, "scope") @@ -58,23 +88,52 @@ def scope(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class _LogAgentFeatureFlagsState: def __init__(__self__, *, + journald_log_detector: Optional[pulumi.Input[bool]] = None, new_container_log_detector: Optional[pulumi.Input[bool]] = None, scope: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering LogAgentFeatureFlags resources. - :param pulumi.Input[bool] new_container_log_detector: Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). - :param pulumi.Input[str] scope: The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + :param pulumi.Input[bool] journald_log_detector: Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + ingested matching ingest rule is required. + :param pulumi.Input[bool] new_container_log_detector: Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + more details, check our [documentation](https://dt-url.net/jn02ey0). + :param pulumi.Input[str] scope: The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + environment. """ + if journald_log_detector is not None: + pulumi.set(__self__, "journald_log_detector", journald_log_detector) if new_container_log_detector is not None: pulumi.set(__self__, "new_container_log_detector", new_container_log_detector) if scope is not None: pulumi.set(__self__, "scope", scope) + @property + @pulumi.getter(name="journaldLogDetector") + def journald_log_detector(self) -> Optional[pulumi.Input[bool]]: + """ + Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + ingested matching ingest rule is required. + """ + return pulumi.get(self, "journald_log_detector") + + @journald_log_detector.setter + def journald_log_detector(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "journald_log_detector", value) + @property @pulumi.getter(name="newContainerLogDetector") def new_container_log_detector(self) -> Optional[pulumi.Input[bool]]: """ - Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + more details, check our [documentation](https://dt-url.net/jn02ey0). """ return pulumi.get(self, "new_container_log_detector") @@ -86,7 +145,8 @@ def new_container_log_detector(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter def scope(self) -> Optional[pulumi.Input[str]]: """ - The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + environment. """ return pulumi.get(self, "scope") @@ -100,6 +160,7 @@ class LogAgentFeatureFlags(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + journald_log_detector: Optional[pulumi.Input[bool]] = None, new_container_log_detector: Optional[pulumi.Input[bool]] = None, scope: Optional[pulumi.Input[str]] = None, __props__=None): @@ -107,8 +168,16 @@ def __init__(__self__, Create a LogAgentFeatureFlags resource with the given unique name, props, and options. :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] new_container_log_detector: Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). - :param pulumi.Input[str] scope: The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + :param pulumi.Input[bool] journald_log_detector: Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + ingested matching ingest rule is required. + :param pulumi.Input[bool] new_container_log_detector: Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + more details, check our [documentation](https://dt-url.net/jn02ey0). + :param pulumi.Input[str] scope: The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + environment. """ ... @overload @@ -133,6 +202,7 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + journald_log_detector: Optional[pulumi.Input[bool]] = None, new_container_log_detector: Optional[pulumi.Input[bool]] = None, scope: Optional[pulumi.Input[str]] = None, __props__=None): @@ -144,6 +214,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = LogAgentFeatureFlagsArgs.__new__(LogAgentFeatureFlagsArgs) + __props__.__dict__["journald_log_detector"] = journald_log_detector if new_container_log_detector is None and not opts.urn: raise TypeError("Missing required property 'new_container_log_detector'") __props__.__dict__["new_container_log_detector"] = new_container_log_detector @@ -158,6 +229,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + journald_log_detector: Optional[pulumi.Input[bool]] = None, new_container_log_detector: Optional[pulumi.Input[bool]] = None, scope: Optional[pulumi.Input[str]] = None) -> 'LogAgentFeatureFlags': """ @@ -167,22 +239,45 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[bool] new_container_log_detector: Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). - :param pulumi.Input[str] scope: The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + :param pulumi.Input[bool] journald_log_detector: Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + ingested matching ingest rule is required. + :param pulumi.Input[bool] new_container_log_detector: Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + more details, check our [documentation](https://dt-url.net/jn02ey0). + :param pulumi.Input[str] scope: The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + environment. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _LogAgentFeatureFlagsState.__new__(_LogAgentFeatureFlagsState) + __props__.__dict__["journald_log_detector"] = journald_log_detector __props__.__dict__["new_container_log_detector"] = new_container_log_detector __props__.__dict__["scope"] = scope return LogAgentFeatureFlags(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter(name="journaldLogDetector") + def journald_log_detector(self) -> pulumi.Output[Optional[bool]]: + """ + Enable OneAgent to collect logs from Journald on Linux systems. This setting enables: * Detection and to have logs + ingested matching ingest rule is required. + """ + return pulumi.get(self, "journald_log_detector") + @property @pulumi.getter(name="newContainerLogDetector") def new_container_log_detector(self) -> pulumi.Output[bool]: """ - Enable Log Agent to use new container log detector. Please do not turn it off once enabled. For more details, check our [documentation](https://dt-url.net/jn02ey0). + Enable OneAgent to collect all container logs in Kubernetes environments. This setting enables: * Detection and + collection of logs from short-lived containers and processes in Kubernetes. * Detection and collection of logs from any + processes in containers in Kubernetes. Up until now only processes detected by OneAgent are covered with the Log module. + * Log events decoration according to semantic dictionary. **Note:** The matcher "Deployment name" in the log sources + configuration will be ignored and needs to be replaced with "Workload name", requires **Dynatrace Operator 1.4.1+**. For + more details, check our [documentation](https://dt-url.net/jn02ey0). """ return pulumi.get(self, "new_container_log_detector") @@ -190,7 +285,8 @@ def new_container_log_detector(self) -> pulumi.Output[bool]: @pulumi.getter def scope(self) -> pulumi.Output[Optional[str]]: """ - The scope of this setting (HOST, KUBERNETES*CLUSTER, HOST*GROUP). Omit this property if you want to cover the whole environment. + The scope of this setting (HOST, KUBERNETES_CLUSTER, HOST_GROUP). Omit this property if you want to cover the whole + environment. """ return pulumi.get(self, "scope") diff --git a/sdk/python/pulumiverse_dynatrace/outputs.py b/sdk/python/pulumiverse_dynatrace/outputs.py index c9e4e536..c3431858 100644 --- a/sdk/python/pulumiverse_dynatrace/outputs.py +++ b/sdk/python/pulumiverse_dynatrace/outputs.py @@ -1659,6 +1659,7 @@ 'SessionReplayWebPrivacyMaskingPresetsRecordingMaskingBlockListRulesBlockListRule', 'SiteReliabilityGuardianObjectives', 'SiteReliabilityGuardianObjectivesObjective', + 'SiteReliabilityGuardianObjectivesObjectiveDisplayUnit', 'SiteReliabilityGuardianVariables', 'SiteReliabilityGuardianVariablesVariable', 'SloErrorBudgetBurnRate', @@ -1730,6 +1731,9 @@ 'WebAppAnomaliesTrafficDropsTrafficDrops', 'WebAppAnomaliesTrafficSpikes', 'WebAppAnomaliesTrafficSpikesTrafficSpikes', + 'WebAppAutoInjectionCacheControlHeaders', + 'WebAppAutoInjectionMonitoringCodeSourceSection', + 'WebAppAutoInjectionSnippetFormat', 'WebAppCustomErrorsErrorRules', 'WebAppCustomErrorsErrorRulesErrorRule', 'WebAppCustomErrorsErrorRulesErrorRuleCaptureSettings', @@ -2972,6 +2976,8 @@ def __key_warning(key: str): suggest = "app_id" elif key == "customLogLevel": suggest = "custom_log_level" + elif key == "customTraceLevel": + suggest = "custom_trace_level" if suggest: pulumi.log.warn(f"Key '{key}' not found in AppMonitoringAppMonitoringAppMonitoring. Access the value via the '{suggest}' property getter instead.") @@ -2986,13 +2992,17 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, app_id: str, - custom_log_level: str): + custom_log_level: str, + custom_trace_level: Optional[str] = None): """ :param str app_id: App ID - :param str custom_log_level: Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + :param str custom_log_level: Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` + :param str custom_trace_level: Possible Values: `off`, `on`, `useDefault` """ pulumi.set(__self__, "app_id", app_id) pulumi.set(__self__, "custom_log_level", custom_log_level) + if custom_trace_level is not None: + pulumi.set(__self__, "custom_trace_level", custom_trace_level) @property @pulumi.getter(name="appId") @@ -3006,10 +3016,18 @@ def app_id(self) -> str: @pulumi.getter(name="customLogLevel") def custom_log_level(self) -> str: """ - Possible Values: `Debug`, `Error`, `Info`, `Off`, `UseDefault`, `Warn` + Possible Values: `debug`, `error`, `info`, `off`, `useDefault`, `warn` """ return pulumi.get(self, "custom_log_level") + @property + @pulumi.getter(name="customTraceLevel") + def custom_trace_level(self) -> Optional[str]: + """ + Possible Values: `off`, `on`, `useDefault` + """ + return pulumi.get(self, "custom_trace_level") + @pulumi.output_type class ApplicationAnomaliesFailureRate(dict): @@ -5676,27 +5694,20 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - states: Mapping[str, str], custom: Optional[str] = None, - else_: Optional[str] = None): + else_: Optional[str] = None, + states: Optional[Mapping[str, str]] = None): """ - :param Mapping[str, str] states: key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) :param str custom: A custom condition that needs to be met for the current task to get executed :param str else_: Possible values are `SKIP` and `STOP` + :param Mapping[str, str] states: key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) """ - pulumi.set(__self__, "states", states) if custom is not None: pulumi.set(__self__, "custom", custom) if else_ is not None: pulumi.set(__self__, "else_", else_) - - @property - @pulumi.getter - def states(self) -> Mapping[str, str]: - """ - key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) - """ - return pulumi.get(self, "states") + if states is not None: + pulumi.set(__self__, "states", states) @property @pulumi.getter @@ -5714,6 +5725,14 @@ def else_(self) -> Optional[str]: """ return pulumi.get(self, "else_") + @property + @pulumi.getter + def states(self) -> Optional[Mapping[str, str]]: + """ + key/value pairs where the `key` is the name of another task and the value the status it needs to be for the current task to get executed. Possible values are `SUCCESS`, `ERROR`, `ANY`, `OK` (Success or Skipped) and `NOK` (Error or Cancelled) + """ + return pulumi.get(self, "states") + @pulumi.output_type class AutomationWorkflowTasksTaskPosition(dict): @@ -15759,10 +15778,18 @@ def __key_warning(key: str): suggest = None if key == "customProperties": suggest = "custom_properties" + elif key == "fetchRequests": + suggest = "fetch_requests" + elif key == "javascriptErrors": + suggest = "javascript_errors" + elif key == "timedActions": + suggest = "timed_actions" elif key == "timeoutSettings": suggest = "timeout_settings" elif key == "visuallyCompleteOptions": suggest = "visually_complete_options" + elif key == "xmlHttpRequests": + suggest = "xml_http_requests" if suggest: pulumi.log.warn(f"Key '{key}' not found in BrowserMonitorScriptConfigurationJavascriptSetttings. Access the value via the '{suggest}' property getter instead.") @@ -15777,19 +15804,35 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, custom_properties: Optional[str] = None, + fetch_requests: Optional[bool] = None, + javascript_errors: Optional[bool] = None, + timed_actions: Optional[bool] = None, timeout_settings: Optional['outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings'] = None, - visually_complete_options: Optional['outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions'] = None): + visually_complete_options: Optional['outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptions'] = None, + xml_http_requests: Optional[bool] = None): """ :param str custom_properties: Additional Javascript Agent Properties + :param bool fetch_requests: Capture fetch() requests + :param bool javascript_errors: JavaScript error report + :param bool timed_actions: Timed action support :param 'BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettingsArgs' timeout_settings: Custom JavaScript Agent settings :param 'BrowserMonitorScriptConfigurationJavascriptSetttingsVisuallyCompleteOptionsArgs' visually_complete_options: Parameters for Visually complete and Speed index calculation + :param bool xml_http_requests: Capture XMLHttpRequests (XHR) """ if custom_properties is not None: pulumi.set(__self__, "custom_properties", custom_properties) + if fetch_requests is not None: + pulumi.set(__self__, "fetch_requests", fetch_requests) + if javascript_errors is not None: + pulumi.set(__self__, "javascript_errors", javascript_errors) + if timed_actions is not None: + pulumi.set(__self__, "timed_actions", timed_actions) if timeout_settings is not None: pulumi.set(__self__, "timeout_settings", timeout_settings) if visually_complete_options is not None: pulumi.set(__self__, "visually_complete_options", visually_complete_options) + if xml_http_requests is not None: + pulumi.set(__self__, "xml_http_requests", xml_http_requests) @property @pulumi.getter(name="customProperties") @@ -15799,6 +15842,30 @@ def custom_properties(self) -> Optional[str]: """ return pulumi.get(self, "custom_properties") + @property + @pulumi.getter(name="fetchRequests") + def fetch_requests(self) -> Optional[bool]: + """ + Capture fetch() requests + """ + return pulumi.get(self, "fetch_requests") + + @property + @pulumi.getter(name="javascriptErrors") + def javascript_errors(self) -> Optional[bool]: + """ + JavaScript error report + """ + return pulumi.get(self, "javascript_errors") + + @property + @pulumi.getter(name="timedActions") + def timed_actions(self) -> Optional[bool]: + """ + Timed action support + """ + return pulumi.get(self, "timed_actions") + @property @pulumi.getter(name="timeoutSettings") def timeout_settings(self) -> Optional['outputs.BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings']: @@ -15815,6 +15882,14 @@ def visually_complete_options(self) -> Optional['outputs.BrowserMonitorScriptCon """ return pulumi.get(self, "visually_complete_options") + @property + @pulumi.getter(name="xmlHttpRequests") + def xml_http_requests(self) -> Optional[bool]: + """ + Capture XMLHttpRequests (XHR) + """ + return pulumi.get(self, "xml_http_requests") + @pulumi.output_type class BrowserMonitorScriptConfigurationJavascriptSetttingsTimeoutSettings(dict): @@ -31206,13 +31281,25 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + actor: Optional[str] = None, query_offset: Optional[int] = None): """ + :param str actor: UUID of a service user. Queries will be executed on behalf of the service user. :param int query_offset: Minute offset of sliding evaluation window for metrics with latency """ + if actor is not None: + pulumi.set(__self__, "actor", actor) if query_offset is not None: pulumi.set(__self__, "query_offset", query_offset) + @property + @pulumi.getter + def actor(self) -> Optional[str]: + """ + UUID of a service user. Queries will be executed on behalf of the service user. + """ + return pulumi.get(self, "actor") + @property @pulumi.getter(name="queryOffset") def query_offset(self) -> Optional[int]: @@ -31922,14 +32009,35 @@ def actions(self) -> Sequence['outputs.DiscoveryDefaultRulesRuleActionsAction']: @pulumi.output_type class DiscoveryDefaultRulesRuleActionsAction(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "instantAction": + suggest = "instant_action" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DiscoveryDefaultRulesRuleActionsAction. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DiscoveryDefaultRulesRuleActionsAction.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DiscoveryDefaultRulesRuleActionsAction.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, name: str, + instant_action: Optional[bool] = None, parameters: Optional['outputs.DiscoveryDefaultRulesRuleActionsActionParameters'] = None): """ :param str name: no documentation available + :param bool instant_action: Instant action :param 'DiscoveryDefaultRulesRuleActionsActionParametersArgs' parameters: no documentation available """ pulumi.set(__self__, "name", name) + if instant_action is not None: + pulumi.set(__self__, "instant_action", instant_action) if parameters is not None: pulumi.set(__self__, "parameters", parameters) @@ -31941,6 +32049,14 @@ def name(self) -> str: """ return pulumi.get(self, "name") + @property + @pulumi.getter(name="instantAction") + def instant_action(self) -> Optional[bool]: + """ + Instant action + """ + return pulumi.get(self, "instant_action") + @property @pulumi.getter def parameters(self) -> Optional['outputs.DiscoveryDefaultRulesRuleActionsActionParameters']: @@ -49117,17 +49233,21 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, type: str, accept_binary: Optional[bool] = None, + encoding: Optional[str] = None, values: Optional[Sequence[str]] = None, values_and_enrichment: Optional['outputs.LogCustomSourceCustomLogSourceValuesAndEnrichment'] = None): """ :param str type: Possible Values: `LOG_PATH_PATTERN`, `WINDOWS_EVENT_LOG` :param bool accept_binary: Accept binary content + :param str encoding: no documentation available :param Sequence[str] values: (Required attribute for cluster v1.291 and under) It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name. :param 'LogCustomSourceCustomLogSourceValuesAndEnrichmentArgs' values_and_enrichment: (Required attribute for cluster v1.292+) It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name. """ pulumi.set(__self__, "type", type) if accept_binary is not None: pulumi.set(__self__, "accept_binary", accept_binary) + if encoding is not None: + pulumi.set(__self__, "encoding", encoding) if values is not None: pulumi.set(__self__, "values", values) if values_and_enrichment is not None: @@ -49149,6 +49269,14 @@ def accept_binary(self) -> Optional[bool]: """ return pulumi.get(self, "accept_binary") + @property + @pulumi.getter + def encoding(self) -> Optional[str]: + """ + no documentation available + """ + return pulumi.get(self, "encoding") + @property @pulumi.getter def values(self) -> Optional[Sequence[str]]: @@ -49620,7 +49748,7 @@ def __init__(__self__, *, operator: str, values: Sequence[str]): """ - :param str attribute: Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + :param str attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` :param str operator: Possible Values: `MATCHES` :param Sequence[str] values: no documentation available """ @@ -49632,7 +49760,7 @@ def __init__(__self__, *, @pulumi.getter def attribute(self) -> str: """ - Possible Values: `container.name`, `dt.entity.container_group`, `dt.entity.process_group`, `k8s.container.name`, `k8s.deployment.name`, `k8s.namespace.name`, `log.source`, `process.technology` and `host.tag` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` """ return pulumi.get(self, "attribute") @@ -49672,7 +49800,7 @@ def __init__(__self__, *, operator: str, values: Sequence[str]): """ - :param str attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + :param str attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` :param str operator: Possible Values: `MATCHES` :param Sequence[str] values: no documentation available """ @@ -49684,7 +49812,7 @@ def __init__(__self__, *, @pulumi.getter def attribute(self) -> str: """ - Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_content`, `Log_source`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_content`, `Log_source`, `Log_source_origin`, `Loglevel`, `Process_technology`, `Winlog_eventid`, `Winlog_keywords`, `Winlog_opcode`, `Winlog_provider`, `Winlog_task`, `Winlog_username` """ return pulumi.get(self, "attribute") @@ -49743,7 +49871,7 @@ def __init__(__self__, *, operator: str, values: Sequence[str]): """ - :param str attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + :param str attribute: Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` :param str operator: Possible Values: `MATCHES` :param Sequence[str] values: no documentation available """ @@ -49755,7 +49883,7 @@ def __init__(__self__, *, @pulumi.getter def attribute(self) -> str: """ - Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `Log_source`, `Process_technology` + Possible Values: `Container_name`, `Dt_entity_container_group`, `Dt_entity_process_group`, `Host_tag`, `Journald_unit`, `K8s_container_name`, `K8s_deployment_name`, `K8s_namespace_name`, `K8s_pod_annotation`, `K8s_pod_label`, `K8s_workload_kind`, `K8s_workload_name`, `Log_source`, `Log_source_origin`, `Process_technology` """ return pulumi.get(self, "attribute") @@ -99879,6 +100007,8 @@ def __key_warning(key: str): suggest = "objective_type" elif key == "autoAdaptiveThresholdEnabled": suggest = "auto_adaptive_threshold_enabled" + elif key == "displayUnit": + suggest = "display_unit" elif key == "dqlQuery": suggest = "dql_query" elif key == "referenceSlo": @@ -99901,6 +100031,7 @@ def __init__(__self__, *, objective_type: str, auto_adaptive_threshold_enabled: Optional[bool] = None, description: Optional[str] = None, + display_unit: Optional['outputs.SiteReliabilityGuardianObjectivesObjectiveDisplayUnit'] = None, dql_query: Optional[str] = None, reference_slo: Optional[str] = None, target: Optional[float] = None, @@ -99911,6 +100042,7 @@ def __init__(__self__, *, :param str objective_type: Possible Values: `DQL`, `REFERENCE_SLO` :param bool auto_adaptive_threshold_enabled: Enable auto adaptive threshold :param str description: no documentation available + :param 'SiteReliabilityGuardianObjectivesObjectiveDisplayUnitArgs' display_unit: Display Unit :param str dql_query: DQL query :param str reference_slo: Please enter the metric key of your desired SLO. SLO metric keys have to start with 'func:slo.' :param float target: no documentation available @@ -99923,6 +100055,8 @@ def __init__(__self__, *, pulumi.set(__self__, "auto_adaptive_threshold_enabled", auto_adaptive_threshold_enabled) if description is not None: pulumi.set(__self__, "description", description) + if display_unit is not None: + pulumi.set(__self__, "display_unit", display_unit) if dql_query is not None: pulumi.set(__self__, "dql_query", dql_query) if reference_slo is not None: @@ -99972,6 +100106,14 @@ def description(self) -> Optional[str]: """ return pulumi.get(self, "description") + @property + @pulumi.getter(name="displayUnit") + def display_unit(self) -> Optional['outputs.SiteReliabilityGuardianObjectivesObjectiveDisplayUnit']: + """ + Display Unit + """ + return pulumi.get(self, "display_unit") + @property @pulumi.getter(name="dqlQuery") def dql_query(self) -> Optional[str]: @@ -100005,6 +100147,46 @@ def warning(self) -> Optional[float]: return pulumi.get(self, "warning") +@pulumi.output_type +class SiteReliabilityGuardianObjectivesObjectiveDisplayUnit(dict): + def __init__(__self__, *, + base: str, + decimals: int, + display: str): + """ + :param str base: Base Unit + :param int decimals: Decimals + :param str display: display as unit + """ + pulumi.set(__self__, "base", base) + pulumi.set(__self__, "decimals", decimals) + pulumi.set(__self__, "display", display) + + @property + @pulumi.getter + def base(self) -> str: + """ + Base Unit + """ + return pulumi.get(self, "base") + + @property + @pulumi.getter + def decimals(self) -> int: + """ + Decimals + """ + return pulumi.get(self, "decimals") + + @property + @pulumi.getter + def display(self) -> str: + """ + display as unit + """ + return pulumi.get(self, "display") + + @pulumi.output_type class SiteReliabilityGuardianVariables(dict): def __init__(__self__, *, @@ -103549,6 +103731,139 @@ def traffic_spike_percentage(self) -> float: return pulumi.get(self, "traffic_spike_percentage") +@pulumi.output_type +class WebAppAutoInjectionCacheControlHeaders(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cacheControlHeaders": + suggest = "cache_control_headers" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WebAppAutoInjectionCacheControlHeaders. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WebAppAutoInjectionCacheControlHeaders.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WebAppAutoInjectionCacheControlHeaders.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cache_control_headers: bool): + """ + :param bool cache_control_headers: [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + """ + pulumi.set(__self__, "cache_control_headers", cache_control_headers) + + @property + @pulumi.getter(name="cacheControlHeaders") + def cache_control_headers(self) -> bool: + """ + [How to ensure timely configuration updates for automatic injection?](https://dt-url.net/m9039ea) + """ + return pulumi.get(self, "cache_control_headers") + + +@pulumi.output_type +class WebAppAutoInjectionMonitoringCodeSourceSection(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "codeSource": + suggest = "code_source" + elif key == "monitoringCodePath": + suggest = "monitoring_code_path" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WebAppAutoInjectionMonitoringCodeSourceSection. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WebAppAutoInjectionMonitoringCodeSourceSection.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WebAppAutoInjectionMonitoringCodeSourceSection.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + code_source: str, + monitoring_code_path: Optional[str] = None): + """ + :param str code_source: Real User Monitoring code source + :param str monitoring_code_path: Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + """ + pulumi.set(__self__, "code_source", code_source) + if monitoring_code_path is not None: + pulumi.set(__self__, "monitoring_code_path", monitoring_code_path) + + @property + @pulumi.getter(name="codeSource") + def code_source(self) -> str: + """ + Real User Monitoring code source + """ + return pulumi.get(self, "code_source") + + @property + @pulumi.getter(name="monitoringCodePath") + def monitoring_code_path(self) -> Optional[str]: + """ + Specify the source path for placement of your application's custom JavaScript library file. By default, this path is set to the root directory of your web server. A custom source path may be necessary if your server operates behind a firewall. + """ + return pulumi.get(self, "monitoring_code_path") + + +@pulumi.output_type +class WebAppAutoInjectionSnippetFormat(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "snippetFormat": + suggest = "snippet_format" + elif key == "codeSnippetType": + suggest = "code_snippet_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in WebAppAutoInjectionSnippetFormat. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + WebAppAutoInjectionSnippetFormat.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + WebAppAutoInjectionSnippetFormat.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + snippet_format: str, + code_snippet_type: Optional[str] = None): + """ + :param str snippet_format: Snippet format + :param str code_snippet_type: Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + """ + pulumi.set(__self__, "snippet_format", snippet_format) + if code_snippet_type is not None: + pulumi.set(__self__, "code_snippet_type", code_snippet_type) + + @property + @pulumi.getter(name="snippetFormat") + def snippet_format(self) -> str: + """ + Snippet format + """ + return pulumi.get(self, "snippet_format") + + @property + @pulumi.getter(name="codeSnippetType") + def code_snippet_type(self) -> Optional[str]: + """ + Possible Values: `DEFERRED`, `SYNCHRONOUSLY` + """ + return pulumi.get(self, "code_snippet_type") + + @pulumi.output_type class WebAppCustomErrorsErrorRules(dict): @staticmethod diff --git a/sdk/python/pulumiverse_dynatrace/web_app_auto_injection.py b/sdk/python/pulumiverse_dynatrace/web_app_auto_injection.py new file mode 100644 index 00000000..71922ca7 --- /dev/null +++ b/sdk/python/pulumiverse_dynatrace/web_app_auto_injection.py @@ -0,0 +1,295 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['WebAppAutoInjectionArgs', 'WebAppAutoInjection'] + +@pulumi.input_type +class WebAppAutoInjectionArgs: + def __init__(__self__, *, + application_id: pulumi.Input[str], + cache_control_headers: pulumi.Input['WebAppAutoInjectionCacheControlHeadersArgs'], + monitoring_code_source_section: pulumi.Input['WebAppAutoInjectionMonitoringCodeSourceSectionArgs'], + snippet_format: pulumi.Input['WebAppAutoInjectionSnippetFormatArgs']): + """ + The set of arguments for constructing a WebAppAutoInjection resource. + :param pulumi.Input[str] application_id: The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + :param pulumi.Input['WebAppAutoInjectionCacheControlHeadersArgs'] cache_control_headers: Cache control headers + :param pulumi.Input['WebAppAutoInjectionMonitoringCodeSourceSectionArgs'] monitoring_code_source_section: Real User Monitoring code source + :param pulumi.Input['WebAppAutoInjectionSnippetFormatArgs'] snippet_format: *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + """ + pulumi.set(__self__, "application_id", application_id) + pulumi.set(__self__, "cache_control_headers", cache_control_headers) + pulumi.set(__self__, "monitoring_code_source_section", monitoring_code_source_section) + pulumi.set(__self__, "snippet_format", snippet_format) + + @property + @pulumi.getter(name="applicationId") + def application_id(self) -> pulumi.Input[str]: + """ + The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + """ + return pulumi.get(self, "application_id") + + @application_id.setter + def application_id(self, value: pulumi.Input[str]): + pulumi.set(self, "application_id", value) + + @property + @pulumi.getter(name="cacheControlHeaders") + def cache_control_headers(self) -> pulumi.Input['WebAppAutoInjectionCacheControlHeadersArgs']: + """ + Cache control headers + """ + return pulumi.get(self, "cache_control_headers") + + @cache_control_headers.setter + def cache_control_headers(self, value: pulumi.Input['WebAppAutoInjectionCacheControlHeadersArgs']): + pulumi.set(self, "cache_control_headers", value) + + @property + @pulumi.getter(name="monitoringCodeSourceSection") + def monitoring_code_source_section(self) -> pulumi.Input['WebAppAutoInjectionMonitoringCodeSourceSectionArgs']: + """ + Real User Monitoring code source + """ + return pulumi.get(self, "monitoring_code_source_section") + + @monitoring_code_source_section.setter + def monitoring_code_source_section(self, value: pulumi.Input['WebAppAutoInjectionMonitoringCodeSourceSectionArgs']): + pulumi.set(self, "monitoring_code_source_section", value) + + @property + @pulumi.getter(name="snippetFormat") + def snippet_format(self) -> pulumi.Input['WebAppAutoInjectionSnippetFormatArgs']: + """ + *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + """ + return pulumi.get(self, "snippet_format") + + @snippet_format.setter + def snippet_format(self, value: pulumi.Input['WebAppAutoInjectionSnippetFormatArgs']): + pulumi.set(self, "snippet_format", value) + + +@pulumi.input_type +class _WebAppAutoInjectionState: + def __init__(__self__, *, + application_id: Optional[pulumi.Input[str]] = None, + cache_control_headers: Optional[pulumi.Input['WebAppAutoInjectionCacheControlHeadersArgs']] = None, + monitoring_code_source_section: Optional[pulumi.Input['WebAppAutoInjectionMonitoringCodeSourceSectionArgs']] = None, + snippet_format: Optional[pulumi.Input['WebAppAutoInjectionSnippetFormatArgs']] = None): + """ + Input properties used for looking up and filtering WebAppAutoInjection resources. + :param pulumi.Input[str] application_id: The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + :param pulumi.Input['WebAppAutoInjectionCacheControlHeadersArgs'] cache_control_headers: Cache control headers + :param pulumi.Input['WebAppAutoInjectionMonitoringCodeSourceSectionArgs'] monitoring_code_source_section: Real User Monitoring code source + :param pulumi.Input['WebAppAutoInjectionSnippetFormatArgs'] snippet_format: *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + """ + if application_id is not None: + pulumi.set(__self__, "application_id", application_id) + if cache_control_headers is not None: + pulumi.set(__self__, "cache_control_headers", cache_control_headers) + if monitoring_code_source_section is not None: + pulumi.set(__self__, "monitoring_code_source_section", monitoring_code_source_section) + if snippet_format is not None: + pulumi.set(__self__, "snippet_format", snippet_format) + + @property + @pulumi.getter(name="applicationId") + def application_id(self) -> Optional[pulumi.Input[str]]: + """ + The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + """ + return pulumi.get(self, "application_id") + + @application_id.setter + def application_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "application_id", value) + + @property + @pulumi.getter(name="cacheControlHeaders") + def cache_control_headers(self) -> Optional[pulumi.Input['WebAppAutoInjectionCacheControlHeadersArgs']]: + """ + Cache control headers + """ + return pulumi.get(self, "cache_control_headers") + + @cache_control_headers.setter + def cache_control_headers(self, value: Optional[pulumi.Input['WebAppAutoInjectionCacheControlHeadersArgs']]): + pulumi.set(self, "cache_control_headers", value) + + @property + @pulumi.getter(name="monitoringCodeSourceSection") + def monitoring_code_source_section(self) -> Optional[pulumi.Input['WebAppAutoInjectionMonitoringCodeSourceSectionArgs']]: + """ + Real User Monitoring code source + """ + return pulumi.get(self, "monitoring_code_source_section") + + @monitoring_code_source_section.setter + def monitoring_code_source_section(self, value: Optional[pulumi.Input['WebAppAutoInjectionMonitoringCodeSourceSectionArgs']]): + pulumi.set(self, "monitoring_code_source_section", value) + + @property + @pulumi.getter(name="snippetFormat") + def snippet_format(self) -> Optional[pulumi.Input['WebAppAutoInjectionSnippetFormatArgs']]: + """ + *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + """ + return pulumi.get(self, "snippet_format") + + @snippet_format.setter + def snippet_format(self, value: Optional[pulumi.Input['WebAppAutoInjectionSnippetFormatArgs']]): + pulumi.set(self, "snippet_format", value) + + +class WebAppAutoInjection(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + application_id: Optional[pulumi.Input[str]] = None, + cache_control_headers: Optional[pulumi.Input[Union['WebAppAutoInjectionCacheControlHeadersArgs', 'WebAppAutoInjectionCacheControlHeadersArgsDict']]] = None, + monitoring_code_source_section: Optional[pulumi.Input[Union['WebAppAutoInjectionMonitoringCodeSourceSectionArgs', 'WebAppAutoInjectionMonitoringCodeSourceSectionArgsDict']]] = None, + snippet_format: Optional[pulumi.Input[Union['WebAppAutoInjectionSnippetFormatArgs', 'WebAppAutoInjectionSnippetFormatArgsDict']]] = None, + __props__=None): + """ + Create a WebAppAutoInjection resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] application_id: The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + :param pulumi.Input[Union['WebAppAutoInjectionCacheControlHeadersArgs', 'WebAppAutoInjectionCacheControlHeadersArgsDict']] cache_control_headers: Cache control headers + :param pulumi.Input[Union['WebAppAutoInjectionMonitoringCodeSourceSectionArgs', 'WebAppAutoInjectionMonitoringCodeSourceSectionArgsDict']] monitoring_code_source_section: Real User Monitoring code source + :param pulumi.Input[Union['WebAppAutoInjectionSnippetFormatArgs', 'WebAppAutoInjectionSnippetFormatArgsDict']] snippet_format: *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: WebAppAutoInjectionArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Create a WebAppAutoInjection resource with the given unique name, props, and options. + :param str resource_name: The name of the resource. + :param WebAppAutoInjectionArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(WebAppAutoInjectionArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + application_id: Optional[pulumi.Input[str]] = None, + cache_control_headers: Optional[pulumi.Input[Union['WebAppAutoInjectionCacheControlHeadersArgs', 'WebAppAutoInjectionCacheControlHeadersArgsDict']]] = None, + monitoring_code_source_section: Optional[pulumi.Input[Union['WebAppAutoInjectionMonitoringCodeSourceSectionArgs', 'WebAppAutoInjectionMonitoringCodeSourceSectionArgsDict']]] = None, + snippet_format: Optional[pulumi.Input[Union['WebAppAutoInjectionSnippetFormatArgs', 'WebAppAutoInjectionSnippetFormatArgsDict']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = WebAppAutoInjectionArgs.__new__(WebAppAutoInjectionArgs) + + if application_id is None and not opts.urn: + raise TypeError("Missing required property 'application_id'") + __props__.__dict__["application_id"] = application_id + if cache_control_headers is None and not opts.urn: + raise TypeError("Missing required property 'cache_control_headers'") + __props__.__dict__["cache_control_headers"] = cache_control_headers + if monitoring_code_source_section is None and not opts.urn: + raise TypeError("Missing required property 'monitoring_code_source_section'") + __props__.__dict__["monitoring_code_source_section"] = monitoring_code_source_section + if snippet_format is None and not opts.urn: + raise TypeError("Missing required property 'snippet_format'") + __props__.__dict__["snippet_format"] = snippet_format + super(WebAppAutoInjection, __self__).__init__( + 'dynatrace:index/webAppAutoInjection:WebAppAutoInjection', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + application_id: Optional[pulumi.Input[str]] = None, + cache_control_headers: Optional[pulumi.Input[Union['WebAppAutoInjectionCacheControlHeadersArgs', 'WebAppAutoInjectionCacheControlHeadersArgsDict']]] = None, + monitoring_code_source_section: Optional[pulumi.Input[Union['WebAppAutoInjectionMonitoringCodeSourceSectionArgs', 'WebAppAutoInjectionMonitoringCodeSourceSectionArgsDict']]] = None, + snippet_format: Optional[pulumi.Input[Union['WebAppAutoInjectionSnippetFormatArgs', 'WebAppAutoInjectionSnippetFormatArgsDict']]] = None) -> 'WebAppAutoInjection': + """ + Get an existing WebAppAutoInjection resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] application_id: The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + :param pulumi.Input[Union['WebAppAutoInjectionCacheControlHeadersArgs', 'WebAppAutoInjectionCacheControlHeadersArgsDict']] cache_control_headers: Cache control headers + :param pulumi.Input[Union['WebAppAutoInjectionMonitoringCodeSourceSectionArgs', 'WebAppAutoInjectionMonitoringCodeSourceSectionArgsDict']] monitoring_code_source_section: Real User Monitoring code source + :param pulumi.Input[Union['WebAppAutoInjectionSnippetFormatArgs', 'WebAppAutoInjectionSnippetFormatArgsDict']] snippet_format: *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _WebAppAutoInjectionState.__new__(_WebAppAutoInjectionState) + + __props__.__dict__["application_id"] = application_id + __props__.__dict__["cache_control_headers"] = cache_control_headers + __props__.__dict__["monitoring_code_source_section"] = monitoring_code_source_section + __props__.__dict__["snippet_format"] = snippet_format + return WebAppAutoInjection(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="applicationId") + def application_id(self) -> pulumi.Output[str]: + """ + The scope of this settings. If the settings should cover the whole environment, just don't specify any scope. + """ + return pulumi.get(self, "application_id") + + @property + @pulumi.getter(name="cacheControlHeaders") + def cache_control_headers(self) -> pulumi.Output['outputs.WebAppAutoInjectionCacheControlHeaders']: + """ + Cache control headers + """ + return pulumi.get(self, "cache_control_headers") + + @property + @pulumi.getter(name="monitoringCodeSourceSection") + def monitoring_code_source_section(self) -> pulumi.Output['outputs.WebAppAutoInjectionMonitoringCodeSourceSection']: + """ + Real User Monitoring code source + """ + return pulumi.get(self, "monitoring_code_source_section") + + @property + @pulumi.getter(name="snippetFormat") + def snippet_format(self) -> pulumi.Output['outputs.WebAppAutoInjectionSnippetFormat']: + """ + *Code Snippet:* OneAgent injects an inline script that initializes Dynatrace and dynamically downloads the monitoring code into your application. Use when you want to inject the monitoring code in deferred mode. + """ + return pulumi.get(self, "snippet_format") +