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