1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. iap
  5. getClient
Google Cloud Classic v7.27.0 published on Thursday, Jun 13, 2024 by Pulumi

gcp.iap.getClient

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.27.0 published on Thursday, Jun 13, 2024 by Pulumi

    Get info about a Google Cloud IAP Client.

    Example Usage

    data "google_project" "project" {
      project_id = "foobar"
    }
    
    data "google_iap_client" "project_client" {
      brand        =  "projects/${data.google_project.project.number}/brands/[BRAND_NUMBER]"
      client_id    = FOO.apps.googleusercontent.com
    }
    

    Using getClient

    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 getClient(args: GetClientArgs, opts?: InvokeOptions): Promise<GetClientResult>
    function getClientOutput(args: GetClientOutputArgs, opts?: InvokeOptions): Output<GetClientResult>
    def get_client(brand: Optional[str] = None,
                   client_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetClientResult
    def get_client_output(brand: Optional[pulumi.Input[str]] = None,
                   client_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetClientResult]
    func LookupClient(ctx *Context, args *LookupClientArgs, opts ...InvokeOption) (*LookupClientResult, error)
    func LookupClientOutput(ctx *Context, args *LookupClientOutputArgs, opts ...InvokeOption) LookupClientResultOutput

    > Note: This function is named LookupClient in the Go SDK.

    public static class GetClient 
    {
        public static Task<GetClientResult> InvokeAsync(GetClientArgs args, InvokeOptions? opts = null)
        public static Output<GetClientResult> Invoke(GetClientInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetClientResult> getClient(GetClientArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gcp:iap/getClient:getClient
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Brand string
    The name of the brand.
    ClientId string
    The client_id of the brand.
    Brand string
    The name of the brand.
    ClientId string
    The client_id of the brand.
    brand String
    The name of the brand.
    clientId String
    The client_id of the brand.
    brand string
    The name of the brand.
    clientId string
    The client_id of the brand.
    brand str
    The name of the brand.
    client_id str
    The client_id of the brand.
    brand String
    The name of the brand.
    clientId String
    The client_id of the brand.

    getClient Result

    The following output properties are available:

    Brand string
    ClientId string
    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    Secret string
    Brand string
    ClientId string
    DisplayName string
    Id string
    The provider-assigned unique ID for this managed resource.
    Secret string
    brand String
    clientId String
    displayName String
    id String
    The provider-assigned unique ID for this managed resource.
    secret String
    brand string
    clientId string
    displayName string
    id string
    The provider-assigned unique ID for this managed resource.
    secret string
    brand str
    client_id str
    display_name str
    id str
    The provider-assigned unique ID for this managed resource.
    secret str
    brand String
    clientId String
    displayName String
    id String
    The provider-assigned unique ID for this managed resource.
    secret String

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.27.0 published on Thursday, Jun 13, 2024 by Pulumi