get static method

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

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

Implementation

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