getServiceAccount function
Future<GetServiceAccountResult>
getServiceAccount(
- GetServiceAccountArgs args, {
- InvokeOptions? options,
Gets a ServiceAccount.
args Arguments passed to this invoke. Arguments for getServiceAccount.
options Invoke options controlling this call.
Implementation
Future<GetServiceAccountResult> getServiceAccount(
GetServiceAccountArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:iam/v1:getServiceAccount',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetServiceAccountResult.fromMap(result);
}