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