getLogs function

Future<GetLogsResult> getLogs(
  1. GetLogsArgs args, {
  2. InvokeOptions? options,
})

docker.getLogs provides logs from specific container args Arguments passed to this invoke. Arguments for getLogs. options Invoke options controlling this call.

Implementation

Future<GetLogsResult> getLogs(
  GetLogsArgs args, {
  pulumi.InvokeOptions? options,
}) async {
  final deployment = pulumi.Deployment.instance;
  final result = await deployment.invoke<Map<String, dynamic>>(
    'docker:index/getLogs:getLogs',
    args.toMap(),
    options: pulumi.toDeploymentInvokeOptions(options),
  );
  return GetLogsResult.fromMap(result);
}