Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi
gcp.iap.getClient
Explore with Pulumi AI
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:
getClient Result
The following output properties are available:
- Brand string
- Client
Id string - Display
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Secret string
- Brand string
- Client
Id string - Display
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Secret string
- brand String
- client
Id String - display
Name String - id String
- The provider-assigned unique ID for this managed resource.
- secret String
- brand string
- client
Id string - display
Name 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
- client
Id String - display
Name 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.