getTagValue function

Future<GetTagValueResult> getTagValue(
  1. GetTagValueArgs args, {
  2. InvokeOptions? options,
})

Retrieves a TagValue. This method will return PERMISSION_DENIED if the value does not exist or the user does not have permission to view it. args Arguments passed to this invoke. Arguments for getTagValue. options Invoke options controlling this call.

Implementation

Future<GetTagValueResult> getTagValue(
  GetTagValueArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'google-native:cloudresourcemanager/v3:getTagValue',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetTagValueResult.fromMap(result);
}