Sha256: 0fdf37b95c71c06bd117d2abfa0047c12b915ea5301f363dec3e41aa32adb70a
Contents?: true
Size: 1.2 KB
Versions: 10
Compression:
Stored size: 1.2 KB
Contents
# Create Cloud Cost Management Azure configs returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::CloudCostManagementAPI.new body = DatadogAPIClient::V2::AzureUCConfigPostRequest.new({ data: DatadogAPIClient::V2::AzureUCConfigPostData.new({ attributes: DatadogAPIClient::V2::AzureUCConfigPostRequestAttributes.new({ account_id: "1234abcd-1234-abcd-1234-1234abcd1234", actual_bill_config: DatadogAPIClient::V2::BillConfig.new({ export_name: "dd-actual-export", export_path: "dd-export-path", storage_account: "dd-storage-account", storage_container: "dd-storage-container", }), amortized_bill_config: DatadogAPIClient::V2::BillConfig.new({ export_name: "dd-actual-export", export_path: "dd-export-path", storage_account: "dd-storage-account", storage_container: "dd-storage-container", }), client_id: "1234abcd-1234-abcd-1234-1234abcd1234", is_enabled: true, scope: "subscriptions/1234abcd-1234-abcd-1234-1234abcd1234", }), type: DatadogAPIClient::V2::AzureUCConfigPostRequestType::AZURE_UC_CONFIG_POST_REQUEST, }), }) p api_instance.create_cost_azure_uc_configs(body)
Version data entries
10 entries across 10 versions & 1 rubygems