google-native logo
Google Cloud Native v0.28.0, Feb 2 23

google-native.jobs/v4.getTenant

Retrieves specified tenant.

Using getTenant

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 getTenant(args: GetTenantArgs, opts?: InvokeOptions): Promise<GetTenantResult>
function getTenantOutput(args: GetTenantOutputArgs, opts?: InvokeOptions): Output<GetTenantResult>
def get_tenant(project: Optional[str] = None,
               tenant_id: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetTenantResult
def get_tenant_output(project: Optional[pulumi.Input[str]] = None,
               tenant_id: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetTenantResult]
func LookupTenant(ctx *Context, args *LookupTenantArgs, opts ...InvokeOption) (*LookupTenantResult, error)
func LookupTenantOutput(ctx *Context, args *LookupTenantOutputArgs, opts ...InvokeOption) LookupTenantResultOutput

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

public static class GetTenant 
{
    public static Task<GetTenantResult> InvokeAsync(GetTenantArgs args, InvokeOptions? opts = null)
    public static Output<GetTenantResult> Invoke(GetTenantInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTenantResult> getTenant(GetTenantArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:jobs/v4:getTenant
  arguments:
    # arguments dictionary

The following arguments are supported:

TenantId string
Project string
TenantId string
Project string
tenantId String
project String
tenantId string
project string
tenantId String
project String

getTenant Result

The following output properties are available:

ExternalId string

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

Name string

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

ExternalId string

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

Name string

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

externalId String

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

name String

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

externalId string

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

name string

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

external_id str

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

name str

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

externalId String

Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.

name String

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0