get static method

Gets an existing NetworkInterfaceSecurityGroupAttachment resource's state with the given name and id.

Implementation

static NetworkInterfaceSecurityGroupAttachment get(
  String name,
  pulumi.Input<String> id, {
  NetworkInterfaceSecurityGroupAttachmentState? state,
}) {
  return NetworkInterfaceSecurityGroupAttachment._get(
    name,
    state: state?.toMap(),
    options: pulumi.CustomResourceOptions(id: id),
  );
}