getTopicPubsubV1beta1a function

Future<GetTopicPubsubV1beta1aResult> getTopicPubsubV1beta1a(
  1. GetTopicPubsubV1beta1aArgs args, {
  2. InvokeOptions? options,
})

Gets the configuration of a topic. Since the topic only has the name attribute, this method is only useful to check the existence of a topic. If other attributes are added in the future, they will be returned here. args Arguments passed to this invoke. Arguments for getTopic. options Invoke options controlling this call.

Implementation

Future<GetTopicPubsubV1beta1aResult> getTopicPubsubV1beta1a(
  GetTopicPubsubV1beta1aArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:pubsub/v1beta1a:getTopic',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetTopicPubsubV1beta1aResult.fromMap(result);
}