getAgentOutput function

Output<GetAgentResult> getAgentOutput(
  1. GetAgentArgs args, {
  2. InvokeOutputOptions? options,
})

Implementation

pulumi.Output<GetAgentResult> getAgentOutput(
  GetAgentArgs args, {
  pulumi.InvokeOutputOptions? options,
}) {
  return pulumi.invokeOutput<Map<String, dynamic>>(
    'gcp:agentregistry/getAgent:getAgent',
    pulumi.Input.mapToInputs(args.toMap()),
    options: options,
  ).apply(GetAgentResult.fromMap);
}