dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9
dome9.getCloudaccountGcp
Explore with Pulumi AI
Use this data source to get information about a GCP cloud account onboarded to Dome9.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as dome9 from "@pulumi/dome9";
const test = dome9.getCloudaccountGcp({
    id: "d9-gcp-cloud-account-id",
});
import pulumi
import pulumi_dome9 as dome9
test = dome9.get_cloudaccount_gcp(id="d9-gcp-cloud-account-id")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/dome9/dome9"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := dome9.LookupCloudaccountGcp(ctx, &dome9.LookupCloudaccountGcpArgs{
			Id: "d9-gcp-cloud-account-id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Dome9 = Pulumi.Dome9;
return await Deployment.RunAsync(() => 
{
    var test = Dome9.GetCloudaccountGcp.Invoke(new()
    {
        Id = "d9-gcp-cloud-account-id",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dome9.Dome9Functions;
import com.pulumi.dome9.inputs.GetCloudaccountGcpArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var test = Dome9Functions.getCloudaccountGcp(GetCloudaccountGcpArgs.builder()
            .id("d9-gcp-cloud-account-id")
            .build());
    }
}
variables:
  test:
    fn::invoke:
      function: dome9:getCloudaccountGcp
      arguments:
        id: d9-gcp-cloud-account-id
Using getCloudaccountGcp
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 getCloudaccountGcp(args: GetCloudaccountGcpArgs, opts?: InvokeOptions): Promise<GetCloudaccountGcpResult>
function getCloudaccountGcpOutput(args: GetCloudaccountGcpOutputArgs, opts?: InvokeOptions): Output<GetCloudaccountGcpResult>def get_cloudaccount_gcp(id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCloudaccountGcpResult
def get_cloudaccount_gcp_output(id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCloudaccountGcpResult]func LookupCloudaccountGcp(ctx *Context, args *LookupCloudaccountGcpArgs, opts ...InvokeOption) (*LookupCloudaccountGcpResult, error)
func LookupCloudaccountGcpOutput(ctx *Context, args *LookupCloudaccountGcpOutputArgs, opts ...InvokeOption) LookupCloudaccountGcpResultOutput> Note: This function is named LookupCloudaccountGcp in the Go SDK.
public static class GetCloudaccountGcp 
{
    public static Task<GetCloudaccountGcpResult> InvokeAsync(GetCloudaccountGcpArgs args, InvokeOptions? opts = null)
    public static Output<GetCloudaccountGcpResult> Invoke(GetCloudaccountGcpInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudaccountGcpResult> getCloudaccountGcp(GetCloudaccountGcpArgs args, InvokeOptions options)
public static Output<GetCloudaccountGcpResult> getCloudaccountGcp(GetCloudaccountGcpArgs args, InvokeOptions options)
fn::invoke:
  function: dome9:index/getCloudaccountGcp:getCloudaccountGcp
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
 - The Dome9 id for the GCP account.
 
- Id string
 - The Dome9 id for the GCP account.
 
- id String
 - The Dome9 id for the GCP account.
 
- id string
 - The Dome9 id for the GCP account.
 
- id str
 - The Dome9 id for the GCP account.
 
- id String
 - The Dome9 id for the GCP account.
 
getCloudaccountGcp Result
The following output properties are available:
- Creation
Date string - creation date for project in Google.
 - Domain
Name string - Azure tenant id.
 - Gsuite
User string - Gsuite user.
 - Id string
 - Name string
 - GCP account name in Dome9.
 - Organizational
Unit stringId  - Organizational unit id.
 - Organizational
Unit stringName  - Organizational unit name.
 - Organizational
Unit stringPath  - Organizational unit path.
 - Project
Id string - the Google project id (that will be onboarded).
 - Vendor string
 - The cloud provider (gcp).
 
- Creation
Date string - creation date for project in Google.
 - Domain
Name string - Azure tenant id.
 - Gsuite
User string - Gsuite user.
 - Id string
 - Name string
 - GCP account name in Dome9.
 - Organizational
Unit stringId  - Organizational unit id.
 - Organizational
Unit stringName  - Organizational unit name.
 - Organizational
Unit stringPath  - Organizational unit path.
 - Project
Id string - the Google project id (that will be onboarded).
 - Vendor string
 - The cloud provider (gcp).
 
- creation
Date String - creation date for project in Google.
 - domain
Name String - Azure tenant id.
 - gsuite
User String - Gsuite user.
 - id String
 - name String
 - GCP account name in Dome9.
 - organizational
Unit StringId  - Organizational unit id.
 - organizational
Unit StringName  - Organizational unit name.
 - organizational
Unit StringPath  - Organizational unit path.
 - project
Id String - the Google project id (that will be onboarded).
 - vendor String
 - The cloud provider (gcp).
 
- creation
Date string - creation date for project in Google.
 - domain
Name string - Azure tenant id.
 - gsuite
User string - Gsuite user.
 - id string
 - name string
 - GCP account name in Dome9.
 - organizational
Unit stringId  - Organizational unit id.
 - organizational
Unit stringName  - Organizational unit name.
 - organizational
Unit stringPath  - Organizational unit path.
 - project
Id string - the Google project id (that will be onboarded).
 - vendor string
 - The cloud provider (gcp).
 
- creation_
date str - creation date for project in Google.
 - domain_
name str - Azure tenant id.
 - gsuite_
user str - Gsuite user.
 - id str
 - name str
 - GCP account name in Dome9.
 - organizational_
unit_ strid  - Organizational unit id.
 - organizational_
unit_ strname  - Organizational unit name.
 - organizational_
unit_ strpath  - Organizational unit path.
 - project_
id str - the Google project id (that will be onboarded).
 - vendor str
 - The cloud provider (gcp).
 
- creation
Date String - creation date for project in Google.
 - domain
Name String - Azure tenant id.
 - gsuite
User String - Gsuite user.
 - id String
 - name String
 - GCP account name in Dome9.
 - organizational
Unit StringId  - Organizational unit id.
 - organizational
Unit StringName  - Organizational unit name.
 - organizational
Unit StringPath  - Organizational unit path.
 - project
Id String - the Google project id (that will be onboarded).
 - vendor String
 - The cloud provider (gcp).
 
Package Details
- Repository
 - dome9 dome9/terraform-provider-dome9
 - License
 - Notes
 - This Pulumi package is based on the 
dome9Terraform Provider.