get static method

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

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

Implementation

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