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