get static method

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

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

Implementation

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