getCaCerts function

Future<GetCaCertsResult> getCaCerts(
  1. GetCaCertsArgs args, {
  2. InvokeOptions? options,
})

Get all of the trusted Certificate Authorities (CAs) for the specified SQL database instance. For more information see the official documentation and API. args Arguments passed to this invoke. Arguments for getCaCerts. options Invoke options controlling this call.

Implementation

Future<GetCaCertsResult> getCaCerts(
  GetCaCertsArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'gcp:sql/getCaCerts:getCaCerts',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetCaCertsResult.fromMap(result);
}