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