get static method
Gets an existing Subnet resource's state with the given name and id.
Implementation
static Subnet get(
String name,
pulumi.Input<String> id, {
SubnetState? state,
pulumi.CustomResourceOptions? options,
}) {
return Subnet._get(
name,
state: state?.toMap(),
options: pulumi.CustomResourceOptions(id: id).merge(options),
);
}