get static method

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

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

Implementation

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