get static method
DataSource
get(
- String name,
- Input<
String> id, { - DataSourceState? state,
- CustomResourceOptions? options,
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,
pulumi.CustomResourceOptions? options,
}) {
return DataSource._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}