get static method
Gets an existing Task resource's state with the given name and id.
Implementation
static Task get(
String name,
pulumi.Input<String> id, {
TaskState? state,
pulumi.CustomResourceOptions? options,
}) {
return Task._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}