getBillingAccount function
Future<GetBillingAccountResult>
getBillingAccount(
- GetBillingAccountArgs args, {
- InvokeOptions? options,
Gets information about a billing account. The current authenticated user must be a viewer of the billing account.
args Arguments passed to this invoke. Arguments for getBillingAccount.
options Invoke options controlling this call.
Implementation
Future<GetBillingAccountResult> getBillingAccount(
GetBillingAccountArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:cloudbilling/v1:getBillingAccount',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetBillingAccountResult.fromMap(result);
}