1. Packages
  2. Datadog Provider
  3. API Docs
  4. getGcpUcConfig
Datadog v4.58.0 published on Thursday, Oct 16, 2025 by Pulumi

datadog.getGcpUcConfig

Deploy with Pulumi
datadog logo
Datadog v4.58.0 published on Thursday, Oct 16, 2025 by Pulumi

    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:

    CloudAccountId int
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    CloudAccountId int
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    cloudAccountId Integer
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    cloudAccountId number
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    cloud_account_id int
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    cloudAccountId Number
    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:

    AccountId string
    The internal account identifier for this GCP Usage Cost configuration.
    BucketName string
    The Google Cloud Storage bucket name where Usage Cost export files are stored.
    CloudAccountId int
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    CreatedAt string
    The timestamp when the GCP Usage Cost configuration was created.
    Dataset string
    The resolved BigQuery dataset name used for the Usage Cost export.
    ErrorMessages List<string>
    List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
    ExportPrefix string
    The prefix path within the storage bucket where Usage Cost export files are organized.
    ExportProjectName string
    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.
    ServiceAccount 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).
    StatusUpdatedAt string
    The timestamp when the configuration status was last updated.
    UpdatedAt string
    The timestamp when the GCP Usage Cost configuration was last modified.
    AccountId string
    The internal account identifier for this GCP Usage Cost configuration.
    BucketName string
    The Google Cloud Storage bucket name where Usage Cost export files are stored.
    CloudAccountId int
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    CreatedAt string
    The timestamp when the GCP Usage Cost configuration was created.
    Dataset string
    The resolved BigQuery dataset name used for the Usage Cost export.
    ErrorMessages []string
    List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
    ExportPrefix string
    The prefix path within the storage bucket where Usage Cost export files are organized.
    ExportProjectName string
    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.
    ServiceAccount 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).
    StatusUpdatedAt string
    The timestamp when the configuration status was last updated.
    UpdatedAt string
    The timestamp when the GCP Usage Cost configuration was last modified.
    accountId String
    The internal account identifier for this GCP Usage Cost configuration.
    bucketName String
    The Google Cloud Storage bucket name where Usage Cost export files are stored.
    cloudAccountId Integer
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    createdAt String
    The timestamp when the GCP Usage Cost configuration was created.
    dataset String
    The resolved BigQuery dataset name used for the Usage Cost export.
    errorMessages List<String>
    List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
    exportPrefix String
    The prefix path within the storage bucket where Usage Cost export files are organized.
    exportProjectName String
    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.
    serviceAccount 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).
    statusUpdatedAt String
    The timestamp when the configuration status was last updated.
    updatedAt String
    The timestamp when the GCP Usage Cost configuration was last modified.
    accountId string
    The internal account identifier for this GCP Usage Cost configuration.
    bucketName string
    The Google Cloud Storage bucket name where Usage Cost export files are stored.
    cloudAccountId number
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    createdAt string
    The timestamp when the GCP Usage Cost configuration was created.
    dataset string
    The resolved BigQuery dataset name used for the Usage Cost export.
    errorMessages string[]
    List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
    exportPrefix string
    The prefix path within the storage bucket where Usage Cost export files are organized.
    exportProjectName string
    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.
    serviceAccount 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).
    statusUpdatedAt string
    The timestamp when the configuration status was last updated.
    updatedAt 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_id int
    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_name str
    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_at str
    The timestamp when the configuration status was last updated.
    updated_at str
    The timestamp when the GCP Usage Cost configuration was last modified.
    accountId String
    The internal account identifier for this GCP Usage Cost configuration.
    bucketName String
    The Google Cloud Storage bucket name where Usage Cost export files are stored.
    cloudAccountId Number
    The Datadog cloud account ID for the GCP Usage Cost configuration you want to retrieve information about.
    createdAt String
    The timestamp when the GCP Usage Cost configuration was created.
    dataset String
    The resolved BigQuery dataset name used for the Usage Cost export.
    errorMessages List<String>
    List of error messages if the GCP Usage Cost configuration encountered any issues during setup or data processing.
    exportPrefix String
    The prefix path within the storage bucket where Usage Cost export files are organized.
    exportProjectName String
    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.
    serviceAccount 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).
    statusUpdatedAt String
    The timestamp when the configuration status was last updated.
    updatedAt 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.
    datadog logo
    Datadog v4.58.0 published on Thursday, Oct 16, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate