Datadog v4.58.0 published on Thursday, Oct 16, 2025 by Pulumi
datadog.getGcpUcConfig
Use this data source to retrieve information about a specific Datadog GCP Usage Cost configuration. This allows you to fetch details about an existing Cloud Cost Management configuration for GCP billing data access.
Using getGcpUcConfig
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getGcpUcConfig(args: GetGcpUcConfigArgs, opts?: InvokeOptions): Promise<GetGcpUcConfigResult>
function getGcpUcConfigOutput(args: GetGcpUcConfigOutputArgs, opts?: InvokeOptions): Output<GetGcpUcConfigResult>
def get_gcp_uc_config(cloud_account_id: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetGcpUcConfigResult
def get_gcp_uc_config_output(cloud_account_id: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetGcpUcConfigResult]
func LookupGcpUcConfig(ctx *Context, args *LookupGcpUcConfigArgs, opts ...InvokeOption) (*LookupGcpUcConfigResult, error)
func LookupGcpUcConfigOutput(ctx *Context, args *LookupGcpUcConfigOutputArgs, opts ...InvokeOption) LookupGcpUcConfigResultOutput
> Note: This function is named LookupGcpUcConfig
in the Go SDK.
public static class GetGcpUcConfig
{
public static Task<GetGcpUcConfigResult> InvokeAsync(GetGcpUcConfigArgs args, InvokeOptions? opts = null)
public static Output<GetGcpUcConfigResult> Invoke(GetGcpUcConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGcpUcConfigResult> getGcpUcConfig(GetGcpUcConfigArgs args, InvokeOptions options)
public static Output<GetGcpUcConfigResult> getGcpUcConfig(GetGcpUcConfigArgs args, InvokeOptions options)
fn::invoke:
function: datadog:index/getGcpUcConfig:getGcpUcConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Cloud
Account intId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- Cloud
Account intId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- cloud
Account IntegerId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- cloud
Account numberId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- cloud_
account_ intid - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- cloud
Account NumberId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
getGcpUcConfig Result
The following output properties are available:
- Account
Id string - The internal account identifier for this GCP Usage Cost configuration.
- Bucket
Name string - The Google Cloud Storage bucket name where Usage Cost export files are stored.
- Cloud
Account intId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- Created
At string - The timestamp when the GCP Usage Cost configuration was created.
- Dataset string
- The resolved BigQuery dataset name used for the Usage Cost export.
- Error
Messages List<string> - List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
- Export
Prefix string - The prefix path within the storage bucket where Usage Cost export files are organized.
- Export
Project stringName - The Google Cloud Project ID where the Usage Cost export is configured.
- Id string
- The ID of this resource.
- Months int
- The number of months of historical cost data available for analysis.
- Service
Account string - The Google Cloud service account email that Datadog uses to access the Usage Cost export data.
- Status string
- The current status of the GCP Usage Cost configuration (for example, active, error, or archived).
- Status
Updated stringAt - The timestamp when the configuration status was last updated.
- Updated
At string - The timestamp when the GCP Usage Cost configuration was last modified.
- Account
Id string - The internal account identifier for this GCP Usage Cost configuration.
- Bucket
Name string - The Google Cloud Storage bucket name where Usage Cost export files are stored.
- Cloud
Account intId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- Created
At string - The timestamp when the GCP Usage Cost configuration was created.
- Dataset string
- The resolved BigQuery dataset name used for the Usage Cost export.
- Error
Messages []string - List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
- Export
Prefix string - The prefix path within the storage bucket where Usage Cost export files are organized.
- Export
Project stringName - The Google Cloud Project ID where the Usage Cost export is configured.
- Id string
- The ID of this resource.
- Months int
- The number of months of historical cost data available for analysis.
- Service
Account string - The Google Cloud service account email that Datadog uses to access the Usage Cost export data.
- Status string
- The current status of the GCP Usage Cost configuration (for example, active, error, or archived).
- Status
Updated stringAt - The timestamp when the configuration status was last updated.
- Updated
At string - The timestamp when the GCP Usage Cost configuration was last modified.
- account
Id String - The internal account identifier for this GCP Usage Cost configuration.
- bucket
Name String - The Google Cloud Storage bucket name where Usage Cost export files are stored.
- cloud
Account IntegerId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- created
At String - The timestamp when the GCP Usage Cost configuration was created.
- dataset String
- The resolved BigQuery dataset name used for the Usage Cost export.
- error
Messages List<String> - List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
- export
Prefix String - The prefix path within the storage bucket where Usage Cost export files are organized.
- export
Project StringName - The Google Cloud Project ID where the Usage Cost export is configured.
- id String
- The ID of this resource.
- months Integer
- The number of months of historical cost data available for analysis.
- service
Account String - The Google Cloud service account email that Datadog uses to access the Usage Cost export data.
- status String
- The current status of the GCP Usage Cost configuration (for example, active, error, or archived).
- status
Updated StringAt - The timestamp when the configuration status was last updated.
- updated
At String - The timestamp when the GCP Usage Cost configuration was last modified.
- account
Id string - The internal account identifier for this GCP Usage Cost configuration.
- bucket
Name string - The Google Cloud Storage bucket name where Usage Cost export files are stored.
- cloud
Account numberId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- created
At string - The timestamp when the GCP Usage Cost configuration was created.
- dataset string
- The resolved BigQuery dataset name used for the Usage Cost export.
- error
Messages string[] - List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
- export
Prefix string - The prefix path within the storage bucket where Usage Cost export files are organized.
- export
Project stringName - The Google Cloud Project ID where the Usage Cost export is configured.
- id string
- The ID of this resource.
- months number
- The number of months of historical cost data available for analysis.
- service
Account string - The Google Cloud service account email that Datadog uses to access the Usage Cost export data.
- status string
- The current status of the GCP Usage Cost configuration (for example, active, error, or archived).
- status
Updated stringAt - The timestamp when the configuration status was last updated.
- updated
At string - The timestamp when the GCP Usage Cost configuration was last modified.
- account_
id str - The internal account identifier for this GCP Usage Cost configuration.
- bucket_
name str - The Google Cloud Storage bucket name where Usage Cost export files are stored.
- cloud_
account_ intid - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- created_
at str - The timestamp when the GCP Usage Cost configuration was created.
- dataset str
- The resolved BigQuery dataset name used for the Usage Cost export.
- error_
messages Sequence[str] - List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
- export_
prefix str - The prefix path within the storage bucket where Usage Cost export files are organized.
- export_
project_ strname - The Google Cloud Project ID where the Usage Cost export is configured.
- id str
- The ID of this resource.
- months int
- The number of months of historical cost data available for analysis.
- service_
account str - The Google Cloud service account email that Datadog uses to access the Usage Cost export data.
- status str
- The current status of the GCP Usage Cost configuration (for example, active, error, or archived).
- status_
updated_ strat - The timestamp when the configuration status was last updated.
- updated_
at str - The timestamp when the GCP Usage Cost configuration was last modified.
- account
Id String - The internal account identifier for this GCP Usage Cost configuration.
- bucket
Name String - The Google Cloud Storage bucket name where Usage Cost export files are stored.
- cloud
Account NumberId - The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
- created
At String - The timestamp when the GCP Usage Cost configuration was created.
- dataset String
- The resolved BigQuery dataset name used for the Usage Cost export.
- error
Messages List<String> - List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
- export
Prefix String - The prefix path within the storage bucket where Usage Cost export files are organized.
- export
Project StringName - The Google Cloud Project ID where the Usage Cost export is configured.
- id String
- The ID of this resource.
- months Number
- The number of months of historical cost data available for analysis.
- service
Account String - The Google Cloud service account email that Datadog uses to access the Usage Cost export data.
- status String
- The current status of the GCP Usage Cost configuration (for example, active, error, or archived).
- status
Updated StringAt - The timestamp when the configuration status was last updated.
- updated
At String - The timestamp when the GCP Usage Cost configuration was last modified.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.