Skip to content

Commit

Permalink
fix defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
gpalmz committed Jan 6, 2025
1 parent fc3c767 commit da09bab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions datadog/fwprovider/resource_datadog_azure_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,19 +127,19 @@ func (r *integrationAzureResource) Schema(_ context.Context, _ resource.SchemaRe
},
"metrics_enabled": schema.BoolAttribute{
Computed: true,
Default: booldefault.StaticBool(false),
Default: booldefault.StaticBool(true),
Optional: true,
Description: "Enable Azure metrics for your organization.",
},
"metrics_enabled_default": schema.BoolAttribute{
Computed: true,
Default: booldefault.StaticBool(false),
Default: booldefault.StaticBool(true),
Optional: true,
Description: "Enable Azure metrics for your organization for resource providers where no resource provider config is specified.",
},
"usage_metrics_enabled": schema.BoolAttribute{
Computed: true,
Default: booldefault.StaticBool(false),
Default: booldefault.StaticBool(true),
Optional: true,
Description: "Enable azure.usage metrics for your organization.",
},
Expand Down
6 changes: 3 additions & 3 deletions docs/resources/integration_azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ resource "datadog_integration_azure" "sandbox" {
Note: This requires `resource_collection_enabled` to be set to true. Defaults to `false`.
- `custom_metrics_enabled` (Boolean) Enable custom metrics for your organization. Defaults to `false`.
- `host_filters` (String) String of host tag(s) (in the form `key:value,key:value`) defines a filter that Datadog will use when collecting metrics from Azure. Limit the Azure instances that are pulled into Datadog by using tags. Only hosts that match one of the defined tags are imported into Datadog. e.x. `env:production,deploymentgroup:red` Defaults to `""`.
- `metrics_enabled` (Boolean) Enable Azure metrics for your organization. Defaults to `false`.
- `metrics_enabled_default` (Boolean) Enable Azure metrics for your organization for resource providers where no resource provider config is specified. Defaults to `false`.
- `metrics_enabled` (Boolean) Enable Azure metrics for your organization. Defaults to `true`.
- `metrics_enabled_default` (Boolean) Enable Azure metrics for your organization for resource providers where no resource provider config is specified. Defaults to `true`.
- `resource_collection_enabled` (Boolean) When enabled, Datadog collects metadata and configuration info from cloud resources (such as compute instances, databases, and load balancers) monitored by this app registration.
- `resource_provider_configs` (List of Object) Configuration settings applied to resources from the specified Azure resource providers. (see [below for nested schema](#nestedatt--resource_provider_configs))
- `usage_metrics_enabled` (Boolean) Enable azure.usage metrics for your organization. Defaults to `false`.
- `usage_metrics_enabled` (Boolean) Enable azure.usage metrics for your organization. Defaults to `true`.

### Read-Only

Expand Down

0 comments on commit da09bab

Please sign in to comment.