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