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