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