getTenant function
Get a tenant. Requires read permission on the Tenant resource.
args Arguments passed to this invoke. Arguments for getTenant.
options Invoke options controlling this call.
Implementation
Future<GetTenantResult> getTenant(
GetTenantArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:identitytoolkit/v2:getTenant',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetTenantResult.fromMap(result);
}