getTagValueIamPolicy function
Future<GetTagValueIamPolicyResult>
getTagValueIamPolicy(
- GetTagValueIamPolicyArgs args, {
- InvokeOptions? options,
Gets the access control policy for a TagValue. The returned policy may be empty if no such policy or resource exists. The resource field should be the TagValue's resource name. For example: tagValues/1234. The caller must have the cloudresourcemanager.googleapis.com/tagValues.getIamPolicy permission on the identified TagValue to get the access control policy.
args Arguments passed to this invoke. Arguments for getTagValueIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetTagValueIamPolicyResult> getTagValueIamPolicy(
GetTagValueIamPolicyArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:cloudresourcemanager/v3:getTagValueIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetTagValueIamPolicyResult.fromMap(result);
}