getLicenseIamPolicyComputeV1 function
Future<GetLicenseIamPolicyComputeV1Result>
getLicenseIamPolicyComputeV1(
- GetLicenseIamPolicyComputeV1Args args, {
- InvokeOptions? options,
Gets the access control policy for a resource. May be empty if no such policy or resource exists. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.
args Arguments passed to this invoke. Arguments for getLicenseIamPolicy.
options Invoke options controlling this call.
Implementation
Future<GetLicenseIamPolicyComputeV1Result> getLicenseIamPolicyComputeV1(
GetLicenseIamPolicyComputeV1Args args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:compute/v1:getLicenseIamPolicy',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetLicenseIamPolicyComputeV1Result.fromMap(result);
}