getAttestor function
Gets an attestor. Returns NOT_FOUND if the attestor does not exist.
args Arguments passed to this invoke. Arguments for getAttestor.
options Invoke options controlling this call.
Implementation
Future<GetAttestorResult> getAttestor(
GetAttestorArgs args, {
pulumi.InvokeOptions? options,
}) async {
final deployment = pulumi.Deployment.instance;
final result = await deployment.invoke<Map<String, dynamic>>(
'google-native:binaryauthorization/v1:getAttestor',
args.toMap(),
options: pulumi.toDeploymentInvokeOptions(options),
);
return GetAttestorResult.fromMap(result);
}