get static method

KeyValueStore get(
  1. String name,
  2. Input<String> id, {
  3. KeyValueStoreState? state,
  4. CustomResourceOptions? options,
})

Gets an existing KeyValueStore resource's state with the given name and id.

Implementation

static KeyValueStore get(
  String name,
  pulumi.Input<String> id, {
  KeyValueStoreState? state,
  pulumi.CustomResourceOptions? options,
}) {
  return KeyValueStore._get(
    name,
    state: state?.toMap(),
    options: pulumi.CustomResourceOptions(id: id).merge(options),
  );
}