Sha256: 936430a3fa13ba2345cc9e6230f738e0d3f09073178e24ec2897010418c739c0

Contents?: true

Size: 553 Bytes

Versions: 11

Compression:

Stored size: 553 Bytes

Contents

# Update Cloud Cost Management Azure config returns "OK" response

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

body = DatadogAPIClient::V2::AzureUCConfigPatchRequest.new({
  data: DatadogAPIClient::V2::AzureUCConfigPatchData.new({
    attributes: DatadogAPIClient::V2::AzureUCConfigPatchRequestAttributes.new({
      is_enabled: true,
    }),
    type: DatadogAPIClient::V2::AzureUCConfigPatchRequestType::AZURE_UC_CONFIG_PATCH_REQUEST,
  }),
})
p api_instance.update_cost_azure_uc_configs("100", body)

Version data entries

11 entries across 11 versions & 1 rubygems

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