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