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