# NOT RUN {
# This example lists all of the tasks in a cluster.
# }
# NOT RUN {
svc$list_tasks(
cluster = "default"
)
# }
# NOT RUN {
# This example lists the tasks of a specified container instance.
# Specifying a ``containerInstance`` value limits the results to tasks
# that belong to that container instance.
# }
# NOT RUN {
svc$list_tasks(
cluster = "default",
containerInstance = "f6bbb147-5370-4ace-8c73-c7181ded911f"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab