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