1. Packages
  2. Dome9 Provider
  3. API Docs
  4. getCloudaccountGcp
dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9

dome9.getCloudaccountGcp

Explore with Pulumi AI

dome9 logo
dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9

    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 dictionary

    The 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:

    CreationDate string
    creation date for project in Google.
    DomainName string
    Azure tenant id.
    GsuiteUser string
    Gsuite user.
    Id string
    Name string
    GCP account name in Dome9.
    OrganizationalUnitId string
    Organizational unit id.
    OrganizationalUnitName string
    Organizational unit name.
    OrganizationalUnitPath string
    Organizational unit path.
    ProjectId string
    the Google project id (that will be onboarded).
    Vendor string
    The cloud provider (gcp).
    CreationDate string
    creation date for project in Google.
    DomainName string
    Azure tenant id.
    GsuiteUser string
    Gsuite user.
    Id string
    Name string
    GCP account name in Dome9.
    OrganizationalUnitId string
    Organizational unit id.
    OrganizationalUnitName string
    Organizational unit name.
    OrganizationalUnitPath string
    Organizational unit path.
    ProjectId string
    the Google project id (that will be onboarded).
    Vendor string
    The cloud provider (gcp).
    creationDate String
    creation date for project in Google.
    domainName String
    Azure tenant id.
    gsuiteUser String
    Gsuite user.
    id String
    name String
    GCP account name in Dome9.
    organizationalUnitId String
    Organizational unit id.
    organizationalUnitName String
    Organizational unit name.
    organizationalUnitPath String
    Organizational unit path.
    projectId String
    the Google project id (that will be onboarded).
    vendor String
    The cloud provider (gcp).
    creationDate string
    creation date for project in Google.
    domainName string
    Azure tenant id.
    gsuiteUser string
    Gsuite user.
    id string
    name string
    GCP account name in Dome9.
    organizationalUnitId string
    Organizational unit id.
    organizationalUnitName string
    Organizational unit name.
    organizationalUnitPath string
    Organizational unit path.
    projectId 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_id str
    Organizational unit id.
    organizational_unit_name str
    Organizational unit name.
    organizational_unit_path str
    Organizational unit path.
    project_id str
    the Google project id (that will be onboarded).
    vendor str
    The cloud provider (gcp).
    creationDate String
    creation date for project in Google.
    domainName String
    Azure tenant id.
    gsuiteUser String
    Gsuite user.
    id String
    name String
    GCP account name in Dome9.
    organizationalUnitId String
    Organizational unit id.
    organizationalUnitName String
    Organizational unit name.
    organizationalUnitPath String
    Organizational unit path.
    projectId 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 dome9 Terraform Provider.
    dome9 logo
    dome9 1.40.3 published on Monday, Apr 14, 2025 by dome9