getNetworkAttachmentIamPolicyComputeBeta function
Future<GetNetworkAttachmentIamPolicyComputeBetaResult>
getNetworkAttachmentIamPolicyComputeBeta(
- GetNetworkAttachmentIamPolicyComputeBetaArgs args, {
- InvokeOptions? options,
Gets the access control policy for a resource. May be empty if no such policy or resource exists.
args Arguments passed to this invoke. Arguments for getNetworkAttachmentIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetNetworkAttachmentIamPolicyComputeBetaResult> getNetworkAttachmentIamPolicyComputeBeta(
GetNetworkAttachmentIamPolicyComputeBetaArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:compute/beta:getNetworkAttachmentIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetNetworkAttachmentIamPolicyComputeBetaResult.fromMap(result);
}