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