getRestorePlanIamPolicy function
Future<GetRestorePlanIamPolicyResult>
getRestorePlanIamPolicy(
- GetRestorePlanIamPolicyArgs 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 getRestorePlanIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetRestorePlanIamPolicyResult> getRestorePlanIamPolicy(
GetRestorePlanIamPolicyArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:gkebackup/v1:getRestorePlanIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetRestorePlanIamPolicyResult.fromMap(result);
}