Sha256: afc5ac3f7fb371cfc8b84e1e3123cfc32f9b612dd6be7f894811a08ef1ecdc97

Contents?: true

Size: 547 Bytes

Versions: 10

Compression:

Stored size: 547 Bytes

Contents

# Update Cloud Cost Management AWS CUR config returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new

body = DatadogAPIClient::V2::AwsCURConfigPatchRequest.new({
  data: DatadogAPIClient::V2::AwsCURConfigPatchData.new({
    attributes: DatadogAPIClient::V2::AwsCURConfigPatchRequestAttributes.new({
      is_enabled: true,
    }),
    type: DatadogAPIClient::V2::AwsCURConfigPatchRequestType::AWS_CUR_CONFIG_PATCH_REQUEST,
  }),
})
p api_instance.update_cost_awscur_config("100", body)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.27.1 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.26.1 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.26.0 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.25.0 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.24.0 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.22.0 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.21.0 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.20.0 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb
datadog_api_client-2.19.0 examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb