getCaPoolIamPolicy function
Future<GetCaPoolIamPolicyResult>
getCaPoolIamPolicy(
- GetCaPoolIamPolicyArgs args, {
- InvokeOptions? options,
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
args Arguments passed to this invoke. Arguments for getCaPoolIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetCaPoolIamPolicyResult> getCaPoolIamPolicy(
GetCaPoolIamPolicyArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:privateca/v1:getCaPoolIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetCaPoolIamPolicyResult.fromMap(result);
}