getPolicyPack function
Get details about a specific version of a policy pack.
args Arguments passed to this invoke. Arguments for getPolicyPack.
options Invoke options controlling this call.
Implementation
Future<GetPolicyPackResult> getPolicyPack(
GetPolicyPackArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'pulumiservice:index:getPolicyPack',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetPolicyPackResult.fromMap(result);
}